@font-face {
  font-family: Onest;
  src: url('/assets/onest-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('/assets/onest-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  color-scheme: dark;
  --ink: #171a1b;
  --paper: #eaece4;
  --accent: #cedf78;
  --muted: #b0b5af;
  --faint: #858c85;
  --line: #404542;
  --panel: #202423;
  --gutter: clamp(20px, 4.15vw, 68px);
  font-family: Onest, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
h1,h2,h3,p,figure,ol,ul { margin: 0; }
h1,h2,h3 { font-weight: 510; line-height: 1.12; text-wrap: pretty; }
h1, h2 { letter-spacing: -.057em; }
h3 { letter-spacing: -.035em; }
em { font-style: normal; color: var(--accent); }
.wrap { width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: -120px; z-index: 10; background: var(--accent); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 8px; }
.site-head { border-bottom: 1px solid var(--line); }
.head-inner, .foot-inner, .public-nav, .hero-actions, .account-link, .section-line { display: flex; align-items: center; }
.head-inner,.foot-inner,.section-line { justify-content: space-between; gap: 18px; }
.head-inner { min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 550; line-height: 1.12; letter-spacing: -.035em; }
.brand-mark {
  color: var(--ink); background: var(--accent); width: 41px; height: 41px;
  display: grid; grid-auto-flow: column; justify-content: center; align-content: center;
  border-radius: 4px; font-size: 29px; line-height: 1; font-weight: 680; letter-spacing: -.13em; padding: 0 4px 5px 0;
}
.brand-mark span { margin-left: 1px; }
.public-nav { gap: clamp(16px,3vw,48px); }
.head-text, .entry-link, .text-link, .link-button, .back-link { font-size: 14px; font-weight: 540; letter-spacing: -.025em; }
.head-text, .text-link, .entry-link, .link-button, .back-link { transition: color .16s, border-color .16s, background .16s; }
.entry-link { display: inline-flex; align-items: center; gap: 20px; border: 1px solid #59605a; border-radius: 4px; padding: 9px 15px; line-height: 1.3; }
.entry-link span, .hero-actions .text-link span { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.button {
  min-height: 47px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  width: fit-content; border-radius: 4px; padding: 12px 19px; border: 1px solid transparent;
  font-size: 15px; line-height: 1.25; letter-spacing: -.025em; font-weight: 590; text-align: left;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.button.solid { color: var(--ink); background: var(--accent); }
.button.ink { color: var(--paper); background: var(--ink); }
.button.outline { border-color: #58605a; color: var(--paper); background: transparent; }
.button span { font-size: 1.18em; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 11px; font-weight: 610; line-height: 1.4; letter-spacing: .115em; }
.label-rule { width: 23px; height: 2px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.hero { display: grid; grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); align-items: center; gap: clamp(24px,3.7vw,64px); padding-block: clamp(45px,6.6vw,100px); }
.hero-label { color: var(--accent); }
.hero-copy h1 { margin: clamp(24px,2.6vw,44px) 0 22px; font-size: clamp(48px,5.9vw,92px); line-height: .99; font-weight: 520; letter-spacing: -.07em; }
.hero-copy h1 span,.section-intro h2 span { color: var(--accent); }
.hero-description { max-width: 49ch; color: var(--muted); font-size: clamp(16px,1.3vw,20px); line-height: 1.55; letter-spacing: -.026em; }
.hero-actions { flex-wrap: wrap; gap: 16px 30px; margin-top: clamp(25px,2.9vw,47px); }
.model-poster {
  align-self: stretch; width: 100%; position: relative; overflow: hidden; isolation: isolate;
  background-color: #202625;
  background-image: linear-gradient(90deg,#83977d13 1px,transparent 1px),linear-gradient(#83977d13 1px,transparent 1px),
    radial-gradient(ellipse at 47% 48%,#374237,transparent 70%);
  background-size: 27px 27px,27px 27px,100% 100%; border: 1px solid #434d45;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 330px; aspect-ratio: 1.31; padding: clamp(15px,1.65vw,26px); color: #d4debb;
}
.poster-top,.model-poster figcaption { display:flex; align-items:center; position:relative; z-index:1; }
.poster-top { justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 560; }
.poster-signal { display:flex; align-items: end; gap: 3px; height: 12px; }
.poster-signal i { width: 3px; background: var(--accent); height: 40%; }
.poster-signal i:nth-child(2) { height: 70%; }
.poster-signal i:last-child { height: 100%; }
.model-canvas { flex: 1; width: 100%; height: 0; min-height: 0; display: block; }
.model-poster figcaption { gap: 9px; font-size: clamp(10px,.85vw,13px); letter-spacing: -.02em; }
.model-poster figcaption b { color: #a4b38e; font-weight: 400; }
.figure-line { width: 21px; height: 1px; background: var(--accent); }
.paper-section { background: var(--paper); color: var(--ink); }
.program-layout,.apply-layout { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1fr); gap: clamp(35px,8.8vw,155px); padding-block: clamp(65px,7.5vw,118px); }
.section-intro h2 { font-size: clamp(44px,4.7vw,75px); margin: 23px 0 22px; line-height: 1.01; }
.section-intro > p:last-child { color: var(--muted); max-width: 42ch; letter-spacing: -.025em; font-size: clamp(16px,1.21vw,19px); }
.paper-section .label-rule { background: #667b36; }
.paper-section .section-intro h2 span { color: #73863f; }
.paper-section .section-intro > p:last-child,.stages p { color: #535950; }
.stages { display: grid; gap: 0; list-style: none; padding: 0; }
.stages li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 23px 0 24px; border-top: 1px solid #b8beb0; }
.stages li:last-child { padding-bottom: 0; }
.stage-num,.lesson-index { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 550; letter-spacing: .05em; }
.stage-num { color: #59634c; margin-top: 5px; }
.stages h3 { font-size: clamp(21px,1.9vw,31px); }
.stages p { max-width: 51ch; margin-top: 7px; font-size: 15px; line-height: 1.47; letter-spacing: -.015em; }
.form-stack { display: grid; gap: 18px; }
.form-stack label { display: grid; gap: 7px; font-size: 14px; font-weight: 550; }
.form-stack input,.form-stack textarea {
  width: 100%; min-width: 0; min-height: 47px; padding: 12px 14px; background: var(--panel); border: 1px solid #505651;
  border-radius: 4px; color: var(--paper); font-weight: 400; font-size: 16px; line-height: 1.5;
}
.form-stack textarea { resize: vertical; }
.form-stack input:focus,.form-stack textarea:focus { outline: 1px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-stack ::placeholder { color: #969d96; opacity: 1; }
.form-error { color: #ffc2a7; font-size: 14px; line-height: 1.4; }
.thanks,.profile-card,.progress-card,.practice { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.thanks { padding: 36px; align-self: start; }
.success-icon { color: var(--accent); font-size: 32px; }
.thanks h3 { font-size: 29px; margin: 10px 0; }
.thanks p,.profile-card > p { color: var(--muted); }
.site-foot { border-top: 1px solid var(--line); }
.foot-inner { min-height: 78px; color: var(--muted); font-size: 13px; }
.link-button { background: transparent; border: 0; padding: 8px 0; }
.auth-wrap { width: min(100% - 2 * var(--gutter),500px); margin: clamp(62px,9vw,150px) auto; }
.auth-wrap > h1 { font-size: clamp(42px,5vw,76px); line-height: 1.02; margin: 22px 0 14px; }
.auth-help,.auth-note { color: var(--muted); letter-spacing: -.015em; }
.auth-help { margin-bottom: 32px; }
.auth-note { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 29px; font-size: 14px; }
.auth-note a { color: var(--accent); white-space: nowrap; }
.account-link { gap: 10px; min-width: 0; font-size: 14px; }
.account-link > span:last-child { max-width: 30vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#343b30; color:var(--accent); font-size:12px; letter-spacing:.04em; }
.subnav { border-bottom: 1px solid var(--line); }
.subnav > div { display:flex; align-items:center; gap: clamp(16px,3vw,46px); }
.subnav a { display: block; padding: 15px 0 13px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a[aria-current] { color: var(--accent); border-color: var(--accent); }
.dash-main { padding-block: clamp(35px,4.7vw,74px) clamp(55px,7vw,105px); min-height: 65vh; }
.dash-heading { margin-bottom: clamp(28px,3.2vw,50px); }
.dash-heading .eyebrow,.read-aside .eyebrow { color: var(--muted); }
.dash-heading h1 { font-size: clamp(42px,5.4vw,82px); line-height: 1.04; margin-top: 17px; }
.dash-description { color: var(--muted); font-size: 17px; max-width: 63ch; margin-top: 17px; }
.dash-grid,.profile-grid { display:grid; grid-template-columns: 1.28fr 1fr; gap: 20px; }
.next-card,.progress-card,.profile-card,.practice { padding: clamp(22px,3vw,45px); }
.next-card { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start; background:var(--accent); color:var(--ink); border-radius: 5px; }
.next-card::before { content:""; pointer-events:none; z-index:-1; position:absolute; inset:0 0 0 55%; opacity: .7;
  background: repeating-linear-gradient(-46deg,transparent 0 16px,#74843b33 16px 17px);
  mask-image: linear-gradient(to right,transparent,#000);
}
.hairline { width: 22px; height: 1px; background: currentColor; opacity: .7; }
.next-card h2 { margin: 22px 0 7px; max-width: 20ch; font-size: clamp(30px,3.1vw,50px); }
.card-detail { margin-bottom: 28px; color: #40492d; font-size: 14px; }
.next-card .button { margin-top:auto; }
.progress-card { display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
.progress-card .eyebrow,.progress-block span,.module-info p:last-child,.read-aside li { color:var(--muted); }
.progress-card h2 { font-size: clamp(23px,2.2vw,36px); }
.progress-block { width: 100%; font-size:14px; margin-top: auto; }
.progress-block > div { display:flex; justify-content:space-between; gap:12px; margin-bottom:9px; }
.progress-block strong { font-weight:550; }
progress { display: block; width:100%; height:5px; background:#444b43; border:0; appearance:none; border-radius:2px; overflow:hidden; }
progress::-webkit-progress-bar { background:#444b43; }
progress::-webkit-progress-value { background:var(--accent); }
progress::-moz-progress-bar { background:var(--accent); }
.progress-card .text-link,.profile-card .text-link,.section-line .text-link,.back-link { color:var(--accent); }
.feedback-strip { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 0; border-bottom:1px solid var(--line); }
.feedback-strip h3 { font-size:21px; margin:7px 0; }
.dashboard-events { margin-top:clamp(39px,4.5vw,70px); }
.dashboard-events h2,.calendar-group > h2,.profile-card h2 { font-size:clamp(26px,2.5vw,39px); }
.dashboard-events > .section-line,.calendar-group > h2,.dashboard-events > h2 { padding-bottom:17px; border-bottom:1px solid var(--line); }
.empty { display:block; padding:21px 0; color:var(--muted); }
.event-row,.work-row { display:flex; align-items:flex-start; gap:20px; padding:22px 0; border-bottom:1px solid var(--line); }
.date-stamp { display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--accent); background:#272d26; border:1px solid #424b3c; border-radius:3px; min-width:64px; min-height:70px; }
.date-stamp strong { font-size:27px; line-height:1.1; font-weight:510; letter-spacing:-.05em; }
.date-stamp span { font-size:12px; }
.event-row h3 { font-size:clamp(20px,1.7vw,28px); margin:1px 0 4px; }
.event-row p { color:var(--muted); max-width:76ch; white-space:pre-line; overflow-wrap:anywhere; }
.event-row .event-when { color:var(--paper); font-size:13px; margin:4px 0 5px; }
.module-block { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:clamp(25px,5vw,80px); border-top:1px solid var(--line); padding:clamp(22px,3.2vw,48px) 0; }
.module-info h2 { font-size:clamp(25px,2.55vw,40px); margin:12px 0 10px; }
.module-info > .eyebrow { color:var(--accent); }
.module-info p:last-child,.lesson-meta { font-size:13px; }
.lesson-row { display:grid; grid-template-columns:24px 1fr auto 16px; gap:13px; align-items:center; padding:15px 0; border-bottom:1px solid var(--line); }
.lesson-row:first-child { padding-top:3px; }
.lesson-index,.lesson-meta { color:var(--muted); }
.lesson-name { font-size:clamp(17px,1.4vw,22px); letter-spacing:-.03em; }
.done { color:var(--accent); }
.read-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.35fr); gap:clamp(32px,7vw,110px); align-items:start; margin-top:29px; }
.reader { max-width:850px; overflow-wrap:anywhere; }
.reader .dash-heading h1 { font-size:clamp(39px,4.1vw,64px); }
.reading-section { border-top:1px solid var(--line); padding:24px 0; }
.reading-section h2,.practice h2,.read-aside h2 { font-size:clamp(24px,2.1vw,35px); margin-bottom:12px; }
.prose { white-space:pre-line; overflow-wrap:anywhere; line-height:1.75; color:#d1d5ce; }
.practice { margin:18px 0 26px; }
.practice > .eyebrow { color:var(--accent); margin-bottom:14px; }
.practice h3 { font-size:18px; }
.practice > h3,.task-form { margin-top:24px; }
.criteria { color:var(--muted); padding:0 0 0 20px; margin-top:9px; }
.criteria li { margin:.3em 0; }
.criteria li::marker { color:var(--accent); }
.response { margin-top:24px; border-top:1px solid var(--line); padding-top:21px; }
.response > .prose { margin-top:14px; }
.review { margin-top:18px; border-left:2px solid var(--accent); padding-left:14px; }
.review strong { font-size:14px; }
.status { padding:4px 9px; border:1px solid #566057; color:#c7d1c5; border-radius:20px; font-size:11px; font-weight:550; white-space:nowrap; }
.status.accepted { color:var(--accent); border-color:#627046; }
.status.revise { color:#ffc59f; border-color:#856047; }
.complete-box,.lesson-nav { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; }
.complete-box { border-top:1px solid var(--line); padding:20px 0; }
.complete-box p { color:var(--muted); font-size:14px; }
.lesson-nav { border-top:1px solid var(--line); padding-top:18px; }
.read-aside { border-left:1px solid var(--line); padding:0 0 0 24px; position:sticky; top:24px; }
.read-aside h2 { margin:12px 0 18px; font-size:22px; }
.read-aside ol { padding-left:19px; font-size:14px; }
.read-aside li { padding:5px 0; }
.read-aside [aria-current] { color:var(--accent); }
.calendar-group + .calendar-group { margin-top:35px; }
.profile-grid { grid-template-columns:1fr 1fr; }
.profile-card h2 { margin-bottom:25px; }
.profile-card dl { margin:0; }
.profile-card dl > div { display:grid; grid-template-columns:minmax(65px,.32fr) minmax(0,1fr); gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.profile-card dl > div:last-child { border:0; }
.profile-card dt { color:var(--muted); }
.profile-card dd { margin:0; overflow-wrap:anywhere; }
.profile-card .text-link { margin-top:22px; }
.work-row { align-items:center; }
.work-row > span:first-child { margin-right:auto; font-size:18px; }
@media (hover:hover) {
  .head-text:hover,.text-link:hover,.link-button:hover,.back-link:hover,.site-foot a:hover,.lesson-row:hover,.work-row:hover,.read-aside a:hover,.account-link:hover,.subnav a:hover { color:var(--accent); }
  .entry-link:hover,.button.outline:hover { border-color:var(--accent); }
  .button.solid:hover { background:#dbe994; }
  .button.ink:hover { background:#2d342a; }
}
@media (max-width:900px) {
  .hero { grid-template-columns: minmax(0,1.16fr) minmax(0,1fr); gap:22px; }
  .hero-copy h1 { font-size:clamp(41px,5.8vw,53px); }
  .model-poster { min-height:284px; }
  .program-layout,.apply-layout { gap:clamp(28px,5vw,55px); }
  .read-grid { grid-template-columns:minmax(0,1fr) minmax(185px,.33fr); gap:28px; }
}
@media (max-width:720px) {
  .head-inner { min-height:70px; }
  .public-nav .head-text { display:none; }
  .hero { grid-template-columns:1fr; gap:32px; padding:40px 0; }
  .hero-copy h1 { font-size:clamp(45px,8.8vw,66px); margin:21px 0 16px; }
  .hero-description { max-width:50ch; }
  .hero-actions { margin-top:22px; }
  .model-poster { aspect-ratio:1.73; min-height:0; max-height:350px; }
  .program-layout,.apply-layout,.dash-grid,.profile-grid,.module-block,.read-grid { grid-template-columns:1fr; }
  .program-layout,.apply-layout { gap:32px; padding-block:51px; }
  .section-intro h2 { margin:17px 0 14px; }
  .stages li { padding:18px 0; }
  .progress-card { gap:16px; }
  .module-block { gap:21px; }
  .read-aside { position:static; }
  .event-row { gap:15px; }
  .dash-grid,.profile-grid { gap:13px; }
}
@media (max-width:410px) {
  :root { --gutter:16px; }
  .hero-copy h1 { font-size:clamp(37px,10.6vw,44px); }
  .brand { gap:9px; font-size:13px; }
  .brand-mark { width:37px; height:37px; font-size:26px; }
  .eyebrow { font-size:10px; }
  .subnav > div { justify-content:space-between; gap:8px; }
  .subnav a { font-size:13px; }
  .button { gap:15px; }
  .section-line { flex-wrap:wrap; gap:7px 14px; }
  .lesson-row { gap:6px; grid-template-columns:19px 1fr auto 13px; }
  .work-row { gap:9px; }
  .feedback-strip { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none !important; animation:none !important; }
}
.versions { margin-top: 18px; font-size: 14px; }
.versions summary { cursor: pointer; color: var(--accent); }
.version { padding: 14px 0; border-bottom: 1px solid var(--line); }
.version .section-line { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.material-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 0; }
.material-row strong,.material-row small { display:block; }
.material-row strong { font-weight:550; }
.material-row small { color:var(--muted); overflow-wrap:anywhere; font-size:12px; }
.material-row .button { min-height:38px; padding:8px 13px; white-space:nowrap; }
.meeting-link { color:var(--accent); text-decoration:underline; text-underline-offset:.2em; }
.month-heading { border-bottom:1px solid var(--line); padding-bottom:16px; }
.month-heading h2 { font-size:clamp(26px,2.7vw,40px); }
.month-heading h2::first-letter { text-transform:uppercase; }
.month-nav { display:flex; gap:7px; }
.month-nav a { display:grid; place-items:center; width:40px; height:36px; border:1px solid var(--line); border-radius:3px; color:var(--accent); }
.month-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,315px); gap:clamp(22px,4vw,68px); align-items:start; }
.month-grid { margin-top:20px; width:100%; padding:10px; background:var(--panel); border:1px solid var(--line); border-radius:4px; table-layout:fixed; text-align:center; font-size:14px; border-spacing:2px; }
.month-grid th { font-weight:500; font-size:11px; text-transform:uppercase; color:var(--muted); padding-bottom:7px; }
.month-grid td { padding:0; }
.month-grid td > * { min-height:30px; display:grid; place-items:center; border:1px solid transparent; border-radius:3px; }
.month-grid td > a { color:var(--ink); background:var(--accent); font-weight:650; }
.month-grid td > [aria-current] { border-color:var(--accent); }
.month-grid td > a[aria-current] { outline:1px solid var(--accent); outline-offset:1px; }
.accepted-total { margin:15px 0; }
@media(max-width:720px) {
  .month-layout { grid-template-columns:1fr; gap:8px; }
  .month-grid { max-width:315px; margin-top:12px; }
}
.contact-link { color:var(--accent); text-decoration:underline; text-underline-offset:.22em; }
.auth-note p + p,.thanks p + p { margin-top:10px; }
.access-section { padding-block:clamp(52px,6vw,90px); background:#222725; }
.access-steps { list-style:none; padding:0; margin:30px 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(20px,3vw,45px); counter-reset:steps; }
.access-steps li { border-top:1px solid #535b50; padding-top:14px; counter-increment:steps; }
.access-steps li::before { content:"0" counter(steps); color:var(--accent); font-size:12px; font-weight:550; letter-spacing:.06em; }
.access-steps h3 { font-size:clamp(19px,1.7vw,27px); margin:10px 0 8px; }
.access-steps p { font-size:15px; color:var(--muted); }
.track-hero h2,.tracker-panel h2,.checkin p,.next-action { overflow-wrap:anywhere; }
.next-action { margin:0 0 22px; border-top:1px solid #919e54; padding-top:10px; color:#39432c; }
.next-action strong { font-size:12px; }
.next-action p { font-size:15px; margin-top:3px; }
.track-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; align-items:start; }
.tracker-panel { width:100%; max-width:820px; border:1px solid var(--line); border-radius:5px; background:var(--panel); padding:clamp(20px,3vw,42px); }
.tracker-panel h2 { font-size:clamp(24px,2.75vw,42px); margin:0 0 12px; }
.tracker-panel > .eyebrow { color:var(--accent); margin-bottom:15px; }
.tracker-panel > p,.tracker-panel small { color:var(--muted); }
.tracker-panel .muted { margin-top:16px; }
.track-form { margin-top:24px; }
.fields-pair { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fields-pair > * { min-width:0; }
.track-form [readonly] { background:#1a1e1c; color:var(--muted); }
.metric-grid { display:flex; flex-wrap:wrap; gap:20px 25px; margin:24px 0; padding:19px 0; border-block:1px solid var(--line); }
.metric-grid dt { font-size:12px; color:var(--muted); }
.metric-grid dd { font-size:clamp(18px,1.8vw,28px); letter-spacing:-.04em; margin:3px 0 0; overflow-wrap:anywhere; }
.metric-grid > div:nth-child(2) dd,.track-notice { color:var(--accent); }
.task-next { background:#272d25; border-left:2px solid var(--accent); padding:12px 16px; margin-bottom:18px; overflow-wrap:anywhere; }
.task-next > p:nth-child(2) { margin:6px 0 3px; }
.edit-goal summary { display:list-item; width:fit-content; color:var(--accent); cursor:pointer; }
.checkin { border-bottom:1px solid var(--line); padding:18px 0; }
.checkin strong { font-weight:560; font-size:21px; }
.checkin time,.checkin-action { font-size:14px; color:var(--muted); }
.checkin p { margin-top:8px; }
.track-notice { margin-top:12px; }
@media(max-width:820px) {
  .access-steps { grid-template-columns:1fr 1fr; }
  .track-columns { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:720px) {
  .form-stack input,.form-stack textarea { scroll-margin-block:15vh 30vh; }
  .hero-actions { gap:8px 20px; }
  .site-head a,.hero-actions a,.foot-inner a,.foot-inner button,.auth-note a,.auth-wrap .text-link,.learn-nav a,.read-aside a,.back-link,.text-link,.contact-link,.material-row button,.month-nav a,.edit-goal summary,.versions summary,.subnav a,.account-link { min-height:44px; align-content:center; }
  .auth-note a,.contact-link,.read-aside a,.back-link { display:inline-flex; align-items:center; }
  .auth-note a { white-space:normal; }
  .foot-inner { flex-wrap:wrap; gap:1px 10px; padding-block:12px; }
  .subnav > div { gap:5px; justify-content:space-between; }
  .subnav a { font-size:13px; }
  .month-grid { max-width:100%; }
  .month-grid td > * { min-height:40px; }
  .track-form .fields-pair { gap:8px; }
  .month-nav a { width:44px; }
}
@media(max-width:460px) {
  .access-steps { grid-template-columns:1fr; gap:15px; }
  .access-steps li { display:grid; grid-template-columns:26px 1fr; column-gap:8px; }
  .access-steps li::before { grid-row:span 2; }
  .access-steps h3 { margin:0 0 5px; }
  .access-steps p { grid-column:2; }
  .material-row { flex-wrap:wrap; }
}
@media(max-width:360px) {
  .subnav > div { flex-wrap:wrap; justify-content:flex-start; column-gap:17px; row-gap:0; }
  .subnav a { padding-block:10px; }
  .hero-actions .button { max-width:100%; }
  .track-form .fields-pair { grid-template-columns:1fr; }
  .auth-wrap .head-inner { gap:9px; }
}

@media (pointer: coarse) { .public-nav .entry-link { min-height: 44px; display:inline-flex; align-items:center; } }

.guide-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 5px;
}
.guide-intro > div { flex: 1 1 420px; min-width: 0; }
.guide-intro h2 { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 12px; }
.guide-intro p, .guide-lead { color: var(--muted); max-width: 75ch; }
.guide-intro .button { max-width: 100%; }
.guide-section { max-width: 920px; margin-block: 36px; }
.guide-section > h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 24px; }
.guide-section p { color: var(--muted); line-height: 1.7; }
.guide-section p + p { margin-top: 14px; }
.guide-steps { margin: 0; padding-left: 28px; }
.guide-steps li { padding: 0 0 25px 12px; }
.guide-steps li::marker { color: var(--accent); font-weight: 600; }
.guide-steps h3 { font-size: 22px; margin-bottom: 10px; }
.guide-section a { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.guide-steps a, .guide-faq a, .guide-map a { display: inline-flex; align-items: center; min-height: 44px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.guide-map { margin: 0; }
.guide-map > div { padding-block: 14px; border-bottom: 1px solid var(--line); }
.guide-map dt { font-weight: 550; }
.guide-map dd { color: var(--muted); margin: 0; }
.guide-faq details { border-bottom: 1px solid var(--line); padding-block: 10px; }
.guide-faq summary { min-height: 44px; padding-block: 10px; cursor: pointer; }
.guide-faq details p { margin-block: 8px 16px; }
.guide-contact { margin-top: 24px; }
.guide-owner { max-width: 920px; }
.guide-owner code { overflow-wrap: anywhere; }
.adm-shell .guide-intro h2 { margin-bottom: 12px; }
.adm-shell .guide-section > h2 { margin-bottom: 24px; }
.adm-shell .guide-section p + p { margin-top: 14px; }
.adm-shell .guide-section a { color: var(--accent); text-decoration: underline; }
.adm-shell .guide-map dd { color: var(--muted); }
.adm-shell .guide-faq details p { margin-block: 8px 16px; }
.subnav > div { flex-wrap: wrap; }
@media (max-width: 680px) {
  .guide-steps { padding-left: 22px; }
  .guide-steps li { padding-left: 4px; }
  .guide-intro > div { flex-basis: 100%; }
}

.preview-notice {
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid var(--accent);
  background: var(--panel);
  border-radius: 6px;
}
.preview-notice p { color: var(--muted); margin: 6px 0; max-width: 80ch; }
.preview-notice a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }
.lesson-start { padding: 20px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 32px; }
.lesson-start p { color: var(--muted); margin-bottom: 14px; }
.task-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 25px; }
.task-form label, .track-form label { gap: 8px; }
.task-form small, .track-form small { font-size: 14px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.task-form .field-example { padding: 10px 12px; border-left: 2px solid var(--line); background: var(--ink); }
.task-form textarea { min-height: 110px; }
.homework-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.homework-actions button { min-height: 48px; }
.draft-status { color: var(--accent); font-size: 14px; }
.work-state { margin: 20px 0; padding: 16px; background: var(--panel); border-left: 2px solid var(--accent); }
.homework-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.homework-row > div { flex: 1 1 350px; min-width: 0; }
.homework-row h2 { font-size: clamp(22px, 2.5vw, 32px); margin-bottom: 12px; }
.track-form select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; background: var(--ink); border: 1px solid var(--line); border-radius: 4px; color: var(--paper); font: inherit; font-size: 16px; }
.track-help { margin-top: 16px; }
.track-help summary { color: var(--accent); min-height: 44px; padding-block: 10px; cursor: pointer; }
.track-help p { margin-block: 12px; }
.preset-example { padding: 14px; background: var(--ink); border-radius: 4px; color: var(--muted); }
.foot-inner { flex-wrap: wrap; }
.welcome-tour {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  color: var(--paper);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 36px);
  overscroll-behavior: contain;
}
.welcome-tour::backdrop { background: rgb(8 13 10 / 80%); }
.welcome-tour[open] { display: flex; flex-direction: column; }
html:has(.welcome-tour[open]) { overflow: hidden; scroll-behavior: auto; }
.welcome-tour header { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.welcome-tour header button { min-height: 44px; }
.welcome-tour progress { width: 100%; height: 5px; accent-color: var(--accent); margin: 14px 0 26px; flex-shrink: 0; }
.welcome-tour section { overflow-y: auto; min-height: 0; padding: 4px; }
.welcome-tour .eyebrow { color: var(--accent); margin-bottom: 14px; }
.welcome-tour h2 { font-size: clamp(27px, 4vw, 39px); margin-bottom: 18px; }
.welcome-tour section > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.65; }
.welcome-tour section button { color: var(--accent); min-height: 44px; margin-top: 18px; text-align: left; }
.welcome-tour footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-shrink: 0; }
.welcome-tour [role=alert] { color: #ffccbc; font-size: 14px; }
.welcome-tour button:disabled { opacity: .35; cursor: default; }
@media (max-width: 500px) {
  .welcome-tour { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px; }
  .welcome-tour footer button { min-height: 48px; }
  .homework-actions { flex-direction: column; }
  .homework-actions button { width: 100%; }
}
