:root {
  --paper: #efe5d3;
  --paper-strong: #fbf6ed;
  --paper-soft: rgba(255, 251, 242, 0.68);
  --paper-glass: rgba(255, 251, 242, 0.86);
  --ink: #193126;
  --ink-soft: #536154;
  --forest: #244537;
  --clay: #b75b39;
  --gold: #b89544;
  --line: rgba(25, 49, 38, 0.10);
  --line-strong: rgba(25, 49, 38, 0.18);
  --shadow: 0 30px 80px rgba(46, 40, 23, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183, 91, 57, 0.16), transparent 34%),
    radial-gradient(circle at 85% 0%, rgba(184, 149, 68, 0.14), transparent 30%),
    linear-gradient(180deg, #f5eddc 0%, #efe5d3 56%, #eadfcd 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    radial-gradient(rgba(28, 50, 40, 0.05) 0.75px, transparent 0.75px);
  background-size: 100% 100%, 24px 24px;
  opacity: 0.35;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
  opacity: 0.45;
}

.ambient-a {
  top: -10rem;
  right: -9rem;
  background: radial-gradient(circle, rgba(183, 91, 57, 0.22), transparent 68%);
}

.ambient-b {
  bottom: -12rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(36, 69, 55, 0.18), transparent 72%);
}

.left-nav-shell {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 296px;
  pointer-events: auto;
}

.nav-edge {
  display: none;
}

.drawer-toggle,
.drawer-scrim {
  display: none;
}

.side-drawer {
  position: absolute;
  inset: 0 auto 0 0;
  left: 0;
  width: 280px;
  padding: 16px 12px 16px 0;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  padding: 22px 16px 26px;
  border: 0;
  border-right: 1px solid rgba(25, 49, 38, 0.07);
  border-radius: 0 28px 28px 0;
  background: linear-gradient(180deg, rgba(251, 247, 240, 0.97), rgba(244, 236, 223, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: 14px 0 40px rgba(25, 49, 38, 0.08);
}

.drawer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(25, 49, 38, 0.07);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.drawer-brand-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  border-radius: 20px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.drawer-brand-button:hover {
  background: rgba(36, 69, 55, 0.05);
  box-shadow: 0 8px 18px rgba(25, 49, 38, 0.08);
}

.drawer-brand-button.is-active {
  background: rgba(36, 69, 55, 0.08);
}

.life-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 28px 0 88px;
}

body[data-drawer="sidebar"] .life-shell {
  width: min(1140px, calc(100vw - 344px));
  margin: 0 28px 0 296px;
}

body[data-life-view="section"] .life-shell {
  padding-top: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--forest) 0%, #2d5b47 48%, var(--clay) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 28px rgba(25, 49, 38, 0.18);
  font-family: "Baskerville", "Iowan Old Style", serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.section-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-name {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title,
.panel-title,
.mini-title,
.drawer-brand-title {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  letter-spacing: -0.03em;
}

.drawer-brand-title {
  margin: 0;
  font-size: 1.55rem;
}

.action-link:hover,
.drawer-link:hover {
  transform: translateY(-1px);
}

.drawer-nav {
  display: grid;
  gap: 10px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  font-size: 0.96rem;
  font-weight: 600;
}

.drawer-link {
  border: 1px solid rgba(25, 49, 38, 0.10);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.drawer-link:hover {
  box-shadow: 0 10px 20px rgba(25, 49, 38, 0.08);
}

.drawer-link.is-active {
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--forest), #2f674f);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(36, 69, 55, 0.18);
}

.panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.88), rgba(247, 240, 229, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 28px;
  animation: rise 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 49, 38, 0.08), transparent);
}

.home-hero {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px 30px 30px;
}

body[data-life-view="section"] #homeHero {
  display: none !important;
}

.home-capture-copy {
  display: grid;
  gap: 6px;
}

