*{box-sizing:border-box}html{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#f5f6fb;color:#202a41}body{margin:0}a{color:#163a93}button,select{font:inherit}button{cursor:pointer}.shell{width:min(100%,620px);margin:auto;min-height:100dvh;background:white;padding-bottom:calc(95px + env(safe-area-inset-bottom))}.skip{position:absolute;left:-999px;display:inline-flex;align-items:center;min-height:24px}.skip:focus{left:12px;top:12px;z-index:10;background:white}.topbar{display:flex;align-items:center;gap:10px;padding:14px 17px;border-bottom:1px solid #e9edf5}.brand-icon{flex-shrink:0;border-radius:12px}.identity{min-width:0;flex:1}.brand{font-weight:900;letter-spacing:.7px;color:#162f78;font-size:16px}.subbrand{font-size:16px;letter-spacing:1.1px;font-weight:800;color:#811b47}.version{font-size:16px;font-weight:800;color:#6e5584;background:#f4ebf8;border-radius:30px;padding:7px 9px;white-space:nowrap}.view{padding:18px;animation:appear .2s ease}.view[hidden]{display:none}.hero{border-radius:23px;color:white;background:linear-gradient(140deg,#162f78 4%,#182960 47%,#811b47 100%);padding:32px 25px;box-shadow:0 14px 29px #162f7823}.eyebrow{font-size:16px;font-weight:900;letter-spacing:1.5px;color:#d8b358}.hero h1{font-size:clamp(29px,6vw,38px);line-height:1.14;letter-spacing:-.8px;margin:12px 0 14px}.hero p{color:#e9eaf3;line-height:1.7;font-size:16px}.hero-link{display:inline-block;text-decoration:none;background:#f0c756;color:#222b42;border-radius:12px;padding:13px 16px;margin-top:12px;font-size:16px;font-weight:800}h2{font-size:25px;margin:26px 0 17px;color:#233051}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{text-align:left;min-height:154px;border:1px solid #e9eaf2;background:#fff;border-radius:17px;padding:17px 15px;display:flex;flex-direction:column;gap:7px;box-shadow:0 4px 15px #162f7808;text-decoration:none;color:#28334f}.tile:focus-visible,.tabbar button:focus-visible,.hero-link:focus-visible{outline:3px solid #b98d12;outline-offset:3px}.tile-symbol{font-size:28px;color:#811b47}.tile strong{font-size:16px}.tile small{font-size:16px;line-height:1.5;color:#677187}.note{font-size:16px;line-height:1.7;color:#71798c;margin:22px 3px}.section-head{padding:24px 8px 8px}.section-head h1{font-size:32px;color:#162f78;margin:8px 0}.section-head p{line-height:1.7;color:#667086}.reading-card,.info-card{background:#fafafd;border:1px solid #e5e8f0;border-radius:19px;padding:24px}.reading-card label{font-size:16px;font-weight:800;color:#5a6373}.reading-card select{width:100%;margin-top:10px;background:white;border:1px solid #bdc6d8;border-radius:10px;padding:13px}.reading-card h2{color:#811b47}.verse{font-family:Georgia,serif;font-size:21px;line-height:1.85;color:#293248}.info-card h2{margin-top:0}.info-card p{line-height:1.7}.service-links{display:grid;gap:10px;margin:18px 0}.service-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:49px;padding:13px 14px;border-radius:12px;border:1px solid #cbd5eb;background:#f0f4ff;color:#163a93;font-size:16px;font-weight:800;line-height:1.45;text-decoration:none}.service-link:hover{background:#e6eeff}.service-link:focus-visible{outline:3px solid #b98d12;outline-offset:2px}.footer{text-align:center;font-size:16px;font-weight:800;color:#9096a7;padding:28px 16px}.footer span{color:#811b47}.tabbar{position:fixed;z-index:4;bottom:0;width:min(100%,620px);display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e6eaf2;background:#fffffffa;box-shadow:0 -5px 19px #28334f0a}.tabbar button{border:0;background:none;color:#767e8e;font-size:16px;display:flex;flex-direction:column;align-items:center;gap:3px;border-radius:10px;padding:7px 3px}.tabbar button span{font-size:23px}.tabbar button[aria-current=page]{color:#162f78;background:#edf1fc;font-weight:850}@keyframes appear{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(min-width:620px){.shell{border-left:1px solid #e8eaf0;border-right:1px solid #e8eaf0}}@media(prefers-reduced-motion:reduce){.view{animation:none}}


.learning{margin-top:18px}.action{display:inline-block;border:1px solid #163a93;border-radius:12px;padding:13px 16px;background:#162f78;color:#fff;font-weight:800;text-decoration:none;min-height:48px}.action:disabled{opacity:.65;cursor:wait}.action:focus-visible{outline:3px solid #b98d12;outline-offset:3px}.public-item{border-top:1px solid #dce2ee;padding:15px 0;overflow-wrap:anywhere}.public-item p{white-space:pre-wrap}.public-item h3{color:#811b47}.tabbar button{min-height:55px;font-weight:800}.tile strong{font-weight:850;font-style:italic}

[hidden]{display:none!important}#member-login{display:grid;gap:10px;margin:16px 0}#member-login input,.lesson textarea{width:100%;font:inherit;border:1px solid #bdc6d8;border-radius:10px;padding:13px;font-size:16px;background:#fff;color:#202a41}#member-login label,.lesson label{font-weight:750}.lesson{margin-top:14px;border-top:1px solid #dce2ee;padding-top:15px;overflow-wrap:anywhere}.lesson summary{min-height:48px;cursor:pointer;color:#162f78;font-weight:800}.lesson p{white-space:pre-wrap}.lesson textarea{min-height:100px;margin:10px 0}.lesson .note{margin:10px 0}

button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b98d12;outline-offset:3px}input,select,textarea{font:inherit;font-size:16px;max-width:100%}.btn,.discipleship-install-choice{display:inline-block;min-height:44px;min-width:44px;border:1px solid #cbd5eb;border-radius:10px;padding:11px 14px;background:#edf1fc;color:#162f78;font-weight:750;text-decoration:none}.btn.primary{background:#162f78;color:#fff}.study-header{padding-top:calc(14px + env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.study-shell{padding-bottom:env(safe-area-inset-bottom)}.app-platform-status{padding:10px 18px;font-size:16px;color:#546174;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.app-platform-status button{min-height:44px}.discipleship-install-actions{display:flex;gap:10px;flex-wrap:wrap}.discipleship-install-feedback,.discipleship-install-tips{line-height:1.6}.audio-mixer-grid input{width:100%}.study-actions button,.study-actions a{min-height:44px}.study-header nav a{min-height:44px;display:flex;align-items:center}.tile{overflow-wrap:anywhere}button:disabled{cursor:default;opacity:.65}@media(min-width:760px){.shell{width:min(100%,1000px)}.tabbar{width:min(100%,1000px)}.view{padding:28px 40px}.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding:40px}.verse{max-width:65ch}.reading-card,.info-card{max-width:850px}.shell .hero h1{font-size:42px}}@media(max-width:380px){.topbar{padding:12px}.brand{font-size:16px}.version{font-size:16px}.view{padding:14px}.tile{padding:14px 10px}.tabbar button{font-size:16px}}@media(forced-colors:active){.hero,.tile,.action,.btn,.tabbar{border:1px solid CanvasText}.hero{background:Canvas;color:CanvasText}.hero p,.eyebrow{color:CanvasText}}


.offline-link{display:block;border:1px solid #d3dceb;padding:12px 15px;border-radius:10px;color:#162f78;background:#f1f5fd;text-decoration:none;font-weight:700}.offline-link:focus-visible{outline:3px solid #d29a28;outline-offset:3px}


/* Radio opens on its own origin because the ministry site intentionally denies framing. */
.hk-app-radio-launch{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;margin:16px 0;padding:14px 18px;border-radius:13px;background:#162f78;color:#fff;text-decoration:none;font-weight:850;box-shadow:0 5px 16px #162f7828}
.hk-app-radio-launch:focus-visible{outline:3px solid #d8b358;outline-offset:3px}
.hk-app-radio-card .service-links{display:flex;flex-wrap:wrap;gap:10px}
.hk-app-radio-card .service-link{min-height:44px;display:inline-flex;align-items:center}

/* App window: controls change the layout, never scale down its text. */
.app-window-controls{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:8px 14px;background:#f8f9fd;border-bottom:1px solid #e6eaf2;flex-wrap:wrap}.app-window-controls button,.app-window-restore{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #d4dbed;border-radius:10px;background:#fff;color:#162f78;font:700 16px system-ui;cursor:pointer}.app-window-controls button:focus-visible,.app-window-restore:focus-visible{outline:3px solid #b98d12;outline-offset:2px}.app-window-restore{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:10;box-shadow:0 8px 25px #162f7833}.app-minimized .shell{display:none}
@media(min-width:760px){body:has(.app-window-controls){background:#e8ebf4}.shell:has(.app-window-controls){width:min(560px,calc(100% - 32px));height:calc(100dvh - 32px);min-height:0;margin:16px auto;padding-bottom:0;border:8px solid #15244b;border-radius:32px;box-shadow:0 18px 55px #10234838;overflow-y:auto;overscroll-behavior:contain}.shell:has(.app-window-controls) .tabbar{position:sticky;bottom:0;width:100%}body[data-window-size="small"] .shell:has(.app-window-controls){width:min(420px,calc(100% - 32px))}body[data-window-size="large"] .shell:has(.app-window-controls){width:min(760px,calc(100% - 32px))}body[data-window-size="expanded"] .shell:has(.app-window-controls){width:100%;height:100dvh;margin:0;border-width:0;border-radius:0}}
@media(max-width:759px){.app-window-controls [data-window="smaller"],.app-window-controls [data-window="larger"],.app-window-controls [data-window="expand"]{display:none}.app-window-controls{padding:4px 12px}.app-window-controls [data-window="minimize"]{min-height:44px}}

/* The installed app keeps its navigation inside the app window even if the shared site footer is injected during the build. */
body.hk-app-window > hk-ministry-footer{display:none}

/* Keep tab labels legible and inside the screen at narrow widths. */
.tabbar button{min-width:0;line-height:1.2;overflow-wrap:anywhere;text-align:center}.tabbar button span{line-height:1.1}@media(max-width:360px){.tabbar{gap:2px;padding-inline:4px}.tabbar button{padding-inline:1px}}

/* NEW-R5 (23 Nov 2026): the upstream Bible reader page's source-credit
   footer links measured 22px tall live (hour-96 rendered sweep) — below
   the 24px target minimum. That page loads this Account 5 stylesheet
   (live styles.css is byte-identical to this file, verified 23 Nov 2026),
   and no rule here styled the aside, so give its links a 24px minimum
   target. Min-height only: no font-size, colour or layout change. */
.hk-source-credit a{display:inline-block;min-height:24px}

/* NEW-R5 (23 Nov 2026, staged-diff-82): the live /audio-hymns.html page's
   source-credit grid links (four plain hymnary.org links inside
   .audio-hymn-source-grid) measured 22px tall live — below the 24px target
   minimum. Those links live in the deployed Hymns worker's served HTML, not
   in this tree (local audio-hymns.html is a 724 B stub), so the fix lands
   here: this Account 5 stylesheet reaches the live proxied page. Min-height
   only: no font-size, colour or layout change. */
.audio-hymn-source-grid a{display:inline-block;min-height:24px}
/* Font standard 24 Nov 2026 (owner order): body text minimum 18px. */
body{font-size:16px}
/* 16px standard: <small> defaults to UA `smaller` (13.33px at 16px body) — floor at 14px small print */
small{font-size:max(.875em,16px)}

/* Owner order 24 Nov 2026 ~18:39 WAT: no visible text below 16px anywhere.
   bible-quiz.css is PRESERVED (never edit); these rules override its 3
   sub-16px rules to 16px. Higher specificity is used deliberately:
   styles.css loads BEFORE bible-quiz.css in bible-quiz.html (and in
   bible-champions/index.html), so same-specificity would lose.
   Overridden: .quiz-sound-toggle .85rem=13.6px; .quiz-hero .quiz-tagline
   clamp(.72rem,2.6vw,1rem) min 11.52px; .quiz-version .8rem=12.8px. */
main#main .quiz-hero .quiz-tagline{font-size:16px}
main#main .quiz-hero .quiz-version{font-size:16px}
section#quiz-app .quiz-sound-toggle{font-size:16px}
