:root {
  --paper: #f5f1e8;
  --paper-deep: #ece6d9;
  --ink: #17232d;
  --muted: #5d6965;
  --line: rgba(23, 35, 45, .13);
  --navy: #193f5b;
  --navy-dark: #123247;
  --orange: #e78e3e;
  --orange-pale: #f8dfc2;
  --mint: #dfeae1;
  --red: #b55d4d;
  --white: #fffdf8;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(38, 45, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { border-right: 1px solid var(--line); padding: 32px 23px 26px; display: flex; flex-direction: column; min-height: 100vh; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 10px 82px; }
.brand-mark { background: var(--navy); color: #fff; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: -1px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: -.3px; }
.brand small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.side-nav { display: grid; gap: 8px; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 9px; color: var(--muted); font-size: 13px; transition: .2s ease; }
.side-nav a:hover, .side-nav a.active { color: var(--navy); background: var(--paper-deep); font-weight: 600; }
.nav-icon { width: 18px; text-align: center; font-size: 17px; font-weight: 400; }
.sidebar-foot { margin-top: auto; }
.streak-mini { display: flex; align-items: center; gap: 11px; padding: 15px 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.streak-flame { color: var(--orange); font-size: 20px; }
.streak-mini b, .streak-mini small { display: block; }
.streak-mini b { font-size: 13px; }
.streak-mini small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.text-button { padding: 20px 13px 0; border: 0; background: none; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; width: 100%; }

.main-content { min-width: 0; max-width: 1360px; width: 100%; margin: 0 auto; padding: 30px 6.2vw 70px; }
.topbar { height: 38px; display: flex; justify-content: space-between; align-items: start; }
.eyebrow { font: 500 10px/1 'DM Mono', monospace; letter-spacing: .14em; color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.avatar, .icon-button { border: 0; background: var(--navy); color: white; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.icon-button { background: var(--paper-deep); color: var(--navy); border-radius: 9px; }
.icon-button[hidden] { display: none !important; }
.view { outline: none; }

.hero { padding: 53px 0 28px; display: grid; grid-template-columns: 1fr 270px; gap: 50px; align-items: end; }
.hero h1 { margin: 12px 0 14px; font: 600 clamp(44px, 6.4vw, 83px)/.97 'Fraunces', serif; letter-spacing: -.055em; }
.hero h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-copy { max-width: 415px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-aside { border-left: 1px solid var(--line); padding-left: 25px; padding-bottom: 6px; }
.hero-aside strong { display: block; font: 600 40px/1 'Fraunces', serif; color: var(--navy); }
.hero-aside span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; max-width: 130px; margin-top: 9px; }

.day-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 24px 0 28px; }
.day-tab { background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; color: var(--muted); text-align: left; min-height: 68px; transition: .2s ease; }
.day-tab:hover { border-color: var(--navy); transform: translateY(-2px); }
.day-tab.active { background: var(--navy); color: white; border-color: var(--navy); box-shadow: 0 8px 18px rgba(25, 63, 91, .15); }
.day-tab.done { background: var(--mint); border-color: transparent; color: var(--navy); }
.day-tab .day-label { display: block; font: 500 10px 'DM Mono', monospace; text-transform: uppercase; }
.day-tab strong { display: block; font-size: 14px; margin-top: 8px; }
.day-tab small { display: block; font-size: 10px; opacity: .7; margin-top: 2px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 25px 0 14px; }
.section-heading h2 { margin: 0; font: 600 26px/1.05 'Fraunces', serif; letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.text-link { border: 0; background: none; color: var(--navy); font-size: 12px; font-weight: 600; padding: 0; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .85fr); gap: 16px; }
.feature-card { min-height: 290px; padding: 27px 29px; border-radius: var(--radius); background: var(--navy); color: white; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.feature-card:after { content: ''; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; position: absolute; right: -87px; top: -70px; box-shadow: 0 0 0 27px rgba(255,255,255,.045), 0 0 0 56px rgba(255,255,255,.035); }
.feature-label { color: #b5c6ca; font: 500 10px 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.feature-card h3 { margin: 18px 0 8px; max-width: 390px; font: 600 clamp(26px, 3.5vw, 42px)/1.02 'Fraunces', serif; letter-spacing: -.04em; }
.feature-card p { color: #b5c6ca; font-size: 12px; margin: 0; }
.feature-footer { display: flex; align-items: center; gap: 22px; position: relative; z-index: 1; }
.primary-button, .secondary-button, .danger-button { border: 0; border-radius: 8px; padding: 13px 16px; font-size: 12px; font-weight: 700; transition: .2s ease; }
.primary-button { background: var(--orange); color: #221a13; }
.primary-button:hover { background: #f2a761; transform: translateY(-1px); }
.primary-button span { margin-left: 12px; font-size: 17px; line-height: 0; }
.feature-progress { color: #b5c6ca; font: 500 10px 'DM Mono', monospace; }
.stat-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.13); }
.stat-card.accent { background: var(--orange-pale); border-color: transparent; }
.stat-card .stat-top { display: flex; justify-content: space-between; color: var(--muted); font: 500 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .05em; }
.stat-card strong { color: var(--navy); font: 600 35px/1 'Fraunces', serif; }
.stat-card p { margin: 4px 0 0; font-size: 11px; color: var(--muted); }
.mini-bar { height: 5px; background: rgba(25,63,91,.12); border-radius: 20px; overflow: hidden; margin-top: 14px; }
.mini-bar span { display: block; height: 100%; border-radius: inherit; background: var(--navy); }
.mini-bar span.p-0 { width: 0%; } .mini-bar span.p-1 { width: 5%; } .mini-bar span.p-2 { width: 10%; } .mini-bar span.p-3 { width: 15%; } .mini-bar span.p-4 { width: 20%; } .mini-bar span.p-5 { width: 25%; } .mini-bar span.p-6 { width: 30%; } .mini-bar span.p-7 { width: 35%; } .mini-bar span.p-8 { width: 40%; } .mini-bar span.p-9 { width: 45%; } .mini-bar span.p-10 { width: 50%; } .mini-bar span.p-11 { width: 55%; } .mini-bar span.p-12 { width: 60%; } .mini-bar span.p-13 { width: 65%; } .mini-bar span.p-14 { width: 70%; } .mini-bar span.p-15 { width: 75%; } .mini-bar span.p-16 { width: 80%; } .mini-bar span.p-17 { width: 85%; } .mini-bar span.p-18 { width: 90%; } .mini-bar span.p-19 { width: 95%; } .mini-bar span.p-20 { width: 100%; }

.word-list { border-top: 1px solid var(--line); }
.word-row { min-height: 65px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px 1.1fr 1.3fr 75px; align-items: center; gap: 14px; }
.word-index { color: var(--muted); font: 10px 'DM Mono', monospace; }
.word-row strong { font-size: 14px; }
.word-row .meaning { color: var(--muted); font-size: 12px; }
.word-row .frequency { color: var(--muted); font: 10px 'DM Mono', monospace; text-align: right; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--line); margin-right: 6px; vertical-align: 1px; }
.status-dot.known { background: #75a17f; }
.status-dot.hard { background: var(--orange); }
.status-dot.again { background: var(--red); }

.learn-layout { padding-top: 45px; max-width: 760px; margin: 0 auto; }
.learn-header { display: flex; justify-content: space-between; align-items: start; }
.learn-header h1, .progress-header h1, .quiz-header h1 { margin: 9px 0 10px; font: 600 clamp(38px, 5vw, 64px)/1 'Fraunces', serif; letter-spacing: -.05em; }
.learn-header p, .quiz-header p, .progress-header p { margin: 0; color: var(--muted); font-size: 13px; }
.counter { color: var(--navy); font: 500 12px 'DM Mono', monospace; padding-top: 9px; }
.learn-progress { height: 4px; background: var(--paper-deep); margin: 29px 0 20px; border-radius: 9px; overflow: hidden; }
.learn-progress span { display: block; height: 100%; background: var(--orange); transition: width .3s ease; }
.learn-progress span.p-0 { width: 0%; } .learn-progress span.p-1 { width: 5%; } .learn-progress span.p-2 { width: 10%; } .learn-progress span.p-3 { width: 15%; } .learn-progress span.p-4 { width: 20%; } .learn-progress span.p-5 { width: 25%; } .learn-progress span.p-6 { width: 30%; } .learn-progress span.p-7 { width: 35%; } .learn-progress span.p-8 { width: 40%; } .learn-progress span.p-9 { width: 45%; } .learn-progress span.p-10 { width: 50%; } .learn-progress span.p-11 { width: 55%; } .learn-progress span.p-12 { width: 60%; } .learn-progress span.p-13 { width: 65%; } .learn-progress span.p-14 { width: 70%; } .learn-progress span.p-15 { width: 75%; } .learn-progress span.p-16 { width: 80%; } .learn-progress span.p-17 { width: 85%; } .learn-progress span.p-18 { width: 90%; } .learn-progress span.p-19 { width: 95%; } .learn-progress span.p-20 { width: 100%; }
.flash-card { border: 1px solid var(--line); border-radius: 20px; min-height: 400px; padding: 32px; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.flash-card .frequency-badge { position: absolute; top: 20px; right: 20px; }
.frequency-badge { color: var(--muted); font: 10px 'DM Mono', monospace; background: var(--paper); border-radius: 30px; padding: 7px 9px; }
.flash-word { font: 600 clamp(42px, 7vw, 73px)/1 'Fraunces', serif; letter-spacing: -.055em; color: var(--navy); }
.flash-pronunciation { color: var(--muted); font: 11px 'DM Mono', monospace; margin-top: 12px; }
.reveal-area { margin-top: 30px; min-height: 101px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reveal-area .reveal-hint { color: var(--muted); font-size: 12px; margin: 0 0 12px; }
.reveal-button { background: var(--paper); border: 1px solid var(--line); color: var(--navy); padding: 12px 19px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.meaning-revealed { animation: up .25s ease both; }
.meaning-revealed strong { display: block; font: 600 23px 'Fraunces', serif; color: var(--ink); }
.meaning-revealed small { display: block; color: var(--muted); margin-top: 7px; font-size: 11px; max-width: 440px; line-height: 1.5; }
@keyframes up { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.variant-line { margin-top: 19px; color: var(--muted); font-size: 11px; }
.variant-line b { color: var(--ink); font-weight: 500; }
.rating-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; width: 100%; margin-top: 28px; }
.rating-button { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 12px 8px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.rating-button:hover { border-color: var(--navy); }
.rating-button small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; font-size: 10px; }
.rating-button.again { color: var(--red); }
.rating-button.hard { color: #8b500e; }
.rating-button.known { color: #35754a; }
.shortcut { color: var(--muted); font: 10px 'DM Mono', monospace; text-align: center; margin: 14px 0; }

.quiz-layout, .progress-layout { max-width: 920px; margin: 0 auto; padding-top: 45px; }
.quiz-header, .progress-header { display: flex; justify-content: space-between; align-items: start; }
.quiz-switch { display: flex; border: 1px solid var(--line); padding: 3px; border-radius: 9px; }
.quiz-switch button { border: 0; background: transparent; color: var(--muted); font-size: 11px; padding: 8px 10px; border-radius: 6px; }
.quiz-switch button.active { background: var(--navy); color: white; }
.quiz-card { margin-top: 31px; padding: 42px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.quiz-kicker { color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.quiz-prompt { margin: 16px 0 7px; color: var(--navy); font: 600 clamp(37px, 6vw, 59px)/1 'Fraunces', serif; letter-spacing: -.045em; }
.quiz-subprompt { color: var(--muted); font-size: 12px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px auto 0; max-width: 580px; }
.option-button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 9px; padding: 15px 12px; min-height: 54px; text-align: left; font-size: 13px; transition: .2s; }
.option-button:hover, .option-button:focus-visible { border-color: var(--navy); background: var(--mint); }
.option-button.correct { border-color: #5b9a6b; background: var(--mint); }
.option-button.wrong { border-color: var(--red); background: #f5ded8; }
.quiz-feedback { min-height: 26px; margin: 18px 0 0; font-size: 12px; color: var(--muted); }
.quiz-score { text-align: right; color: var(--muted); font: 11px 'DM Mono', monospace; }

.progress-header { margin-bottom: 27px; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.overview-card { border: 1px solid var(--line); padding: 19px; border-radius: var(--radius); background: rgba(255,255,255,.12); }
.overview-card strong { display: block; font: 600 31px 'Fraunces', serif; color: var(--navy); }
.overview-card span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.week-chart { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 5px 14px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 16px; height: 190px; }
.chart-col { height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; }
.chart-bar { width: 100%; max-width: 52px; min-height: 5px; background: var(--paper-deep); border-radius: 7px 7px 2px 2px; position: relative; }
.chart-bar span { display: block; background: var(--orange); border-radius: inherit; position: absolute; bottom: 0; width: 100%; }
.chart-bar.p-0 span { height: 0%; } .chart-bar.p-1 span { height: 5%; } .chart-bar.p-2 span { height: 10%; } .chart-bar.p-3 span { height: 15%; } .chart-bar.p-4 span { height: 20%; } .chart-bar.p-5 span { height: 25%; } .chart-bar.p-6 span { height: 30%; } .chart-bar.p-7 span { height: 35%; } .chart-bar.p-8 span { height: 40%; } .chart-bar.p-9 span { height: 45%; } .chart-bar.p-10 span { height: 50%; } .chart-bar.p-11 span { height: 55%; } .chart-bar.p-12 span { height: 60%; } .chart-bar.p-13 span { height: 65%; } .chart-bar.p-14 span { height: 70%; } .chart-bar.p-15 span { height: 75%; } .chart-bar.p-16 span { height: 80%; } .chart-bar.p-17 span { height: 85%; } .chart-bar.p-18 span { height: 90%; } .chart-bar.p-19 span { height: 95%; } .chart-bar.p-20 span { height: 100%; }
.chart-col label { color: var(--muted); font: 10px 'DM Mono', monospace; }
.empty-state { padding: 50px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.progress-note { margin-top: 28px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 18px; background: rgba(18, 30, 37, .53); backdrop-filter: blur(6px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(100%, 440px); background: var(--paper); border-radius: 20px; padding: 34px; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.2); }
.onboarding-modal { padding: 41px 37px 35px; }
.modal-orbit { color: var(--navy); font: 600 28px 'Fraunces', serif; letter-spacing: -.08em; }
.modal-orbit span { color: var(--orange); padding: 0 4px; }
.modal h1, .modal h2 { margin: 18px 0 13px; font: 600 43px/1 'Fraunces', serif; letter-spacing: -.055em; }
.modal h2 { font-size: 35px; }
.modal-copy { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 25px; }
.field-label { display: block; font: 500 10px 'DM Mono', monospace; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 8px; }
.date-input { display: block; width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 12px; font-size: 13px; }
.wide { width: 100%; margin-top: 17px; }
.tiny-note { color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; margin: 17px 0 0; }
.modal-close { position: absolute; top: 17px; right: 19px; border: 0; background: none; color: var(--muted); font-size: 25px; line-height: 1; }
.settings-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.secondary-button { background: var(--paper-deep); color: var(--navy); text-align: center; }
.file-button { cursor: pointer; }
.file-button input { display: none; }
.danger-button { margin-top: 21px; background: transparent; color: var(--red); border: 1px solid rgba(181,93,77,.32); width: 100%; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 8px; padding: 12px 17px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.bottom-nav { display: none; }

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main-content { padding: 22px 20px 95px; }
  .topbar { height: 28px; }
  .hero { padding: 45px 0 10px; display: block; }
  .hero h1 { font-size: clamp(46px, 14vw, 74px); }
  .hero-aside { border: 0; padding: 24px 0 0; display: flex; align-items: baseline; gap: 11px; }
  .hero-aside strong { font-size: 34px; }
  .hero-aside span { margin-top: 0; }
  .day-strip { gap: 5px; margin: 22px -3px 25px; }
  .day-tab { min-height: 61px; padding: 9px 6px; border-radius: 9px; }
  .day-tab strong { font-size: 12px; margin-top: 7px; }
  .day-tab small { display: none; }
  .dashboard-grid { display: block; }
  .feature-card { min-height: 265px; padding: 23px; }
  .stat-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 9px; margin-top: 9px; }
  .stat-card { min-height: 130px; padding: 16px; }
  .stat-card strong { font-size: 29px; }
  .word-row { grid-template-columns: 27px 1fr 1fr; gap: 7px; }
  .word-row .frequency { display: none; }
  .word-row .meaning { font-size: 11px; text-align: right; }
  .section-heading { margin-top: 31px; }
  .section-heading h2 { font-size: 23px; }
  .learn-layout, .quiz-layout, .progress-layout { padding-top: 40px; }
  .learn-header h1, .quiz-header h1, .progress-header h1 { font-size: 46px; }
  .learn-header, .quiz-header, .progress-header { display: block; }
  .counter, .quiz-score { padding-top: 17px; text-align: left; }
  .flash-card { min-height: 440px; padding: 28px 20px; }
  .rating-row { gap: 6px; }
  .rating-button { padding: 11px 4px; font-size: 11px; }
  .option-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .quiz-card { padding: 33px 17px; }
  .quiz-switch { margin-top: 21px; width: fit-content; }
  .overview-grid { gap: 7px; }
  .overview-card { padding: 13px 10px; }
  .overview-card strong { font-size: 26px; }
  .overview-card span { font-size: 10px; }
  .week-chart { gap: 7px; }
  .bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 9px 7px calc(9px + env(safe-area-inset-bottom)); background: rgba(245,241,232,.94); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .bottom-nav a { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 10px; }
  .bottom-nav a span { font-size: 18px; line-height: 1; }
  .bottom-nav a.active { color: var(--navy); font-weight: 700; }
  .modal { padding: 29px 24px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Offline-first system fonts and account controls. */
.eyebrow, .feature-label, .feature-progress, .stat-card .stat-top, .word-index, .word-row .frequency,
.counter, .frequency-badge, .flash-pronunciation, .shortcut, .quiz-kicker, .quiz-score,
.chart-col label, .field-label { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero h1, .hero-aside strong, .section-heading h2, .feature-card h3, .stat-card strong,
.learn-header h1, .progress-header h1, .quiz-header h1, .flash-word, .meaning-revealed strong,
.quiz-prompt, .overview-card strong, .modal-orbit, .modal h1, .modal h2 { font-family: Georgia, "Times New Roman", serif; }
.text-input { display: block; width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 12px; font-size: 13px; }
.text-input:focus, .date-input:focus { outline: 2px solid rgba(25,63,91,.2); border-color: var(--navy); }
.account-panel { background: var(--paper-deep); border-radius: 10px; padding: 13px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.account-panel strong { display: block; color: var(--navy); font-size: 13px; }
.account-panel button { margin-top: 10px; border: 0; padding: 0; background: none; color: var(--navy); font-size: 11px; font-weight: 700; }
.form-error { min-height: 17px; margin: 12px 0 -3px; color: var(--red); font-size: 11px; }
.auth-switch { padding: 16px 0 0; color: var(--navy); font-size: 11px; }

@media (max-width: 340px) { .day-strip { gap: 4px; } .day-tab { min-width: 0; padding-inline: 5px; } }
