:root {
  --ink: #171a19;
  --ink-2: #242826;
  --paper: #f7f7f3;
  --white: #ffffff;
  --muted: #68706c;
  --line: #dfe2dd;
  --green: #376c51;
  --green-dark: #28513d;
  --green-soft: #e5eee8;
  --yellow: #e9bd57;
  --display: "Roboto Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); letter-spacing: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.login-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 46%) 1fr; background: var(--white); }
.login-visual { position: relative; min-height: 100vh; overflow: hidden; background: #202321; }
.login-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.78); }
.login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,16,.03) 35%, rgba(15,18,16,.86) 100%); }
.login-visual-copy { position: absolute; z-index: 1; right: 54px; bottom: 56px; left: 54px; color: white; }
.login-visual-copy p { margin: 0 0 9px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.login-visual-copy strong { display: block; max-width: 560px; font-family: var(--display); font-size: clamp(44px, 4.2vw, 70px); line-height: .94; text-transform: uppercase; }
.login-panel { min-height: 100vh; display: flex; flex-direction: column; padding: 36px clamp(32px, 6vw, 92px); }
.login-logo { width: 180px; }
.login-logo img { width: 100%; height: 120px; object-fit: contain; object-position: left center; }
.login-card { width: min(100%, 430px); margin: auto; padding: 50px 0 36px; }
.preview-label { display: inline-block; margin-bottom: 20px; padding: 6px 9px; color: var(--green-dark); background: var(--green-soft); border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.login-card h1 { margin: 0 0 12px; font-family: var(--display); font-size: 54px; line-height: .95; text-transform: uppercase; }
.login-card > p { margin: 0 0 34px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.login-card form > label { display: block; margin: 18px 0 8px; font-size: 12px; font-weight: 700; }
.field-with-icon { position: relative; }
.field-with-icon > svg { position: absolute; top: 50%; left: 14px; width: 17px; transform: translateY(-50%); color: #7b837f; }
.field-with-icon input { width: 100%; height: 52px; padding: 0 46px 0 43px; color: var(--ink); background: var(--white); border: 1px solid #cdd2ce; border-radius: 5px; outline: none; }
.field-with-icon input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(55,108,81,.12); }
.password-toggle { position: absolute; top: 50%; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; transform: translateY(-50%); cursor: pointer; }
.password-toggle svg { width: 17px; }
.login-options { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 24px; }
.check-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.check-label input { accent-color: var(--green); }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--green-dark); background: transparent; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.text-button svg { width: 14px; }
.primary-button, .dark-button, .light-button, .outline-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 5px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform 150ms ease, background 150ms ease; }
.primary-button:hover, .dark-button:hover, .light-button:hover, .outline-button:hover { transform: translateY(-1px); }
.primary-button, .dark-button { color: white; background: var(--ink); border: 1px solid var(--ink); }
.primary-button svg, .dark-button svg, .light-button svg, .outline-button svg { width: 16px; }
.login-button { width: 100%; }
.light-button { color: var(--ink); background: white; border: 1px solid white; }
.outline-button { color: var(--ink); background: transparent; border: 1px solid #cbd0cc; }
.login-support { margin: 24px 0 0 !important; text-align: center; font-size: 11px !important; }
.login-support a { color: var(--green-dark); font-weight: 700; }
.coach-login-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; color: var(--muted); font-size: 10px; font-weight: 700; text-decoration: none; }
.coach-login-link svg { width: 14px; }
.login-legal { max-width: 440px; margin: 0 auto; color: #8b918e; font-size: 10px; line-height: 1.5; text-align: center; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 248px; display: flex; flex-direction: column; padding: 25px 17px 18px; color: #eef0ed; background: var(--ink); }
.sidebar-top { height: 58px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 12px; }
.sidebar-logo { width: 112px; }
.sidebar-logo img { width: 100%; height: 52px; object-fit: contain; object-position: left top; filter: brightness(0) invert(1); }
.sidebar-close { display: none !important; }
.app-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 21px; }
.nav-item { position: relative; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 13px; padding: 0 13px; color: #aeb5b1; background: transparent; border: 0; border-radius: 5px; font-size: 13px; text-align: left; cursor: pointer; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.055); }
.nav-item.is-active { color: white; background: rgba(255,255,255,.1); }
.nav-item.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; background: #84ad91; }
.nav-item em { width: 7px; height: 7px; margin-left: auto; background: var(--yellow); border-radius: 50%; }
.sidebar-program { margin: auto 6px 18px; padding: 15px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.sidebar-program > span { display: block; color: #aeb5b1; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sidebar-program strong { display: block; margin-top: 7px; font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.mini-progress { height: 4px; margin-top: 13px; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 3px; }
.mini-progress span { display: block; height: 100%; background: #8ab297; }
.sidebar-program p { margin: 7px 0 0; color: #8f9792; font-size: 9px; }
.profile-button { width: 100%; display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 10px; padding: 12px 10px; color: white; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.1); text-align: left; cursor: pointer; }
.avatar, .header-avatar { display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 11px; font-weight: 700; }
.avatar { width: 34px; height: 34px; }
.profile-button span:nth-child(2) { min-width: 0; }
.profile-button strong, .profile-button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-button strong { font-size: 11px; }
.profile-button small { margin-top: 3px; color: #8f9792; font-size: 9px; }
.profile-button > svg { width: 14px; color: #828985; }
.sidebar-scrim { display: none; }
.app-main { min-height: 100vh; margin-left: 248px; }
.app-header { height: 72px; display: flex; align-items: center; justify-content: flex-end; padding: 0 34px; background: rgba(247,247,243,.94); border-bottom: 1px solid var(--line); }
.mobile-brand, .menu-button { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.icon-button svg { width: 17px; }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; background: #b05842; border: 1px solid var(--paper); border-radius: 50%; }
.header-avatar { width: 38px; height: 38px; border: 0; cursor: pointer; }
.view-container { max-width: 1320px; margin: 0 auto; padding: 42px 42px 72px; }
.app-view { animation: viewIn 220ms ease; }
@keyframes viewIn { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.view-heading h1 { margin: 7px 0 7px; font-family: var(--display); font-size: 44px; line-height: 1; text-transform: uppercase; }
.view-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.kicker { color: var(--green-dark) !important; font-size: 10px !important; font-weight: 700; text-transform: uppercase; }
.week-score { min-width: 142px; padding-left: 20px; border-left: 1px solid var(--line); }
.week-score span, .week-score small, .week-score strong { display: block; }
.week-score span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.week-score strong { margin: 3px 0 2px; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.week-score small { color: var(--muted); font-size: 9px; }
.call-banner { min-height: 154px; display: grid; grid-template-columns: 82px minmax(0,1fr) auto; align-items: center; gap: 24px; margin-bottom: 28px; padding: 28px 30px; color: white; background: var(--green-dark); border-radius: 6px; overflow: hidden; }
.call-date { width: 72px; height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 5px; }
.call-date span { font-size: 9px; font-weight: 700; }
.call-date strong { font-family: var(--display); font-size: 35px; }
.live-label { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.live-label i { width: 6px; height: 6px; background: #f1c35d; border-radius: 50%; }
.call-copy h2 { margin: 9px 0 5px; font-family: var(--display); font-size: 23px; text-transform: uppercase; }
.call-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(290px,.8fr); gap: 28px; align-items: start; }
.dashboard-section, .coach-note, .checkin-prompt, .plan-section, .trend-card, .milestones, .account-card, .account-actions article { background: white; border: 1px solid var(--line); border-radius: 6px; }
.dashboard-section { padding: 28px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-title span { display: block; margin-bottom: 5px; color: var(--green-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.section-title h2 { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.focus-note { min-height: 56px; display: flex; align-items: center; gap: 12px; margin: 21px 0 15px; padding: 12px 15px; background: var(--green-soft); border-radius: 5px; color: #415149; font-size: 11px; line-height: 1.5; }
.focus-note svg { width: 19px; flex: 0 0 auto; color: var(--green); }
.focus-note strong { display: block; color: var(--green-dark); }
.action-list { display: flex; flex-direction: column; }
.action-item { min-height: 66px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid #e8eae7; cursor: pointer; }
.action-item:last-child { border-bottom: 0; }
.action-item input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 20px; height: 20px; display: grid; place-items: center; color: transparent; border: 1px solid #c4cac6; border-radius: 4px; }
.custom-check svg { width: 13px; }
.action-item input:checked + .custom-check { color: white; background: var(--green); border-color: var(--green); }
.action-item input:checked ~ span:nth-of-type(2) strong { color: #8a918d; text-decoration: line-through; }
.action-item strong, .action-item small { display: block; }
.action-item strong { font-size: 12px; }
.action-item small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.action-item em { padding: 5px 7px; color: #69716d; background: #f2f3f0; border-radius: 3px; font-size: 8px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.dashboard-side { display: flex; flex-direction: column; gap: 20px; }
.coach-note, .checkin-prompt { padding: 24px; }
.coach-top { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; }
.coach-top img { width: 42px; height: 42px; object-fit: cover; object-position: center 18%; background: #e6e5e0; border-radius: 50%; }
.coach-top small, .coach-top strong { display: block; }
.coach-top small { color: var(--muted); font-size: 8px; }
.coach-top strong { margin-top: 2px; font-size: 11px; }
.coach-top time { color: #8b918e; font-size: 8px; }
.coach-note blockquote { margin: 22px 0 20px; font-family: var(--display); font-size: 20px; line-height: 1.18; }
.checkin-prompt > div { display: flex; align-items: center; justify-content: space-between; }
.checkin-prompt > div small { color: #9b5c43; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-icon, .plan-icon { display: grid; place-items: center; border-radius: 5px; }
.status-icon { width: 38px; height: 38px; color: var(--green); background: var(--green-soft); }
.status-icon svg { width: 19px; }
.checkin-prompt h2 { margin: 21px 0 8px; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.checkin-prompt p { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.checkin-prompt .dark-button { width: 100%; }
.checkin-prompt.is-complete { background: #f0f5f1; }

.plan-focus { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-bottom: 25px; padding: 22px 24px; color: white; background: var(--green-dark); border-radius: 6px; }
.plan-focus > svg { width: 24px; margin-top: 3px; }
.plan-focus span, .plan-section header small { font-size: 9px; font-weight: 700; text-transform: uppercase; }
.plan-focus h2 { margin: 5px 0 5px; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.plan-focus p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.plan-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.plan-section { min-height: 470px; display: flex; flex-direction: column; padding: 23px; }
.plan-section header { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.plan-icon { width: 43px; height: 43px; }
.plan-icon svg { width: 20px; }
.plan-icon.nutrition { color: #7d5c2f; background: #f2eadc; }
.plan-icon.movement { color: var(--green-dark); background: var(--green-soft); }
.plan-icon.recovery { color: #4f5e7c; background: #e7ebf2; }
.plan-section header small { color: var(--muted); }
.plan-section h2 { margin: 3px 0 0; font-family: var(--display); font-size: 19px; text-transform: uppercase; }
.plan-section ul { display: flex; flex-direction: column; gap: 20px; margin: 22px 0; padding: 0; list-style: none; }
.plan-section li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; }
.plan-section li > svg { width: 14px; color: var(--green); }
.plan-section li strong, .plan-section li small { display: block; }
.plan-section li strong { font-size: 11px; }
.plan-section li small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.plan-section > .text-button { margin-top: auto; }
.plan-heading-actions { display: flex; align-items: center; gap: 14px; }
.plan-heading-actions > span { color: var(--muted); font-size: 9px; font-weight: 700; }
.personal-plan-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 19px; }
.personal-plan-footer article, .personal-plan-footer > button { min-height: 82px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: white; border: 1px solid var(--line); border-radius: 6px; text-align: left; }
.personal-plan-footer article img { width: 42px; height: 42px; object-fit: cover; object-position: center 18%; background: #e7e5df; border-radius: 50%; }
.personal-plan-footer small { display: block; color: var(--green-dark); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.personal-plan-footer p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.personal-plan-footer > button { display: grid; grid-template-columns: 32px 1fr 18px; color: var(--ink); cursor: pointer; }
.personal-plan-footer > button > svg:first-child { width: 29px; height: 29px; padding: 7px; color: var(--green); background: var(--green-soft); border-radius: 4px; }
.personal-plan-footer > button > svg:last-child { width: 16px; color: var(--muted); }
.personal-plan-footer strong { display: block; margin-top: 4px; font-size: 10px; }

.narrow-heading { max-width: 900px; margin-right: auto; margin-left: auto; }
.time-estimate { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.time-estimate svg { width: 15px; }
.checkin-form { max-width: 900px; margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: 6px; }
.form-section { display: grid; grid-template-columns: 42px 1fr; gap: 25px; padding: 29px; border-bottom: 1px solid var(--line); }
.question-number { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green-dark); background: var(--green-soft); border-radius: 50%; font-family: var(--display); font-size: 13px; }
.question-content > label { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; }
.question-content > p { margin: 6px 0 20px; color: var(--muted); font-size: 10px; }
.scale-labels { display: flex; justify-content: space-between; margin-bottom: 6px; color: #8b918e; font-size: 8px; }
.energy-scale { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.energy-scale button { height: 43px; color: var(--muted); background: #f6f7f4; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; cursor: pointer; }
.energy-scale button.is-selected { color: white; background: var(--green); border-color: var(--green); }
.range-row { display: grid; grid-template-columns: 1fr 58px; align-items: center; gap: 18px; }
.range-row input { width: 100%; accent-color: var(--green); }
.range-row output { text-align: right; font-family: var(--display); font-size: 20px; font-weight: 700; }
.question-content textarea { width: 100%; resize: vertical; padding: 13px; color: var(--ink); background: #fafaf8; border: 1px solid #d4d8d4; border-radius: 4px; outline: none; font-size: 11px; line-height: 1.5; }
.question-content textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(55,108,81,.1); }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { min-height: 48px; display: flex; align-items: center; padding: 0 14px; color: var(--muted); background: #fafaf8; border: 1px solid var(--line); border-radius: 4px; font-size: 10px; cursor: pointer; }
.choice-row input:checked + span { color: var(--green-dark); background: var(--green-soft); border-color: #8cab98; font-weight: 700; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px 29px; }
.form-footer p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 9px; }
.form-footer p svg { width: 15px; color: var(--green); }
.checkin-success { max-width: 640px; margin: 70px auto; text-align: center; }
.checkin-success > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 22px; color: white; background: var(--green); border-radius: 50%; }
.checkin-success h2 { margin: 0 0 8px; font-family: var(--display); font-size: 34px; text-transform: uppercase; }
.checkin-success p { margin: 0 0 25px; color: var(--muted); font-size: 12px; }

.featured-call { min-height: 245px; display: grid; grid-template-columns: 1.2fr .8fr; color: white; background: var(--green-dark); border-radius: 6px; overflow: hidden; }
.featured-call > div { padding: 35px; }
.featured-call > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.featured-call h2 { max-width: 530px; margin: 24px 0 8px; font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.featured-call p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.featured-call .light-button { margin-top: auto; }
.featured-call-topic { display: flex; flex-direction: column; justify-content: center; background: rgba(0,0,0,.12); border-left: 1px solid rgba(255,255,255,.12); }
.featured-call-topic small { font-size: 9px; font-weight: 700; text-transform: uppercase; }
.featured-call-topic strong { max-width: 320px; margin: 8px 0 14px; font-family: var(--display); font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.replay-title { margin: 38px 0 15px; }
.replay-list { background: white; border: 1px solid var(--line); border-radius: 6px; }
.replay-list article + article { border-top: 1px solid var(--line); }
.replay-list button { width: 100%; min-height: 92px; display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 16px; padding: 15px 22px; background: transparent; border: 0; text-align: left; cursor: pointer; }
.play-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--green-dark); background: var(--green-soft); border-radius: 50%; }
.play-icon svg { width: 17px; fill: currentColor; }
.replay-list small, .replay-list strong { display: block; }
.replay-list small { color: var(--muted); font-size: 8px; }
.replay-list strong { margin: 5px 0; font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.replay-list em { padding: 3px 6px; color: var(--green-dark); background: var(--green-soft); border-radius: 3px; font-size: 7px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.replay-list button > svg { width: 17px; color: #989e9a; }

.search-box { width: 250px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.search-box svg { width: 16px; color: var(--muted); }
.search-box input { min-width: 0; flex: 1; background: transparent; border: 0; outline: none; font-size: 10px; }
.filter-row { display: flex; gap: 7px; margin-bottom: 22px; overflow-x: auto; }
.filter-row button { min-height: 34px; padding: 0 14px; color: var(--muted); background: transparent; border: 1px solid #ccd1cd; border-radius: 4px; font-size: 9px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.filter-row button.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.resource-grid article { min-height: 215px; display: grid; grid-template-columns: 43% 1fr; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px; }
.resource-grid article > img { width: 100%; height: 100%; object-fit: cover; }
.resource-grid article > div { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
.resource-grid span { color: var(--green-dark); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.resource-grid h2 { margin: 12px 0 8px; font-family: var(--display); font-size: 21px; line-height: 1; text-transform: uppercase; }
.resource-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.resource-grid button { display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 0; color: var(--green-dark); background: transparent; border: 0; font-size: 9px; font-weight: 700; cursor: pointer; }
.resource-grid button svg { width: 13px; }
.empty-state { padding: 70px 20px; color: var(--muted); text-align: center; }

.view-heading select { height: 39px; padding: 0 30px 0 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 4px; font-size: 9px; }
.progress-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 22px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.progress-stats article { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 21px; border-right: 1px solid var(--line); }
.progress-stats article:last-child { border-right: 0; }
.progress-stats span { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.progress-stats strong { margin: 8px 0 3px; font-family: var(--display); font-size: 30px; line-height: 1; }
.progress-stats strong em { color: var(--muted); font-size: 13px; font-style: normal; }
.progress-stats small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.progress-stats small svg { width: 12px; color: var(--green); }
.progress-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: 22px; }
.trend-card, .milestones { padding: 27px; }
.trend-card .section-title > strong { font-family: var(--display); font-size: 25px; }
.bar-chart { height: 235px; display: grid; grid-template-columns: repeat(4,1fr); align-items: end; gap: 25px; margin: 25px 10px 0; padding-top: 15px; border-bottom: 1px solid #cfd3cf; background-image: repeating-linear-gradient(to bottom, #edf0ec 0, #edf0ec 1px, transparent 1px, transparent 25%); }
.bar-chart > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 9px; }
.bar-chart span { width: min(60px,70%); background: #aab9af; border-radius: 3px 3px 0 0; }
.bar-chart span.current { background: var(--green); }
.bar-chart small { font-size: 8px; font-weight: 700; }
.trend-card > p { display: flex; gap: 9px; margin: 22px 0 0; padding: 13px; color: #52635a; background: var(--green-soft); border-radius: 4px; font-size: 9px; line-height: 1.5; }
.trend-card > p svg { width: 15px; flex: 0 0 auto; }
.milestones ul { margin: 22px 0 0; padding: 0; list-style: none; }
.milestones li { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.milestones li:last-child { border-bottom: 0; }
.milestones li > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 50%; }
.milestones svg { width: 16px; }
.milestones strong, .milestones small { display: block; }
.milestones strong { font-size: 10px; }
.milestones small { margin-top: 4px; color: var(--muted); font-size: 8px; }

.account-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.account-card { padding: 28px; }
.account-profile { display: flex; align-items: center; gap: 15px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.avatar.large { width: 58px; height: 58px; font-size: 16px; }
.account-profile h2 { margin: 0; font-family: var(--display); font-size: 23px; text-transform: uppercase; }
.account-profile p { margin: 3px 0 7px; color: var(--muted); font-size: 10px; }
.account-profile div > span { padding: 4px 7px; color: var(--green-dark); background: var(--green-soft); border-radius: 3px; font-size: 8px; font-weight: 700; }
.account-card dl { margin: 13px 0 24px; }
.account-card dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.account-card dt { color: var(--muted); font-size: 9px; }
.account-card dd { margin: 0; font-size: 10px; font-weight: 600; }
.account-actions { display: flex; flex-direction: column; gap: 11px; }
.account-actions article { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 17px; }
.account-actions article > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 5px; }
.account-actions article svg { width: 16px; }
.account-actions h2 { margin: 0; font-size: 11px; }
.account-actions p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.toggle { width: 38px; height: 21px; padding: 2px; background: #c7ccc8; border: 0; border-radius: 12px; cursor: pointer; }
.toggle span { width: 17px; height: 17px; display: block; background: white; border-radius: 50%; transition: transform 150ms ease; }
.toggle.is-on { background: var(--green); }
.toggle.is-on span { transform: translateX(17px); }
.account-link { min-height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 15px; color: #853f33; background: transparent; border: 1px solid #e2cbc6; border-radius: 5px; font-size: 10px; font-weight: 700; cursor: pointer; }
.account-link.muted { color: var(--muted); border-color: var(--line); }
.account-link svg { width: 15px; }

.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: calc(100% - 44px); min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: white; background: var(--ink); border-radius: 5px; box-shadow: 0 12px 35px rgba(0,0,0,.2); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast svg { width: 17px; color: #8eb69a; }

@media (max-width: 1050px) {
  .sidebar { width: 220px; }
  .app-main { margin-left: 220px; }
  .view-container { padding: 36px 28px 65px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-side { display: grid; grid-template-columns: 1fr 1fr; }
  .plan-columns { grid-template-columns: 1fr; }
  .plan-section { min-height: 0; }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-visual { min-height: 250px; height: 32vh; }
  .login-visual-copy { right: 22px; bottom: 22px; left: 22px; }
  .login-visual-copy strong { max-width: 400px; font-size: 38px; }
  .login-panel { min-height: 68vh; padding: 24px 22px; }
  .login-card { padding: 42px 0; }
  .login-card h1 { font-size: 46px; }
  .login-legal { padding-bottom: 5px; }
  .sidebar { width: min(285px, 84vw); transform: translateX(-101%); transition: transform 200ms ease; }
  .sidebar.is-open { transform: none; }
  .sidebar-close { display: grid !important; color: white; border-color: rgba(255,255,255,.15); }
  .sidebar-scrim { position: fixed; z-index: 45; inset: 0; display: block; padding: 0; background: rgba(0,0,0,.45); border: 0; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
  .sidebar.is-open + .sidebar-scrim { opacity: 1; pointer-events: auto; }
  .app-main { margin-left: 0; }
  .app-header { position: sticky; z-index: 30; top: 0; height: 64px; justify-content: space-between; padding: 0 17px; }
  .menu-button { display: grid !important; }
  .mobile-brand { display: block !important; position: absolute; left: 50%; width: 96px; transform: translateX(-50%); }
  .mobile-brand img { width: 100%; height: 46px; object-fit: contain; }
  .view-container { padding: 29px 16px 58px; }
  .view-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
  .view-heading h1 { font-size: 37px; }
  .week-score { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 13px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .week-score small { grid-column: 1 / -1; }
  .call-banner { grid-template-columns: 60px 1fr; gap: 14px; padding: 20px; }
  .call-date { width: 58px; height: 68px; }
  .call-copy h2 { font-size: 19px; }
  .call-banner .light-button { grid-column: 1 / -1; width: 100%; }
  .dashboard-section { padding: 20px 17px; }
  .section-title { align-items: flex-start; }
  .section-title > .text-button { font-size: 0; }
  .section-title > .text-button svg { width: 17px; }
  .action-item { grid-template-columns: 22px 1fr; padding: 8px 0; }
  .action-item em { display: none; }
  .dashboard-side { display: flex; }
  .plan-focus { grid-template-columns: 30px 1fr; padding: 19px; }
  .plan-focus h2 { font-size: 19px; }
  .plan-heading-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .plan-heading-actions .outline-button { width: 100%; }
  .personal-plan-footer { grid-template-columns: 1fr; }
  .form-section { grid-template-columns: 1fr; gap: 14px; padding: 23px 18px; }
  .question-number { width: 30px; height: 30px; }
  .choice-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; padding: 20px 18px; }
  .featured-call { grid-template-columns: 1fr; }
  .featured-call > div { padding: 25px 21px; }
  .featured-call .light-button { margin-top: 25px; }
  .featured-call-topic { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .replay-list button { grid-template-columns: 42px 1fr 17px; padding: 13px; }
  .search-box { width: 100%; }
  .resource-grid article { grid-template-columns: 1fr; }
  .resource-grid article > img { height: 180px; }
  .resource-grid article > div { min-height: 190px; }
  .progress-stats { grid-template-columns: 1fr 1fr; }
  .progress-stats article:nth-child(2) { border-right: 0; }
  .progress-stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .progress-grid, .account-layout { grid-template-columns: 1fr; }
  .bar-chart { gap: 12px; }
  .account-card { padding: 20px; }
  .account-card dl > div { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
