:root {
  --page: #e7e9e3;
  --surface: #f7f6f1;
  --panel: #fdfcf8;
  --panel-soft: #eff1eb;
  --rail: #17221d;
  --rail-soft: #223129;
  --ink: #17211c;
  --ink-2: #4d5b53;
  --ink-3: #718078;
  --muted: #a8b0aa;
  --line: rgba(23, 33, 28, .09);
  --line-dark: rgba(247, 246, 241, .1);
  --accent: #2f6f55;
  --accent-strong: #22563f;
  --accent-soft: #e1ede6;
  --clay: #a65541;
  --clay-soft: #f3e5df;
  --amber: #a47122;
  --amber-soft: #f3e9d3;
  --success: #2f7655;
  --danger: #b44337;
  --shadow: 0 1px 3px rgba(21, 44, 33, .05);
  --shadow-lg: 0 32px 80px -54px rgba(19, 42, 31, .46);
  --r-card: 8px;
  --r-control: 6px;
  --sidebar: 244px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}
button, input, textarea, select { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.app-shell {
  width: min(1540px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid rgba(23, 33, 28, .06);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: clip;
}

.sidebar {
  min-height: calc(100vh - 32px);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  color: #dde4df;
  background: var(--rail);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 25px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 8px; background: #d8b46f; color: #18231d;
  font-weight: 800; font-size: 12px;
}
.brand strong, .brand small { display: block; }
.brand strong { color: #f1f3ef; font-size: 15px; }
.brand small { color: #8fa097; margin-top: 3px; font-size: 11px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a, .sidebar-action {
  min-height: 46px; display: flex; align-items: center; gap: 12px;
  padding: 0 13px; border: 0; border-radius: var(--r-control);
  background: transparent; color: #9faea6; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.side-nav a:hover, .sidebar-action:hover { color: #edf2ee; background: var(--rail-soft); }
.side-nav a.active { color: #f8f8f5; background: #2d4438; }
.side-nav a.active .nav-icon { color: #dfbd7c; }
.nav-icon { width: 20px; text-align: center; font-size: 18px; }
.sidebar-spacer { flex: 1; }
.sidebar-quote { margin: 24px 8px 16px; padding: 15px 15px 16px; border: 1px solid var(--line-dark); border-radius: var(--r-card); background: rgba(255,255,255,.035); }
.sidebar-quote p { margin: 0; color: #aebbb4; font-size: 12px; line-height: 1.8; }
.sidebar-action { width: 100%; font-size: 12px; }

.workspace { min-width: 0; padding: 0 30px 38px; }
.topbar {
  min-height: 92px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 20; background: rgba(247,246,241,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.date-line { margin: 0 0 4px; color: var(--ink-3); font-size: 11px; }
.topbar h1 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 720; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.privacy-chip { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 11px; }
.privacy-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,118,85,.1); }

.primary-button, .secondary-button, .danger-button {
  min-height: 42px; border-radius: var(--r-control); padding: 0 15px;
  border: 1px solid transparent; cursor: pointer; font-weight: 650;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.primary-button { background: var(--accent); color: #f7faf8; box-shadow: 0 8px 22px rgba(47,111,85,.2); }
.primary-button:hover { background: var(--accent-strong); transform: translateY(-1px); }
.secondary-button { background: var(--panel); border-color: var(--line); }
.secondary-button:hover { border-color: rgba(47,111,85,.35); }
.danger-button { color: var(--danger); background: #fff8f6; border-color: rgba(180,67,55,.18); }
.full-button { width: 100%; margin-top: 8px; }
.icon-button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(47,111,85,.24); outline-offset: 2px; }

.view-root { padding-top: 24px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(290px, .85fr); gap: 18px; align-items: start; }
.main-column, .side-column { display: grid; gap: 16px; min-width: 0; }
.card {
  background: var(--panel); border: 1px solid rgba(23,33,28,.065);
  border-radius: var(--r-card); box-shadow: var(--shadow); padding: 20px;
}
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.card-head h2, .card-head h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.card-head p { margin: 5px 0 0; color: var(--ink-3); font-size: 12px; line-height: 1.55; }
.text-button { border: 0; background: transparent; padding: 4px; color: var(--accent); font-size: 12px; cursor: pointer; }

.hero-strip { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 22px 24px; background: var(--rail); color: #eef2ef; }
.hero-strip .status { color: #d8b46f; font-size: 11px; font-weight: 700; }
.hero-strip h2 { margin: 8px 0 7px; max-width: 610px; font-size: 22px; line-height: 1.35; }
.hero-strip p { margin: 0; color: #aebbb4; line-height: 1.65; font-size: 12px; }
.week-seal { width: 86px; height: 86px; display: grid; place-items: center; text-align: center; border-radius: 50%; border: 8px solid rgba(216,180,111,.2); outline: 1px solid rgba(216,180,111,.5); }
.week-seal strong { display: block; color: #e4c58c; font-size: 24px; line-height: 1; }
.week-seal small { display: block; margin-top: 5px; color: #9fac9f; font-size: 10px; }

.action-list { display: grid; gap: 8px; }
.action-row {
  min-height: 72px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 12px; align-items: center; padding: 10px 11px;
  border: 1px solid var(--line); border-radius: var(--r-control); background: #fbfaf6;
}
.action-row.done { background: var(--accent-soft); border-color: rgba(47,111,85,.16); }
.action-check {
  width: 38px; height: 38px; border: 1px solid rgba(23,33,28,.15); border-radius: 50%;
  background: var(--panel); display: grid; place-items: center; cursor: pointer; font-size: 17px;
}
.done .action-check { background: var(--accent); color: #f4f8f5; border-color: var(--accent); }
.action-copy strong { display: block; font-size: 13px; }
.action-copy span { display: block; margin-top: 4px; color: var(--ink-3); font-size: 11px; line-height: 1.45; }
.action-progress { min-width: 72px; text-align: right; }
.action-progress b { font-size: 13px; font-variant-numeric: tabular-nums; }
.action-progress small { display: block; color: var(--ink-3); margin-top: 3px; font-size: 10px; }
.stepper { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.stepper button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); cursor: pointer; }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.metric { min-height: 118px; padding: 16px; border-radius: var(--r-card); background: var(--panel); border: 1px solid var(--line); }
.metric .metric-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.metric strong { display: block; margin-top: 13px; font-size: 25px; line-height: 1; font-variant-numeric: tabular-nums; }
.metric span { display: block; margin-top: 7px; color: var(--ink-3); font-size: 11px; }

.week-board { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.day-cell { aspect-ratio: 1; min-height: 38px; display: grid; place-items: center; border-radius: 5px; background: var(--panel-soft); color: var(--ink-3); font-size: 10px; font-variant-numeric: tabular-nums; }
.day-cell.low { background: #e3ebe5; color: var(--accent); }
.day-cell.mid { background: #a9c5b4; color: #173425; }
.day-cell.high { background: var(--accent); color: #f6faf7; }
.day-cell.today { outline: 2px solid #d8b46f; outline-offset: 2px; }
.legend-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-3); font-size: 10px; }
.legend-row i { width: 12px; height: 12px; border-radius: 3px; background: var(--panel-soft); }
.legend-row i:nth-of-type(2) { background: #a9c5b4; }
.legend-row i:nth-of-type(3) { background: var(--accent); }

.prompt-card { background: var(--clay-soft); border-color: rgba(166,85,65,.12); }
.prompt-card .quote-mark { color: var(--clay); font-size: 28px; line-height: 1; }
.prompt-card p { margin: 6px 0 14px; font-size: 15px; font-weight: 650; line-height: 1.55; }
.prompt-card button { color: var(--clay); }

.roadmap-hero { padding: 25px; background: var(--panel); }
.phase-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.phase-tab { position: relative; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel-soft); }
.phase-tab.current { background: var(--rail); color: #edf3ef; }
.phase-tab strong, .phase-tab small { display: block; }
.phase-tab strong { margin-top: 20px; }
.phase-tab small { margin-top: 5px; color: var(--ink-3); }
.phase-tab.current small { color: #a9b7af; }
.phase-number { position: absolute; top: 12px; right: 12px; color: var(--muted); font-size: 11px; }
.timeline { display: grid; gap: 0; }
.timeline-row { display: grid; grid-template-columns: 94px 24px minmax(0,1fr); gap: 12px; min-height: 96px; }
.timeline-date { padding-top: 3px; color: var(--ink-3); font-size: 11px; }
.timeline-track { position: relative; display: flex; justify-content: center; }
.timeline-track::before { content: ""; position: absolute; top: 10px; bottom: -10px; width: 1px; background: var(--line); }
.timeline-row:last-child .timeline-track::before { display: none; }
.timeline-dot { position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 2px; border: 3px solid var(--panel); border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 1px var(--muted); }
.timeline-row.current .timeline-dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.timeline-content { padding-bottom: 24px; }
.timeline-content h3 { margin: 0 0 7px; font-size: 14px; }
.timeline-content p { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.65; }

.practice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.practice-card { position: relative; min-height: 208px; display: flex; flex-direction: column; }
.practice-card .frequency { align-self: flex-start; padding: 4px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; }
.practice-card h3 { margin: 17px 0 8px; font-size: 16px; }
.practice-card p { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.practice-card button { margin-top: auto; align-self: flex-start; }
.reflection-form { display: grid; gap: 15px; }
.reflection-form textarea { min-height: 92px; }
.armor-stack { display: grid; gap: 7px; }
.armor-layer { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 14px; border-radius: var(--r-control); background: var(--panel-soft); }
.armor-layer:nth-child(1) { margin: 0; }
.armor-layer:nth-child(2) { margin: 0 14px; }
.armor-layer:nth-child(3) { margin: 0 28px; }
.armor-layer:nth-child(4) { margin: 0 42px; background: var(--clay-soft); }
.armor-layer strong { font-size: 11px; }
.armor-layer span { color: var(--ink-2); font-size: 11px; line-height: 1.45; }

label { display: grid; gap: 7px; color: var(--ink-2); font-size: 12px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid rgba(23,33,28,.14); border-radius: var(--r-control); background: #fffefb; color: var(--ink); padding: 11px 12px; }
textarea { resize: vertical; line-height: 1.65; }
.form-note { margin: -1px 0 3px; color: var(--ink-3); font-size: 11px; }

.evidence-toolbar { display: flex; gap: 8px; align-items: center; }
.filter-chip { min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); cursor: pointer; font-size: 11px; }
.filter-chip.active { background: var(--accent); color: #f5f8f6; border-color: var(--accent); }
.evidence-list { display: grid; }
.evidence-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.evidence-item:last-child { border-bottom: 0; }
.evidence-date { color: var(--ink-3); font-size: 10px; line-height: 1.5; }
.evidence-type { display: inline-block; margin-bottom: 7px; padding: 3px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; }
.evidence-text { margin: 0; color: var(--ink-2); line-height: 1.65; }
.delete-record { width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }
.empty-state { padding: 52px 20px; text-align: center; color: var(--ink-3); }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--ink-2); }

.profile-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-list { display: grid; gap: 9px; }
.profile-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.profile-item > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 750; }
.profile-item strong { display: block; font-size: 12px; }
.profile-item p { margin: 3px 0 0; color: var(--ink-3); font-size: 11px; line-height: 1.55; }
.profile-item.block > span { background: var(--clay-soft); color: var(--clay); }
.principle-box { padding: 19px; border-left: 3px solid var(--accent); background: var(--panel-soft); }
.principle-box strong { display: block; margin-bottom: 7px; }
.principle-box p { margin: 0; color: var(--ink-2); line-height: 1.7; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: rgba(12,20,16,.55); backdrop-filter: blur(6px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(500px, 100%); position: relative; padding: 28px; border-radius: 10px; background: var(--panel); box-shadow: 0 30px 80px rgba(12,20,16,.28); }
.modal-close { position: absolute; top: 10px; right: 10px; color: var(--ink-3); }
.modal-kicker { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 750; }
.modal h2 { margin: 0 0 22px; font-size: 21px; }
.modal form, .data-actions { display: grid; gap: 15px; }
.ai-modal { width: min(620px, 100%); }
.ai-result { max-height: 360px; overflow: auto; margin: 16px 0 4px; padding: 15px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--panel-soft); color: var(--ink-2); white-space: pre-wrap; line-height: 1.7; font-size: 13px; }
.ai-result[hidden] { display: none; }
.file-button { display: grid; place-items: center; }
.file-button input { display: none; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 16px); padding: 11px 15px; border-radius: 6px; background: var(--rail); color: #edf3ef; box-shadow: 0 12px 32px rgba(10,20,15,.25); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.mobile-nav { display: none; }

@media (max-width: 1100px) {
  :root { --sidebar: 210px; }
  .workspace { padding-inline: 22px; }
  .page-grid { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .side-column > .prompt-card:last-child { grid-column: 1 / -1; }
  .practice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { background: var(--surface); padding-bottom: 68px; }
  .app-shell { width: 100%; min-height: 100vh; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; }
  .sidebar { display: none; }
  .workspace { padding: 0 15px 28px; }
  .topbar { min-height: 78px; }
  .topbar h1 { font-size: 20px; }
  .privacy-chip { display: none; }
  .primary-button { min-height: 42px; }
  #openAi { width: 42px; padding: 0; font-size: 0; }
  #openAi::before { content: "AI"; font-size: 11px; }
  #quickRecord { width: 42px; padding: 0; font-size: 0; }
  #quickRecord span { font-size: 20px; }
  .view-root { padding-top: 15px; }
  .hero-strip { grid-template-columns: 1fr; }
  .week-seal { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:last-child { grid-column: 1 / -1; }
  .side-column { grid-template-columns: 1fr; }
  .phase-tabs, .profile-summary { grid-template-columns: 1fr; }
  .phase-tab { min-height: 80px; }
  .action-row { grid-template-columns: 42px minmax(0,1fr); }
  .action-progress { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 8px; }
  .action-progress small { margin: 0; }
  .stepper { display: inline-flex; margin: 0 0 0 auto; }
  .evidence-item { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .evidence-toolbar { overflow-x: auto; padding-bottom: 4px; }
  .card-actions { width: 100%; justify-content: flex-start; }
  .armor-layer, .armor-layer:nth-child(n) { margin: 0; grid-template-columns: 80px 1fr; }
  .modal { padding: 24px 18px; }
  .mobile-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; min-height: 64px; display: grid; grid-template-columns: repeat(5,1fr); background: rgba(23,34,29,.97); border-top: 1px solid rgba(255,255,255,.08); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 3px; color: #87978e; }
  .mobile-nav a.active { color: #e2c083; }
  .mobile-nav a span { font-size: 17px; }
  .mobile-nav a small { font-size: 9px; }
}

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

/* Particle-console skin: the information architecture stays intact; only the substrate changes. */
:root {
  --page: #060b0b;
  --surface: #0a1110;
  --panel: #101918;
  --panel-soft: #14221f;
  --rail: #080e0e;
  --rail-soft: #12211e;
  --ink: #eef4ef;
  --ink-2: #b1c1b7;
  --ink-3: #7f9387;
  --muted: #52665c;
  --line: rgba(212, 236, 222, .12);
  --line-dark: rgba(212, 236, 222, .11);
  --accent: #4be2a0;
  --accent-strong: #25bd7b;
  --accent-soft: rgba(75, 226, 160, .13);
  --clay: #ed8c67;
  --clay-soft: rgba(237, 140, 103, .12);
  --amber: #e8b361;
  --amber-soft: rgba(232, 179, 97, .13);
  --success: #4be2a0;
  --danger: #f17c6d;
  --shadow: 0 1px 3px rgba(0, 0, 0, .28);
  --shadow-lg: 0 40px 120px -56px rgba(0, 0, 0, .86);
}

body { background: var(--page); color: var(--ink); }
#particleField { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .82; }
.app-shell { position: relative; z-index: 1; background: rgba(10, 17, 16, .94); border-color: rgba(212, 236, 222, .1); box-shadow: var(--shadow-lg); }
.sidebar { background: rgba(7, 13, 13, .95); border-right: 1px solid rgba(212, 236, 222, .08); }
.brand-mark { background: var(--accent); color: #07110d; }
.side-nav a, .sidebar-action { color: #91a69a; }
.side-nav a:hover, .sidebar-action:hover { color: var(--ink); background: rgba(75, 226, 160, .09); }
.side-nav a.active { color: var(--ink); background: rgba(75, 226, 160, .12); box-shadow: inset 2px 0 0 var(--accent); }
.side-nav a.active .nav-icon { color: var(--accent); }
.sidebar-quote { background: rgba(212, 236, 222, .035); border-color: rgba(212, 236, 222, .1); }
.sidebar-quote p { color: #9daf9f; }
.topbar { background: rgba(10, 17, 16, .88); border-bottom-color: var(--line); }
.date-line { color: var(--ink-3); }
.privacy-chip { color: var(--ink-3); }
.icon-button { color: var(--ink-2); }
.particle-toggle { border: 1px solid var(--line); background: rgba(212, 236, 222, .04); font-size: 15px; }
.particle-toggle:hover, .particle-toggle.active { color: var(--accent); border-color: rgba(75, 226, 160, .35); background: var(--accent-soft); }
.primary-button { background: var(--accent); color: #06130d; box-shadow: 0 8px 24px rgba(75, 226, 160, .17); }
.primary-button:hover { background: #6aebb4; }
.secondary-button { background: rgba(212, 236, 222, .05); color: var(--ink); border-color: var(--line); }
.secondary-button:hover { border-color: rgba(75, 226, 160, .38); background: var(--accent-soft); }
.danger-button { background: rgba(241, 124, 109, .08); color: #ff9a8b; border-color: rgba(241, 124, 109, .2); }
.card { background: rgba(16, 25, 24, .84); border-color: var(--line); box-shadow: var(--shadow); }
.card-head p, .action-copy span, .metric span, .timeline-content p, .practice-card p, .form-note { color: var(--ink-3); }
.text-button { color: var(--accent); }
.hero-strip { background: linear-gradient(125deg, rgba(19, 39, 34, .96), rgba(10, 17, 16, .94)); border-color: rgba(75, 226, 160, .2); }
.hero-strip .status { color: var(--amber); }
.hero-strip p { color: #a5b6aa; }
.week-seal { border-color: rgba(75, 226, 160, .2); outline-color: rgba(75, 226, 160, .5); }
.week-seal strong { color: var(--accent); }
.week-seal small { color: var(--ink-3); }
.action-row { background: rgba(212, 236, 222, .035); border-color: var(--line); }
.action-row:hover { background: rgba(75, 226, 160, .065); border-color: rgba(75, 226, 160, .24); }
.action-row.done { background: rgba(75, 226, 160, .11); border-color: rgba(75, 226, 160, .28); }
.action-check { background: rgba(212, 236, 222, .045); border-color: rgba(212, 236, 222, .22); color: var(--accent); }
.done .action-check { background: var(--accent); color: #06130d; border-color: var(--accent); }
.stepper button { background: rgba(212, 236, 222, .055); border-color: var(--line); color: var(--ink-2); }
.stepper button:hover { color: var(--accent); border-color: rgba(75, 226, 160, .35); }
.metrics { gap: 10px; }
.metric { background: rgba(16, 25, 24, .8); border-color: var(--line); overflow: hidden; position: relative; }
.metric::after { content: ""; position: absolute; inset: auto -16px -26px auto; width: 115px; height: 78px; border-radius: 50%; filter: blur(28px); opacity: .22; pointer-events: none; }
.metric:nth-child(1)::after { background: var(--accent); }
.metric:nth-child(2)::after { background: #7a75f5; }
.metric:nth-child(3)::after { background: var(--clay); }
.metric .metric-icon { background: var(--accent-soft); color: var(--accent); }
.metric strong { color: var(--ink); }
.week-board { gap: 5px; }
.day-cell { background: rgba(212, 236, 222, .055); color: var(--ink-3); }
.day-cell.low { background: rgba(75, 226, 160, .1); color: var(--accent); }
.day-cell.mid { background: rgba(75, 226, 160, .36); color: #07150e; }
.day-cell.high { background: var(--accent); color: #06130d; }
.day-cell.today { outline-color: var(--amber); }
.legend-row i { background: rgba(212, 236, 222, .055); }
.legend-row i:nth-of-type(2) { background: rgba(75, 226, 160, .36); }
.legend-row i:nth-of-type(3) { background: var(--accent); }
.prompt-card { background: rgba(57, 28, 23, .35); border-color: rgba(237, 140, 103, .2); }
.prompt-card p { color: #f0ddd7; }
.roadmap-hero { background: rgba(16, 25, 24, .84); }
.phase-tab { background: rgba(212, 236, 222, .035); border-color: var(--line); }
.phase-tab.current { background: rgba(19, 53, 43, .9); border-color: rgba(75, 226, 160, .3); }
.phase-tab.current small { color: var(--ink-3); }
.timeline-track::before { background: var(--line); }
.timeline-dot { border-color: var(--panel); }
.timeline-row.current .timeline-dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 16px rgba(75, 226, 160, .42); }
.practice-card .frequency { background: var(--accent-soft); color: var(--accent); }
.armor-layer { background: rgba(212, 236, 222, .045); }
.armor-layer:nth-child(4) { background: rgba(237, 140, 103, .1); }
input, textarea, select { background: rgba(212, 236, 222, .055); border-color: rgba(212, 236, 222, .18); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #667a6e; }
.filter-chip { background: rgba(212, 236, 222, .04); color: var(--ink-2); border-color: var(--line); }
.filter-chip.active { background: var(--accent); color: #06130d; border-color: var(--accent); }
.evidence-type { background: var(--accent-soft); color: var(--accent); }
.principle-box { background: rgba(75, 226, 160, .07); border-left-color: var(--accent); }
.principle-box p { color: var(--ink-2); }
.modal-backdrop { background: rgba(2, 8, 7, .76); }
.modal { background: #101918; border: 1px solid var(--line); }
.modal-close { color: var(--ink-3); }
.modal-kicker { color: var(--accent); }
.toast { background: #dff3e8; color: #0c2217; }

@media (max-width: 760px) {
  body { background: var(--page); }
  .topbar { background: rgba(10, 17, 16, .96); }
  .mobile-nav { background: rgba(7, 13, 13, .97); border-top-color: var(--line); }
  .mobile-nav a { color: #81968a; }
  .mobile-nav a.active { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  #particleField { opacity: .28; }
}
