/* finesse · register=product+h5 · A=indigo+coral · B=700/400 · C=signal-board · D=CSS-feedback · E=ink-paper · SOUL=6 SPECTACLE=2 DENSITY=7 */
:root {
  --paper: #f2f3fa;
  --surface: #fcfcff;
  --surface-soft: #edf0fa;
  --ink: #171b35;
  --muted: #68718e;
  --faint: #929bb5;
  --line: #dfe3f1;
  --line-strong: #c8cde0;
  --accent: #4a46c9;
  --accent-deep: #3835a8;
  --accent-soft: #e9e8ff;
  --coral: #ff6b5a;
  --coral-soft: #ffe8e4;
  --green: #2f7a55;
  --green-soft: #e0f1e7;
  --yellow: #b77a16;
  --yellow-soft: #faefd8;
  --shadow: 0 18px 50px rgba(30, 37, 89, .10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 11px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --display: "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid rgba(216, 84, 63, .25);
  outline-offset: 2px;
}

.app-shell { min-height: 100vh; display: flex; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 10;
  display: flex; flex-direction: column; width: 248px;
  padding: 28px 18px 18px;
  background: #e9e9e1; border-right: 1px solid var(--line);
}
.brand-block, .mobile-brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 35px; height: 35px; display: grid; place-items: center;
  color: #fff; background: var(--ink); border-radius: 11px;
  font-weight: 800; font-size: 17px; letter-spacing: -2px;
}
.brand-mark.small { width: 29px; height: 29px; border-radius: 9px; font-size: 14px; }
.brand-name { font-weight: 800; letter-spacing: -.04em; }
.brand-caption { margin-top: 3px; color: var(--muted); font-size: 11px; }
.sidebar-section-label { margin: 54px 12px 12px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.primary-nav { display: grid; gap: 5px; }
.nav-item {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  color: #70766f; background: transparent; border: 0; border-radius: 10px;
  text-align: left; font-size: 13px; font-weight: 600;
}
.nav-item:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.nav-item.active { color: var(--ink); background: var(--surface); box-shadow: 0 4px 16px rgba(30, 36, 32, .04); }
.nav-icon { width: 19px; color: currentColor; font-size: 16px; line-height: 1; text-align: center; }
.nav-badge { margin-left: auto; padding: 2px 7px; color: var(--accent-deep); background: var(--accent-soft); border-radius: 20px; font-size: 10px; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.sidebar-note { display: flex; gap: 8px; align-items: center; margin: 0 5px 17px; color: var(--muted); font-size: 11px; }
.tiny-dot, .status-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.profile-mini { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-top: 1px solid var(--line); cursor: pointer; }
.legal-footer { position: fixed; right: 22px; bottom: 10px; z-index: 2; display:flex; gap:8px; color:var(--muted); font-size:11px; }
.legal-footer a { color:inherit; text-decoration:none; }
.legal-footer a:hover { color:var(--accent); }
.legal-doc { max-width:760px; margin:0 auto; padding:56px 24px 80px; color:var(--ink); background:var(--surface); line-height:1.8; }
.legal-doc h1 { margin:10px 0 8px; font-family:var(--display); font-size:38px; letter-spacing:-.04em; }
.legal-doc h2 { margin:28px 0 6px; font-size:20px; }
.legal-doc p { color:var(--muted); }
.legal-doc a { color:var(--accent); }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #78877a; border-radius: 50%; font-size: 12px; font-weight: 700; }
.profile-mini-copy { display: grid; gap: 3px; min-width: 0; }
.profile-mini-copy strong { font-size: 12px; }
.profile-mini-copy span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.chevron { margin-left: auto; color: var(--faint); font-size: 22px; font-weight: 300; }

.main-column { width: calc(100% - 248px); min-height: 100vh; margin-left: 248px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumbs strong { color: var(--ink); font-weight: 700; }
.slash { color: var(--faint); }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.sync-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.member-pill { display: flex; align-items: center; gap: 6px; padding: 8px 12px; color: var(--accent-deep); background: var(--accent-soft); border: 0; border-radius: 999px; font-size: 11px; font-weight: 700; }
.member-pill:hover { background: #f5d1c8; }
.top-avatar { width: 29px; height: 29px; }
.mobile-brand { display: none; font-size: 14px; font-weight: 800; }
.app-content { max-width: 1440px; padding: 45px 48px 72px; margin: 0 auto; }

.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.065em; line-height: 1.05; }
h2 { font-family: var(--display); font-size: 23px; letter-spacing: -.045em; }
h3 { font-size: 15px; line-height: 1.45; }
.heading-copy { color: var(--muted); font-size: 13px; line-height: 1.7; }
.heading-copy.tight { margin-top: 11px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 37px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 700; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #fff; background: var(--ink); }
.btn.primary:hover { background: #343b37; }
.btn.accent { color: #fff; background: var(--accent); }
.btn.accent:hover { background: var(--accent-deep); }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface); }
.btn.soft { color: var(--accent-deep); background: var(--accent-soft); }
.btn.small { min-height: 30px; padding: 0 10px; font-size: 11px; }
.btn.text { min-height: auto; padding: 2px 0; color: var(--muted); background: transparent; }
.btn.text:hover { color: var(--accent-deep); transform: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.spotlight { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(300px, .74fr); min-height: 260px; margin-bottom: 42px; overflow: hidden; background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.spotlight-main { display: flex; flex-direction: column; justify-content: space-between; padding: 31px 34px; }
.spotlight .eyebrow { color: #e59482; }
.spotlight h2 { max-width: 590px; color: #fff; font-size: clamp(26px, 3.5vw, 40px); line-height: 1.1; }
.spotlight-copy { max-width: 570px; margin-top: 15px; color: #b8c0b9; font-size: 13px; line-height: 1.7; }
.spotlight-actions { display: flex; gap: 10px; margin-top: 25px; }
.spotlight .btn.primary { color: var(--ink); background: #fff; }
.spotlight .btn.primary:hover { background: #f5f4ef; }
.spotlight .btn.ghost { color: #fff; border-color: #58615a; }
.spotlight-side { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 1px; padding: 27px; background: #252d28; }
.spotlight-side::before { content: ""; position: absolute; width: 170px; height: 170px; right: -30px; top: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.02), 0 0 0 42px rgba(255,255,255,.02); }
.metric { position: relative; padding: 17px 13px; border-top: 1px solid #445048; }
.metric:nth-child(odd) { border-right: 1px solid #445048; }
.metric-value { display: block; color: #fff; font-family: var(--display); font-size: 27px; font-weight: 800; letter-spacing: -.06em; }
.metric-label { display: block; margin-top: 6px; color: #95a199; font-size: 10px; line-height: 1.4; }

.section-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-title { display: flex; align-items: baseline; gap: 10px; }
.section-count { color: var(--faint); font-size: 11px; }
.topic-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.topic-card { position: relative; display: flex; flex-direction: column; min-height: 265px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.topic-card:hover { transform: translateY(-2px); border-color: #c8aaa2; box-shadow: 0 11px 28px rgba(39, 42, 38, .07); }
.topic-card.premium::after { content: "PRO"; position: absolute; top: 18px; right: 17px; padding: 3px 6px; color: var(--accent-deep); background: var(--accent-soft); border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.topic-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.topic-category { color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.topic-time { color: var(--faint); font-size: 10px; }
.topic-card h3 { max-width: 90%; font-size: 16px; letter-spacing: -.02em; }
.topic-hook { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.topic-meta { display: flex; gap: 7px; margin-top: 16px; }
.tag { padding: 4px 7px; color: var(--muted); background: var(--surface-soft); border-radius: 5px; font-size: 10px; }
.tag.green { color: var(--green); background: var(--green-soft); }
.tag.yellow { color: var(--yellow); background: var(--yellow-soft); }
.topic-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 20px; }
.fit-score { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 11px; font-weight: 800; }
.fit-score i { display: block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.topic-actions { display: flex; align-items: center; gap: 11px; }
.icon-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.icon-btn:hover, .icon-btn.saved { color: var(--accent-deep); background: var(--accent-soft); border-color: transparent; }
.topic-list { display: grid; gap: 11px; }
.topic-list .topic-card { min-height: 0; }

.side-panel { align-self: start; padding: 21px; background: #ebece6; border-radius: var(--radius-md); }
.side-panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.side-panel-title strong { font-size: 13px; }
.side-panel-title span { color: var(--muted); font-size: 10px; }
.week-list { display: grid; gap: 0; }
.week-item { display: grid; grid-template-columns: 37px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid #d7d9d1; }
.week-day { color: var(--muted); font-size: 10px; line-height: 1.4; }
.week-day strong { display: block; color: var(--ink); font-size: 12px; }
.week-item-copy { min-width: 0; }
.week-item-copy strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.week-item-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.week-state { margin-top: 6px; color: var(--green); font-size: 10px; }
.week-empty { color: var(--muted); font-size: 11px; line-height: 1.7; }

.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof-item { display: flex; gap: 12px; }
.proof-icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; color: var(--accent-deep); background: var(--accent-soft); border-radius: 9px; font-size: 14px; }
.proof-item strong { display: block; font-size: 12px; }
.proof-item p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.filter-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 7px 11px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.filter-chip.active, .filter-chip:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.search-box { display: flex; align-items: center; gap: 8px; width: 240px; padding: 0 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.search-box span { color: var(--faint); font-size: 14px; }
.search-box input { width: 100%; min-height: 34px; color: var(--ink); background: transparent; border: 0; outline: none; font-size: 11px; }
.library-empty { padding: 45px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); text-align: center; font-size: 12px; }

.plan-board { display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: 9px; padding-bottom: 6px; overflow-x: auto; }
.day-column { min-height: 330px; padding: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.day-column.today { border: 2px solid var(--accent); }
.day-header { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.day-header span { color: var(--muted); font-size: 10px; }
.day-header strong { font-size: 14px; }
.day-card { margin-top: 11px; padding: 10px; background: var(--surface-soft); border-radius: 8px; }
.day-card .mini-label { color: var(--accent-deep); font-size: 9px; font-weight: 800; }
.day-card strong { display: block; margin-top: 7px; font-size: 11px; line-height: 1.45; }
.day-card span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.day-empty { margin-top: 17px; color: var(--faint); font-size: 10px; line-height: 1.5; }
.plan-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 25px; }
.summary-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.summary-card strong { display: block; font-family: var(--display); font-size: 25px; letter-spacing: -.06em; }
.summary-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.form-card, .info-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.form-card h2, .info-card h2 { font-size: 18px; }
.form-card .heading-copy { margin: 8px 0 25px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 11px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 11px; color: var(--ink); background: #fbfbf8; border: 1px solid var(--line); border-radius: 8px; outline: none; font-size: 12px; }
.field textarea { min-height: 86px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.form-footer { display: flex; justify-content: flex-end; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.info-card { display: grid; gap: 17px; }
.info-card p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.info-list { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.info-list li { display: flex; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.info-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.account-balance { padding: 14px; background: var(--ink); border-radius: 10px; }
.link-code-panel { display: grid; gap: 6px; padding: 14px; background: var(--surface-soft); border: 1px dashed var(--accent); border-radius: 10px; }
.link-code-panel span, .link-code-panel small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.link-code-panel strong { color: var(--accent-deep); font-size: 18px; letter-spacing: .08em; }
.account-balance span { display: block; color: #9ba69e; font-size: 10px; }
.account-balance strong { display: block; margin-top: 5px; color: #fff; font-family: var(--display); font-size: 24px; letter-spacing: -.06em; }

.auth-page { max-width: 720px; padding: 24px 0 50px; }
.auth-page h1 { margin-top: 7px; font-size: clamp(42px, 6vw, 64px); }
.auth-card { max-width: 440px; margin-top: 31px; padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-tabs { display: flex; gap: 5px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.auth-tab { padding: 8px 10px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: 12px; font-weight: 700; }
.auth-tab.active, .auth-tab:hover { color: var(--ink); background: var(--surface-soft); }
.auth-error { margin-top: 9px; color: var(--accent-deep); font-size: 11px; line-height: 1.5; }
.auth-note { margin-top: 16px; color: var(--faint); font-size: 10px; line-height: 1.6; }
.auth-points { display: flex; flex-wrap: wrap; gap: 10px 19px; margin-top: 19px; color: var(--muted); font-size: 11px; }
.loading-state { min-height: 340px; display: grid; place-items: center; align-content: center; gap: 13px; color: var(--muted); font-size: 12px; }
.loading-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--ink); border-radius: 13px; font-weight: 800; }
.empty-state { max-width: 620px; padding: 49px 35px; margin-top: 18px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); text-align: center; }
.empty-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 15px; color: #fff; background: var(--accent); border-radius: 50%; }
.empty-state h2 { font-size: 23px; }
.empty-state p { margin: 11px 0 22px; color: var(--muted); font-size: 12px; }
.material-section { margin-top: 40px; }
.material-form { display: grid; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.material-form-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.material-form select, .material-form input, .material-form textarea { width: 100%; padding: 10px; color: var(--ink); background: #fbfbf8; border: 1px solid var(--line); border-radius: 8px; outline: none; font-size: 11px; }
.material-form textarea { min-height: 75px; resize: vertical; line-height: 1.55; }
.material-form select:focus, .material-form input:focus, .material-form textarea:focus { border-color: var(--accent); }
.material-list { display: grid; gap: 9px; margin-top: 11px; }
.material-item { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.material-item strong { display: block; margin-top: 8px; font-size: 12px; }
.material-item p { max-width: 750px; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.material-item .icon-btn { border: 0; }
.material-empty { padding: 18px; color: var(--muted); background: var(--surface-soft); border-radius: 9px; font-size: 11px; }
.feedback-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.rewrite-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rewrite-form input { flex: 1 1 240px; min-height: 30px; padding: 0 9px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; outline: none; }
.rewrite-form input:focus { border-color: var(--accent); }
.feedback-form > span { margin-right: auto; color: var(--muted); font-size: 11px; }
.feedback-form select { min-height: 30px; padding: 0 8px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }

.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 23px; }
.admin-stat { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.admin-stat span { color: var(--muted); font-size: 10px; }
.admin-stat strong { display: block; margin-top: 9px; font-family: var(--display); font-size: 27px; letter-spacing: -.07em; }
.admin-stat em { display: block; margin-top: 7px; color: var(--green); font-size: 10px; font-style: normal; }
.data-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.data-card-header { display: flex; align-items: center; justify-content: space-between; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.data-card-header strong { font-size: 13px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.data-table th { padding: 12px 21px; color: var(--faint); background: #fafaf6; font-weight: 600; text-align: left; }
.data-table td { padding: 14px 21px; border-top: 1px solid var(--line); }
.data-table td.muted { color: var(--muted); }
.status-label { display: inline-flex; align-items: center; gap: 5px; color: var(--green); }
.status-label::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(22, 27, 24, .45); }
.modal { width: min(720px, 100%); max-height: min(780px, calc(100vh - 40px)); overflow: auto; background: var(--paper); border-radius: 20px; box-shadow: 0 30px 100px rgba(0,0,0,.2); }
.modal.topic-modal { width: min(780px, 100%); }
.modal-header { display: flex; align-items: start; justify-content: space-between; gap: 17px; padding: 25px 28px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { max-width: 570px; margin-top: 7px; font-size: 25px; line-height: 1.2; }
.modal-close { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; }
.modal-body { padding: 22px 28px 28px; }
.detail-lead { padding: 15px 17px; color: #5e6760; background: var(--surface-soft); border-radius: 10px; font-size: 12px; line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.detail-block { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.detail-block.full { grid-column: 1 / -1; }
.detail-block h3 { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.detail-block h3::before { content: ""; width: 4px; height: 14px; background: var(--accent); border-radius: 4px; }
.detail-block p, .detail-block li { color: var(--muted); font-size: 11px; line-height: 1.75; }
.detail-block p { margin-top: 9px; }
.detail-block ol { padding-left: 18px; margin: 9px 0 0; }
.detail-block .script { color: var(--ink); white-space: pre-line; }
.risk-box { display: flex; gap: 9px; margin-top: 16px; padding: 12px 14px; color: #78633b; background: var(--yellow-soft); border-radius: 9px; font-size: 11px; line-height: 1.6; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.premium-lock { position: relative; overflow: hidden; margin-top: 10px; }
.premium-lock .script { filter: blur(4px); user-select: none; opacity: .55; }
.premium-lock::after { content: "专业版解锁完整口播稿"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-deep); background: rgba(249,226,219,.82); font-size: 11px; font-weight: 800; }

.pricing-modal { width: min(760px, 100%); }
.pricing-intro { padding: 27px 29px 11px; }
.pricing-intro .eyebrow { margin-bottom: 8px; }
.pricing-intro h2 { font-size: 27px; }
.pricing-intro p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 15px 29px 0; }
.pricing-card { position: relative; padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.pricing-card.selected { border: 2px solid var(--accent); padding: 18px; }
.pricing-card.recommended::before { content: "更适合持续更新"; position: absolute; top: -10px; right: 14px; padding: 4px 8px; color: #fff; background: var(--accent); border-radius: 5px; font-size: 9px; font-weight: 700; }
.pricing-card h3 { font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 3px; margin: 14px 0; }
.price strong { font-family: var(--display); font-size: 32px; letter-spacing: -.08em; }
.price span { color: var(--muted); font-size: 10px; }
.pricing-card ul { display: grid; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; }
.pricing-card li { color: var(--muted); font-size: 11px; }
.pricing-card li::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 800; }
.payment-notice { margin: 17px 29px 25px; padding: 11px 13px; color: var(--muted); background: var(--surface-soft); border-radius: 8px; font-size: 10px; line-height: 1.6; }
.selection-bar { display: flex; align-items: center; gap: 12px; padding: 12px 15px; margin-bottom: 19px; color: var(--muted); background: var(--accent-soft); border: 1px solid #efc6bc; border-radius: 10px; font-size: 11px; }
.selection-bar span { margin-right: auto; color: var(--accent-deep); font-weight: 700; }
.plan-list { display: grid; gap: 10px; }
.plan-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 17px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.plan-date { display: grid; gap: 7px; color: var(--accent-deep); font-size: 11px; font-weight: 800; }
.plan-date input { width: 136px; padding: 6px 7px; color: var(--muted); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.plan-row-main { display: grid; gap: 5px; min-width: 0; }
.plan-row-main strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.plan-row-main > span:last-child { color: var(--muted); font-size: 10px; }
.plan-row-actions { display: flex; align-items: center; gap: 11px; }
.plan-row-actions select, .pack-card select, .pack-items select { min-height: 30px; padding: 0 7px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.pack-section { margin-top: 33px; }
.pack-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pack-card h3 { margin-top: 6px; }
.pack-card p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty-inline { padding: 18px; color: var(--muted); background: var(--surface-soft); border-radius: 9px; font-size: 11px; }
.topic-editor { display: block; width: 100%; min-height: 96px; padding: 10px 11px; margin-top: 9px; color: var(--ink); background: #fbfbf8; border: 1px solid var(--line); border-radius: 8px; outline: none; font-size: 12px; line-height: 1.65; resize: vertical; }
input.topic-editor { min-height: 36px; resize: none; }
.topic-editor:focus { border-color: var(--accent); }
.compact-editor { min-height: 70px; }
.shot-checklist { padding-left: 0; margin: 10px 0 5px; list-style: none; }
.shot-checklist li { margin-top: 8px; }
.shot-checklist label { display: flex; align-items: start; gap: 8px; cursor: pointer; }
.shot-checklist input { margin-top: 3px; accent-color: var(--accent); }
.version-list { display: grid; gap: 6px; margin-top: 12px; }
.version-item { padding: 8px 10px; color: var(--muted); background: var(--surface-soft); border: 0; border-radius: 7px; text-align: left; font-size: 10px; }
.version-item:hover { color: var(--accent-deep); }
.generation-form { display: grid; gap: 15px; padding: 10px 29px 29px; }
.generation-form label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.generation-form textarea, .generation-form select { width: 100%; padding: 11px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; outline: none; font-size: 12px; line-height: 1.6; }
.generation-form textarea { min-height: 100px; resize: vertical; }
.generation-form textarea:focus, .generation-form select:focus { border-color: var(--accent); }
.generation-note { padding: 10px 12px; color: var(--muted); background: var(--surface-soft); border-radius: 8px; font-size: 10px; line-height: 1.6; }
.pack-items { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; counter-reset: pack; }
.pack-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 9px; align-items: center; padding: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.pack-items li > div { display: grid; gap: 5px; min-width: 0; }
.pack-items li strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pack-items li span { color: var(--muted); font-size: 10px; }
.material-item { display: block; }
.material-item summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.material-item summary::-webkit-details-marker { display: none; }
.material-item summary strong { margin: 0; }
.material-item .material-edit-form { display: grid; gap: 8px; margin-top: 12px; }
.material-edit-form input, .material-edit-form textarea { width: 100%; padding: 9px 10px; color: var(--ink); background: #fbfbf8; border: 1px solid var(--line); border-radius: 7px; outline: none; font-size: 11px; }
.material-edit-form textarea { min-height: 70px; resize: vertical; line-height: 1.55; }
.material-edit-form > div { display: flex; gap: 12px; }
.material-edit-form + p { margin-top: 9px; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 330px; padding: 12px 15px; color: #fff; background: var(--ink); border-radius: 9px; box-shadow: var(--shadow); font-size: 12px; animation: toast-in .2s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav { display: none; }

@media (max-width: 1050px) {
  .sidebar { width: 220px; }
  .main-column { width: calc(100% - 220px); margin-left: 220px; }
  .topbar { padding: 0 28px; }
  .app-content { padding: 35px 29px 60px; }
  .topic-layout { grid-template-columns: 1fr; }
  .side-panel { max-width: none; }
  .week-list { grid-template-columns: repeat(3, 1fr); gap: 0 15px; }
}

@media (max-width: 760px) {
  .sidebar { display: none; }
  .main-column { width: 100%; margin: 0; padding-bottom: 68px; }
  .topbar { height: 61px; padding: 0 17px; }
  .mobile-brand { display: flex; }
  .breadcrumbs, .sync-status, .top-avatar { display: none; }
  .topbar-actions { margin-left: auto; }
  .member-pill { padding: 7px 10px; }
  .app-content { padding: 28px 17px 40px; }
  .page-heading { display: block; margin-bottom: 22px; }
  .heading-actions { margin-top: 18px; }
  .heading-actions .btn { flex: 1; }
  h1 { font-size: 31px; }
  .spotlight { display: block; min-height: 0; margin: 0 -1px 31px; border-radius: 16px; }
  .spotlight-main { padding: 25px 21px 22px; }
  .spotlight h2 { font-size: 29px; }
  .spotlight-side { padding: 10px 12px; }
  .metric { padding: 14px 12px; }
  .metric-value { font-size: 23px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 245px; }
  .section-row { margin-bottom: 13px; }
  .section-row .btn.text { display: none; }
  .week-list { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; padding-top: 22px; }
  .library-toolbar { display: block; }
  .search-box { width: 100%; margin-top: 12px; }
  .plan-board { grid-template-columns: repeat(7, 140px); margin-right: -17px; padding-right: 17px; }
  .plan-summary { grid-template-columns: 1fr 1fr; }
  .plan-summary .summary-card:last-child { grid-column: 1 / -1; }
  .profile-grid { grid-template-columns: 1fr; }
  .auth-page { padding-top: 7px; }
  .auth-card { padding: 19px; }
  .material-form-row { grid-template-columns: 1fr; }
  .feedback-form > span { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .selection-bar { align-items: start; flex-wrap: wrap; }
  .selection-bar span { width: 100%; }
  .plan-row { grid-template-columns: 1fr; gap: 11px; }
  .plan-date { display: flex; align-items: center; justify-content: space-between; }
  .plan-row-actions { justify-content: space-between; }
  .plan-row-actions select { flex: 1; }
  .pack-card { align-items: start; flex-direction: column; }
  .pack-card .btn { width: 100%; }
  .generation-form { padding: 8px 19px 22px; }
  .pack-items li { grid-template-columns: 1fr; }
  .pack-items li .btn { width: 100%; }
  .data-card { overflow-x: auto; }
  .data-table { min-width: 590px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .modal-header { padding: 21px 19px 17px; }
  .modal-header h2 { font-size: 22px; }
  .modal-body { padding: 17px 19px 22px; }
  .detail-grid, .pricing-grid { grid-template-columns: 1fr; }
  .detail-block.full { grid-column: auto; }
  .pricing-intro { padding: 23px 19px 8px; }
  .pricing-grid { padding: 12px 19px 0; }
  .payment-notice { margin: 14px 19px 20px; }
  .modal-footer { align-items: stretch; flex-direction: column; }
  .modal-footer .btn { width: 100%; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); height: 67px; padding: 6px 5px calc(6px + env(safe-area-inset-bottom)); background: rgba(245,244,239,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-nav .nav-item { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 5px 2px; border-radius: 8px; text-align: center; font-size: 9px; }
  .mobile-nav .nav-icon { font-size: 16px; }
  .mobile-nav .nav-badge { display: none; }
  .toast { right: 15px; bottom: 82px; left: 15px; max-width: none; text-align: center; }
}

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

/* Visual refresh: signal-board product shell */
html { background: var(--paper); overflow-x: clip; }
body { min-width: 320px; background: var(--paper); }

.sidebar {
  width: 232px;
  padding: 24px 14px 16px;
  background: var(--ink);
  border-right: 1px solid rgba(252, 252, 255, .08);
}
.brand-block { gap: 12px; padding: 0 8px; }
.brand-mark { width: 38px; height: 38px; color: var(--surface); background: var(--accent); border-radius: 12px; box-shadow: 0 8px 18px rgba(74, 70, 201, .28); }
.brand-name { color: var(--surface); letter-spacing: -.045em; }
.brand-caption { color: #aab1cc; }
.sidebar-section-label { margin: 48px 12px 12px; color: #7f88aa; }
.nav-item { position: relative; padding: 12px 13px; color: #aab1cc; border-radius: 12px; }
.nav-item:hover { color: var(--surface); background: rgba(252, 252, 255, .08); }
.nav-item.active { color: var(--surface); background: rgba(252, 252, 255, .12); box-shadow: none; }
.nav-item.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--coral); border-radius: 0 4px 4px 0; }
.nav-badge { color: var(--coral); background: var(--coral-soft); }
.sidebar-note { color: #9ca5c1; }
.tiny-dot, .status-dot { background: #56bd88; box-shadow: 0 0 0 4px rgba(86, 189, 136, .12); }
.profile-mini { border-top-color: rgba(252, 252, 255, .12); }
.profile-mini-copy strong { color: var(--surface); }
.profile-mini-copy span, .chevron { color: #9ca5c1; }
.avatar { color: var(--surface); background: var(--accent); }

.main-column { width: calc(100% - 232px); margin-left: 232px; }
.topbar { position: sticky; top: 0; z-index: 15; height: 72px; padding: 0 42px; background: rgba(242, 243, 250, .92); border-bottom-color: rgba(23, 27, 53, .08); backdrop-filter: blur(16px); }
.breadcrumbs { color: var(--faint); }
.breadcrumbs strong { color: var(--ink); }
.member-pill { color: var(--accent-deep); background: var(--accent-soft); }
.member-pill:hover { background: #dddcff; }
.app-content { max-width: 1440px; padding: 34px 44px 82px; }
.page-heading { margin-bottom: 24px; }
.eyebrow { color: var(--accent); letter-spacing: .12em; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 3.4vw, 43px); letter-spacing: -.07em; }
h2 { letter-spacing: -.055em; }
.heading-copy { max-width: 620px; color: var(--muted); }
.btn { min-height: 40px; border-radius: 11px; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover { box-shadow: 0 8px 20px rgba(30, 37, 89, .10); }
.btn.primary { color: var(--surface); background: var(--accent); }
.btn.primary:hover { background: var(--accent-deep); }
.btn.accent { color: var(--surface); background: var(--coral); }
.btn.accent:hover { background: #e45447; }
.btn.ghost { color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface); border-color: var(--accent); }
.btn.soft { color: var(--accent-deep); background: var(--accent-soft); }

.spotlight { grid-template-columns: minmax(0, 1.32fr) minmax(270px, .68fr); min-height: 248px; margin-bottom: 34px; background: var(--accent); border-radius: 26px; box-shadow: 0 22px 55px rgba(74, 70, 201, .20); }
.spotlight-main { padding: 30px 34px; }
.spotlight .eyebrow { color: #ffb1a5; }
.spotlight h2 { max-width: 620px; color: var(--surface); font-size: clamp(28px, 3.1vw, 38px); letter-spacing: -.065em; line-height: 1.08; }
.spotlight-copy { max-width: 610px; margin-top: 13px; color: rgba(252, 252, 255, .78); line-height: 1.65; }
.spotlight-actions { margin-top: 23px; }
.spotlight .btn.primary { color: var(--accent-deep); background: var(--surface); }
.spotlight .btn.primary:hover { background: #f0efff; }
.spotlight .btn.ghost { color: var(--surface); border-color: rgba(252, 252, 255, .34); }
.spotlight .btn.ghost:hover { background: rgba(252, 252, 255, .12); border-color: rgba(252, 252, 255, .65); }
.spotlight-side { padding: 25px; background: rgba(23, 27, 53, .25); }
.spotlight-side::before { border-color: rgba(252, 252, 255, .16); box-shadow: 0 0 0 20px rgba(252, 252, 255, .035), 0 0 0 42px rgba(252, 252, 255, .025); }
.metric { padding: 16px 13px; border-top-color: rgba(252, 252, 255, .20); }
.metric:nth-child(odd) { border-right-color: rgba(252, 252, 255, .20); }
.metric-value { color: var(--surface); }
.metric-label { color: rgba(252, 252, 255, .68); }

.section-row { margin-bottom: 14px; }
.section-title { gap: 9px; }
.section-title h2 { font-size: 21px; }
.section-count { color: var(--faint); }
.topic-layout { grid-template-columns: minmax(0, 1fr) 288px; gap: 20px; }
.topic-grid { gap: 12px; }
.topic-card { min-height: 226px; padding: 18px; background: var(--surface); border: 1px solid rgba(23, 27, 53, .08); border-radius: 17px; box-shadow: 0 7px 22px rgba(30, 37, 89, .06); }
.topic-card:hover { transform: translateY(-3px); border-color: rgba(74, 70, 201, .28); box-shadow: 0 15px 30px rgba(30, 37, 89, .11); }
.topic-card.premium::after { top: 17px; right: 16px; color: var(--coral); background: var(--coral-soft); }
.topic-card-top { margin-bottom: 13px; }
.topic-category { color: var(--accent-deep); }
.topic-card h3 { font-size: 16px; line-height: 1.38; }
.topic-hook { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.topic-meta { margin-top: 14px; }
.tag { color: var(--muted); background: var(--surface-soft); }
.tag.green { color: var(--green); background: var(--green-soft); }
.topic-footer { padding-top: 16px; }
.fit-score { color: var(--green); }
.icon-btn { border-color: var(--line); }
.icon-btn:hover, .icon-btn.saved { color: var(--accent-deep); background: var(--accent-soft); }
.side-panel { padding: 19px; background: var(--surface-soft); border: 1px solid rgba(23, 27, 53, .06); border-radius: 18px; box-shadow: 0 8px 25px rgba(30, 37, 89, .05); }
.side-panel-title { margin-bottom: 13px; }
.week-item { padding: 11px 0; border-top-color: rgba(23, 27, 53, .10); }
.week-state { color: var(--green); }
.proof-row { gap: 20px; margin-top: 30px; padding-top: 23px; border-top-color: rgba(23, 27, 53, .10); }
.proof-icon { color: var(--accent-deep); background: var(--accent-soft); }

.filter-chip { padding: 8px 12px; color: var(--muted); border-color: var(--line); }
.filter-chip.active, .filter-chip:hover { color: var(--accent-deep); background: var(--accent-soft); border-color: rgba(74, 70, 201, .28); }
.search-box { background: var(--surface); border-color: var(--line); border-radius: 11px; box-shadow: 0 4px 14px rgba(30, 37, 89, .04); }
.search-box input { color: var(--ink); }
.library-empty, .empty-state { background: var(--surface); border-color: var(--line-strong); box-shadow: 0 8px 22px rgba(30, 37, 89, .05); }
.selection-bar { background: var(--accent-soft); border-color: rgba(74, 70, 201, .18); }
.plan-summary { gap: 12px; margin-top: 22px; }
.summary-card, .form-card, .info-card, .data-card, .pack-card, .plan-row { background: var(--surface); border-color: rgba(23, 27, 53, .08); border-radius: 17px; box-shadow: 0 7px 22px rgba(30, 37, 89, .05); }
.summary-card strong { color: var(--accent-deep); }
.field input, .field textarea, .field select, .topic-editor, .rewrite-form input, .feedback-form input, .feedback-form select { background: #f7f8fd; border-color: var(--line); }
.field input:focus, .field textarea:focus, .field select:focus, .topic-editor:focus, .rewrite-form input:focus, .feedback-form input:focus, .feedback-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 70, 201, .12); }
.account-balance { background: var(--ink); }
.link-code-panel { background: var(--accent-soft); border-color: rgba(74, 70, 201, .35); }
.link-code-panel strong { color: var(--accent-deep); }
.modal { background: var(--surface); box-shadow: 0 30px 100px rgba(23, 27, 53, .24); }
.modal-header { border-bottom-color: var(--line); }
.modal-close { border-color: var(--line); }
.detail-lead { background: var(--accent-soft); border-color: rgba(74, 70, 201, .12); }
.risk-box { background: var(--yellow-soft); border-color: rgba(183, 122, 22, .20); }
.toast { color: var(--surface); background: var(--ink); box-shadow: 0 12px 30px rgba(23, 27, 53, .22); }

@media (max-width: 1050px) {
  .sidebar { width: 212px; }
  .main-column { width: calc(100% - 212px); margin-left: 212px; }
  .topbar { padding: 0 28px; }
  .app-content { padding: 30px 28px 74px; }
  .topic-layout { grid-template-columns: 1fr; }
  .side-panel { max-width: none; }
}

@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .main-column { width: 100%; margin: 0; padding-bottom: 76px; }
  .topbar { height: 62px; padding: 0 16px; }
  .app-content { padding: 24px 16px 104px; }
  .page-heading { margin-bottom: 20px; }
  h1 { font-size: 33px; line-height: 1.08; }
  .heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .heading-actions .btn { width: 100%; }
  .spotlight { margin: 0 0 27px; border-radius: 22px; }
  .spotlight-main { padding: 24px 20px 20px; }
  .spotlight h2 { font-size: 30px; }
  .spotlight-side { padding: 9px 12px; }
  .metric { padding: 13px 10px; }
  .metric-value { font-size: 23px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 0; padding: 17px; }
  .section-row { align-items: center; }
  .section-row .btn.text { display: inline-flex; }
  .proof-row { grid-template-columns: 1fr; gap: 14px; margin-top: 27px; }
  .mobile-nav { background: rgba(252, 252, 255, .95); border-top-color: rgba(23, 27, 53, .10); box-shadow: 0 -8px 26px rgba(30, 37, 89, .08); }
  .mobile-nav .nav-item { min-height: 52px; color: var(--muted); border-radius: 12px; }
  .mobile-nav .nav-item.active { color: var(--accent-deep); background: var(--accent-soft); }
  .mobile-nav .nav-item.active::before { display: none; }
  .mobile-nav .nav-icon { color: currentColor; }
  .toast { bottom: 88px; }
}