.home-utility-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-utility-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(25, 49, 38, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.home-utility-label {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-utility-value {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title {
  margin: 0;
  max-width: none;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.hero-text,
.panel-copy,
.home-footnote,
.history-subtitle,
.mini-stat-note,
.source-note,
.stack-note,
.entry-date,
.quote-stack,
.bullet-list,
.history-footnote,
.value-text,
.entry-text,
.question-card,
.sample-card {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-text {
  margin: 0;
  max-width: 60ch;
  font-size: 0.96rem;
}

.home-capture-shell {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(25, 49, 38, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.62), rgba(255, 249, 239, 0.44));
}

.home-capture-textarea {
  min-height: 340px;
}

.home-footnote {
  margin: 2px 0 0;
  font-size: 0.92rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.action-link {
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--forest), #2f674f);
}

.dashboard-section {
  display: none;
}

.dashboard-section.is-active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(25, 49, 38, 0.08);
}

.panel-title {
  margin: 8px 0 0;
  font-size: 1.9rem;
}

.panel-copy {
  margin: -4px 0 18px;
  max-width: 62ch;
  font-size: 0.96rem;
}

.panel-stat {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(183, 91, 57, 0.12);
  color: var(--clay);
  font-weight: 700;
  white-space: nowrap;
}

.progress-block {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(36, 69, 55, 0.06), rgba(183, 91, 57, 0.08));
  margin-bottom: 18px;
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.96rem;
}

.progress-copy strong {
  font-size: 1.4rem;
}

.progress-bar,
.meter-track {
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(25, 49, 38, 0.09);
}

.progress-bar {
  height: 14px;
}

.meter-track {
  height: 8px;
}

.progress-fill,
.meter-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.progress-fill {
  width: 0;
  background: linear-gradient(90deg, var(--forest), #357456, var(--gold));
  transition: width 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.meter-bar {
  background: linear-gradient(90deg, rgba(36, 69, 55, 0.88), rgba(183, 91, 57, 0.64));
}

.dual-grid,
.triple-grid,
.list-pair,
.value-grid,
.entry-grid,
.stat-card-grid,
.capture-grid {
  display: grid;
  gap: 14px;
}

.dual-grid,
.value-grid,
.list-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.triple-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stat-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card-grid-investments {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capture-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.investment-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: start;
}

.mini-title {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.stat-card,
.history-card,
.capture-card,
.entry-card,
.sample-card,
.value-card,
.meter-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.stat-card,
.capture-card,
.entry-card,
.sample-card,
.value-card,
.meter-card {
  padding: 14px 16px;
}

.history-card {
  padding: 16px;
}

.history-card-investments {
  padding: 18px 18px 14px;
}

.stat-card-label {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card-value,
.mini-stat-value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.stack-list,
.meter-list,
.bullet-list,
.tag-row,
.quote-stack,
.capture-form,
.capture-side {
  display: grid;
  gap: 12px;
}

.stack-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.7);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stack-item:hover {
  transform: translateY(-1px);
  border-color: rgba(25, 49, 38, 0.16);
  box-shadow: 0 12px 24px rgba(25, 49, 38, 0.06);
}

.stack-top,
.entry-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.stack-title,
.entry-title {
  font-weight: 700;
  line-height: 1.35;
}

.stack-metric {
  color: var(--forest);
  font-weight: 700;
  white-space: nowrap;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.north-star {
  margin: 0 0 18px;
  padding: 20px 22px;
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-md);
  background: rgba(183, 91, 57, 0.08);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
}

.value-name {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bullet-dot {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}

.question-card {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.field {
  display: grid;
  gap: 10px;
}

.field-label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-input,
.field-textarea {
  width: 100%;
  border: 1px solid rgba(25, 49, 38, 0.14);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.85);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: rgba(36, 69, 55, 0.4);
  box-shadow: 0 0 0 4px rgba(36, 69, 55, 0.08);
}

.field-textarea {
  min-height: 220px;
  resize: vertical;
  line-height: 1.65;
}

.capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--forest), #2f674f);
  color: var(--paper-strong);
  font: inherit;
  font-weight: 700;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 18px rgba(36, 69, 55, 0.16);
}

.action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.action-btn-secondary {
  background: linear-gradient(135deg, var(--clay), #c97b5d);
}

.action-btn-ghost {
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  border: 1px solid rgba(25, 49, 38, 0.12);
  box-shadow: none;
}

.capture-status {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(36, 69, 55, 0.08);
  border: 1px solid rgba(36, 69, 55, 0.1);
  color: var(--ink-soft);
  line-height: 1.55;
}

.capture-status.is-error {
  background: rgba(183, 91, 57, 0.08);
  border-color: rgba(183, 91, 57, 0.18);
  color: #7e3f28;
}

.capture-status.is-success {
  background: rgba(184, 149, 68, 0.12);
  border-color: rgba(184, 149, 68, 0.18);
  color: var(--forest);
}

.investment-chart-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.history-subtitle {
  margin: 0;
  font-size: 0.94rem;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segment-btn,
.holding-pill,
.change-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.segment-btn {
  appearance: none;
  border: 1px solid rgba(25, 49, 38, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.segment-btn:hover {
  transform: translateY(-1px);
}

.segment-btn.is-active {
  background: linear-gradient(135deg, var(--forest), #2f674f);
  border-color: transparent;
  color: var(--paper-strong);
}

.tag-row {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(36, 69, 55, 0.09);
  border: 1px solid rgba(36, 69, 55, 0.12);
  font-weight: 700;
}

.creative-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.creative-shelf {
  display: grid;
  gap: 10px;
}

.creative-pill {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(25, 49, 38, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  padding: 12px 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.creative-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(25, 49, 38, 0.06);
}

.creative-pill.is-active {
  border-color: rgba(36, 69, 55, 0.18);
  background: linear-gradient(180deg, rgba(36, 69, 55, 0.10), rgba(255, 255, 255, 0.72));
}

.creative-pill-label {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.creative-pill-note {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.55;
}

.creative-focus {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(245, 237, 223, 0.76));
}

.creative-focus-label {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creative-focus-title {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.creative-focus-excerpt {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.creative-focus-body {
  display: grid;
  gap: 12px;
}

.creative-focus-paragraph {
  margin: 0;
  color: var(--ink);
  line-height: 1.8;
}

.running-recommendation {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(36, 69, 55, 0.12);
  background: linear-gradient(135deg, rgba(36, 69, 55, 0.11), rgba(183, 91, 57, 0.08), rgba(255, 255, 255, 0.84));
}

.running-brief-strip,
.running-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.running-carousel-shell {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.running-carousel-head,
.running-recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.running-carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.running-carousel-btn {
  min-height: 36px;
  padding: 8px 12px;
}

.running-recommendation-label,
.running-choice-brand,
.running-list-title {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.running-recommendation-title,
.running-choice-title {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  letter-spacing: -0.03em;
}

.running-recommendation-title {
  font-size: 1.45rem;
}

.running-recommendation-alt,
.running-choice-verdict,
.running-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.running-recommendation-alt,
.running-choice-verdict {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(25, 49, 38, 0.10);
}

.running-recommendation-copy,
.running-choice-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.running-carousel,
.running-score-row {
  display: grid;
  gap: 14px;
}

.running-carousel {
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.running-carousel::-webkit-scrollbar {
  height: 10px;
}

.running-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(36, 69, 55, 0.18);
}

.running-choice-card {
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(244, 236, 223, 0.78));
  box-shadow: 0 16px 30px rgba(25, 49, 38, 0.04);
  scroll-snap-align: start;
}

.running-choice-card.is-recommended {
  border-color: rgba(36, 69, 55, 0.18);
  box-shadow: 0 20px 38px rgba(25, 49, 38, 0.08);
}

.running-choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.running-choice-title {
  font-size: 1.3rem;
}

.running-chip {
  background: rgba(36, 69, 55, 0.08);
  border: 1px solid rgba(36, 69, 55, 0.10);
  color: var(--ink);
}

.running-score-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.running-score {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(25, 49, 38, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.running-score span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.running-score strong {
  font-size: 1.05rem;
}

.running-list-block {
  display: grid;
  gap: 8px;
}

.running-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.running-tradeoff,
.running-colorway {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.running-notes-grid {
  margin-top: 4px;
}

.running-source-link {
  justify-self: start;
}

.history-chart {
  display: block;
  width: 100%;
  height: 220px;
}

.history-chart-investments {
  height: 260px;
}

.history-grid {
  stroke: rgba(25, 49, 38, 0.08);
  stroke-width: 1;
}

.history-area {
  fill: rgba(36, 69, 55, 0.12);
}

.history-area.history-area-gradient {
  fill: url(#investmentAreaGradient);
}

.history-line {
  fill: none;
  stroke: var(--forest);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-point {
  fill: var(--clay);
}

.history-point-emphasis {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 2;
}

.history-axis-label,
.history-value-label {
  fill: rgba(25, 49, 38, 0.56);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.history-value-label {
  fill: var(--forest);
  font-size: 13px;
  font-weight: 700;
}

.history-footnote {
  margin-top: 10px;
}

.holding-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.holding-card {
  padding: 16px 17px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.9), rgba(244, 236, 223, 0.76));
}

.holding-head,
.holding-change-row,
.holding-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.holding-head {
  align-items: flex-start;
  margin-bottom: 12px;
}

.holding-symbol {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.holding-name {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.holding-value {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--forest);
  text-align: right;
}

.holding-pill-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.holding-pill {
  padding: 7px 11px;
  background: rgba(36, 69, 55, 0.08);
  border: 1px solid rgba(36, 69, 55, 0.1);
  color: var(--ink);
}

.holding-change-row {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.change-chip {
  padding: 8px 11px;
  border: 1px solid transparent;
}

.change-chip.is-positive {
  background: rgba(36, 69, 55, 0.10);
  color: var(--forest);
  border-color: rgba(36, 69, 55, 0.12);
}

.change-chip.is-negative {
  background: rgba(183, 91, 57, 0.10);
  color: #8a452d;
  border-color: rgba(183, 91, 57, 0.12);
}

.change-chip.is-flat {
  background: rgba(184, 149, 68, 0.10);
  color: #7f6630;
  border-color: rgba(184, 149, 68, 0.12);
}

.holding-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.employment-current-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(36, 69, 55, 0.12);
  background: linear-gradient(135deg, rgba(36, 69, 55, 0.10), rgba(183, 91, 57, 0.08), rgba(255, 255, 255, 0.76));
}

.employment-current-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.employment-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.employment-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--paper-strong);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--forest), #2f674f);
  box-shadow: 0 14px 28px rgba(25, 49, 38, 0.16);
}

.employment-logo.tone-clay {
  background: linear-gradient(135deg, #9f5439, #c97b5d);
}

.employment-logo.tone-gold {
  background: linear-gradient(135deg, #8d6e2d, #c29a4a);
}

.employment-logo.tone-ink {
  background: linear-gradient(135deg, #2e4038, #536154);
}

.employment-brand-label {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.employment-brand-title {
  margin: 0 0 4px;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.employment-brand-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.employment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.employment-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(25, 49, 38, 0.10);
  font-size: 0.84rem;
  font-weight: 700;
}

.employment-timeline {
  display: grid;
  gap: 12px;
}

.employment-timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.76);
}

.employment-timeline-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--paper-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--forest), #2f674f);
}

.employment-timeline-logo.tone-clay {
  background: linear-gradient(135deg, #9f5439, #c97b5d);
}

.employment-timeline-logo.tone-gold {
  background: linear-gradient(135deg, #8d6e2d, #c29a4a);
}

.employment-timeline-logo.tone-ink {
  background: linear-gradient(135deg, #2e4038, #536154);
}

.employment-timeline-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.employment-timeline-role {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.employment-timeline-meta,
.employment-timeline-range,
.employment-timeline-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.employment-timeline-range {
  font-weight: 700;
  white-space: nowrap;
}

.employment-timeline-note {
  margin-top: 6px;
}

.empty-state,
.error-state {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
}

.error-state {
  background: rgba(183, 91, 57, 0.08);
  border-style: solid;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .dual-grid,
  .list-pair,
  .value-grid,
  .investment-layout,
  .capture-grid {
    grid-template-columns: 1fr;
  }

  .triple-grid {
    grid-template-columns: 1fr;
  }

  .home-utility-row {
    grid-template-columns: 1fr;
  }

  .creative-layout {
    grid-template-columns: 1fr;
  }

  .running-score-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .left-nav-shell {
    width: 0;
    pointer-events: none;
  }

  .drawer-toggle {
    display: inline-flex;
    position: fixed;
    top: 16px;
    left: 14px;
    z-index: 24;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(25, 49, 38, 0.12);
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.92);
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    pointer-events: auto;
    backdrop-filter: blur(12px);
  }

  .drawer-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 21;
    opacity: 0;
    pointer-events: none;
    border: 0;
    background: rgba(25, 49, 38, 0.18);
    transition: opacity 180ms ease;
  }

  .left-nav-shell.is-open .drawer-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .side-drawer {
    top: 0;
    bottom: 0;
    left: 0;
    width: min(84vw, 300px);
    padding: 14px 10px 14px 10px;
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .left-nav-shell.is-open {
    pointer-events: auto;
  }

  .left-nav-shell.is-open .side-drawer {
    transform: translateX(0);
  }

  .drawer-inner {
    max-height: none;
    height: 100%;
    border-right: 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-left: 0;
    border-radius: 0 24px 24px 0;
    box-shadow: 18px 0 56px rgba(25, 49, 38, 0.14);
  }

  .life-shell {
    width: min(100vw - 18px, 1320px);
    padding-top: 72px;
  }

  body[data-drawer="sidebar"] .life-shell {
    width: min(100vw - 18px, 1320px);
    margin: 0 auto;
  }

  .panel {
    padding: 20px;
    border-radius: 22px;
  }

  .home-hero {
    min-height: 0;
    padding: 24px 20px 22px;
  }

  .home-capture-shell {
    padding: 16px;
  }

  .hero-title {
    max-width: none;
    font-size: 1.55rem;
  }

  .stat-card-grid {
    grid-template-columns: 1fr;
  }

  .stat-card-grid-investments {
    grid-template-columns: 1fr;
  }

  .employment-current-top,
  .employment-timeline-top,
  .running-carousel-head,
  .running-recommendation-head,
  .running-choice-head {
    flex-direction: column;
  }

  .running-carousel {
    grid-auto-columns: 84vw;
  }

  .investment-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
