:root {
  --page: #dfe8e4;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #edf3ef;
  --surface-warm: #fff3e8;
  --ink: #18343d;
  --ink-soft: #35515a;
  --muted: #748187;
  --line: #d9e2de;
  --accent: #d56e55;
  --accent-dark: #b95543;
  --blue: #23566a;
  --blue-dark: #173e4d;
  --gold: #c18b45;
  --danger: #a84c49;
  --shadow: 0 18px 45px rgba(27, 58, 65, .09);
  --shadow-soft: 0 6px 18px rgba(27, 58, 65, .06);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--page); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 15px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); }
.hidden { display: none !important; }

/* The product keeps a compact mobile canvas on every viewport. */
.auth-screen, .app-shell { width: min(100%, 480px); min-height: 100svh; margin: 0 auto; background: var(--paper); }
.auth-screen { display: flex; flex-direction: column; justify-content: center; padding: 34px 26px 42px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 31px; }
.auth-brand strong, .auth-brand span { display: block; }
.auth-brand strong { color: var(--ink); font: 700 22px/1.1 Georgia, "Songti SC", serif; letter-spacing: 2px; }
.auth-brand span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.auth-mark { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 28px; border: 1px solid var(--ink); border-radius: 16px; color: var(--accent); background: var(--surface-warm); font-size: 24px; }
.auth-brand .auth-mark { flex: 0 0 auto; margin: 0; }
.kicker, .eyebrow { margin: 0; color: var(--accent-dark); font-size: 10px; font-weight: 750; letter-spacing: 2px; text-transform: uppercase; }
.auth-screen h1 { max-width: 10em; margin: 12px 0 17px; color: var(--ink); font: 500 39px/1.16 Georgia, "Songti SC", serif; }
.auth-copy { max-width: 31em; margin: 0; color: var(--muted); }
.auth-form { margin-top: 33px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.form-error { min-height: 24px; margin: 12px 0; color: var(--danger); font-size: 13px; }
.text-button { border: 0; padding: 0; color: var(--blue); background: transparent; }
.text-button:hover { color: var(--accent-dark); }
.full { width: 100%; }
.auth-points { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; color: var(--muted); font-size: 10px; }
.auth-points span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.app-shell { position: relative; overflow: hidden; }
.side-panel, .desktop-nav { display: none; }
main { width: 100%; margin: 0; padding: 0 20px 92px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topbar-brand { display: flex; align-items: center; gap: 7px; }
.topbar-symbol { color: var(--accent); font-size: 16px; }
.topbar-label { color: var(--ink); font-weight: 750; letter-spacing: 1px; }
.topbar-separator { color: var(--line); }
.topbar-brand b { color: var(--muted); font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 9px; min-width: 0; }
#model-status { overflow: hidden; color: var(--blue); text-overflow: ellipsis; white-space: nowrap; }
.topbar-avatar { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: var(--blue); font-size: 11px; font-weight: 700; }
.topbar-avatar:hover { background: var(--accent); }
#notice { min-height: 28px; padding-top: 10px; color: var(--danger); font-size: 13px; }
.page { width: 100%; max-width: 720px; margin: 0 auto; padding-bottom: 20px; }
.page-heading, .intro { padding: 31px 0 20px; }
.page-heading { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.dashboard-hero { padding: 34px 0 23px; }
.dashboard-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.dashboard-meta #home-date { color: var(--muted); }
.dashboard-hero h1 { max-width: 12em; margin-top: 15px; font-size: 34px; }
.hero-quote { display: grid; gap: 3px; margin-top: 23px; padding: 13px 15px; border-left: 3px solid var(--gold); background: var(--surface-warm); }
.hero-quote span { color: var(--gold); font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.hero-quote strong { color: var(--ink); font: 500 13px/1.55 Georgia, "Songti SC", serif; }
.home-primary { display: flex; width: 100%; align-items: center; gap: 13px; padding: 17px; border: 0; border-radius: 14px; color: #fff; background: var(--blue-dark); box-shadow: 0 8px 16px rgba(23, 62, 77, .16); text-align: left; transition: transform .18s ease, box-shadow .18s ease; }
.home-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(23, 62, 77, .2); }
.home-primary-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 19px; }
.home-primary span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.home-primary strong { font-size: 15px; font-weight: 700; }
.home-primary small { color: rgba(255,255,255,.73); font-size: 11px; }
.home-primary b { font-size: 19px; font-weight: 400; }
.mood-check { margin-top: 30px; }
.mood-check-card { position: relative; overflow: hidden; padding: 17px 15px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.mood-core { position: relative; display: grid; place-items: center; min-height: 74px; text-align: center; }
.mood-core strong, .mood-core small { position: relative; z-index: 1; display: block; }
.mood-core strong { color: var(--ink); font: 500 15px Georgia, "Songti SC", serif; }
.mood-core small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.mood-core-ring { position: absolute; width: 68px; height: 68px; border: 1px solid #d9b58e; border-radius: 50%; background: var(--surface-warm); animation: breathe 4s ease-in-out infinite; }
.mood-options { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.mood-options button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 10px; transition: .18s ease; }
.mood-options button:hover, .mood-options button.active { border-color: var(--accent); color: var(--accent-dark); background: #fff0e8; }
.mood-write { display: block; margin: 10px auto 0; font-size: 11px; }
@keyframes breathe { 0%, 100% { transform: scale(.92); opacity: .72; } 50% { transform: scale(1.08); opacity: 1; } }
.today-section { margin-top: 29px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.section-caption { color: var(--muted); font-size: 10px; font-weight: 400; }
.progress-section { margin-top: 28px; }
.progress-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); }
.progress-grid div { display: grid; gap: 2px; padding: 14px 8px; text-align: center; }
.progress-grid div + div { border-left: 1px solid var(--line); }
.progress-grid strong { color: var(--blue); font-size: 23px; font-weight: 700; }
.progress-grid span { color: var(--muted); font-size: 10px; }
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.today-card { min-height: 132px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); }
.today-card-label { display: block; margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.today-card strong { display: block; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.today-card p { display: -webkit-box; margin-top: 5px; overflow: hidden; font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.today-action-link { margin-top: 8px; font-size: 11px; }
.mood-card { border-top: 3px solid var(--accent); }
.action-card { border-top: 3px solid var(--gold); }
.self-card { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); }
.self-card-mark { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--gold); background: var(--surface-warm); }
.self-card > div:nth-child(2) { min-width: 0; flex: 1; }
.self-card strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.self-card p { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.circle-arrow { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--blue); background: var(--surface-soft); }
.circle-arrow:hover { color: #fff; background: var(--accent); }
.home-quote { margin: 0; padding: 15px 16px; border-left: 3px solid var(--gold); color: var(--ink); background: var(--surface-warm); font: italic 14px/1.6 Georgia, "Songti SC", serif; }
.recent-list { display: grid; gap: 8px; }
.recent-item { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-soft); }
.recent-item-mark { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--accent); background: #fff0e8; font-size: 13px; }
.recent-item > div:nth-child(2) { min-width: 0; flex: 1; }
.recent-item strong, .recent-item p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item strong { font-size: 12px; }
.recent-item p { margin: 1px 0 0; font-size: 10px; }
.recent-item time { color: var(--muted); font-size: 10px; }
.recent-empty { padding: 16px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: 11px; text-align: center; }
h1 { margin: 9px 0 5px; color: var(--ink); font: 500 30px/1.2 Georgia, "Songti SC", serif; }
h2 { margin: 0 0 7px; font-size: 19px; line-height: 1.3; }
p { margin: 6px 0; color: var(--muted); }

.prompts { display: flex; flex-wrap: nowrap; gap: 8px; margin: 5px 0 18px; overflow-x: auto; scrollbar-width: none; }
.prompts::-webkit-scrollbar { display: none; }
.prompts button { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: transparent; font-size: 12px; white-space: nowrap; }
.prompts button:first-child { border-color: #e3b39d; color: var(--accent-dark); background: #fff3ed; }
.conversation-bar { display: flex; align-items: center; gap: 9px; margin: 12px 0; color: var(--muted); font-size: 12px; }
.conversation-bar select { flex: 1; max-width: none; margin: 0; }
.empty-state { display: grid; gap: 4px; padding: 46px 12px 24px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); font-size: 16px; }
.empty-mark { color: var(--accent); font-size: 30px; }
.trust-strip { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: #6e9d78; }
.trust-separator { color: var(--line); }
.starter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 18px; }
.starter-grid button { padding: 9px 4px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: var(--surface); font-size: 11px; }
.empty-orbit { display: grid; width: 60px; height: 60px; place-items: center; margin: 0 auto 5px; border: 1px solid #d9b58e; border-radius: 50%; color: var(--accent); background: var(--surface-warm); font: 500 22px Georgia, "Songti SC", serif; }

.card, .composer { margin: 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.composer { position: sticky; bottom: 76px; z-index: 2; padding: 14px; box-shadow: 0 8px 22px rgba(27, 58, 65, .1); }
label { display: block; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
input:not([type="checkbox"]), textarea, select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fbfcfa; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 86, 106, .12); }
textarea { min-height: 104px; resize: vertical; }
button, .outline { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); text-decoration: none; transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
button:hover, .outline:hover { border-color: #a8bcb5; }
button:active { transform: translateY(1px); }
.primary { border-color: var(--accent); color: #fff; background: var(--accent); }
.primary:hover { border-color: var(--accent-dark); color: #fff; background: var(--accent-dark); }
.primary:disabled { cursor: wait; opacity: .55; }
.compact { padding: 8px 11px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.wide { grid-column: auto; }
.check { align-self: center; }
.check input, .switch-label input { width: auto; margin-right: 7px; accent-color: var(--accent); }
.composer textarea { min-height: 72px; margin: 0; padding: 3px 2px 10px; border: 0; background: transparent; box-shadow: none; }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.switch-label { display: flex; align-items: center; margin: 0; color: var(--muted); font-size: 11px; }
.composer small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.send-button { min-width: 76px; }

.message { max-width: 100%; margin: 14px 0; padding: 14px 15px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.user { margin-left: 28px; border: 1px solid #cfdfd4; background: var(--surface-soft); }
.message.assistant { margin-right: 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); }
.message-author { margin-bottom: 3px; color: var(--blue); font-size: 11px; font-weight: 750; }
.message-time { display: block; margin-top: 7px; color: #9b9d96; font-size: 10px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 15px 0; }
.pillar { display: grid; gap: 3px; padding: 14px 3px; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: var(--surface-soft); }
.pillar small { color: var(--muted); font-size: 10px; }
.pillar strong { color: var(--blue); font-size: 18px; font-weight: 700; }
.entry-card { box-shadow: var(--shadow-soft); }
.entry-title { color: var(--ink); font-size: 16px; font-weight: 700; }
.actions-row, .setting-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.text-button.danger, .danger-button { color: var(--danger); }
.danger-button { border-color: #e5c5bd; background: #fff8f5; }
.profile-card { display: flex; align-items: center; gap: 11px; margin: 10px 0 18px; padding: 0 0 17px; border-bottom: 1px solid var(--line); }
.profile-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #fff; background: var(--blue); font-size: 18px; }
.profile-card strong, .profile-card span { display: block; }
.beta-note { margin: 20px 0; padding: 14px 15px; border-left: 3px solid var(--gold); background: var(--surface-warm); }
.beta-note p { font-size: 12px; }
.records-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 10px; background: var(--surface-soft); }
.records-tabs button { padding: 8px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 12px; }
.records-tabs button.active { color: var(--ink); background: var(--surface); box-shadow: 0 1px 4px rgba(27,58,65,.09); }
.records-intro { padding-bottom: 16px; }
.form-hint { margin: -3px 0 13px; font-size: 11px; }
footer { padding: 20px 0; color: #8c9895; font-size: 10px; text-align: center; }

.document-page { width: min(100% - 36px, 480px); min-height: 100svh; margin: 0 auto; padding: 28px 0 58px; background: var(--paper); }
.document-page h1 { margin-top: 8px; }
.document-page h2 { margin-top: 26px; }
.document-page li { margin: 7px 0; color: var(--muted); }

.mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 10; display: flex; width: min(100%, 480px); margin: 0 auto; justify-content: space-around; gap: 0; padding: 8px 2px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(247,248,245,.96); backdrop-filter: blur(16px); }
.mobile-nav button { display: grid; gap: 2px; min-width: 56px; padding: 5px 2px; border: 0; color: #8b9694; background: transparent; font-size: 10px; text-align: center; }
.mobile-nav button span { color: #8b9694; font-size: 16px; line-height: 1; }
.mobile-nav button.active { color: var(--accent-dark); }
.mobile-nav button.active span { color: var(--accent); }
.setting-actions > * { flex: 1 1 45%; text-align: center; }

@media (min-width: 700px) {
  body { padding: 0; }
  .auth-screen, .app-shell { width: min(100%, 480px); min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
  .app-shell { display: block; }
  .side-panel, .desktop-nav { display: none; }
  main { min-width: 0; padding: 0 20px 92px; }
  .mobile-nav { display: flex; }
  .page { max-width: 720px; }
  .dashboard-hero { padding-top: 34px; }
  .dashboard-hero h1 { font-size: 34px; }
  .page-heading { flex-direction: column; align-items: start; justify-content: initial; }
}

@media (min-width: 1040px) {
  .page { max-width: 900px; }
  .dashboard-hero { max-width: 700px; }
  .home-primary, .mood-check-card, .progress-grid, .today-grid, .self-card, .recent-list { max-width: 650px; }
}

@media (max-width: 420px) {
  main { padding-right: 16px; padding-left: 16px; }
  .dashboard-hero h1 { font-size: 30px; }
  .mood-options { gap: 4px; }
  .mood-options button { padding-right: 8px; padding-left: 8px; }
  .today-grid { gap: 8px; }
}

/* v2 mobile product shell: one task per screen, editorial rhythm, fewer boxes. */
:root {
  --outer: #cbd8d3;
  --paper: #f7f3ec;
  --paper-deep: #eee7dc;
  --ink: #183b45;
  --ink-2: #285664;
  --muted: #7d8986;
  --line: #ddd7cc;
  --coral: #d96850;
  --coral-deep: #b94e3c;
  --saffron: #c18b43;
  --mint: #dce9df;
  --peach: #f6dfd1;
  --white: #fffdf9;
  --shadow: 0 18px 45px rgba(25, 57, 65, .14);
}

html, body { width: 100%; height: 100%; }
html { background: var(--outer); }
body { overflow: hidden; background: var(--outer); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.auth-screen, .app-shell { width: min(100%, 480px); height: 100svh; min-height: 100svh; margin: 0 auto; background: var(--paper); }
.auth-screen { overflow-y: auto; }
.auth-mark { border-radius: 17px 6px 17px 6px; background: var(--peach); }
.app-shell { display: flex; flex-direction: column; box-shadow: var(--shadow); }
main { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 0 20px; }
.topbar { flex: 0 0 58px; min-height: 58px; }
#model-status { max-width: 118px; font-size: 10px; }
#notice { flex: 0 0 auto; min-height: 0; padding: 0; }
#notice:not(:empty) { padding: 8px 0 2px; }
.page { min-height: 0; flex: 1; max-width: none; overflow-y: auto; padding: 6px 0 30px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.page::-webkit-scrollbar { width: 4px; }
.page::-webkit-scrollbar-thumb { background: var(--line); }
footer { display: none; }

h1 { margin: 9px 0 6px; font: 500 32px/1.14 Georgia, "Songti SC", serif; }
h2 { font: 500 26px/1.18 Georgia, "Songti SC", serif; }
.text-button { font-size: 11px; }
.text-button b { font-size: 13px; font-weight: 500; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 15px; border: 1px solid var(--coral); border-radius: 4px 15px 4px 15px; color: var(--white); background: var(--coral); font-weight: 700; transition: transform .18s ease, background .18s ease; }
.primary:hover { border-color: var(--coral-deep); background: var(--coral-deep); transform: translateY(-1px); }
.primary:disabled { transform: none; }
.wide { width: 100%; }

/* Home */
.home-page { padding-top: 8px; }
.home-greeting { padding: 7px 0 18px; }
.dashboard-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.home-presence { display: inline-flex; align-items: center; gap: 6px; }
.home-presence i, .presence-dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: #6e9d78; }
.home-greeting h1 { margin-top: 17px; font-size: 37px; }
.home-greeting p { margin: 7px 0 0; font-size: 13px; }
.home-scene { position: relative; min-height: 244px; overflow: hidden; margin: 0 0 26px; padding: 25px 22px 19px; border: 1px solid var(--ink); border-radius: 27px 7px 27px 7px; color: var(--white); background: var(--ink); box-shadow: 8px 8px 0 rgba(193, 139, 67, .22); }
.home-scene::before { position: absolute; top: 17px; right: 20px; width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.35); content: ""; transform: rotate(45deg); }
.scene-copy { position: relative; z-index: 1; max-width: 235px; }
.scene-kicker { display: block; margin-bottom: 23px; color: #e9bc83; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.scene-copy h2 { color: var(--white); font-size: 28px; }
.scene-copy p { max-width: 180px; margin: 12px 0 20px; color: rgba(255,255,255,.68); font-size: 11px; }
.scene-action { display: inline-flex; align-items: center; gap: 13px; padding: 9px 12px 9px 0; border: 0; border-bottom: 1px solid #e9bc83; color: #f4cf9e; background: transparent; font-size: 12px; }
.scene-action span { font-size: 16px; }
.scene-mark { position: absolute; right: -4px; bottom: 28px; width: 135px; height: 135px; opacity: .93; transform: rotate(8deg); }
.scene-mark img { display: block; width: 90px; height: 90px; margin-left: 18px; border: 5px solid #f5d5b1; border-radius: 23px 5px 23px 5px; }
.scene-mark span { display: block; margin-top: 8px; color: #f5d5b1; font: 500 17px/1.2 Georgia, "Songti SC", serif; text-align: center; }
.scene-index { position: absolute; right: 18px; bottom: 14px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: 1px; }
.home-mood { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; font-size: 13px; }
.mood-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.mood-options button { display: grid; justify-items: center; gap: 7px; padding: 4px 2px 2px; border: 0; color: var(--muted); background: transparent; font-size: 10px; }
.mood-options button i { display: block; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 2px; background: var(--paper); transform: rotate(45deg); transition: transform .18s ease, background .18s ease; }
.mood-options button:nth-child(1) i { color: #709587; }
.mood-options button:nth-child(2) i { color: #8b9fbb; }
.mood-options button:nth-child(3) i { color: var(--coral); }
.mood-options button:nth-child(4) i { color: var(--saffron); }
.mood-options button:nth-child(5) i { color: #84769b; }
.mood-options button:hover, .mood-options button.active { color: var(--ink); }
.mood-options button.active i { background: currentColor; transform: rotate(45deg) scale(1.25); }
.mood-response { min-height: 22px; margin: 14px 0 0; color: var(--ink-2); font: 500 13px/1.4 Georgia, "Songti SC", serif; }
.home-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.home-shortcuts button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; min-height: 80px; padding: 12px; border: 0; border-top: 3px solid var(--ink-2); border-radius: 17px 5px 17px 5px; color: var(--ink); background: var(--mint); text-align: left; }
.home-shortcuts button:nth-child(2) { border-top-color: var(--coral); background: var(--peach); }
.home-shortcuts button:hover { transform: translateY(-2px); }
.shortcut-glyph { display: grid; width: 29px; height: 29px; place-items: center; color: var(--ink-2); background: rgba(255,255,255,.55); font: 500 16px Georgia, "Songti SC", serif; }
.record-glyph { color: var(--coral-deep); }
.home-shortcuts strong, .home-shortcuts small { display: block; }
.home-shortcuts strong { font-size: 12px; }
.home-shortcuts small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.home-shortcuts b { align-self: start; color: var(--ink-2); font-size: 15px; font-weight: 400; }
.home-footnote { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.home-footnote span:first-child { color: var(--ink-2); font: italic 12px Georgia, "Songti SC", serif; }
.home-footnote b { color: var(--ink); font-size: 14px; }
.home-footnote i { margin: 0 4px; color: var(--line); font-style: normal; }

/* Shared screen head */
.screen-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 0 16px; }
.screen-head > div { min-width: 0; }
.screen-head h1 { margin-top: 12px; }
.screen-head p { max-width: 270px; font-size: 12px; }
.chapter-mark { flex: 0 0 auto; margin-top: 12px; color: var(--saffron); font: 500 46px/1 Georgia, "Songti SC", serif; }
.warm-mark { color: var(--coral); }
.icon-button { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; margin-top: 11px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: transparent; font-size: 21px; line-height: 1; }
.icon-button:hover { color: var(--white); background: var(--ink); }

/* Chat */
.chat-status { display: flex; align-items: center; gap: 7px; margin: 0 0 17px; color: var(--muted); font-size: 10px; }
.status-divider { color: var(--line); }
.chat-prompts { margin-bottom: 14px; }
.prompt-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.prompts { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.prompts::-webkit-scrollbar { display: none; }
.prompts button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: transparent; font-size: 11px; white-space: nowrap; }
.prompts button:first-child { border-color: #e6b39d; color: var(--coral-deep); background: #fff1e8; }
.conversation-bar { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.conversation-bar select { flex: 1; min-width: 0; margin: 0; padding: 5px 0; border: 0; background: transparent; }
#messages { padding: 1px 0 12px; }
.message { max-width: 94%; margin: 17px 0; padding: 0 0 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.user { margin-left: 6%; padding: 12px 14px; border: 0; border-radius: 15px 3px 15px 15px; background: var(--mint); }
.message.assistant { margin-right: 5%; padding-left: 13px; border-left: 3px solid var(--coral); }
.message-author { margin-bottom: 4px; color: var(--ink-2); font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.message-content { color: var(--ink); font-size: 14px; line-height: 1.72; }
.message-time { display: block; margin-top: 7px; color: #a5a59f; font-size: 9px; }
.empty-state { display: grid; gap: 5px; padding: 22px 10px 16px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--ink); font: 500 17px Georgia, "Songti SC", serif; }
.empty-orbit { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 7px; border: 1px solid var(--saffron); border-radius: 50%; color: var(--coral); background: var(--peach); font: 500 21px Georgia, "Songti SC", serif; }
.starter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; margin-top: 15px; }
.starter-grid button { padding: 9px 4px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-2); background: transparent; font-size: 10px; }
.composer { position: sticky; bottom: 0; z-index: 2; margin-top: auto; padding: 13px 0 5px; border-top: 1px solid var(--ink); background: var(--paper); }
.composer textarea { display: block; width: 100%; min-height: 73px; margin: 0; padding: 3px 0 10px; border: 0; outline: 0; resize: vertical; color: var(--ink); background: transparent; font-size: 14px; }
.composer textarea::placeholder { color: #a5aaa4; }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.switch-label { display: flex; align-items: center; margin: 0; color: var(--muted); font-size: 10px; }
.switch-label input { position: absolute; opacity: 0; }
.switch-track { position: relative; display: inline-block; width: 27px; height: 16px; margin-right: 7px; border-radius: 99px; background: var(--line); }
.switch-track::after { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); content: ""; transition: left .18s ease; }
.switch-label input:checked + .switch-track { background: var(--coral); }
.switch-label input:checked + .switch-track::after { left: 14px; }
.send-button { min-width: 77px; padding: 10px 13px; }
.composer small { display: block; margin-top: 8px; color: var(--muted); font-size: 9px; }

/* Chart */
.chart-intro { display: flex; gap: 13px; margin: 0 0 22px; padding: 12px 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart-intro p { margin: 0; font-size: 11px; line-height: 1.55; }
.chart-line { width: 17px; flex: 0 0 17px; height: 2px; margin-top: 8px; background: var(--saffron); }
.form-sheet { padding: 2px 0 18px; border-bottom: 1px solid var(--line); }
.field-line { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.field-line label { flex: 1; margin: 0; color: var(--muted); font-size: 11px; }
.field-number { padding-top: 2px; color: var(--saffron); font: 12px Georgia, "Songti SC", serif; }
.form-sheet input:not([type="checkbox"]), .form-sheet select, .form-sheet textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: transparent; }
.form-sheet input:focus, .form-sheet select:focus { border-color: var(--ink-2); box-shadow: none; }
.check-line { display: flex; align-items: center; gap: 8px; margin: 16px 0 7px; color: var(--muted); font-size: 11px; }
.check-line input { width: 15px; height: 15px; margin: 0; accent-color: var(--coral); }
.form-hint { margin: 9px 0 15px; color: var(--muted); font-size: 10px; line-height: 1.5; }
#chart-result { padding-top: 19px; }
#chart-result .card { padding: 17px 0; border-top: 3px solid var(--saffron); border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
#chart-result h2 { font-size: 19px; }
#chart-result .muted { font-size: 10px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { display: grid; gap: 3px; padding: 13px 3px; border: 0; border-radius: 0; text-align: center; background: transparent; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar small { color: var(--muted); font-size: 9px; }
.pillar strong { color: var(--ink-2); font: 700 17px Georgia, "Songti SC", serif; }

/* Records */
.records-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 17px; border-bottom: 1px solid var(--line); }
.records-tabs button { padding: 8px 0 10px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 12px; }
.records-tabs button.active { border-color: var(--coral); color: var(--ink); font-weight: 700; }
.record-panel { padding-bottom: 10px; }
.journal-form { padding: 3px 0 18px; border-bottom: 1px solid var(--ink); }
.journal-label { display: block; margin: 0 0 19px; color: var(--muted); font-size: 11px; }
.journal-label select { padding: 10px 0; }
.journal-label textarea { min-height: 124px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 4px 17px 4px 17px; background: var(--white); resize: vertical; line-height: 1.65; }
.history-heading { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.history-heading span:last-child { color: var(--muted); font-size: 10px; font-weight: 400; }
.timeline { position: relative; padding-left: 18px; }
.timeline::before { position: absolute; top: 6px; bottom: 6px; left: 3px; width: 1px; background: var(--line); content: ""; }
.entry-card { position: relative; margin: 0; padding: 0 0 19px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.entry-card::before { position: absolute; top: 5px; left: -18px; width: 7px; height: 7px; border: 1px solid var(--coral); border-radius: 2px; background: var(--paper); content: ""; transform: rotate(45deg); }
.entry-card .entry-title { color: var(--ink); font-size: 13px; font-weight: 700; }
.entry-card p { margin: 4px 0; font-size: 12px; line-height: 1.55; }
.entry-card small { color: var(--muted); font-size: 9px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 8px; }
.actions-row button, .entry-card > button { padding: 0; border: 0; color: var(--ink-2); background: transparent; font-size: 10px; }

/* Settings */
.profile-card { display: flex; align-items: center; gap: 11px; margin: 2px 0 24px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.profile-avatar { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 15px 4px 15px 4px; color: var(--white); background: var(--ink); font: 500 19px Georgia, "Songti SC", serif; }
.profile-card strong, .profile-card span { display: block; }
.profile-card strong { font-size: 14px; }
.profile-card span { margin-top: 2px; font-size: 11px; }
.settings-list { border-top: 1px solid var(--line); }
.settings-label { display: block; padding: 17px 0 7px; color: var(--coral-deep); font-size: 10px; letter-spacing: 1px; }
.setting-row { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; text-align: left; text-decoration: none; }
.setting-row span { min-width: 0; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 13px; font-weight: 650; }
.setting-row small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.setting-row > b { color: var(--saffron); font-size: 18px; font-weight: 400; }
.setting-row:hover { color: var(--coral-deep); }
.danger-row strong, .danger-row > b { color: var(--danger); }
.beta-note { margin: 27px 0 10px; padding: 14px 15px; border-left: 3px solid var(--saffron); background: var(--paper-deep); }
.beta-note strong { font-size: 12px; }
.beta-note p { margin-top: 7px; font-size: 10px; line-height: 1.55; }

.mobile-nav { position: relative; right: auto; bottom: auto; left: auto; display: flex; flex: 0 0 auto; width: 100%; margin: 0; padding: 7px 2px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(247,243,236,.97); }
.mobile-nav button { position: relative; display: grid; gap: 3px; min-width: 56px; padding: 5px 2px 3px; border: 0; border-radius: 0; color: #9a9c95; background: transparent; font-size: 10px; text-align: center; }
.mobile-nav button span { color: #9a9c95; font-size: 16px; line-height: 1; }
.mobile-nav button.active { color: var(--ink); font-weight: 700; }
.mobile-nav button.active::before { position: absolute; top: -8px; right: 17px; left: 17px; height: 2px; background: var(--coral); content: ""; }
.mobile-nav button.active span { color: var(--coral); }

@media (min-width: 700px) {
  .auth-screen, .app-shell { width: min(100%, 480px); border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 390px) {
  main { padding-right: 16px; padding-left: 16px; }
  .home-greeting h1 { font-size: 33px; }
  .home-scene { min-height: 232px; padding-right: 18px; padding-left: 18px; }
  .scene-mark { right: -17px; transform: scale(.9) rotate(8deg); }
  .scene-copy h2 { font-size: 25px; }
  .home-shortcuts { gap: 7px; }
  .home-shortcuts button { padding-right: 9px; padding-left: 9px; }
  .home-shortcuts small { font-size: 9px; }
}

.chat-page:not(.hidden) { display: flex; flex-direction: column; padding-bottom: 0; }
.chat-page #messages { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.chat-page #messages:empty { display: none; }
.chat-page .empty-state { flex: 1; align-content: center; }
.chat-page .composer { flex: 0 0 auto; }

/* Quiet jade palette and a softer mobile control language. */
:root {
  --outer: #e8eeea;
  --paper: #f4f7f3;
  --paper-deep: #e8eee8;
  --ink: #263e35;
  --ink-2: #526d60;
  --muted: #7d8981;
  --line: #dce5de;
  --coral: #6f927d;
  --coral-deep: #537662;
  --saffron: #b39362;
  --mint: #e5eee7;
  --peach: #edf0e9;
  --white: #fbfcf9;
  --accent: #6f927d;
  --accent-dark: #537662;
  --blue: #526d60;
  --blue-dark: #3e5d4d;
  --gold: #b39362;
  --surface-warm: #edf1e9;
  --shadow: 0 12px 32px rgba(43, 68, 54, .08);
  --shadow-soft: 0 3px 12px rgba(43, 68, 54, .045);
}

html, body { background: var(--outer); }
body { color: var(--ink); }
.auth-screen, .app-shell { background: var(--paper); }
.auth-screen { padding-right: 28px; padding-left: 28px; }
.auth-mark { display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 17px; background: var(--ink); }
.auth-mark img { width: 100%; height: 100%; object-fit: cover; }
.kicker, .eyebrow { color: var(--ink-2); letter-spacing: 1.4px; }
.auth-screen h1, h1, h2 { color: var(--ink); }
.auth-points span { border-color: var(--line); border-radius: 999px; background: transparent; }

button, .outline { border-radius: 12px; transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
button:hover, .outline:hover { border-color: #bdcec1; }
button:active { transform: scale(.985); }
.primary, .primary:hover { border: 0; border-radius: 12px; color: #fff; background: var(--coral-deep); box-shadow: 0 4px 10px rgba(68, 99, 77, .12); }
.primary:hover { background: #476854; box-shadow: 0 6px 14px rgba(68, 99, 77, .16); }
.primary:active { transform: scale(.985); }
.primary:disabled { box-shadow: none; }
.text-button { color: var(--ink-2); }
.text-button:hover { color: var(--coral-deep); }
.topbar { border-color: var(--line); }
.topbar-symbol { display: block; width: 20px; height: 20px; object-fit: cover; border-radius: 7px; }
.topbar-separator { color: #c3cdc5; }
.topbar-avatar, .profile-avatar { background: var(--ink-2); }
.topbar-avatar:hover { background: var(--coral-deep); }

.home-greeting h1 { font-size: 34px; font-weight: 500; }
.home-scene { border: 0; border-radius: 24px; background: #496858; box-shadow: 0 9px 22px rgba(44, 70, 54, .12); }
.home-scene::before { width: 34px; height: 34px; border-color: rgba(236, 242, 234, .22); border-radius: 50%; transform: none; }
.scene-kicker { color: #d4d6b5; }
.scene-copy h2 { color: #f5f7f2; }
.scene-copy p { color: rgba(245, 247, 242, .72); }
.scene-action { border: 0; color: #edf2e9; }
.scene-action:hover { color: #fff; }
.scene-mark { right: 2px; bottom: 26px; width: 116px; height: 116px; opacity: .8; }
.scene-mark img { width: 72px; height: 72px; margin-left: 22px; border: 0; border-radius: 50%; }
.scene-mark span { color: #e4e8da; }
.scene-index { color: rgba(245, 247, 242, .5); }
.home-mood { border-color: var(--line); }
.mood-options button { gap: 8px; padding: 6px 2px; border-radius: 12px; color: var(--muted); }
.mood-options button i { width: 27px; height: 27px; border: 0; border-radius: 50%; background: #dfeae2; transform: none; }
.mood-options button:nth-child(1) i { background: #d9e8df; }
.mood-options button:nth-child(2) i { background: #e6e8df; }
.mood-options button:nth-child(3) i { background: #eee4d7; }
.mood-options button:nth-child(4) i { background: #e7ead9; }
.mood-options button:nth-child(5) i { background: #e2e6e7; }
.mood-options button:hover, .mood-options button.active { color: var(--ink); background: #eaf0e9; }
.mood-options button.active i { outline: 2px solid #789782; outline-offset: 2px; background: #bfd3c3; transform: none; }
.mood-response { color: var(--ink-2); }
.home-shortcuts { display: flex; flex-direction: column; gap: 0; margin-top: 14px; border-top: 1px solid var(--line); }
.home-shortcuts button, .home-shortcuts button:nth-child(2) { min-height: 69px; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.home-shortcuts button:hover { padding-right: 5px; padding-left: 5px; background: rgba(226, 236, 227, .5); }
.shortcut-glyph { width: 34px; height: 34px; border-radius: 11px; color: var(--ink-2); background: #e5eee7; }
.record-glyph { color: #8d7958; background: #efeee4; }
.home-shortcuts strong { font-size: 13px; }
.home-shortcuts small { color: var(--muted); font-size: 10px; }
.home-footnote { border-color: var(--line); }
.home-footnote span:first-child { color: var(--ink-2); }

.arrow-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; flex: 0 0 auto; }
.arrow-icon svg, .setting-symbol svg, .nav-icon svg, .icon-button svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.scene-action .arrow-icon { width: 17px; height: 17px; transition: transform .18s ease; }
.scene-action:hover .arrow-icon { transform: translateX(3px); }
.home-shortcuts .arrow-icon { width: 17px; height: 17px; color: #87998b; }
.text-button .arrow-icon { width: 15px; height: 15px; vertical-align: middle; }
.send-button .arrow-icon { width: 16px; height: 16px; }
.icon-button { width: 42px; height: 42px; margin-top: 11px; border: 1px solid #d6e1d8; border-radius: 50%; color: var(--ink-2); background: #eaf0e9; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { border-color: #d6e1d8; color: #fff; background: var(--ink-2); }

.prompts button { border-color: #dce5de; color: var(--ink-2); background: #f7f9f6; }
.prompts button:first-child { border-color: #dce5de; color: var(--ink-2); background: #e9f0e9; }
.empty-orbit { border-color: #d7e2d7; color: var(--ink-2); background: #e8eee7; }
.composer { border-color: #dbe4dc; border-radius: 16px; background: rgba(250, 252, 249, .94); box-shadow: 0 3px 14px rgba(43, 68, 54, .055); }
.composer textarea { min-height: 70px; }
.switch-track { background: #d7e1d9; }
.switch-label input:checked + .switch-track { background: var(--coral-deep); }
.message.user { background: #e5eee7; }
.message.assistant { border-left-color: #789782; }
.message-author { color: var(--ink-2); }

.chart-intro, .field-line, .form-sheet, .journal-form { border-color: var(--line); }
.chart-line { border-radius: 99px; background: var(--saffron); }
.field-number { color: var(--ink-2); }
.form-sheet input:focus, .form-sheet select:focus { border-color: var(--coral); }
.records-tabs { background: transparent; }
.records-tabs button { border-radius: 0; }
.records-tabs button.active { border-color: var(--coral); box-shadow: none; }
.journal-label textarea { border-color: var(--line); border-radius: 13px; background: #fbfcfa; }
.timeline::before { background: #d9e3db; }
.entry-card::before { border-color: #8ca592; border-radius: 50%; background: var(--paper); transform: none; }
.actions-row button, .entry-card > button { color: var(--ink-2); }
.profile-avatar { border-radius: 50%; }
.settings-label { color: var(--ink-2); }
.setting-row > b { color: #89998b; }
.setting-row.danger-row > b { color: var(--danger); }
.setting-symbol { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; }
.setting-symbol svg { width: 17px; height: 17px; }
.beta-note { border-left-color: #a8b696; background: #edf1e9; }

.mobile-nav { border-color: #dce5de; background: rgba(248, 250, 247, .96); }
.mobile-nav button { min-width: 58px; gap: 4px; color: #869289; font-size: 10px; }
.mobile-nav button .nav-icon { display: inline-flex; width: 21px; height: 21px; align-items: center; justify-content: center; color: inherit; }
.mobile-nav button .nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.mobile-nav button.active { color: var(--ink-2); }
.mobile-nav button.active .nav-icon { color: var(--coral-deep); }
.mobile-nav button.active::before { top: -8px; right: 21px; left: 21px; height: 2px; border-radius: 99px; background: #819b86; }

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

