html { background:#f6f5ef; }
body { padding-top:env(safe-area-inset-top); }
.mobile-bottom-nav { padding-bottom:max(8px, env(safe-area-inset-bottom)); }

/* Keep the native viewport fixed horizontally, with vertical scrolling intact. */
html, body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
.shell, main, #app, .practice, .workbench {
  min-width: 0;
  max-width: 100%;
}
main > *, .workbench > *, .member-controls > * { min-width: 0; }
.workbench, .verse, .memory-result, footer { overflow-wrap: anywhere; }
.workbench .actions { flex-wrap: wrap; }
input, textarea, select, img, video, audio { max-width: 100%; }
@media (max-width: 760px) {
  .shell { margin-left: 0; width: 100%; }
  main { width: 100%; padding-left: 20px; padding-right: 20px; }
  .identity-sticky { width: 100%; min-width: 0; padding-left: 20px; padding-right: 20px; }
  .identity-sticky .member-controls { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .member-summary { flex: 1 1 0; overflow-wrap: anywhere; }
  #account-toggle { flex: 0 0 auto; }
  .practice { width: 100%; margin-inline: auto; }
  .workbench { width: 100%; }
  .mobile-bottom-nav { width: 100%; max-width: 100%; }
}


/* Native app information belongs in Account, not a website footer. */
.shell > footer { display:none; }
#native-account { width:min(600px,calc(100% - 24px)); max-height:85dvh; overflow:auto; border:1px solid #d7dfd7; border-radius:18px; padding:24px; background:#f7f7f0; color:#173f35; }
#native-account::backdrop { background:#10291d99; }
#native-account h1 { margin-top:20px; }
.native-account-links { display:grid; gap:12px; margin-block:24px; }
.native-account-links button { min-height:48px; text-align:left; }
#native-account-document { white-space:pre-line; overflow-wrap:anywhere; margin-top:20px; }

/* Phone-first Academy shell, scoped to the iPhone package. */
.native-shell { --paper:#f8f9f6; font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.native-shell > aside { display:none!important; }
.native-shell .shell { margin-left:0; width:100%; padding-bottom:100px; }
.native-shell main { width:100%; max-width:760px; padding:24px 20px 40px; }
.native-shell .identity-sticky { display:flex; align-items:center; justify-content:space-between; gap:10px; height:auto; min-height:64px; padding:12px 20px; background:#fff; border-bottom:1px solid #e8ece6; position:sticky!important; top:0; }
.native-shell #native-title { font:700 25px/1.2 -apple-system,BlinkMacSystemFont,sans-serif; letter-spacing:-.5px; margin:0; flex:1; }
.native-header-actions { display:flex; gap:10px; }
.native-header-actions button { border:0; background:#f1f4ee; border-radius:50%; width:42px; height:42px; display:grid; place-items:center; color:#173f35; }
.native-header-actions svg { width:22px; height:22px; }
.native-back { border:0; background:none; color:#173f35; font-size:16px; padding:10px 0; min-height:44px; }
.native-back[hidden] { display:none; }
.native-shell h1 { font:700 27px/1.25 -apple-system,BlinkMacSystemFont,sans-serif; letter-spacing:-.5px; }
.native-shell h2,.native-shell h3 { font-family:-apple-system,BlinkMacSystemFont,sans-serif; font-weight:650; }
.native-shell .eyebrow { display:none; }
.native-shell .verse,.native-shell .card p,.native-shell .flashcard-verse { font-family:Paleo,Georgia,serif; }
.native-shell .native-welcome { font-size:11px; letter-spacing:1.6px; color:#68786d; font-weight:650; margin:0 0 12px; }
.native-shell .native-home-heading { font-size:27px; line-height:1.25; letter-spacing:-.6px; margin-bottom:24px; }
.native-next { background:#173f35; color:#fff; padding:24px; border-radius:18px; margin-bottom:22px; }
.native-next h3 { font-size:19px; }
.native-next p { color:#dbe7dc; font-size:15px; }
.native-next .primary { background:#fff; border-color:#fff; color:#173f35; min-height:48px; }
.native-shell .home-summary { margin:0 0 24px; padding:16px 8px; border:0; border-radius:14px; background:#edf2eb; }
.native-shell .home-summary strong { font-size:23px; }
.native-shell .home-summary span { font-size:11px; }
.native-list { background:#fff; border:1px solid #e5eae2; border-radius:16px; overflow:hidden; margin-bottom:24px; }
.native-row { display:flex; align-items:center; gap:14px; width:100%; min-height:64px; padding:16px; border:0; border-bottom:1px solid #edf0eb; background:#fff; color:#253e35; text-align:left; }
.native-row:last-child { border-bottom:0; }
.native-row>svg { width:23px; height:23px; flex:0 0 23px; }
.native-row>svg:last-child { width:18px; height:18px; color:#95a095; flex-basis:18px; }
.native-row>span { flex:1; min-width:0; }
.native-row strong { font-size:16px; font-weight:550; }
.native-row small { display:block; font-size:13px; color:#728073; margin-top:3px; }
.native-shell .native-section-title { font-size:13px; text-transform:uppercase; letter-spacing:1px; color:#68786d; margin:24px 12px 10px; }
.native-empty,.native-account-card { padding:24px; background:#fff; border:1px solid #e5eae2; border-radius:16px; }
.native-account-card { margin-bottom:24px; }
.native-account-card>svg { width:38px; height:38px; margin-bottom:14px; }
.native-copy { white-space:pre-line; overflow-wrap:anywhere; }
.native-shell .mobile-bottom-nav { position:fixed; inset:auto 0 0; z-index:110; display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; margin:0; padding:8px 6px max(8px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #e5eae2; box-shadow:none; }
.native-shell .mobile-bottom-nav>button { grid-column:auto!important; width:100%; min-width:0; min-height:52px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:5px 1px; border:0; background:none; color:#7c877d; font:550 11px/1.2 -apple-system,sans-serif; }
.native-shell .mobile-bottom-nav>button.active { color:#173f35; background:#edf3eb; border-radius:12px; }
.native-shell .mobile-bottom-nav svg { width:23px; height:23px; }
.native-shell .workbench { border-radius:16px; padding:22px 18px; }
.native-shell .steps { display:flex; flex-wrap:wrap; gap:6px; }
.native-shell .step { min-width:0; font-size:11px; flex:1 1 60px; }
.native-shell .actions { flex-wrap:wrap; }
.native-shell .review-info { font-size:12px; }
.native-shell .home-groups-cta,.native-shell .lesson-home-card,.native-shell .home-help { display:none!important; }
.native-shell button:focus-visible { outline:3px solid #af8550; outline-offset:-3px; }

#verse-actions { position:fixed; inset:auto 0 0; margin:0 auto; width:100%; max-width:760px; max-height:82dvh; padding:20px 20px max(24px,env(safe-area-inset-bottom)); overflow:auto; border:0; border-radius:24px 24px 0 0; background:#fff; color:#173f35; box-shadow:0 -10px 40px #10291d30; }
#verse-actions::backdrop { background:#10291d66; }
.verse-sheet-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.verse-sheet-heading h2 { font:650 21px -apple-system,sans-serif; margin:0; }
.verse-sheet-text { font:22px/1.65 Paleo,Georgia,serif; margin-top:18px; max-height:180px; overflow:auto; overflow-wrap:anywhere; }
.verse-action-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:20px 0; }
.verse-action-grid button { min-height:62px; border:1px solid #e1e8de; border-radius:12px; background:#f6f8f3; color:#173f35; font-size:13px; font-weight:600; }
.verse-colors { display:flex; flex-wrap:wrap; gap:12px; }
.verse-colors button { min-width:44px; min-height:44px; border:1px solid #c7d0c1; border-radius:50%; }
#verse-action-detail { padding-top:12px; }
#verse-action-detail input,#verse-action-detail select,#verse-action-detail textarea { display:block; width:100%; font:16px/1.5 -apple-system,sans-serif; border:1px solid #bdcbb7; border-radius:10px; padding:12px; margin:10px 0 16px; }
#verse-action-detail img { width:100%; height:auto; margin-bottom:16px; }
.verse-has-note .reader-verse-number::after { content:'•'; display:block; color:#856423; }
.native-shell #reader-selection { display:none; }

#banner-editor { position:fixed; inset:0; width:100%; height:100%; max-width:100%; max-height:100%; margin:0; padding:0 20px max(24px,env(safe-area-inset-bottom)); border:0; background:#f8f9f6; color:#173f35; overflow:auto; }
#banner-editor::backdrop { background:#f8f9f6; }
#banner-editor .banner-heading { position:sticky; top:0; z-index:2; height:auto; min-height:64px; padding:12px 0; display:flex; gap:20px; justify-content:flex-start; background:#f8f9f6; }
.banner-heading h2 { font:650 20px -apple-system,sans-serif; margin:0; }
.banner-preview { background:#e6ebe2; padding:16px; border-radius:16px; display:flex; justify-content:center; }
#banner-canvas { display:block; max-width:100%; max-height:50dvh; width:auto; height:auto; box-shadow:0 6px 20px #173f3520; }
#banner-editor fieldset { border:0; padding:0; margin:24px 0; }
#banner-editor legend { font-weight:650; margin-bottom:12px; }
.banner-presets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
.banner-presets button { min-height:62px; border:3px solid transparent; border-radius:12px; color:white; text-shadow:0 1px 4px #000; text-transform:capitalize; font:650 13px -apple-system,sans-serif; }
.banner-presets button[aria-pressed=true] { border-color:#af8550; }
.banner-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.banner-controls label { display:flex; flex-direction:column; gap:8px; min-width:0; font-size:14px; font-weight:550; }
.banner-controls select { width:100%; min-width:0; padding:12px 8px; min-height:46px; border:1px solid #c8d1c3; border-radius:8px; background:#fff; color:#173f35; font:14px -apple-system,sans-serif; }
.banner-controls input[type=range] { width:100%; min-height:44px; accent-color:#173f35; }
.banner-export { display:flex; gap:12px; margin:24px 0; }
.banner-export button { flex:1; justify-content:center; min-height:48px; }
#banner-status { font-size:13px; min-height:24px; }

/* Bundled nature photography replaces the gradient swatches. */
.banner-presets button { background-size:cover; background-position:center; position:relative; min-height:100px; padding:0; overflow:hidden; text-shadow:0 1px 3px #000; }
.banner-presets button span { position:absolute; inset:auto 0 0; padding:18px 4px 8px; background:linear-gradient(transparent,#000b); font-size:11px; }
/* Keep the live account controls and generous desktop workspace. */
.native-shell .identity-sticky {flex-wrap:wrap; z-index:120;}
.native-shell .identity-sticky>.app-heading {display:flex;align-items:center;gap:12px;flex:1;min-width:100px;}
.native-shell .member-controls {margin-left:auto;gap:8px;max-width:100%;}
.native-shell .member-summary {display:none;}
.native-shell #account-toggle {font-size:12px;padding:8px 10px;min-height:42px;white-space:nowrap;}
.native-shell .notification-bell {font-size:0;gap:0;min-height:42px;min-width:42px;justify-content:center;}
.native-shell .notification-bell .alert-bell-icon {width:22px;height:22px;}
.native-shell #member-avatar .avatar-label {display:none;}
.native-shell .shell>footer {display:none;}
.native-shell main {margin:0 auto;}
.native-shell .account-panel,.native-shell .sync-panel {max-width:900px;margin:12px auto;}
.native-shell .native-row {text-decoration:none;cursor:pointer;}
.native-shell .native-row:hover {background:#f5f7f1;}
.native-shell .native-row:focus-visible {outline:3px solid #af8550;outline-offset:-3px;}
.native-shell .workbench,.native-shell .card,.native-shell .native-next {overflow-wrap:anywhere;}
@media(min-width:900px){
 .native-shell .shell {max-width:1120px;margin:0 auto;border-inline:1px solid #e5eae2;min-height:100dvh;}
 .native-shell main {max-width:1020px;padding:36px 44px 52px;}
 .native-shell .mobile-bottom-nav {max-width:1120px;left:50%;right:auto;transform:translateX(-50%);width:100%;}
 .native-shell .native-next {padding:32px;}
 .native-shell .native-home-heading {font-size:34px;}
 #banner-editor {max-width:960px;margin:0 auto;padding-inline:32px;}
}
@media(max-width:420px){.native-shell .identity-sticky{padding:10px 12px;gap:6px}.native-shell #native-title{font-size:22px}.native-shell .member-controls{gap:4px}.native-shell #member-avatar{max-width:42px;overflow:hidden}}

@media(max-width:760px){.native-shell .identity-sticky .member-controls{width:auto;flex-wrap:nowrap}.native-shell .identity-sticky{flex-wrap:nowrap}}

.native-shell #more-saving-status .member-summary {display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px 18px;font-size:13px;color:#68786d;}

/* Keep real content within the viewport, including signed-in phone headers. */
.native-shell .shell {margin-inline:auto;min-width:0;}
.native-shell #app,.native-shell .practice,.native-shell .workbench {width:100%;min-width:0;}
.native-shell .identity-sticky>.app-heading {display:flex!important;min-width:0;flex:1 1 0;}
.native-shell .identity-sticky .member-controls {width:auto;min-width:0;flex:0 1 auto;}
.native-shell #native-title {min-width:0;overflow-wrap:anywhere;}
.native-shell .cards,.native-shell .collection-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));}
.native-shell .reader-verse,.native-shell .word-recall-board,.native-shell .flashcard-verse {min-width:0;max-width:100%;overflow-wrap:anywhere;}
.native-shell .account-fields>* {min-width:0;}
.native-shell .actions>* {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.native-shell .notification-panel {width:min(340px,calc(100vw - 24px));max-width:calc(100vw - 24px);}
.native-shell .growth-calendar-scroll {width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain;}
.native-shell #app>*,.native-shell .dashboard-grid>*,.native-shell .account-panel>* {min-width:0;}
@media(max-width:760px){
 .native-shell .shell {margin-inline:0;width:100%;}
 .native-shell .identity-sticky {padding-inline:12px;flex-wrap:wrap;}
 .native-shell .identity-sticky>.app-heading {flex-basis:80px;}
 .native-shell .identity-sticky .member-controls {max-width:100%;margin-left:auto;}
 .native-shell main {padding-inline:16px;}
 .native-shell .dashboard-grid {grid-template-columns:minmax(0,1fr);}
 .native-shell .notification-panel {position:fixed;right:12px;top:76px;}
 .native-shell #member-avatar .identity-header-button {min-width:40px;min-height:40px;}
 .native-shell .reader-controls {max-width:100%;min-width:0;}
 .native-shell .reader-controls select {min-width:0;width:100%;}
 .native-shell .steps {max-width:100%;}
 .native-shell .success {padding-inline:16px;}
}
.practice-encouragement {padding:20px 16px;margin:0 0 24px;border-radius:16px;background:#eaf3e3;border:1px solid #cbdcbd;text-align:center;}
.practice-encouragement>span {display:block;font-size:36px;animation:academy-cheer .5s ease-out;}
.practice-encouragement h2 {margin:6px 0 10px;}
.practice-encouragement p {margin:6px 0;font-size:15px;}
.practice-encouragement [data-practice-reward] {font-weight:650;color:#205d40;}
.activity-feedback {position:fixed;z-index:180;top:max(16px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));display:flex;align-items:flex-start;gap:12px;padding:18px;background:#fffef7;color:#173f35;border:1px solid #ccdabf;border-radius:16px;box-shadow:0 8px 30px #173f3526;}
.activity-feedback[hidden] {display:none;}
.activity-feedback>div {flex:1;min-width:0;overflow-wrap:anywhere;}
.activity-feedback strong {display:block;font-size:16px;}
.activity-feedback p {margin:6px 0 0;font-size:14px;}
.activity-emoji {font-size:30px;animation:academy-cheer .5s ease-out;}
.activity-feedback button {border:0;background:transparent;color:#173f35;font-size:24px;min-width:32px;min-height:32px;}
@keyframes academy-cheer {from{transform:scale(.7)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.activity-emoji,.practice-encouragement>span{animation:none}}
@media(max-width:760px){
 /* Keep Safari from zooming and shifting the page while editing small controls. */
 .native-shell input:not([type=range]):not([type=checkbox]),.native-shell textarea,.native-shell select {font-size:16px;min-width:0;}
 .native-shell .reader-controls label {min-width:0;max-width:100%;flex-wrap:wrap;}
 .native-shell .reader-controls label:first-child {min-width:0;flex:1 1 160px;}
}
@media(max-width:760px){
 .native-shell .shell>header.identity-sticky {flex-wrap:nowrap;}
 .native-shell .shell>header.identity-sticky .member-controls {width:auto;flex:0 1 auto;max-width:calc(100% - 60px);}
 .native-shell .shell>header.identity-sticky #account-toggle {min-width:0;max-width:110px;flex-shrink:1;}
}

/* Mobile comfort: constrain components rather than clipping their contents. */
.native-shell .practice-display {margin:12px 0;}
.native-shell .practice-display summary {cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;}
.native-shell .practice-display label {display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:44px;}
.native-shell .practice-display select {font:inherit;min-height:44px;max-width:100%;padding:8px;border:1px solid #b7c5bb;border-radius:8px;background:#fff;}
.native-shell .practice .verse,.native-shell .practice .flashcard-verse,.native-shell .practice .word-recall-board,.native-shell .practice .comparison-grid p {font-size:calc(1.45rem * var(--academy-practice-scale,1));line-height:1.75;}
.native-shell .practice .blank {font-size:calc(1.15rem * var(--academy-practice-scale,1));min-height:44px;max-width:calc(100% - 6px);}
.native-shell .word-entry {max-width:100%;min-height:48px;}
.native-shell .practice-recorder summary {cursor:pointer;min-height:44px;padding-block:10px;}
.native-shell .practice-top>div,.native-shell .section-heading>div,.native-shell .card-bottom>*,.native-shell .cr-title {min-width:0;}
.native-shell .practice-top,.native-shell .section-heading,.native-shell .card-bottom {flex-wrap:wrap;}
.native-shell .practice-top h1,.native-shell .notification-group,.native-shell .cr-title span {overflow-wrap:anywhere;white-space:normal;}
.native-shell .native-next .text-btn {color:inherit;}
.native-shell :is(button,.text-btn,summary,select,input:not([type=checkbox]):not([type=radio]):not([type=range])) {min-height:44px;}
.native-shell button,.native-shell .text-btn {min-width:44px;}
.native-shell .reader-repeat,.native-shell .repeat-option,.native-shell .personal-name-option {min-height:44px;}
.native-shell .collection-checklist label {min-width:0;}
.native-shell .collection-checklist input[type=checkbox] {width:20px;height:20px;flex:0 0 20px;}
.native-shell .cr-bar {min-width:0;}
.native-shell .cr-title {flex:1 1 0;overflow-wrap:anywhere;}
.native-shell .account-panel,.native-shell .sync-panel {width:calc(100% - 32px);min-width:0;}
html {scroll-padding-block:100px 120px;}
.native-shell :is(input,textarea,select,button) {scroll-margin-block:100px 110px;}
@media(max-width:760px){
 .native-shell .workbench {padding-inline:clamp(12px,4vw,18px);}
 .native-shell .home-summary {grid-template-columns:repeat(3,minmax(0,1fr));}
 .native-shell .home-summary>div {min-width:0;overflow-wrap:anywhere;}
 .native-shell .identity-sticky {align-items:center;}
 .native-shell #account-toggle,.native-shell .notification-bell,.native-shell #member-avatar .identity-header-button {min-width:44px;min-height:44px;}
 .native-shell .reader-settings {grid-template-columns:minmax(0,1fr);}
 .native-shell .reader-settings select,.native-shell #practice-audio-source {width:100%;min-width:0;max-width:100%;min-height:44px;}
 .native-shell .practice .actions>* {flex:1 1 140px;justify-content:center;}
 .native-shell .native-next .actions>* {flex:1 1 170px;justify-content:center;}
 .native-shell.keyboard-editing .mobile-bottom-nav {visibility:hidden;pointer-events:none;}
 .native-shell.keyboard-editing .identity-sticky {position:static!important;}
 .native-shell.keyboard-editing .shell {padding-bottom:24px;}
 .native-shell dialog[open] {max-height:calc(var(--academy-visible-height,100dvh) - 24px);}
}
@media(prefers-reduced-motion:reduce){
 .native-shell * {scroll-behavior:auto!important;}
}


html:not([data-daily-trivia-audience="free"]) .native-daily-trivia{display:none!important}.native-daily-trivia{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#edf2e5;border:1px solid #d4dfc8;border-radius:18px;padding:20px;margin:18px 0}.native-daily-trivia-label{font-size:10px;letter-spacing:1.2px;font-weight:700;color:#75602f;margin:0 0 8px}.native-daily-trivia h3{font-size:20px;margin:0 0 8px}.native-daily-trivia p:last-child{margin:0;font-size:14px;color:#4b6254}.native-daily-trivia a{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;text-decoration:none;text-align:center;white-space:normal;flex-shrink:0}.native-daily-trivia a:focus-visible{outline:3px solid #a17e32;outline-offset:3px}@media(max-width:600px){.native-daily-trivia{align-items:stretch;flex-direction:column;gap:16px;padding:18px}.native-daily-trivia a{width:100%;box-sizing:border-box}}


/* The five practice steps stay in sight without replacing the Academy tabs. */
.practice .practice-nav {position:sticky;top:var(--academy-practice-top,83px);z-index:90;display:block;padding:12px 14px 10px;margin:16px 0;background:#fffefb;border:1px solid #dce5d9;border-radius:16px;box-shadow:0 4px 16px #173f3510;}
.practice .practice-nav-summary {display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px;}
.practice .practice-nav-summary strong {font-size:13px;line-height:1.4;color:#173f35;}
.practice #practice-save-status {font-size:11px;color:#526952;line-height:1.4;text-align:right;max-width:55%;}
.practice .practice-nav .steps {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:0;overflow:visible;}
.practice .practice-nav .step {grid-column:auto!important;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0;min-height:68px;padding:4px 2px;border:0;border-radius:8px;background:transparent;color:#5b6b60;text-align:center;font:550 12px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:none;}
.practice .practice-nav .step:not(:last-child)::before {content:'';position:absolute;top:21px;left:calc(50% + 19px);width:calc(100% - 38px);height:2px;background:#d7e1d3;}
.practice .step-number {position:relative;display:grid;place-items:center;width:36px;height:36px;border:2px solid #bccbb8;border-radius:50%;background:#fffefb;color:#526952;font-size:17px;font-weight:700;line-height:1;}
.practice .step-dot {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.practice .practice-nav .step.current {color:#173f35;font-weight:750;background:#edf3e7;}
.practice .step.current .step-number {background:#173f35;border-color:#173f35;color:#fff;box-shadow:0 0 0 3px #dce8d3;}
.practice .step.done .step-number {border-color:#3f754e;}
.practice .step.done .step-number::after {content:'✓';position:absolute;right:-5px;bottom:-3px;display:grid;place-items:center;width:16px;height:16px;border:2px solid #fffefb;border-radius:50%;background:#3f754e;color:#fff;font-size:10px;}
.practice .practice-nav .step:focus-visible {outline:3px solid #af8550;outline-offset:-2px;}
.practice .practice-nav .step:hover {background:#edf3e7;}
.practice .practice-nav-help {font-size:11px;line-height:1.4;color:#596d5b;margin:7px 0 0;text-align:center;}
.practice .step-label {overflow-wrap:normal;}
.native-shell.keyboard-editing .practice-nav {top:0;}
@media(max-width:430px){
 .practice .practice-nav {padding:10px 6px 8px;margin-inline:-6px;max-width:calc(100% + 12px);}
 .practice .practice-nav-summary {padding-inline:4px;align-items:flex-start;}
 .practice .practice-nav-summary strong {font-size:12px;}
 .practice #practice-save-status {font-size:10px;}
 .practice .practice-nav .step {font-size:10px;min-height:68px;}
 .practice .practice-nav-help {font-size:10px;}
}
@media(max-height:500px) and (orientation:landscape){
 .practice .practice-nav {padding-block:5px;}
 .practice .practice-nav-summary,.practice .practice-nav-help {display:none;}
 .practice .practice-nav .step {min-height:44px;flex-direction:row;justify-content:center;gap:4px;font-size:10px;}
 .practice .step-number {width:28px;height:28px;font-size:14px;flex-shrink:0;}
 .practice .practice-nav .step::before {display:none;}
}

html:has(.practice-nav) {scroll-padding-top:calc(var(--academy-practice-top,64px) + var(--academy-practice-nav-height,150px) + 12px);}
.native-shell .practice :is(input,textarea,select,button) {scroll-margin-block-start:12px;}

/* iPhone keyboard panning uses the visual viewport, not the sticky scroll area. */
@media(max-width:760px){
 .native-shell.practice-input-active .practice-nav-slot {height:var(--academy-practice-nav-space,180px);}
 .native-shell.practice-input-active .practice .practice-nav {position:fixed!important;top:calc(var(--academy-keyboard-top,0px) + env(safe-area-inset-top,0px));left:calc(var(--academy-keyboard-left,0px) + 8px);width:calc(var(--academy-keyboard-width,100vw) - 16px);max-width:none;margin:0;padding:6px 5px;z-index:125;border-radius:12px;box-shadow:0 3px 14px #173f3525;}
 .native-shell.practice-input-active .practice-nav-summary,.native-shell.practice-input-active .practice-nav-help {display:none;}
 .native-shell.practice-input-active .practice-nav .step {min-height:58px;gap:4px;font-size:10px;flex-direction:column;}
 .native-shell.practice-input-active .practice-nav .step-number {width:28px;height:28px;font-size:14px;}
 .native-shell.practice-input-active .practice-nav .step:not(:last-child)::before {top:17px;}
 .native-shell.practice-input-active :is(input,textarea) {scroll-margin-top:90px;}
}


/* Personalized Scripture Memory Challenge on the native-style Home dashboard. */
.native-shell .native-memory-challenge{display:grid;gap:11px;margin:14px 0 18px;padding:20px 22px;background:#eaf0e6;border:1px solid #cfdfcc;border-radius:18px;color:#173f35}
.native-shell .native-memory-heading{display:flex;align-items:center;gap:14px}
.native-shell .native-memory-heading>svg{height:42px;width:42px;flex-shrink:0;stroke:#173f35}
.native-shell .native-memory-heading h3{font-size:20px;line-height:1.2;margin:0;font-weight:750}
.native-shell .native-memory-heading .native-daily-trivia-label{margin:0 0 4px}
.native-shell .native-memory-challenge>p{margin:0;color:#4d6658;font-size:14px;line-height:1.5}
.native-shell .native-memory-challenge .primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;width:100%;font-weight:750;text-align:center}
.native-shell .native-memory-challenge .hint{font-size:12px;color:#665b34}
@media(max-width:600px){.native-shell .native-memory-challenge{padding:17px}.native-shell .native-memory-heading>svg{height:38px;width:38px}}
