/* Shared source-level affordances and optional reading preferences. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #14678a!important;outline-offset:4px!important;box-shadow:0 0 0 6px #fff!important}
:where(button,input,select,summary){min-height:24px;min-width:24px}
:where(a,button,input,select,textarea,summary){scroll-margin-block:110px 80px}
.goode-access-footer{display:inline-block;margin:12px 0;text-underline-offset:4px;font-size:13px;line-height:1.6}
body:has(dialog[open]) #goode-access-launcher{visibility:hidden}
#goode-access-launcher{position:fixed;z-index:50;bottom:max(16px,env(safe-area-inset-bottom));left:16px;display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 15px;border:2px solid white;border-radius:30px;background:#16402d;color:white;font:700 13px/1.3 Arial,sans-serif;box-shadow:0 3px 16px #16402d33;cursor:pointer}
#goode-access-panel{position:fixed;inset:auto 16px 16px auto;margin:0;width:min(420px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #b3cbc0;border-radius:20px;background:#f5f9fb;color:#16402d;box-shadow:0 16px 60px #16402d40;font:15px/1.6 Arial,sans-serif;letter-spacing:normal;text-align:left}
#goode-access-panel::backdrop{background:#102e2199}
#goode-access-panel *{box-sizing:border-box}
#goode-access-panel .goode-access-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
#goode-access-panel .goode-access-kicker{margin:0 0 7px;font:700 10px/1.5 Arial,sans-serif;letter-spacing:1.5px}
#goode-access-panel h2{margin:0;font:700 25px/1.2 Arial,sans-serif;letter-spacing:-.6px}
#goode-access-panel h3{margin:0 0 7px;font:700 16px/1.4 Arial,sans-serif;letter-spacing:normal}
#goode-access-close{border:1px solid #9ab9ab;border-radius:50%;background:white;color:#16402d;min-width:44px;min-height:44px;font:26px/1 Arial,sans-serif;cursor:pointer}
#goode-access-panel .goode-access-intro{margin:18px 0;font-size:14px;line-height:1.6}
#goode-access-panel .goode-access-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#goode-access-panel [data-access-option]{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:13px;border:1px solid #97b6a8;border-radius:10px;background:white;color:#16402d;text-align:left;font:13px/1.5 Arial,sans-serif;cursor:pointer;min-width:0}
#goode-access-panel [data-access-option] strong{font-size:14px;line-height:1.4}
#goode-access-panel [data-access-option][aria-pressed=true]{background:#e4efea;border:2px solid #16402d;padding:12px}
#goode-access-panel .goode-access-state{margin-top:auto;font-weight:700;font-size:12px}
#goode-access-panel .goode-access-bottom{margin:18px 0}
#goode-access-reset{min-height:44px;padding:10px 15px;border:1px solid #16402d;border-radius:7px;background:white;color:#16402d;font:700 13px/1.5 Arial,sans-serif;cursor:pointer}
#goode-access-status{margin:8px 0 0;font-size:13px;line-height:1.5;min-height:20px}
#goode-access-panel .goode-access-info{border-top:1px solid #b3cbc0;padding-top:17px}
#goode-access-panel .goode-access-info p{margin:0 0 12px;font-size:13px;line-height:1.6}
#goode-access-panel a{color:#16402d;font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#goode-access-panel .goode-access-storage{margin:18px 0 0;font-size:12px;line-height:1.6}
#goode-access-panel .goode-read-aloud{padding:17px 0;margin:0 0 18px;border-block:1px solid #b3cbc0}
#goode-access-panel .goode-read-aloud p{font-size:13px;line-height:1.6;margin:8px 0 12px}
#goode-access-panel .goode-read-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
#goode-access-panel .goode-read-settings label{font-size:13px;font-weight:700;min-width:0}
#goode-access-panel .goode-read-settings select{display:block;width:100%;min-height:44px;margin-top:5px;padding:8px;border:1px solid #546d62;border-radius:7px;background:white;color:#16402d;font:14px/1.5 Arial,sans-serif;text-overflow:ellipsis}
#goode-access-panel .goode-read-buttons{display:flex;flex-wrap:wrap;gap:8px}
#goode-access-panel .goode-read-buttons button,.goode-dialog-reader{min-height:44px;padding:10px 13px;border:1px solid #16402d;border-radius:7px;background:white;color:#16402d;font:700 13px/1.5 Arial,sans-serif;cursor:pointer;white-space:normal}
#goode-access-panel #goode-read-start{background:#16402d;color:white}
#goode-access-panel .goode-read-aloud button:disabled{opacity:.55;cursor:default}
#goode-access-panel .goode-read-note{font-size:12px;margin-bottom:0}
dialog>.goode-dialog-reader{display:block;margin:0 48px 18px 0;max-width:calc(100% - 48px)}
.activity-toolbar .toolbar-actions{flex-wrap:wrap}
@media(max-width:380px){#goode-access-panel .goode-read-settings{grid-template-columns:1fr}}
html[data-goode-links] a{text-decoration:underline!important;text-underline-offset:4px!important}
html[data-goode-font] body :is(h1,h2,h3,h4,p,li,a,button,input,select,textarea,label,span){font-family:Arial,Helvetica,sans-serif!important;font-style:normal!important}
html[data-goode-text] :is(main p,main li,main label,main button,main input,main select,main textarea,dialog:not(#goode-access-panel) p,dialog:not(#goode-access-panel) label,dialog:not(#goode-access-panel) button,dialog:not(#goode-access-panel) textarea){font-size:max(1em,18px)!important;line-height:1.6!important}
html[data-goode-text] .hero-actions{flex-wrap:wrap}
html[data-goode-text] .hero-switch{width:100%;max-width:100%;white-space:normal;flex-wrap:wrap}
html[data-goode-text] .hero-switch button{flex:1;white-space:normal}
html[data-goode-spacing] :is(main p,main li,main label,dialog p,dialog label){line-height:1.8!important;letter-spacing:.08em!important;word-spacing:.16em!important}
html[data-goode-spacing] :is(main p,dialog p){margin-block-end:1.2em!important}
html[data-goode-contrast] body,html[data-goode-contrast] body :not(img,svg,svg *,video,canvas){color:#113324!important;border-color:#2a7955!important;text-shadow:none!important}
html[data-goode-contrast] body :is(header,footer,main,section,article,dialog,button,input,select,textarea,summary,.announcement,.card-art,.activity-card,.activity-stage,.activity-toolbar,.activity-instructions,.activity-end,.game-feedback,.scenario-context,.scenario-insight,.goode-access-info){background:#fff!important;background-image:none!important}
html[data-goode-contrast] [aria-pressed=true],html[data-goode-contrast] [aria-selected=true]{outline:2px solid #113324!important;outline-offset:-4px!important}
html[data-goode-contrast] a{text-decoration:underline!important}
html[data-goode-contrast] #goode-access-launcher{background:white!important}
html[data-goode-contrast] .photo-label{background:white!important;padding:5px 8px;border-radius:3px}
html[data-goode-motion]{scroll-behavior:auto!important}
html[data-goode-motion] *,html[data-goode-motion] *::before,html[data-goode-motion] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:380px){#goode-access-panel{padding:18px}#goode-access-panel .goode-access-controls{grid-template-columns:1fr}#goode-access-launcher span{display:none}#goode-access-launcher{padding:10px}}
@media print{#goode-access-launcher,#goode-access-panel,.goode-access-footer{display:none!important}}

/* Goode Fatherhood palette and type. */
#goode-access-launcher{left:auto;right:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:950;border:2px solid #7fd5fa;background:#16402d;color:#edf5f9;box-shadow:0 5px 24px #102e2133;font-family:'DM Sans',Arial,sans-serif;min-height:50px;padding:11px 17px;gap:10px}
#goode-access-launcher:hover{background:#1e563d}
#goode-access-panel{inset:auto 20px 20px auto;background:#edf5f9;color:#16402d;border:1px solid #7fd5fa;border-radius:9px;width:min(440px,calc(100vw - 32px));box-shadow:0 18px 80px #102e214d;font-family:'DM Sans',Arial,sans-serif;padding:27px}
#goode-access-panel h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:37px;font-weight:500;letter-spacing:-.7px;line-height:1.1}
#goode-access-panel h3{font-family:'DM Sans',Arial,sans-serif;font-weight:600}
#goode-access-panel .goode-access-kicker{color:#146689;letter-spacing:2px;font-size:9px;font-family:'DM Sans',Arial,sans-serif;margin-bottom:10px}
#goode-access-close{background:#d9eaf2;border-color:#b8cec4;color:#16402d}
#goode-access-panel [data-access-option]{background:#f9fcfd;border-color:#7fd5fa;border-radius:5px;font-family:'DM Sans',Arial,sans-serif}
#goode-access-panel [data-access-option][aria-pressed=true]{background:#dbebf2;border-color:#16402d}
#goode-access-panel .goode-access-state{background:#d9eaf2;border-radius:20px;padding:3px 10px;font-size:10px;letter-spacing:.5px}
#goode-access-panel [data-access-option][aria-pressed=true] .goode-access-state{background:#16402d;color:#edf5f9}
#goode-access-panel #goode-read-start{background:#7fd5fa;color:#16402d;border-color:#7fd5fa;font-weight:700}
#goode-access-panel .goode-read-buttons button,#goode-access-reset{border-radius:4px;font-family:'DM Sans',Arial,sans-serif}
#goode-access-panel .goode-read-aloud{border-top:0;border-bottom:1px solid #7fd5fa;padding-top:23px;margin-top:0}
#goode-access-panel .goode-access-intro{color:#4d645a}
#goode-access-panel p{color:inherit}
#goode-access-panel .goode-access-storage{color:#4c6359;font-size:11px}
#goode-access-panel .goode-access-info{padding-top:20px}
#goode-access-panel a{display:inline-block;min-height:24px}
html[data-goode-contrast] body :is(div,header,footer,main,section,article,aside,nav,dialog,button,input,select,textarea,summary){background-color:#fff!important;background-image:none!important}
html[data-goode-contrast] .hero-image::after{display:none!important}
html[data-goode-contrast] .photo-note,html[data-goode-contrast] .photo-credit{background:#fff!important;color:#113324!important;padding:4px 8px}
html[data-goode-text] .lesson-card{min-height:280px;height:auto}
html[data-goode-text] .header-inner,html[data-goode-spacing] .header-inner{height:auto;min-height:105px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
html[data-goode-text] main :is(.resource-bottom small,.tag,.mini,.eyebrow){font-size:14px!important}
@media(max-width:560px){#goode-access-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom))}#goode-access-panel{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:22px}#goode-access-panel h2{font-size:33px}html[data-goode-text] .lesson-grid{grid-template-columns:1fr}html[data-goode-text] .header-inner{min-height:84px}}
@media(max-width:380px){#goode-access-launcher span{display:none}#goode-access-launcher{padding:12px}}

#goode-access-launcher{background:#0b1110;border-color:#7dd3fc;color:#f1fbf7}#goode-access-panel{background:#f6faf9;color:#10271a}#goode-access-panel h2{color:#10271a}
