/* Find a Way · calm paper, character-led colour, original artwork. */
:root {
  --accent: #b63d4e;
  --accent-strong: #962b3b;
  --accent-soft: #fbefef;
  --accent-wash: #faf6f4;
  --accent-line: #eacdd0;
  --ink: #2f302f;
  --muted: #666a65;
  --muted2: #71766e;
  --line: #e3e4de;
  --paper: #fffefa;
  --bg: #f8f8f3;
  --purple: var(--accent);
  --purple-dark: var(--accent-strong);
  --purple-soft: var(--accent-soft);
  --shadow: 0 14px 44px rgb(35 40 31 / 9%);
  --shadow-sm: 0 2px 5px rgb(35 40 31 / 2%);
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
}
:root[data-theme="biologicas"] {
  --accent: #267a57; --accent-strong: #1c6143;
  --accent-soft: #eaf4ec; --accent-wash: #f5f8f2; --accent-line: #c3ddcb;
}
:root[data-theme="humanas"] {
  --accent: #3768a2; --accent-strong: #28527f;
  --accent-soft: #edf2f9; --accent-wash: #f5f7f9; --accent-line: #ccd9e9;
}
:root[data-theme="linguagens"] {
  --accent: #896812; --accent-strong: #775811;
  --accent-soft: #fbf3d9; --accent-wash: #fbf9f0; --accent-line: #e6d8a8;
}
body { background: var(--bg); line-height: 1.55; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
::selection { color: var(--ink); background: var(--accent-line); }
input, select, textarea { accent-color: var(--accent); }
button, input, select, textarea { max-width: 100%; }
.brand { gap: 10px; font-weight: 720; letter-spacing: -.035em; }
.brand__mark { flex-shrink: 0; padding: 0; background: transparent; box-shadow: none; border: 0; }
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav-findy-logo { display: block; width: 28px; height: 28px; object-fit: contain; }
.brand__name { font-size: 20px; }
.brand__name span { color: var(--accent); }
.btn { min-height: 46px; padding: 0 19px; border-radius: 10px; font-size: 14px; font-weight: 650; box-shadow: none; transition: background .16s, border-color .16s; }
.btn:hover { transform: none; }
.btn--primary, .btn--link { background: var(--accent); color: #fff; box-shadow: none; }
.btn--primary:hover, .btn--link:hover { background: var(--accent-strong); }
.btn--soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn--ghost { color: var(--ink); background: var(--paper); border-color: var(--line); }
.btn--ghost:hover { background: var(--accent-wash); border-color: var(--accent-line); }
.btn--small { min-height: 44px; font-size: 12px; border-radius: 9px; }
.eyebrow { font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: .09em; color: var(--accent-strong); }
.chip { font-size: 12px; font-weight: 600; border-radius: 7px; padding: 5px 9px; }
.panel { border-color: var(--line); background: var(--paper); border-radius: var(--radius); box-shadow: none; }
.progress { height: 6px; background: #e9ebe4; }
.progress > span { background: var(--accent); }
.fallback__card { border-radius: 18px; box-shadow: var(--shadow-sm); }

/* A spacious welcome page, with Findy as the illustration rather than decoration. */
.clean-landing { background: var(--accent-wash); }
.clean-landing .landing__header { width: min(1200px, calc(100% - 88px)); height: 100px; border-bottom: 1px solid var(--line); gap: 24px; }
.landing__nav { display: flex; align-items: center; gap: 24px; }
.landing__nav a { font-size: 14px; text-decoration: none; color: var(--muted); }
.landing__nav a:hover { color: var(--accent-strong); }
.clean-landing .landing__hero { width: min(1200px, calc(100% - 88px)); min-height: 660px; padding: 60px 0 70px; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: 54px; }
.clean-landing .landing__copy h1 { max-width: 700px; margin: 18px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 5.4vw, 80px); line-height: 1.04; font-weight: 400; letter-spacing: -.055em; color: var(--ink); }
.clean-landing .landing__copy h1 span { color: var(--accent); font-style: italic; }
.clean-landing .landing__lead { max-width: 490px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.clean-landing .landing__actions { gap: 12px; }
.clean-landing .landing__actions .btn { min-height: 50px; padding-inline: 23px; }
.clean-landing .landing__note { margin-top: 20px; font-size: 12px; color: var(--muted); font-weight: 400; }
.welcome-scene { position: relative; min-width: 0; min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 0; }
.welcome-findy { display: block; width: 220px; height: 250px; max-width: 70%; object-fit: contain; position: relative; z-index: 1; }
.welcome-findy .findy-mascot { width: 220px; height: 250px; max-width: 100%; }
.welcome-findy img { width: 100%; height: 100%; object-fit: contain; }
.welcome-note { position: relative; align-self: flex-start; z-index: 2; max-width: 255px; margin: 0 0 -24px 0; padding: 17px 20px; background: var(--paper); border: 1px solid var(--accent-line); border-radius: 15px 15px 4px 15px; font-size: 15px; line-height: 1.6; color: var(--accent-strong); }
.welcome-note p { margin: 0; }
.welcome-note strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 650; color: var(--muted); }
.welcome-note > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.welcome-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.welcome-prompts button { min-height: 44px; padding: 7px 10px; border: 1px solid var(--accent-line); border-radius: 7px; background: var(--paper); color: var(--accent-strong); font-size: 12px; font-weight: 500; }
.welcome-prompts button:hover, .welcome-prompts button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.welcome-schedule { position: relative; width: min(350px, 100%); margin-top: -5px; padding: 23px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 30px rgb(35 40 31 / 4%); }
.welcome-schedule > small, .welcome-schedule > span { color: var(--muted); font-size: 12px; }
.welcome-schedule h2, .welcome-schedule h3 { margin: 5px 0 14px; font-family: Georgia, serif; font-size: 23px; font-weight: 400; letter-spacing: -.025em; }
.welcome-schedule ul, .welcome-schedule ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.welcome-schedule li, .welcome-schedule__row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.welcome-schedule time, .welcome-schedule li > span:first-child { font-size: 12px; color: var(--accent-strong); min-width: 40px; font-variant-numeric: tabular-nums; }
.welcome-schedule li small { margin-left: auto; color: var(--muted); }
.welcome-schedule > div { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.welcome-schedule > div i { color: var(--accent-strong); font-size: 11px; font-style: normal; font-variant-numeric: tabular-nums; }
.welcome-schedule > div strong { font-weight: 500; }
.welcome-schedule > div small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.welcome-schedule > p { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.clean-landing .landing__features { width: min(1200px, calc(100% - 88px)); padding: 30px 0 54px; gap: 0; border-top: 1px solid var(--line); }
.clean-landing .feature { padding: 12px 28px; display: block; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.clean-landing .feature:first-child { padding-left: 0; }
.clean-landing .feature:last-child { border-right: 0; }
.clean-landing .feature__icon { width: 42px; height: 42px; margin-bottom: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.clean-landing .feature h2 { font-size: 15px; font-weight: 650; margin: 0 0 8px; }
.clean-landing .feature p { font-size: 13px; line-height: 1.7; }
.landing__footer { width: min(1200px, calc(100% - 88px)); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; color: var(--muted); font-size: 12px; }
.landing__footer p { margin: 0; }

/* One question at a time; the character stays present on smaller screens too. */
.setup { background: var(--accent-wash); padding: 36px 24px; align-items: start; }
.setup__shell { width: min(1120px, 100%); grid-template-columns: 310px minmax(0, 1fr); overflow: visible; border-radius: 18px; background: var(--paper); box-shadow: none; }
.setup__side { position: sticky; top: 36px; align-self: start; min-height: 640px; padding: 32px; color: var(--ink); background: var(--accent-soft); border-radius: 17px 0 0 17px; }
.setup__side .brand__name { color: var(--ink); }
.setup__side .brand__name span { color: var(--accent); }
.setup__side .brand__mark { background: transparent; border: 0; }
.setup__side h1 { margin: 18px 0 12px; font-family: Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
.setup__side p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.setup__mascot { width: 150px; height: 175px; margin: 45px auto 15px; background: transparent; border: 0; border-radius: 0; }
.setup__mascot .findy-mascot { width: 150px; height: 175px; }
.setup__safe { color: var(--muted); border-color: var(--accent-line); font-size: 12px; }
.findy-dialog { display: grid; gap: 14px; margin: 28px 0; }
.findy-dialog > img { width: 150px; height: 175px; object-fit: contain; margin: 0 auto; }
.findy-dialog .findy-mascot { width: 150px; height: 175px; margin: 0 auto; }
.findy-dialog blockquote { margin: 0; padding: 19px; border: 1px solid var(--accent-line); background: var(--paper); border-radius: 13px 13px 13px 4px; color: var(--accent-strong); font-family: Georgia, serif; font-size: 22px; line-height: 1.45; }
.findy-dialog [role="status"] { font-size: 13px; line-height: 1.65; color: var(--muted); }
.findy-dialog > span { color: var(--muted); font-size: 12px; text-align: center; }
.setup__form { min-width: 0; padding: 36px 40px; }
.setup__form h2 { margin: 22px 0 10px; font-size: 30px; letter-spacing: -.035em; font-weight: 600; }
.setup__form > p { font-size: 14px; }
.setup-progress { display: flex; gap: 8px; margin-bottom: 24px; }
.setup-progress button { position: relative; min-width: 44px; min-height: 44px; flex: 1; padding: 9px 6px 13px; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 500; }
.setup-progress button.active, .setup-progress button[aria-current="step"] { border-color: var(--accent); color: var(--accent-strong); font-weight: 650; }
.setup-progress button.completed { border-color: var(--accent-line); color: var(--accent-strong); }
.setup-progress button > span { display: block; margin-bottom: 3px; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.setup-progress button[aria-current="step"] > span { color: var(--accent-strong); }
.setup-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.setup-step[hidden] { display: none !important; }
.setup-step > legend { width: 100%; padding: 0; color: var(--ink); font-size: 26px; letter-spacing: -.025em; font-weight: 600; }
.setup-step .form-grid { margin-top: 24px; }
.form-grid { gap: 22px; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.field small { font-size: 12px; color: var(--muted); }
.field input, .field select { min-height: 48px; border-color: var(--line); border-radius: 9px; background: var(--paper); font-size: 15px; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.field input[type="range"] { background: transparent; padding: 0; min-height: 30px; }
.range-head output { color: var(--accent-strong); font-weight: 650; }
.group-card-choice, .exam-card-choice, .admission-card { border-color: var(--line); border-radius: 11px; box-shadow: none; }
.group-card-choice.selected, .exam-card-choice.selected, .admission-card.selected { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
.group-card-choice strong, .exam-card-choice strong, .admission-card strong { font-size: 14px; font-weight: 650; }
.group-card-choice small, .exam-card-choice small, .admission-card small { font-size: 12px; line-height: 1.6; }
.exam-card-choice__status { font-size: 10px !important; font-weight: 600; letter-spacing: .01em; border-radius: 5px; }
.exam-card-choice__tags em { font-size: 10px; font-weight: 500; background: var(--bg); border-radius: 5px; }
.setup-section-label { font-size: 12px; letter-spacing: .04em; font-weight: 650; }
.setup__notice { font-size: 12px; border-radius: 10px; }
.setup__notice p { margin: 5px 0 0; }
.setup-exam-label { margin: 26px 0 12px; font-size: 15px; font-weight: 600; }
.time-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.time-presets button { min-height: 44px; padding: 8px 15px; border: 1px solid var(--accent-line); border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; }
.time-presets button:hover { border-color: var(--accent); }
.setup-step .setup__notice { margin-top: 24px; }
.setup-account-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.setup-account-note button { min-height: 44px; padding: 4px 7px; background: transparent; border: 0; border-radius: 5px; color: var(--accent-strong); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.setup__actions { margin-top: 28px; gap: 14px; }

/* Stable, quieter application shell. */
.app-shell { grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { padding: 30px 15px 22px; background: var(--paper); backdrop-filter: none; }
.sidebar__brand { padding: 0 10px 34px; }
.sidebar .brand__name { font-size: 18px; }
.nav { gap: 6px; }
.nav button { min-height: 48px; padding: 0 12px; color: var(--muted); border-radius: 9px; font-size: 13px; font-weight: 550; }
.nav button span:first-child { background: transparent; border-radius: 8px; }
.nav button:hover { background: var(--bg); color: var(--ink); }
.nav button.active, .link-mode .nav button.active { background: var(--accent-soft); color: var(--accent-strong); }
.nav button.active span:first-child { background: transparent; }
.topbar { height: 82px; padding-inline: 36px; background: var(--bg); border-color: var(--line); backdrop-filter: none; }
.topbar__title small { color: var(--muted); font-size: 11px; letter-spacing: .06em; font-weight: 500; }
.topbar__title strong { font-size: 14px; font-weight: 550; }
.topbar__week { font-size: 12px; font-weight: 450; }
.content { width: min(1240px, 100%); max-width: 1240px; padding: 36px 36px 64px; }
.page-head, .welcome-row { margin-bottom: 26px; }
.page-head h1, .welcome-row h1 { color: var(--ink); margin: 10px 0 10px; font-size: 32px; line-height: 1.2; letter-spacing: -.04em; font-weight: 550; }
.page-head p, .welcome-row p { font-size: 14px; line-height: 1.7; }
.section-title { margin: 30px 0 16px; }
.section-title h2 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; }
.section-title p, .section-title small { font-size: 12px; }
.profile-menu { position: relative; margin-left: auto; flex: 0 0 auto; }
.profile-menu > summary { list-style: none; cursor: pointer; }
.profile-menu > summary::-webkit-details-marker { display: none; }
.profile-pill { gap: 10px; min-height: 50px; padding: 4px 10px 4px 5px; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; box-shadow: none; text-align: left; }
.profile-pill:hover { border-color: var(--accent-line); box-shadow: none; }
.profile-pill__avatar { width: 40px !important; height: 40px !important; background: var(--accent-soft) !important; border-radius: 9px; }
.profile-pill strong { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.profile-pill small { font-size: 11px; color: var(--muted); }
.profile-chevron { color: var(--muted); font-size: 12px; padding-left: 6px; }
.profile-menu[open] .profile-chevron { transform: rotate(180deg); }
.profile-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 95; width: 284px; max-width: calc(100vw - 28px); padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: var(--shadow); }
.profile-dropdown > p, .profile-dropdown > small { display: block; margin: 0; padding: 12px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile-dropdown > p { color: var(--ink); font-weight: 600; }
.profile-dropdown > p > small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.profile-dropdown button .chosen-avatar { width: 26px; height: 30px; flex: 0 0 26px; object-fit: contain; }
.profile-dropdown button, .profile-dropdown > a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; text-decoration: none; font-size: 14px; font-weight: 450; }
.profile-dropdown button:hover, .profile-dropdown > a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.profile-dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.profile-dropdown .account-state { margin: 3px 2px 8px; padding: 12px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 12px; }
.profile-dropdown .account-state strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; }

/* Major banners use a single soft character colour, with readable dark ink. */
.countdown-card, .countdown-card.estimated, .school-year-card, .approval-hero,
.ai-hero, .bio-library__hero, .study-atlas__hero, .study-atlas--page .study-atlas__hero,
.reference-library__hero, .drive-library__hero, .link-hero {
  color: var(--ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 16px; box-shadow: none;
}
.countdown-card { padding: 28px; }
.countdown-card:before, .countdown-card.estimated:before, .approval-hero:after,
.drive-library__hero:after, .link-hero:after { content: none; }
.countdown-card h2, .school-year-card h2 { font-size: 27px; font-weight: 550; }
.countdown-card__label, .countdown-card.estimated .countdown-card__label,
.approval-hero .eyebrow, .ai-hero small, .bio-library__hero .eyebrow,
.study-atlas__hero .eyebrow, .link-hero .eyebrow { color: var(--accent-strong); font-size: 12px; font-weight: 600; }
.countdown-card p, .countdown-card.estimated p, .school-year-card p, .approval-hero p,
.ai-hero p, .bio-library__hero p, .study-atlas__hero p, .reference-library__hero p,
.drive-library__hero p, .link-hero p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.countdown-card__meta .chip { color: var(--accent-strong); background: var(--paper); font-size: 12px; }
.countdown-unit, .countdown-card.estimated .countdown-unit { background: var(--paper); border-color: var(--accent-line); border-radius: 10px; min-width: 76px; }
.countdown-unit strong { color: var(--accent-strong); font-weight: 550; font-size: 31px; font-variant-numeric: tabular-nums; }
.countdown-unit small { color: var(--muted); font-size: 11px; font-weight: 500; }
.school-stat, .approval-hero__seal, .study-atlas__stat, .bio-library__count,
.link-hero__badge { color: var(--ink); background: var(--paper); border-color: var(--accent-line); border-radius: 11px; }
.school-stat small, .approval-hero__seal small, .study-atlas__stat small,
.bio-library__count small, .link-hero__badge small { color: var(--muted); font-size: 12px; }
.ai-hero { border: 0; border-bottom: 1px solid var(--accent-line); border-radius: 0; }
.ai-hero h2 { font-size: 23px; font-weight: 550; }
.approval-hero h1, .link-hero h1 { font-weight: 550; }
.approval-score { background: var(--accent); border-radius: 12px; }
.approval-page { --approval-navy: var(--accent-strong); }
.approval-weight__bar i { background: var(--accent); }
.plan-picker, .exam-toggle, .admissions-tabs { background: var(--accent-soft); border-radius: 10px; border: 1px solid var(--accent-line); }
.plan-picker { min-width: 235px; gap: 5px; padding: 10px 12px; }
.plan-picker span { color: var(--muted); font-size: 10px; font-weight: 600; }
.plan-picker select { height: 36px; font-size: 12px; font-weight: 600; background: var(--paper); border-radius: 6px; }
.exam-toggle button, .admissions-tabs button, .link-tabs button { min-height: 44px; font-size: 13px; font-weight: 600; border-radius: 8px; }
.admissions-tabs button.active, .admissions-tabs button.link-active, .link-tabs button.active { background: var(--accent); color: #fff; box-shadow: none; }
.link-tabs button { border-color: var(--accent-line); color: var(--accent-strong); }
.exam-toggle button.active { box-shadow: none; }
.schedule-kicker, .schedule-kicker.estimated, .countdown-card.estimated .schedule-kicker.estimated { color: var(--accent-strong); background: var(--paper); font-size: 11px; font-weight: 550; border-radius: 5px; box-shadow: none; }
.date-item.estimated { color: var(--ink); background: var(--accent-soft); border-color: var(--accent-line); }
.date-item.estimated .date-item__day { color: var(--accent-strong); }
.date-item.estimated small { color: var(--muted); }
.exam-card-choice__status.estimated, .admission-card__status:not(.official) { color: #66561e; background: #f6efd8; border-color: #e6d8a8; box-shadow: none; }
.monitor-note--estimate { color: #66561e; background: #f6efd8; border-color: #e6d8a8; box-shadow: none; }

/* Everyday controls and reading sizes. Domain illustrations retain their palette. */
.mission, .area-card, .week-card, .badge, .bio-module, .atlas-subject, .atlas-module,
.reference-card, .admission-card, .link-program, .exercise-card, .summary-card { border-radius: 12px; box-shadow: none; }
.mission:hover, .area-card:hover, .question-tile:hover, .map-tile:hover,
.admission-card:hover { transform: none; border-color: var(--accent-line); box-shadow: none; }
.mission h3, .area-card h3 { font-size: 15px; font-weight: 600; }
.mission p, .area-card p { font-size: 12px; line-height: 1.65; }
.mission__time, .area-card__progress { color: var(--muted); font-size: 11px; font-weight: 500; }
.area-card { min-height: 205px; }
.area-card__progress { gap: 4px; flex-wrap: wrap; }
.area-card__progress strong { font-weight: 600; }
.week-toolbar { padding: 12px; border-radius: 12px; }
.week-toolbar button { min-width: 44px; min-height: 44px; border-radius: 8px; }
.week-toolbar select { min-height: 44px; background: var(--paper); font-size: 13px; font-weight: 500; border-radius: 8px; }
.week-card, .date-item, .source-link, .simulation-row, .college-metric { background: var(--bg); border-color: var(--line); border-radius: 9px; }
.week-card.current { background: var(--accent-soft); border-color: var(--accent-line); }
.week-card strong { font-size: 14px; font-weight: 600; }
.week-card p, .week-card small, .week-card__pct, .date-item strong,
.date-item small, .source-link { font-size: 12px; }
.date-item__day { font-size: 12px; }
.date-item { align-items: flex-start; }
.date-item small { display: block; line-height: 1.6; }
.source-link { min-height: 44px; font-weight: 500; }
.overall-panel p, .wellbeing-panel p, .soft-note p, .ai-suggestion p,
.sync-explain, .sync-row, .sync-row strong { font-size: 13px; }
.sync-panel > p, .link-side .panel > p { font-size: 13px !important; line-height: 1.7 !important; }
.overall-panel h2, .wellbeing-panel h3 { font-weight: 600; }
.soft-note h3, .ai-suggestion h3, .sync-status strong { font-size: 14px; font-weight: 600; }
.badge strong, .badge small, .sync-status small, .ring small { font-size: 12px; }
.badge strong { font-weight: 600; }
.soft-note, .ai-suggestion { border-radius: 11px; }
.message { padding: 13px 16px; font-size: 14px; line-height: 1.7; border-radius: 12px; }
.message.bot { background: var(--accent-soft); color: var(--ink); }
.message.user { background: var(--accent); }
.chat { height: 380px; }
.chat-form input { min-height: 46px; border-color: var(--line); font-size: 14px; border-radius: 9px; }
.chat-form button { width: 46px; height: 46px; border-radius: 9px; }
.quick-prompts button { min-height: 44px; font-size: 12px; border-radius: 8px; font-weight: 500; }
.findy-thinking { background: var(--accent-soft); }
.thinking-needle { color: var(--accent); }
.upgrade-page, .personal-route { font-size: 14px; }
.upgrade-page h2, .personal-route h2 { font-weight: 600; letter-spacing: -.025em; }
.upgrade-page h3, .personal-route h3 { font-weight: 600; }
.upgrade-tabs { gap: 22px; padding-bottom: 0; }
.upgrade-tabs button { border-bottom: 2px solid transparent; border-radius: 0; padding: 13px 3px; font-size: 14px; font-weight: 550; }
.upgrade-tabs button.active { border-bottom-color: var(--accent); background: transparent; color: var(--accent-strong); }
.bank-filters label, .sim-controls label, .day-goal label, .route-notes { font-size: 13px; font-weight: 550; }
.bank-filters input, .bank-filters select, .sim-controls input, .sim-controls select,
.day-goal input, .route-date input, .route-notes textarea { font-size: 14px; border-color: var(--line); border-radius: 8px; min-height: 46px; }
.question-tile small, .question-tile p, .question-tile > span,
.map-tile small, .map-tile p, .map-tile > span, .map-scope-note { font-size: 12px; }
.map-tile small { letter-spacing: .04em; }
.map-tile p { line-height: 1.65; }
.question-tile h3 { font-size: 16px; }
.map-tile h3 { font-size: 18px; }
.map-tile-image { border-radius: 7px; height: 175px; }
.map-favorite-toggle { min-height: 44px; font-size: 12px; border-radius: 8px; }
.question-prompt { font-size: 16px; }
.question-meta, .question-source, .question-source small { font-size: 12px; }
.real-option { font-size: 14px; border-radius: 9px; }
.real-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.real-option b { color: var(--accent-strong); background: var(--accent-soft); }
.official-archive summary { min-height: 44px; font-weight: 600; }
.official-archive summary span, .official-archive > small, .archive-grid p { font-size: 12px; }
.sim-setup-art { background: transparent; }
.sim-result { background: var(--accent-soft); }
.sim-navigator button { min-width: 36px; min-height: 44px; font-size: 12px; background: var(--bg); }
.sim-navigator button.answered { background: var(--accent-soft); color: var(--accent-strong); }
.sim-navigator small, .sim-toolbar p { font-size: 12px; }
.route-intention { display: block; background: var(--accent-soft); }
.route-intention span, .route-date, .budget-caption, .local-note, .findy-day > small,
.suggested-block small, .block-minutes span { font-size: 12px; }
.route-intention p, .findy-day header p { font-size: 14px; }
.route-intention > div:not(.route-character) { border-radius: 9px; background: var(--paper); }
.custom-block { background: var(--bg); border-radius: 10px; }
.custom-block > div:nth-child(2) > input { min-height: 38px; font-size: 14px; font-weight: 550; }
.custom-block select { min-height: 36px; font-size: 12px; }
.block-check { width: 36px; height: 44px; border-radius: 8px; border-color: var(--accent-line); }
.block-minutes input { min-height: 42px; font-size: 14px; }
.block-controls { width: 88px; gap: 4px; flex-shrink: 0; }
.block-controls button { width: 42px; height: 44px; border-radius: 7px; background: var(--accent-soft); font-size: 14px; }
.block-controls button:last-child { width: 88px; }
.suggested-block { background: var(--accent-soft); border-color: var(--accent-line); border-radius: 10px; }
.suggested-block > span { font-size: 14px; }
.suggested-block strong { font-size: 19px; font-weight: 550; }
.approval-form > p, .approval-method > p, .approval-privacy, .approval-disclaimer,
.approval-form-grid .field label, .approval-weight span, .approval-weight b,
.approval-source, .approval-summary p, .approval-results__head p,
.college-card__place, .college-card__reason, .college-card__link,
.college-metric span, .college-metric strong, .college-match small,
.simulation-row strong, .simulation-row small, .approval-history__head small { font-size: 12px; }
.approval-summary__delta, .college-card__tags span, .college-match em { font-size: 11px; font-weight: 550; border-radius: 6px; }
.college-card__tags span { color: var(--accent-strong); }
.college-card h3 { font-size: 17px; font-weight: 600; }
.college-card__reason { line-height: 1.7; }
.college-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.simulation-row button { width: 44px; height: 44px; }
.admission-summary p, .admission-group__head p, .link-program p,
.link-source, .link-checklist__head p, .link-step__copy strong,
.link-step__copy small, .link-fact small { font-size: 12px; }
.link-program small, .link-step__copy em, .link-status { font-size: 11px; }
.link-program, .link-fact, .link-step { background: var(--accent-wash); border-color: var(--accent-line); }
.link-program small, .link-status { color: var(--accent-strong); background: var(--accent-soft); border-radius: 6px; }
.link-fact strong, .link-step__copy em, .link-checklist__progress strong { color: var(--accent-strong); }
.link-step__check { width: 44px; height: 44px; }
.map-subtopic-select button { min-height: 48px; font-weight: 550; font-size: 14px; border-radius: 9px; }
.map-subtopic-select button:hover { background: var(--accent-soft); border-color: var(--accent); }
.map-image-frame, .question-crop { border-radius: 10px; border-color: var(--line); }
.map-image-frame figcaption, .question-crop figcaption { background: var(--bg); color: var(--muted); font-size: 12px; }
.rich-library-progress, .rich-map-status, .map-extra-posters { background: var(--accent-wash); border-color: var(--accent-line); color: var(--muted); }
.rich-map-status.is-ready { color: #246048; background: #f0fbf5; border-color: #c9e7d7; }
.rich-map-status.is-pending { color: #77551f; background: #fff8e9; border-color: #efdfb8; }
.map-extra-posters > summary, .rich-map-text h3 { color: var(--accent-strong); }
.map-accessible-text { border-color: var(--line); border-radius: 9px; }
.mindmap { background: var(--paper); border-radius: 16px; }
.map-center { box-shadow: none; border-radius: 12px; }
.map-recall { background: var(--accent-soft); }

/* Holograms keep their colour, depth and light; only the surrounding furniture changes. */
.h-avatar-picker { background: var(--paper); border-color: var(--line); border-radius: 12px; }
.h-picker-kicker { color: var(--accent-strong); font-size: 11px; font-weight: 600; }
.h-picker-heading h3 { font-weight: 600; letter-spacing: -.025em; }
.h-picker-heading p { color: var(--muted); font-size: 12px !important; }
.h-motion-control { min-height: 44px; color: var(--accent-strong); border-color: var(--accent-line); border-radius: 8px; font-size: 12px; font-weight: 550; }
.h-motion-control[aria-pressed="true"] { background: var(--accent-soft); }
.h-character-card { background: var(--bg); border-radius: 11px; padding-bottom: 16px; }
.h-character-card.is-selected { box-shadow: none; background: rgba(var(--h-rgb), .05); }
.h-character-area, .h-choice-label { font-size: 11px; font-weight: 600; }
.h-character-name { font-size: 21px; font-weight: 600; }
.h-character-note { color: var(--muted); font-size: 12px; min-height: 56px; }
.h-avatar-sheet .h-character-note { font-size: 12px; }
.h-avatar-sheet .h-character-area, .h-avatar-sheet .h-choice-label { font-size: 11px; }
.h-picker-selection { background: var(--accent-wash); border-radius: 8px; color: var(--muted); font-size: 12px !important; }
.h-picker-selection strong { color: var(--accent-strong); }
.h-picker-selection > span, .h-render-note { color: var(--muted); }
.h-render-note { font-size: 11px !important; }
.h-character-card:focus-visible, .h-motion-control:focus-visible { outline-color: var(--accent); }

/* The timer is a quiet working tool; the progress ring still communicates elapsed time. */
.focus-launcher { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; }
.focus-launcher__icon { background: var(--accent-soft); border-radius: 8px; }
.focus-launcher__copy strong { font-size: 13px; font-weight: 600; }
.focus-launcher__copy small { color: var(--muted); font-size: 11px; }
.pomodoro-widget { color: var(--ink); background: var(--paper); border-color: var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.pomodoro-widget__head strong { font-size: 15px; font-weight: 600; }
.pomodoro-widget__head small, .pomodoro-clock__copy small, .pomodoro-meta,
.pomodoro-settings label, .pomodoro-settings small { color: var(--muted); font-size: 12px; }
.pomodoro-close, .pomodoro-reset { width: 44px; height: 44px; background: var(--bg); color: var(--ink); border-radius: 8px; }
.pomodoro-modes button { min-height: 44px; color: var(--muted); font-size: 12px; font-weight: 550; border-radius: 8px; }
.pomodoro-modes button.active { color: var(--accent-strong); background: var(--accent-soft); }
.pomodoro-clock { background: conic-gradient(var(--accent) calc(var(--pomodoro-progress)*1%), var(--accent-soft) 0); }
.pomodoro-clock:before { background: var(--paper); }
.pomodoro-clock__copy strong { font-size: 36px; font-weight: 500; color: var(--accent-strong); }
.pomodoro-meta { border-color: var(--line); }
.pomodoro-dots i { background: var(--accent-line); }
.pomodoro-dots i.done { background: var(--accent); }
.pomodoro-settings-toggle { min-height: 44px; font-size: 12px; font-weight: 550; border-radius: 8px; }
.pomodoro-settings input { min-height: 44px; font-size: 14px; }
.sheet { border-radius: 18px; border-color: var(--line); background: var(--paper); }
.sheet__head h2 { font-weight: 600; }
.sheet__head small, .sheet__head p, .sheet__foot p { font-size: 12px; }
.sheet__close, .lesson-back { min-width: 44px; min-height: 44px; border-radius: 8px; }
.lesson-tabs button { min-height: 44px; font-size: 12px; font-weight: 550; }
.toast { background: var(--ink); border-radius: 10px; font-size: 13px; font-weight: 500; }

@media (max-width: 1150px) {
  .clean-landing .landing__header, .clean-landing .landing__hero,
  .clean-landing .landing__features, .landing__footer { width: calc(100% - 56px); }
  .clean-landing .landing__hero { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr); }
  .clean-landing .landing__copy h1 { font-size: clamp(52px, 5.7vw, 68px); }
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar .brand__name { font-size: 17px; }
  .sidebar__brand { padding-inline: 4px; }
  .topbar { padding-inline: 26px; }
  .content { padding-inline: 26px; }
  .countdown-card { grid-template-columns: 1fr; gap: 20px; }
  .countdown-numbers { justify-content: flex-start; }
  .countdown-unit { min-width: 85px; }
  .setup__shell { grid-template-columns: 270px minmax(0, 1fr); }
  .setup__side { padding: 27px; }
  .setup__form { padding: 32px; }
  .h-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-custom-grid { grid-template-columns: minmax(0, 1fr); }
  .route-intention { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 20px; text-align: left; align-items: center; }
  .route-intention .route-character { grid-row: span 4; height: 130px; margin: 0; }
  .route-intention > div:not(.route-character) { margin: 0; padding: 8px 14px; display: flex; align-items: baseline; gap: 10px; }
  .route-intention strong { font-size: 28px; }
}
@media (max-width: 900px) {
  .clean-landing .landing__hero { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); min-height: 590px; padding-block: 45px; gap: 24px; }
  .clean-landing .landing__copy h1 { font-size: 54px; }
  .clean-landing .landing__lead { font-size: 16px; }
  .welcome-scene { min-height: 440px; }
  .welcome-note { font-size: 14px; padding: 14px 17px; max-width: 210px; }
  .welcome-schedule { padding: 18px; }
  .clean-landing .landing__features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .clean-landing .feature:nth-child(2) { border-right: 0; }
  .clean-landing .feature:nth-child(3) { padding-left: 0; }
  .setup__shell { grid-template-columns: 235px minmax(0, 1fr); }
  .setup__side { padding: 24px; }
  .setup__side .brand__name { font-size: 16px; }
  .setup__form { padding: 28px 24px; }
  .setup-progress { gap: 4px; }
  .setup-progress button { font-size: 11px; }
}
@media (max-width: 820px) {
  .app-shell { display: block; padding-bottom: 0; }
  .app-main { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .topbar { height: 74px; padding: 0 20px; gap: 12px; }
  .topbar__brand { display: block; }
  .topbar__brand .brand__mark { width: 40px; height: 40px; border-radius: 10px; }
  .content { padding: 27px 20px 40px; }
  .profile-pill { padding: 4px 8px 4px 5px !important; gap: 8px; }
  .profile-pill > div { display: block; }
  .profile-pill strong { max-width: 135px; font-size: 12px; }
  .profile-pill small { font-size: 10px; }
  .mobile-nav { background: var(--paper); border-color: var(--line); backdrop-filter: none; }
  .mobile-nav button { min-height: 48px; color: var(--muted); border-radius: 7px; font-weight: 500; font-size: 10px; }
  .mobile-nav button.active, .link-mode .mobile-nav button.active { color: var(--accent-strong); background: var(--accent-soft); }
  .mobile-nav .nav-label--mobile { font-size: 10px !important; }
  .focus-launcher, .pomodoro-widget { right: 16px; bottom: calc(128px + env(safe-area-inset-bottom)) !important; }
  .page-head h1, .welcome-row h1 { font-size: 30px; }
  .countdown-card { padding: 23px; }
  .countdown-card h2 { font-size: 24px; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-card { min-height: 200px; }
  .question-tile h3 { font-size: 15px; }
  .question-tile > span, .map-tile > span { font-size: 12px; }
  .map-tile h3 { font-size: 17px; }
  .map-tile p { font-size: 12px; }
  .sim-navigator > div { gap: 6px; }
  .sim-navigator button { width: 44px; height: 44px; }
  .setup__shell { grid-template-columns: 1fr; }
  .setup__side { display: flex; position: static; min-height: auto; padding: 25px 28px; border-radius: 17px 17px 0 0; border-bottom: 1px solid var(--accent-line); }
  .setup__side .brand__name { font-size: 19px; }
  .setup__side h1 { font-size: 29px; }
  .setup__side > p { margin-bottom: 0; }
  .setup__side .setup__safe { margin-top: 18px; padding-top: 15px; }
  .findy-dialog { grid-template-columns: 90px minmax(0, 1fr); gap: 8px 20px; margin: 22px 0 0; align-items: center; }
  .findy-dialog > img, .findy-dialog .findy-mascot { width: 90px; height: 115px; grid-row: span 2; }
  .findy-dialog blockquote { font-size: 21px; padding: 15px; }
  .findy-dialog [role="status"] { grid-column: 2; }
  .findy-dialog > span { text-align: left; grid-column: 2; }
  .findy-dialog blockquote { grid-column: 2; }
  .setup__mascot { width: 100px; height: 115px; margin: 20px auto 0; }
  .setup__mascot .findy-mascot { width: 100px; height: 115px; }
  .setup__form { padding: 30px 28px; }
  .setup-progress button { font-size: 12px; }
}
@media (max-width: 680px) {
  .clean-landing .landing__header, .clean-landing .landing__hero,
  .clean-landing .landing__features, .landing__footer { width: calc(100% - 40px); }
  .clean-landing .landing__header { height: 83px; gap: 12px; }
  .landing__nav { gap: 12px; }
  .landing__nav a { font-size: 12px; }
  .landing__nav .btn { padding-inline: 13px; font-size: 12px; }
  .clean-landing .landing__hero { grid-template-columns: 1fr; padding: 42px 0 32px; gap: 10px; }
  .clean-landing .landing__copy h1 { font-size: clamp(48px, 8.6vw, 64px); max-width: 530px; }
  .clean-landing .landing__lead { max-width: 530px; }
  .clean-landing .landing__actions { display: flex; flex-wrap: wrap; }
  .clean-landing .landing__actions .btn { width: auto; flex: 1 1 auto; }
  .welcome-scene { width: min(440px, 100%); min-height: 440px; margin: 0 auto; padding-block: 22px; }
  .welcome-note { margin-left: 0; }
  .welcome-findy { width: 200px; height: 220px; }
  .welcome-findy .findy-mascot { width: 200px; height: 220px; }
  .welcome-schedule { width: min(340px, 100%); }
  .clean-landing .feature { padding-right: 18px; padding-left: 18px; }
  .clean-landing .feature p { font-size: 12px; }
  .landing__footer { display: block; }
  .landing__footer p + p { margin-top: 10px; }
  .setup { padding: 16px; }
  .setup__side { padding: 23px; }
  .setup__form { padding: 24px 23px 30px; }
  .setup__form h2 { font-size: 27px; }
  .setup-progress { gap: 5px; }
  .setup-progress button { font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: 1 / -1; }
  .group-cards { grid-template-columns: 1fr; }
  .exam-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup__actions { flex-direction: row; flex-wrap: wrap; }
  .setup__actions .btn { width: auto; flex: 1; }
  .approval-form-grid { grid-template-columns: 1fr; }
  .college-card { grid-template-columns: 38px minmax(0, 1fr); }
  .college-rank { width: 36px; height: 38px; border-radius: 8px; }
  .college-match { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .college-match strong { font-size: 22px; }
  .college-match em { margin-top: 0; }
  .college-card__head { display: block; }
  .college-metrics { grid-column: 1 / -1; }
  .custom-block { flex-wrap: wrap; gap: 8px; padding: 12px; }
  .custom-block > div:nth-child(2) { flex-basis: calc(100% - 52px); }
  .block-minutes { margin-left: 44px; flex: 0 0 68px; }
  .block-controls { width: auto; margin-left: auto; flex-wrap: nowrap; }
  .block-controls button:last-child { width: 44px; }
  .route-intention { grid-template-columns: 80px minmax(0, 1fr); gap: 8px 14px; }
  .route-intention .route-character { height: 115px; }
  .h-avatar-sheet .h-avatar-picker { margin-inline: 15px; }
  .h-character-note { min-height: 54px; }
  .h-picker-heading { flex-wrap: wrap; }
  .h-motion-control { flex-shrink: 1; }
}
@media (max-width: 420px) {
  .clean-landing .landing__header, .clean-landing .landing__hero,
  .clean-landing .landing__features, .landing__footer { width: calc(100% - 32px); }
  .clean-landing .brand { gap: 7px; }
  .clean-landing .brand__name { font-size: 17px; }
  .clean-landing .brand__mark { width: 35px; height: 35px; font-size: 19px; }
  .landing__nav { gap: 8px; }
  .landing__nav .btn { min-height: 44px; padding-inline: 10px; }
  .clean-landing .landing__copy h1 { font-size: 46px; }
  .clean-landing .landing__features { grid-template-columns: 1fr; gap: 22px; }
  .clean-landing .feature { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding: 0; border: 0; }
  .clean-landing .feature__icon { grid-row: span 2; margin-bottom: 0; }
  .clean-landing .feature h2 { align-self: end; }
  .clean-landing .feature p { grid-column: 2; }
  .content { padding-inline: 15px; }
  .topbar { padding-inline: 15px; }
  .profile-pill strong { max-width: 115px; }
  .page-head h1, .welcome-row h1 { font-size: 28px; }
  .countdown-card { padding: 20px; }
  .countdown-unit { min-width: 0; padding: 12px 7px; flex: 1; }
  .countdown-unit strong { font-size: 25px; }
  .countdown-unit small { font-size: 10px; }
  .countdown-card__meta { gap: 5px; }
  .area-grid, .question-grid, .map-library-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 0; }
  .area-card p { -webkit-line-clamp: unset; }
  .question-tile h3 { min-height: 0; }
  .map-tile-image { height: 220px; }
  .setup { padding: 0; }
  .setup__shell { border-radius: 0; border: 0; }
  .setup__side { border-radius: 0; padding: 22px 20px; }
  .setup__form { padding: 25px 20px 32px; }
  .setup-progress { gap: 3px; }
  .setup-progress button { font-size: 10px; padding-inline: 2px; }
  .findy-dialog { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .findy-dialog > img, .findy-dialog .findy-mascot { width: 70px; height: 95px; }
  .findy-dialog blockquote { padding: 13px; font-size: 19px; }
  .exam-cards { grid-template-columns: 1fr; }
  .h-avatar-picker { padding: 15px 10px; }
  .h-character-grid { gap: 8px; }
  .h-character-card { padding-inline: 6px; }
  .h-character-stage { height: 150px; }
  .h-character-name { font-size: 19px; }
  .h-character-area, .h-choice-label { font-size: 10px; }
  .h-character-note { font-size: 11px; }
  .h-avatar-sheet .h-character-stage { height: 155px; }
  .h-avatar-sheet .h-character-name { font-size: 20px; }
  .h-avatar-sheet .h-character-note { font-size: 11px; }
  .suggestion-timeline { grid-template-columns: 1fr; }
  .upgrade-tabs { gap: 17px; }
  .upgrade-tabs button { font-size: 13px; }
  .bank-filters label { flex-basis: 100%; }
  .profile-dropdown { width: 278px; }
}
@media (max-width: 640px) {
  .topbar .profile-pill__copy { display: none; }
  .topbar .profile-pill { min-width: 58px; }
  .topbar .profile-chevron { padding-left: 0; }
  .profile-dropdown > p, .profile-dropdown > p > small { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .profile-chevron, .clean-landing, .setup-step { transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  body, .clean-landing { background: #fff; }
  .profile-menu, .landing__nav, .setup-progress, .setup__actions { display: none; }
  .content { padding: 0; }
}
