/* Targeted completion improvements; approved imagery and home composition remain intact. */
.adult-hero-link{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .5rem!important}.adult-hero-link a{display:inline-block;max-width:100%}
@media(min-width:801px){.finder.landing-view>#resourceSearch{width:94%!important;max-width:1500px!important}.finder.landing-view #resourceSearch .quick{display:flex!important;flex-wrap:nowrap!important;align-items:center!important}.finder.landing-view #resourceSearch .field:first-child{flex:1 1 auto!important;min-width:0!important}.finder.landing-view #findBtn{flex:0 0 auto!important;position:static!important;min-width:145px}.adult-hero-link{max-width:none!important;font-size:16px!important}.finder.directory-view #resourceSearch .quick{display:flex;flex-wrap:wrap}.finder.directory-view #findBtn{flex:0 0 auto}}
@media(max-width:540px){.adult-hero-link{justify-content:center}.adult-hero-link a{flex-basis:100%;font-size:1rem;line-height:1.4}.checklist-actions{display:flex;flex-wrap:wrap;gap:.5rem}}
.checklist-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.checklist-actions button,.document-preview button,button.print-document-preview{min-height:44px;padding:.65rem 1rem;border:1px solid #9bb7bb;background:#fff;color:#23425a;border-radius:12px;font:600 1rem system-ui;cursor:pointer}.checklist-status{font-size:1rem;color:#176665}.saved-check-label{display:flex!important;gap:.65rem;align-items:flex-start}.saved-check-label input{min-width:22px!important;width:22px!important;height:22px;flex:none;margin-top:3px}.guide-compact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.guide-compact-grid>.panel,.guide-compact-grid>.guide{margin:0;min-width:0;padding:1.4rem;border-radius:22px;box-shadow:0 5px 18px #19355410;background:#e5f3ef}.guide-compact-grid>:nth-child(3n+2){background:#eee7f9}.guide-compact-grid>:nth-child(3n){background:#e5effa}.guide-compact-grid details{background:#ffffffa8;border-radius:12px;padding:.7rem 1rem;margin:.8rem 0}.guide-compact-grid summary{cursor:pointer;min-height:44px;font-weight:700;padding:.5rem 0}.guide-compact-grid p{max-width:72ch}.guide-now{border-left:4px solid #15817c;border-radius:10px;background:#fff;padding:.8rem 1rem}.guide-now b{display:block}.guide-step-icon{width:44px;height:44px;object-fit:contain;background:white;border-radius:50%;padding:6px}.guide-step-badge{font-weight:750;color:#26516b;font-size:.875rem;margin:.5rem 0}.guide-final-checklist{margin:1rem 0;padding:1rem;background:white;border-radius:14px}.guide-final-checklist label{display:flex;gap:.6rem;margin:.5rem 0}.guide-final-checklist input{width:22px;height:22px;flex:none}.guide-sophia-inline{display:flex;gap:1rem;background:#fff1cc;padding:1rem;border-radius:16px;margin:1rem 0}.guide-sophia-inline img{object-fit:contain;width:80px;height:70px}.guide-sophia-inline p{margin:0;max-width:65ch}.document-preview{width:min(96vw,1050px);max-height:92dvh;border:0;border-radius:20px;padding:1.2rem}.document-preview::backdrop{background:#16304db3}.document-preview .calash-document{background:white;padding:1rem}.document-preview .document-content{max-width:none}.preview-doc-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
#interactivePlay{width:min(96vw,900px);max-height:96dvh;padding:1.2rem;border:0;border-radius:22px;background:#fffaf3;color:#213953}#interactivePlay::backdrop{background:#17314bb3}#interactivePlay .actions{display:flex;flex-wrap:wrap;gap:.5rem}#interactivePlay button{min-height:44px;border:1px solid #9aafb9;border-radius:10px;padding:.55rem .75rem;background:#fff;color:#233953;font:600 1rem system-ui;cursor:pointer}#interactiveBoard{margin:1rem auto;max-width:660px}#interactiveBoard svg{width:100%;height:auto;display:block}#interactiveBoard [role=button]{cursor:pointer}#interactiveBoard [role=button]:focus{outline:none;stroke:#d77814;stroke-width:6}#interactivePalette{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}#interactivePalette button{width:56px;height:52px;color:#20344f;font-size:1.25rem}#interactivePalette [aria-pressed=true]{outline:3px solid #25344f;outline-offset:2px}.online-word-grid{display:grid;grid-template-columns:repeat(var(--word-columns),minmax(0,1fr));gap:2px;user-select:none}.online-word-grid button{padding:0!important;min-height:30px!important;aspect-ratio:1;border-radius:5px!important;font-size:clamp(.875rem,2.6vw,1.4rem)!important}.online-word-grid .selected{background:#ffe6b2!important}.online-word-grid .found{background:#d3eee4!important}.online-word-list{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}.online-word-list span{padding:.35rem .6rem;background:#ebe7f7;border-radius:7px}.online-word-list .found{background:#d3eee4;text-decoration:line-through}
@media(max-width:1100px){.guide-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.guide-compact-grid{grid-template-columns:1fr}#interactivePlay{padding:1rem}.online-word-grid{gap:1px}.document-preview .document-sections{grid-template-columns:1fr}.guide-sophia-inline img{width:65px}}
@media print{.checklist-actions,.checklist-status,.guide-step-icon,.guide-step-badge,.document-preview,#interactivePlay,.guide-now,.guide-sophia-inline{display:none!important}}
#showEmergency.emergency-btn,#showEmergency.emergency-btn:hover,#showEmergency.emergency-btn:focus-visible{background:#193149;color:#fff;border-color:#193149}
/* Keep the activity exit reachable while a phone-sized board scrolls. */
#interactivePlay .dialog-head{position:sticky;top:-1px;z-index:5;background:#fffaf3;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #dce6e7}
#interactivePlay .dialog-head h2{min-width:0;flex:1;margin:0;overflow-wrap:break-word}
#interactivePlay #interactiveExit{flex-shrink:0;max-width:42%;white-space:normal}

/* Word selection: grid-only touch isolation; found state remains visually distinct. */
.online-word-grid{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.online-word-grid button{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.online-word-grid .found{background:#08786f!important;color:#fff!important;font-weight:800}.online-word-grid .found.selected{background:#08786f!important}.online-word-list .found{border:2px solid #08786f}.online-word-list .found b{text-decoration:none;display:inline-block}
