/* 90-Day Command Center: mission-control dark theme. Tokens first. Mobile first. */
:root {
  --bg: #060a13;
  --bg-2: #0a1020;
  --panel: #0e1526;
  --panel-2: #131c31;
  --line: #1c2842;
  --line-2: #27365a;
  --text: #e9eef8;
  --text-2: #9ba8c2;
  --text-3: #66738f;
  --blue: #3d8bff;
  --blue-ink: #04122b;
  --green: #2fd07a;
  --yellow: #f2c230;
  --red: #ff5d5d;
  --gold: #f5b83d;
  --radius: 10px;
  --radius-sm: 6px;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --tabbar-h: 64px;
  --side-w: 232px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; min-height: 100vh; min-height: 100dvh; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.01em; margin: 0; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.green { color: var(--green); } .yellow { color: var(--yellow); } .red { color: var(--red); } .blue { color: var(--blue); } .gold { color: var(--gold); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ------------------------------------------------------------ layout */
.app { min-height: 100vh; min-height: 100dvh; }
.side { display: none; }
.main { min-width: 0; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px); }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(6, 10, 19, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .where { min-width: 0; }
.topbar .where .t { font-family: var(--f-display); font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .where .s { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .daychip { flex: none; }
.view:focus { outline: none; }
.view { padding: 16px; max-width: 1180px; margin: 0 auto; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 16, 32, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 500; min-height: 44px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--text); }
.tabbar a[aria-current="page"] svg { color: var(--blue); }

@media (min-width: 960px) {
  .app { display: grid; grid-template-columns: var(--side-w) 1fr; }
  .side {
    display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh;
    padding: 20px 12px; border-right: 1px solid var(--line); background: var(--bg-2);
  }
  .main { padding-bottom: 32px; }
  .tabbar { display: none; }
  .topbar { padding: 14px 28px; }
  .view { padding: 24px 28px; }
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.brand svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.brand .n { font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.15; }
.brand .n span { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); letter-spacing: 0.14em; text-transform: uppercase; }
.side a.nav {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-2); text-decoration: none; font-weight: 500;
}
.side a.nav svg { width: 19px; height: 19px; flex: none; }
.side a.nav:hover { background: var(--panel); color: var(--text); }
.side a.nav[aria-current="page"] { background: var(--panel-2); color: var(--text); box-shadow: inset 2px 0 0 var(--blue); }
.side .sep { height: 1px; background: var(--line); margin: 10px 8px; }
.side .grow { flex: 1; }

/* ------------------------------------------------------------ panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel + .panel, .stack > * + * { margin-top: 12px; }
.panel h2 { font-size: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------ challenge block */
.challenge { position: relative; overflow: hidden; }
.challenge .dayline { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.challenge .day { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 9vw, 52px); line-height: 1; }
.challenge .of { color: var(--text-2); font-size: 16px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.countdown .tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 4px 6px; text-align: center; }
.countdown .n { font-family: var(--f-mono); font-size: clamp(22px, 6vw, 30px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown .u { font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.meta-row b { color: var(--text); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; margin-top: 12px; }
.bar > i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }

/* ------------------------------------------------------------- chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.plain::before { display: none; }
.chip.green { color: var(--green); border-color: rgba(47, 208, 122, 0.4); }
.chip.yellow { color: var(--yellow); border-color: rgba(242, 194, 48, 0.4); }
.chip.red { color: var(--red); border-color: rgba(255, 93, 93, 0.45); }
.chip.blue { color: var(--blue); border-color: rgba(61, 139, 255, 0.45); }
.chip.gold { color: var(--gold); border-color: rgba(245, 184, 61, 0.45); }

/* ------------------------------------------------------------- forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--text-3); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: rgba(255, 93, 93, 0.5); color: var(--red); }
.btn.sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.field { display: block; }
.field + .field { margin-top: 12px; }
.field > span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field .hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font-size: 16px; /* 16px stops iOS from zooming on focus */
}
.input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.2); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.notice { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; border: 1px solid var(--line-2); background: var(--panel-2); }
.notice.ok { border-color: rgba(47, 208, 122, 0.4); color: #bff3d6; }
.notice.err { border-color: rgba(255, 93, 93, 0.45); color: #ffc9c9; }
.notice.info { border-color: rgba(61, 139, 255, 0.4); color: #cfe0ff; }

/* ---------------------------------------------------------- auth pages */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .brand { justify-content: center; padding-bottom: 8px; }
.auth-card h1 { font-size: 26px; text-align: center; }
.auth-card .tag { text-align: center; color: var(--gold); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin: 6px 0 20px; font-weight: 600; }

/* --------------------------------------------------------------- lists */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .name { font-weight: 600; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 700; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); }

/* ---------------------------------------------------------- more sheet */
.sheet-list a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); font-weight: 500; }
.sheet-list a:first-child { border-top: 0; }
.sheet-list svg { width: 20px; height: 20px; color: var(--text-2); }

.empty { text-align: center; padding: 28px 16px; color: var(--text-2); }
.empty h2 { color: var(--text); margin-bottom: 6px; font-size: 18px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--blue); animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ============================================================ Phase 3–4 */
.small { font-size: 13px; }
.row.nowrap { flex-wrap: nowrap; }
.row.nowrap .input { min-width: 0; }
.input.narrow { width: 84px; flex: none; }
.bar.thin { height: 5px; margin-top: 8px; }

/* challenge strip */
.strip { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.strip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.strip-day { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--gold); }
.strip-clock { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.strip-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.strip .bar > i { background: var(--gold); }

/* what do I need to do today */
.hero { border-color: rgba(61, 139, 255, 0.45); box-shadow: inset 3px 0 0 var(--blue); }
.hero.done { border-color: rgba(47, 208, 122, 0.45); box-shadow: inset 3px 0 0 var(--green); }
.hero-action { display: block; margin-top: 6px; color: var(--text); text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.2; }
.hero-action:hover { color: #cfe0ff; }
.ns-title { font-size: clamp(20px, 5vw, 26px); margin-top: 6px; line-height: 1.2; }

/* where I should be / where I am */
.tiles { gap: 10px; grid-template-columns: 1fr 1fr; }
.tile-stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.tile-stat .big { font-family: var(--f-mono); font-size: clamp(18px, 5.4vw, 26px); line-height: 1.25; margin: 4px 0 2px; overflow-wrap: anywhere; }

/* outcome pace / execution */
.status-box .chip { margin-top: 6px; }
.status-box p { margin: 8px 0 0; }

/* today's mission */
.mission { list-style: none; margin: 0; padding: 0; }
.mission li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.mission li:first-child { border-top: 0; }
.mission li .name { font-weight: 600; color: var(--text); text-decoration: none; }
.mission li.complete .name { color: var(--text-2); }
.mission .check { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 13px; color: var(--bg); }
.mission li.complete .check { background: var(--green); border-color: var(--green); }
.mission input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--green); flex: none; }
.btn.step { min-width: 44px; min-height: 40px; font-size: 16px; }

/* quick check-in */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mood { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; min-height: 72px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; text-align: center; }
.mood .dot { width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.mood.green { color: var(--green); } .mood.yellow { color: var(--yellow); } .mood.red { color: var(--red); }
.mood.on { background: color-mix(in srgb, currentColor 16%, var(--bg-2)); border-color: currentColor; }
.toggle { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.toggle input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.toggle.disabled { opacity: 0.5; cursor: not-allowed; }

/* choices & chips (onboarding, privacy, setup) */
.choice-list { display: grid; gap: 8px; }
.choice { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; min-height: 56px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer; }
.choice.on { border-color: var(--blue); background: rgba(61, 139, 255, 0.1); box-shadow: inset 3px 0 0 var(--blue); }
.choice-title { font-weight: 700; }
.choice-text { font-size: 13px; color: var(--text-2); }
@media (min-width: 720px) { .choice-list.compact { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 36px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip-btn:hover { color: var(--text); }
.chip-btn.on { border-color: var(--blue); color: var(--text); background: rgba(61, 139, 255, 0.14); }
details.panel > summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.yn { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* onboarding */
.onboarding { max-width: 640px; margin: 0 auto; }
.ob-head { margin-bottom: 14px; }
.ob-head .bar > i { background: var(--blue); }
.ob-q { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
.ob-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 8px); background: linear-gradient(180deg, transparent, var(--bg) 30%); padding-top: 12px; }
.ob-nav .btn.primary { flex: 1; }
@media (min-width: 960px) { .ob-nav { bottom: 8px; } }
.ms-row { display: grid; gap: 8px; }
textarea.input { resize: vertical; line-height: 1.4; }

/* privacy preview */
.preview-card { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 12px 14px; background: var(--bg-2); }
.preview-card .name { font-weight: 700; }
.pv-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.pv-line:first-of-type { margin-top: 10px; }

/* ============================================================ V1 completion */
/* Grids own their spacing; the stacked-panel margin must not push grid cells. */
.grid > .panel + .panel, .grid > * + * { margin-top: 0; }
.grid.four { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.grid.three { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid.three { grid-template-columns: 2fr 1.4fr 1fr; } }

/* Outcome pace + Execution: always side by side, equal width and height */
.status-pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
.status-pair .status-box { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; height: 100%; }
.status-pair .status-box p { margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .status-pair .status-box { padding: 12px; } .status-pair .status-box p { font-size: 12px; } }

.right-col { text-align: right; flex: none; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.meter { height: 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; min-width: 60px; }
.meter > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.meter.met > i { background: var(--green); }

/* progress chart (actual #3d8bff vs target pace #b8801c, validated for the dark surface) */
:root { --chart-actual: #3d8bff; --chart-target: #b8801c; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--text-3); font-size: 11px; font-family: var(--f-body); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.actual { stroke: var(--chart-actual); }
.chart .line.target { stroke: var(--chart-target); stroke-dasharray: 6 5; }
.chart .pt.actual { fill: var(--chart-actual); stroke: var(--panel); stroke-width: 2; }
.chart .pt.target { fill: var(--chart-target); stroke: var(--panel); stroke-width: 2; }
.chart .today { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .cross { stroke: var(--text-2); stroke-width: 1; }
.chart .lbl { font-size: 11px; font-weight: 600; fill: var(--text-2); font-family: var(--f-body); }
.chart-tip { position: absolute; top: 6px; left: 0; pointer-events: none; opacity: 0; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 12px; min-width: 150px; transition: opacity 0.1s; }
.chart-tip.on { opacity: 1; }
.sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--chart-actual); }
.sw.target { background: var(--chart-target); }
.sw.dashed { background: repeating-linear-gradient(90deg, var(--chart-target) 0 5px, transparent 5px 8px); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--text-2); align-items: center; }
.stats { margin-top: 12px; }

/* habit bars */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: flex; align-items: center; gap: 10px; }

/* milestone roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; position: relative; }
.roadmap li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; position: relative; }
.roadmap li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 32px; bottom: -8px; width: 2px; background: var(--line-2); }
.roadmap .node { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; font-size: 12px; color: var(--bg); }
.roadmap li.done .node { background: var(--green); border-color: var(--green); }
.roadmap li.overdue .node { border-color: var(--red); }
.roadmap .name { font-weight: 600; }

/* check-in calendar */
.calendar { display: grid; grid-template-columns: repeat(auto-fill, minmax(18px, 1fr)); gap: 4px; }
.cal { display: inline-block; width: 100%; aspect-ratio: 1; min-width: 14px; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); }
.legend .cal { width: 12px; min-width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; }
.cal.done.m-crushed { background: var(--green); border-color: var(--green); }
.cal.done.m-progress { background: var(--yellow); border-color: var(--yellow); }
.cal.done.m-missed { background: #8a5a2b; border-color: #8a5a2b; }
.cal.missed { background: transparent; border: 2px solid var(--red); }
.cal.open { border: 2px dashed var(--blue); }
.cal.off { opacity: 0.45; }

/* my crew */
.crew-health .big { font-family: var(--f-mono); font-size: 24px; }
.crew-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .crew-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .crew-grid { grid-template-columns: repeat(3, 1fr); } }
.crew-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.crew-card.pending { opacity: 0.6; border-style: dashed; }
.cc-head { display: flex; gap: 10px; align-items: flex-start; }
.cc-head .name { font-weight: 700; }
.cc-goal { font-size: 13px; overflow-wrap: anywhere; }
.cc-progress { display: flex; align-items: center; gap: 10px; }
.cc-progress .meter { flex: 1; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-meta:empty { display: none; }

/* wins & help */
.big-actions { grid-template-columns: 1fr 1fr; }
.big-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; border-radius: var(--radius); border: 1px solid rgba(245, 184, 61, 0.45); background: var(--panel); color: var(--text); font-family: var(--f-display); font-weight: 700; font-size: 16px; cursor: pointer; }
.big-action.help { border-color: rgba(255, 93, 93, 0.45); }
.big-action.on { background: var(--panel-2); box-shadow: inset 0 0 0 1px currentColor; }
.big-action .emoji { font-size: 26px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.feed-item:first-child { border-top: 0; }
.feed-item .name { font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.feed-icon { font-size: 20px; flex: none; width: 28px; text-align: center; }
.feed-item.help.resolved { opacity: 0.7; }

/* commitments */
.grade-row { flex-direction: column; align-items: stretch !important; gap: 8px; }
.btn.grade.on.green { background: rgba(47, 208, 122, 0.18); border-color: var(--green); color: var(--green); }
.btn.grade.on.yellow { background: rgba(242, 194, 48, 0.16); border-color: var(--yellow); color: var(--yellow); }
.btn.grade.on.red { background: rgba(255, 93, 93, 0.16); border-color: var(--red); color: var(--red); }
.history { list-style: none; margin: 0; padding: 0; }
.history > li { padding: 10px 0; border-top: 1px solid var(--line); }
.history > li:first-child { border-top: 0; }

/* calls */
.calls-list > li { flex-direction: column; align-items: stretch; gap: 6px; }
.narrow-select { width: auto; max-width: 42%; flex: none; }
