
/* Layout: one calm column. Goal on top, your 3 next, clients below, Claude's work folded away. Strategos brand: espresso, gold, cream. */
:root {
  --bg: #F7F3EA;
  --surface: #FFFDF8;
  --ink: #1F1915;
  --ink-2: #5A4D3D;
  --muted: #8B7E6A;
  --line: #E6DCC8;
  --gold: #B8902F;
  --gold-soft: #F1E3BC;
  --track: #EDE4D2;
  --wait: #D9C9A3;
  --ok: #3F7350;
  --ok-soft: #E2EEE4;
  --warn: #A8442F;
  --warn-soft: #F6E1DA;
  --btn: #2C2520;
  --btn-ink: #F3D58A;
  --display: "Cinzel", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17130F; --surface: #211B16; --ink: #F2EADB; --ink-2: #CDBFA6; --muted: #9A8C76;
    --line: #382E25; --gold: #E0B95A; --gold-soft: #3A2F1A; --track: #2E261F; --wait: #6B5A3A;
    --ok: #7FB48F; --ok-soft: #1E2E23; --warn: #E58E77; --warn-soft: #3A221C; --btn: #E0B95A; --btn-ink: #1B1613;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17130F; --surface: #211B16; --ink: #F2EADB; --ink-2: #CDBFA6; --muted: #9A8C76;
  --line: #382E25; --gold: #E0B95A; --gold-soft: #3A2F1A; --track: #2E261F; --wait: #6B5A3A;
  --ok: #7FB48F; --ok-soft: #1E2E23; --warn: #E58E77; --warn-soft: #3A221C; --btn: #E0B95A; --btn-ink: #1B1613;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; }
.wrap { max-width: 880px; margin: 0 auto; padding-inline: 20px; padding-block: 28px 64px; display: grid; gap: 36px; }

.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 700; letter-spacing: .08em; font-size: 15px; color: var(--gold); }
.date { color: var(--muted); font-size: 13px; }
.mock { font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 2px 10px; }

/* Goal */
.goal { display: grid; gap: 14px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.big .n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 9vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.big .of { font-size: 18px; color: var(--ink-2); }
.bar { position: relative; height: 18px; border-radius: 999px; background: var(--track); overflow: visible; }
.bar .landed { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--gold); }
.bar .waiting { position: absolute; top: 0; bottom: 0; border-radius: 0 999px 999px 0;
  background: repeating-linear-gradient(135deg, var(--wait) 0 6px, transparent 6px 11px); }
.bar .pace { position: absolute; top: -7px; bottom: -7px; width: 2px; background: var(--ink); }
.bar .pace span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; white-space: nowrap; color: var(--ink-2); font-weight: 600; }
.legend { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .l1 { background: var(--gold); }
.legend .l2 { background: repeating-linear-gradient(135deg, var(--wait) 0 3px, transparent 3px 5px); border: 1px solid var(--wait); }
.verdict { font-size: 16px; color: var(--ink); max-width: 62ch; }
.verdict b { color: var(--warn); }

/* Your 3 */
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0; letter-spacing: .02em; }
.sec-h .hint { font-size: 13px; color: var(--muted); }
.mine { display: grid; gap: 12px; }
.task { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: start; }
.task h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.task .money { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.task .why { grid-column: 1 / -1; color: var(--ink-2); margin: 0; }
.task .client { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
.task .client b { color: var(--ink-2); font-weight: 600; }
.task .act { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.btn { font: inherit; font-weight: 600; border: 0; border-radius: 10px; padding: 9px 18px; background: var(--btn); color: var(--btn-ink); cursor: pointer; }
.btn:focus-visible, .ghost:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ghost { font: inherit; border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.act input { font: inherit; width: 120px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg); color: var(--ink); }
.late { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 2px 9px; }
.done-msg { font-size: 13px; color: var(--ok); font-weight: 600; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cl { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.cl .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cl h4 { margin: 0; font-size: 15px; font-weight: 700; }
.cl .worth { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl p { margin: 0; font-size: 14px; color: var(--ink-2); }
.cl .missing { color: var(--warn); font-style: italic; }
.chip { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: .04em; border-radius: 999px; padding: 2px 9px; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.neutral { background: var(--gold-soft); color: var(--ink-2); }

.pipe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pipe span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); background: var(--surface); }
.pipe b { color: var(--ink); font-weight: 600; }

/* Today question */
.today { display: grid; gap: 14px; }
.q { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 5.5vw, 38px); line-height: 1.15; margin: 0; text-wrap: balance; }
.ask { display: flex; gap: 8px; flex-wrap: wrap; }
.ask input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); color: var(--ink); }
.moved { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--muted); background: var(--surface); font-variant-numeric: tabular-nums; }
.pill.on { color: var(--ink); border-color: var(--gold); background: var(--gold-soft); }
.state { font-size: 12px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 4px 12px; }
.state.ok { background: var(--ok-soft); color: var(--ok); }
/* Week score */
.week { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.meter { display: grid; gap: 8px; min-width: 0; }
.mrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-2); }
.mrow b { font-family: var(--display); font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrow small { font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 500; }
.mbar { height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; }
.mbar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.days { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.d { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); }
.d.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.days em { font-style: normal; font-size: 13px; color: var(--ink-2); margin-left: 6px; }
@media (max-width: 560px) { .week { grid-template-columns: 1fr; } }

details.claude { border-top: 1px solid var(--line); padding-top: 16px; }
details.claude summary { cursor: pointer; color: var(--ink-2); font-size: 15px; list-style: none; }
details.claude summary::-webkit-details-marker { display: none; }
details.claude summary b { font-family: var(--display); color: var(--gold); font-size: 18px; }
details.claude ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }

@media (max-width: 520px) {
  .task { grid-template-columns: 1fr; }
  .task .money { order: -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .bar .landed, .bar .waiting { transition: width .8s ease; }
}

/* live page additions */
.top a.nav-link { font-size: 13px; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.top a.nav-link:hover { border-color: var(--gold); }
.needle-set { font-size: 15px; color: var(--ink); background: var(--gold-soft); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.needle-set b { font-weight: 600; }
.state.warn { background: var(--warn-soft); color: var(--warn); }
.d.today { outline: 2px solid var(--gold); outline-offset: 1px; }
.empty-now { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink-2); }
.err { color: var(--warn); }
.loading { color: var(--muted); }
.claude-list { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }

.cl .row { flex-direction: column; align-items: flex-start; gap: 2px; }
.cl .worth { white-space: normal; font-size: 12px; color: var(--muted); }
.gap { margin: 12px 0 0; font-size: 13px; color: var(--warn); }
.pipe span { max-width: 100%; }
