/* A preparation notebook: quiet green rail, clear steps, generous reading space. */
.prep-dashboard,.prep-return-bar{--prep-green:#147163;--prep-ink:#17231f;--prep-muted:#52665e;--prep-line:#d9e3df;--prep-soft:#e4f2ef;--prep-gold:#ad7718;color:var(--prep-ink);font-family:inherit}
body[data-base-route="/dashboard/"] main{max-width:none;padding:0;background:#f5f8f6}
body[data-base-route="/dashboard/"] .site-nav,body[data-base-route="/dashboard/"] .header-audio-shortcut,body[data-base-route="/dashboard/"] .nav-toggle{display:none!important}
.prep-dashboard{display:grid;grid-template-columns:272px minmax(0,1fr);max-width:1440px;margin:auto;min-height:80vh;align-items:start}
.prep-dashboard *,.prep-return-bar *{box-sizing:border-box}
.prep-dashboard button,.prep-dashboard input,.prep-dashboard select,.prep-return-bar button{font:inherit}
.prep-dashboard button,.prep-return-bar button{cursor:pointer}
.prep-dashboard button:disabled,.prep-return-bar button:disabled{opacity:.55;cursor:wait}
.prep-dashboard a,.prep-return-bar a{color:var(--prep-green)}
.prep-dashboard :focus-visible,.prep-return-bar :focus-visible{outline:3px solid #ad7718;outline-offset:4px}
.prep-dashboard [hidden],.prep-return-bar [hidden]{display:none!important}
.prep-rail{position:sticky;top:100px;padding:30px 20px 24px;background:#eef4f0;border-right:1px solid var(--prep-line);max-height:calc(100vh - 100px);overflow:auto;scrollbar-width:thin}
.prep-rail-home{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:800;text-decoration:none;margin:0 8px 26px}
.prep-rail-home>span{font-size:28px}
.prep-progress{padding:20px 16px;background:#fff;border:1px solid var(--prep-line);border-radius:12px;margin-bottom:24px}
.prep-progress>div{display:flex;justify-content:space-between;gap:12px;align-items:center}
.prep-progress strong{font-size:28px;color:var(--prep-green)}
.prep-progress progress{display:block;appearance:none;width:100%;height:8px;margin:12px 0;border:none;background:#e0ebe4;border-radius:8px;overflow:hidden}
.prep-progress progress::-webkit-progress-bar{background:#e0ebe4}
.prep-progress progress::-webkit-progress-value{background:var(--prep-green);border-radius:8px}
.prep-progress progress::-moz-progress-bar{background:var(--prep-green);border-radius:8px}
.prep-progress p{margin:8px 0;font-size:14px;font-weight:700}
.prep-progress small{display:block;color:var(--prep-muted);font-size:12px;line-height:1.6}
.prep-nav{display:flex;align-items:center;text-align:left;gap:10px;padding:13px 10px;margin:3px 0;width:100%;background:transparent;border:0;border-radius:8px;color:#344e43;line-height:1.5;font-weight:700}
.prep-nav:hover{background:#e0ebe3}.prep-nav.is-active{background:#147163;color:white}
.prep-nav small{margin-left:auto;white-space:nowrap;font-size:12px;font-weight:500}
.prep-chapter-number{display:inline-grid;place-items:center;flex-shrink:0;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;font-size:12px}
.prep-chapter ul{list-style:none;padding:4px 0 8px 21px;margin:0}
.prep-chapter li a{display:flex;gap:8px;padding:9px 5px;font-size:13px;text-decoration:none;border-left:1px solid #c4d6ca;line-height:1.5}
.prep-chapter li a:hover{text-decoration:underline}
.prep-rail-note{padding:20px 10px 0;border-top:1px solid var(--prep-line);font-size:13px;color:var(--prep-muted);margin-top:24px}
.prep-main{min-width:0;padding:36px clamp(20px,3.4vw,52px) 60px}
.prep-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:10px}
.prep-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.3;letter-spacing:-.03em;margin:5px 0 10px}
.prep-heading p{color:var(--prep-muted);font-size:15px;margin:4px 0;line-height:1.65}
.prep-heading>div>p:first-child{font-weight:700;color:var(--prep-green)}
.prep-tally{display:flex;flex-direction:column;text-align:right;flex-shrink:0;font-size:13px;color:var(--prep-muted)}
.prep-tally strong{font-size:38px;font-weight:750;color:var(--prep-green);line-height:1.25}
.prep-tally strong span{font-size:18px;color:var(--prep-muted);font-weight:400}
.prep-save-line{display:flex;align-items:center;gap:12px;min-height:34px;margin-bottom:16px;font-size:12px;color:var(--prep-muted)}
[data-prep-retry]{border:1px solid #b9cfc2;background:#fff;color:#147163;border-radius:5px;padding:6px 10px}
.prep-setup{background:#fff;border:1px solid var(--prep-line);border-radius:12px;margin:0 0 20px;overflow:hidden}
.prep-setup summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:19px 24px;font-size:18px;font-weight:750;list-style:none}
.prep-setup summary::-webkit-details-marker{display:none}.prep-setup[open] summary{border-bottom:1px solid var(--prep-line)}
.prep-setup form{padding:20px 24px 24px}.prep-setup form>p{margin:0 0 18px;color:var(--prep-muted);font-size:14px}
.prep-profile-fields{display:grid;grid-template-columns:1.1fr .65fr 1.25fr;gap:16px;margin-bottom:18px}
.prep-dashboard label{display:block;font-size:14px;font-weight:650;line-height:1.6}
.prep-dashboard input:not([type="checkbox"]),.prep-dashboard select{display:block;width:100%;min-height:46px;background:#fff;color:var(--prep-ink);border:1px solid #baccc2;border-radius:7px;padding:10px 12px;margin-top:7px;min-width:0}
.prep-school-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.prep-school-chips button{border:1px solid #b8d7c9;border-radius:20px;background:#eaf5ef;padding:8px 12px;color:#195c46;font-size:13px;text-align:left}
.prep-school-results:not(:empty){border:1px solid var(--prep-line);border-radius:8px;max-height:240px;overflow:auto;margin-top:10px}
.prep-school-results button{display:flex;align-items:center;gap:10px;width:100%;padding:13px;border:0;border-bottom:1px solid var(--prep-line);background:white;text-align:left;color:var(--prep-ink);font-size:14px}
.prep-school-results button:hover{background:var(--prep-soft)}.prep-school-results button>span{font-size:12px;color:var(--prep-muted)}.prep-school-results button>span:last-child{margin-left:auto}
.prep-school-results p{padding:10px 14px;font-size:14px}
.prep-dashboard .prep-consent{display:flex;align-items:start;gap:10px;font-size:12px;font-weight:400;color:var(--prep-muted);margin:20px 0;max-width:76ch}
.prep-consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0;accent-color:var(--prep-green)}
.prep-dashboard .button.primary{background:var(--prep-green);color:#fff;min-height:44px;border:1px solid var(--prep-green);border-radius:7px;padding:11px 18px;box-shadow:none;font-size:14px;font-weight:700;line-height:1.5;white-space:normal}
.prep-auth{padding:22px 24px;border:1px solid #c9ded3;border-radius:12px;background:#eaf3ee;display:grid;grid-template-columns:1fr 1.2fr;gap:24px;align-items:center;margin-bottom:26px}
.prep-auth h2{font-size:18px;line-height:1.5;margin:0 0 7px}.prep-auth p{font-size:13px;color:var(--prep-muted);margin:5px 0;line-height:1.7}
.prep-email-fields{display:flex;gap:8px;margin-top:7px}.prep-email-fields input{margin-top:0!important;flex:1;width:0!important}.prep-email-fields button{flex-shrink:0;max-width:50%}
.prep-verified{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid var(--prep-line);padding:14px 18px;margin-bottom:24px;font-size:13px}
.prep-verified>span{display:grid;place-items:center;width:30px;height:30px;color:#147163;background:#e4f2ef;border-radius:50%;flex-shrink:0}.prep-verified p{margin:2px 0;overflow-wrap:anywhere}.prep-verified>a{margin-left:auto;flex-shrink:0}
.prep-next{display:flex;gap:20px;align-items:center;border-radius:14px;background:#155d4e;color:#fff;padding:28px;margin-bottom:28px;position:relative}
.prep-next-icon{display:grid;place-items:center;font-size:38px;flex-shrink:0;width:66px;height:66px;border:1px solid #72a68f;border-radius:50%;color:#edcf80}
.prep-next>div:nth-child(2){flex:1}.prep-next h2{font-size:24px;color:white;line-height:1.4;margin:5px 0 9px}.prep-next p{margin:0;font-size:14px;color:#e5f2e9;line-height:1.6}.prep-next p:first-child{font-size:13px;color:#edcf80;font-weight:650}.prep-next small{display:block;font-size:12px;color:#d1e7da;margin-top:12px}
.prep-next .prep-open{background:#fff;color:#155d4e;padding:12px 16px;border-radius:6px;white-space:nowrap;font-size:14px}
.prep-targets{margin-bottom:30px}.prep-targets h2{font-size:20px;margin:0 0 6px}.prep-targets>p,.prep-target-note{color:var(--prep-muted);font-size:13px;line-height:1.7}
.prep-targets>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.prep-targets a{display:grid;grid-template-columns:28px 1fr;gap:5px 10px;border:1px solid #cddfd4;border-radius:8px;background:white;text-decoration:none;padding:16px}.prep-targets a>span:first-child{grid-row:span 2;font-size:25px}.prep-targets strong{font-size:14px;line-height:1.6}.prep-targets a>span:last-child{font-size:12px;color:var(--prep-muted)}
#prep-activities{scroll-margin-top:110px;outline:none}.prep-module{margin:34px 0}.prep-module-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px}.prep-module h2{font-size:21px;margin:0}.prep-module-heading>span{font-size:13px;color:var(--prep-muted);white-space:nowrap}.prep-module>p{font-size:14px;color:var(--prep-muted);line-height:1.65}.prep-module>.prep-price{color:#825910;font-weight:650}
.prep-task{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--prep-line);border-bottom:0;padding:20px}.prep-task:last-of-type{border-bottom:1px solid var(--prep-line)}.prep-task.is-done{background:#f0f7f2}
.prep-task-state{font-size:24px;color:#709180;flex-shrink:0}.is-done .prep-task-state{color:#147163}.prep-task-copy{flex:1;min-width:0}.prep-task h3{font-size:16px;line-height:1.55;margin:0 0 5px}.prep-task p{font-size:13px;line-height:1.65;color:var(--prep-muted);margin:0;max-width:65ch}
.prep-task-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-end;flex-shrink:0;max-width:36%}.prep-open{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;font-size:14px;font-weight:750;line-height:1.5}.prep-open:hover{text-decoration:underline}
.prep-complete{padding:8px 10px;border:1px solid #b8cfc0;border-radius:6px;background:#fff;color:#345b48;font-size:12px!important;line-height:1.5}.prep-complete[aria-pressed="true"]{border-color:transparent;background:transparent;color:#52665e}
.prep-view-all{width:100%;padding:13px;border:1px solid var(--prep-line);border-top:0;background:#edf4ef;color:#147163;font-size:14px;font-weight:650}
.prep-task.is-locked{background:#fcfbf7}.is-locked .prep-task-state,.prep-premium-label{color:#825910}.prep-premium-label{font-size:11px;font-weight:650}
.prep-blur{display:flex;flex-direction:column;gap:5px;filter:blur(3px);margin:12px 0 8px;max-width:260px;pointer-events:none;user-select:none}.prep-blur i{display:block;height:7px;border-radius:4px;background:#d2d4c8}.prep-blur i:nth-child(2){width:82%}.prep-blur i:nth-child(3){width:60%}
.prep-return-bar{display:flex;align-items:center;gap:18px;padding:16px 22px;background:#edf6f0;border:1px solid #c9ded1;border-radius:10px;margin:20px auto;max-width:1240px}.prep-return-bar>a{font-size:14px;font-weight:700;text-decoration:none}.prep-return-bar>div{flex:1;min-width:0}.prep-return-bar strong{display:block;font-size:14px}.prep-return-bar small{display:block;font-size:12px;color:var(--prep-muted);margin-top:4px}
.prep-rail-lessons{height:180px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--prep-line);margin-top:16px;padding:14px 8px;scrollbar-gutter:stable;font-size:13px}
.prep-rail-lessons>p{margin:0;color:var(--prep-muted);line-height:1.6}
.prep-rail-lessons ul{list-style:none;padding:0;margin:8px 0 0}
.prep-rail-lessons li a{display:flex;gap:8px;padding:9px 0;line-height:1.6;text-decoration:none}
.prep-rail-lessons li a:hover{text-decoration:underline}
.prep-nav>span:not(.prep-chapter-number){min-width:0;flex:1;overflow-wrap:normal;word-break:normal}
@media(min-width:761px){
  .prep-dashboard{height:calc(100dvh - var(--prep-header-height,73px));min-height:0;align-items:stretch;overflow:hidden}
  .prep-dashboard>.prep-rail,.prep-dashboard>.prep-main{position:static;height:100%;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none;scroll-behavior:auto}
}
@media(max-width:760px){.prep-rail-lessons{display:none}}
@media(max-width:1100px){.prep-dashboard{grid-template-columns:235px minmax(0,1fr)}.prep-rail{padding:24px 12px}.prep-main{padding:28px 24px}.prep-auth{grid-template-columns:1fr;gap:14px}.prep-next{flex-wrap:wrap}.prep-next>.prep-open{margin-left:86px}.prep-profile-fields{grid-template-columns:1fr 1fr}.prep-profile-fields>label:last-child{grid-column:1/-1}}
@media(max-width:760px){.prep-dashboard{display:block}.prep-rail{position:static;max-height:none;border-right:0;border-bottom:1px solid var(--prep-line);padding:18px 16px}.prep-rail-home{margin:0 0 12px;font-size:17px}.prep-progress{padding:12px 16px;margin-bottom:12px}.prep-progress>div strong{font-size:24px}.prep-progress progress{margin:7px 0}.prep-progress p{margin:5px 0}.prep-progress small{font-size:11px}.prep-rail nav{display:flex;overflow-x:auto;gap:6px;padding:3px 0 8px;scrollbar-width:thin}.prep-nav{white-space:nowrap;width:auto;min-height:44px;padding:10px 13px;border:1px solid #ccdcd1}.prep-nav small,.prep-chapter-number,.prep-chapter ul,.prep-rail-note{display:none}.prep-main{padding:24px 16px 40px}.prep-heading{gap:12px}.prep-heading h1{font-size:28px}.prep-heading p{font-size:13px}.prep-tally strong{font-size:30px}.prep-setup summary{padding:16px;font-size:16px}.prep-setup form{padding:16px}.prep-profile-fields{gap:12px}.prep-auth{padding:18px 16px;gap:12px}.prep-email-fields{flex-wrap:wrap}.prep-email-fields input{width:100%!important;flex-basis:100%}.prep-email-fields button{max-width:none;width:100%}.prep-next{padding:22px 18px;gap:14px}.prep-next-icon{width:42px;height:42px;font-size:27px;align-self:flex-start}.prep-next h2{font-size:21px}.prep-next>.prep-open{margin-left:56px}.prep-targets>div{grid-template-columns:1fr}.prep-module h2{font-size:19px}.prep-task{flex-wrap:wrap;align-items:flex-start;gap:10px;padding:16px}.prep-task-state{width:20px;font-size:22px}.prep-task-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-width:none;margin-left:30px}.prep-task h3{font-size:15px}.prep-task p{font-size:12px}.prep-verified{padding:12px;gap:8px}.prep-return-bar{flex-wrap:wrap;margin:12px;padding:14px;gap:12px}.prep-return-bar>a{flex-basis:100%}.prep-return-bar>div{flex-basis:50%}.prep-save-line{flex-wrap:wrap}.prep-school-results button>strong{min-width:0}.prep-school-results button>span{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.prep-dashboard *,.prep-return-bar *{scroll-behavior:auto;transition:none}}
