/* I114: één oefenvak in de bestaande DPW-vormgeving, versie 1.0.1. */
.dpw-square-page{--sq-ink:#13213a;--sq-white:#fff;--sq-muted:#edf1f5;--sq-gold:#e4bc50;--sq-line:#6e7b90;color:var(--sq-ink)}
.dpw-square-page .sq-intro{max-width:740px;font-size:18px}
.dpw-square-page .sq-workbench{background:var(--sq-ink);color:var(--sq-white);padding:clamp(22px,4vw,46px);margin:30px 0 46px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,370px);gap:18px 40px;align-items:start;grid-template-areas:"intro board" "controls board"}
.dpw-square-page .sq-workbench h2,.dpw-square-page .sq-workbench h3,.dpw-square-page .sq-workbench p{color:var(--sq-white)}
.dpw-square-page .sq-workbench h2{font-size:clamp(26px,3vw,36px);line-height:1.2;margin:0 0 18px}
.dpw-square-page .sq-workbench h3{font-size:20px;margin:0 0 14px}
.dpw-square-page .sq-workbench p{font-size:16px;line-height:1.65}
.dpw-square-page .sq-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:100%;max-width:336px;margin:0 auto 16px}
html body .dpw-square-page .sq-cell{background:var(--sq-muted)!important;color:var(--sq-ink)!important;border:1px solid var(--sq-line)!important;border-radius:0!important;box-shadow:none!important;aspect-ratio:1;min-width:0;min-height:40px;padding:0!important;margin:0!important;line-height:1!important;font-size:16px!important;touch-action:manipulation}
html body .dpw-square-page .sq-cell[data-placed=true]{background:var(--sq-gold)!important;border-color:var(--sq-gold)!important}
html body .dpw-square-page .sq-cell[data-placed=true] span{visibility:hidden}
.dpw-square-page .sq-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
html body .dpw-square-page .sq-actions button{background:var(--sq-white)!important;color:var(--sq-ink)!important;border:1px solid var(--sq-white)!important;border-radius:2px!important;font-size:14px!important;line-height:1.5!important;min-height:44px;padding:9px 14px!important;letter-spacing:0!important;text-transform:none!important;margin:0!important;box-shadow:none!important}
html body .dpw-square-page button:focus-visible{outline:3px solid var(--sq-gold)!important;outline-offset:3px}
html body .dpw-square-page .sq-cell:focus-visible{outline-color:var(--sq-white)!important;outline-offset:1px}
.dpw-square-page [hidden]{display:none!important}
.dpw-square-page .sq-status{min-height:82px;font-size:15px!important;margin:12px 0 0}
.dpw-square-page .sq-note{font-size:14px!important;line-height:1.6}
.dpw-square-page .sq-count{font-size:16px!important;font-weight:700;text-align:center;margin:0}
.dpw-square-page .sq-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:0;margin:28px 0 36px;list-style:none;counter-reset:sq}
.dpw-square-page .sq-steps li{margin:0;border-top:2px solid var(--sq-ink);padding-top:14px;counter-increment:sq;line-height:1.7}
.dpw-square-page .sq-steps strong{display:block;font-size:18px;margin-bottom:8px}
.dpw-square-page .sq-steps strong:before{content:counter(sq) '. '}
.dpw-square-page .bw-container{max-width:100%}
.dpw-square-page .bw-section{padding-top:0;padding-bottom:0;margin-bottom:32px}
.dpw-square-page .bw-section p{max-width:760px}
.dpw-square-page .bw-table{font-size:15px}
.dpw-square-page details{padding:14px 0;border-bottom:1px solid var(--sq-line)}
.dpw-square-page summary{cursor:pointer;font-weight:700;line-height:1.6}
.dpw-square-page a:focus-visible,.dpw-square-page summary:focus-visible{outline:3px solid var(--sq-gold);outline-offset:3px}
@media(max-width:700px){.dpw-square-page .sq-workbench{grid-template-columns:minmax(0,1fr);gap:26px;padding:22px 18px}.dpw-square-page .sq-steps{grid-template-columns:minmax(0,1fr);gap:16px}.dpw-square-page .bw-table th,.dpw-square-page .bw-table td{padding:8px 5px;overflow-wrap:anywhere}.dpw-square-page .sq-status{min-height:100px}}
@media(prefers-reduced-motion:reduce){.dpw-square-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.dpw-square-page .sq-explain{grid-area:intro}.dpw-square-page .sq-board{grid-area:board;align-self:center}.dpw-square-page .sq-controls{grid-area:controls}
@media(max-width:700px){.dpw-square-page .sq-workbench{grid-template-areas:"intro" "board" "controls";padding-right:32px;gap:22px}.dpw-square-page .sq-workbench h2{font-size:26px}.dpw-square-page .sq-status{min-height:80px}}
