/* SAM design tokens and shared components, taken from the MVP design boards. */
:root {
  /* Clean light: light sidebar, black actions, calm cards (design board "Clean light") */
  --ink: #111114; --ink-2: #3A3B42; --muted: #6E7079; --faint: #8E9099; --line: #ECECEF; --line-2: #F1F1F4; --border: #E2E2E7;
  --bg: #FCFCFD; --panel: #FFFFFF; --panel-2: #FAFAFC; --panel-3: #FAFAFC; --grey-soft: #F4F4F6; --seg: #F1F1F4;
  /* "teal" is the action colour: black. Positive states use green. */
  --teal: #111114; --teal-dark: #111114; --teal-soft: #EAF6EE; --teal-line: #CBE7D4; --teal-glow: #23794A; --teal-ink-on-dark: #CBE7D4;
  --green: #23794A; --green-soft: #EAF6EE;
  --amber: #E8B23A; --amber-dark: #B7861A; --amber-soft: #FDF4E1; --amber-ink: #8A5A00; --amber-wash: #FFFBF2; --amber-line: #F1DDAE;
  --blue-soft: #EDF0FA; --blue-ink: #2F4A8F; --blue: #4A64B0;
  /* SAM's own colour, from the orb */
  --purple-soft: #EEF0FF; --purple-ink: #3F4BC4; --purple-line: #D5DAFB; --sam: #4450C8; --sam-soft: #F3F4FF;
  --orange-soft: #FBEEDF; --red-soft: #FBE5E1; --red-ink: #9B2C1F;
  --side: #FFFFFF; --side-2: #F4F4F6; --side-3: #F4F4F6; --side-ink: #3A3B42; --side-muted: #8E9099; --side-label: #9A9CA4;
  --dark-sub: #6E7079;
  --shadow: 0 1px 2px rgba(17,17,20,.03), 0 20px 48px -34px rgba(40,44,90,.22);
  --mono: 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; }
a { color: var(--teal); } a:hover { color: var(--teal-dark); }
::placeholder { color: #6B717C; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes samPulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.sam-pulse { animation: samPulse 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sam-pulse { animation: none; } }

/* ---------- layout ---------- */
.layout { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 232px; max-width: 280px; background: var(--side); color: #F4F5F7; padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.main { flex: 999 1 560px; min-width: 0; padding: 32px 48px 56px; }
.main.chat-main { padding: 28px 32px 0; }
.wrap { max-width: 1180px; display: flex; flex-direction: column; gap: 24px; }
.wrap.wide { max-width: 1240px; }
@media (max-width: 860px) {
  .side { position: static; height: auto; max-width: none; flex-basis: 100%; }
  .main, .main.chat-main { padding: 20px 16px 40px; }
}

/* ---------- sidebar ---------- */
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; text-decoration: none; color: inherit; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; }
.brand b { font-weight: 700; font-size: 17px; letter-spacing: .02em; display: block; }
.brand small { font-size: 12px; color: var(--side-muted); }
.nav-chat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; min-height: 48px; border-radius: 10px; background: var(--side-2); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.nav-chat[aria-current="page"] { background: var(--side-3); box-shadow: inset 0 0 0 1px #3B4250; }
.nav-chat:hover, .nav-link:hover, .nav-init:hover { color: #fff; background: var(--side-3); }
.nav-chat > span { display: flex; align-items: center; gap: 10px; }
.badge-new { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--amber); color: var(--ink); white-space: nowrap; }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px; border-radius: 8px; color: var(--side-ink); font-size: 14px; text-decoration: none; }
.nav-link[aria-current="page"] { background: var(--side-3); color: #fff; font-weight: 600; }
.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--side-label); padding: 0 12px 6px; }
.nav-init { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; min-height: 44px; border-radius: 8px; color: var(--side-ink); text-decoration: none; }
.nav-init[aria-current="page"] { background: var(--side-3); color: #fff; }
.nav-init b { font-size: 14px; font-weight: 600; }
.nav-init small { font-size: 11px; color: var(--side-muted); }
.me { margin-top: auto; position: relative; }
.me-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: var(--side-2); border: none; color: #F4F5F7; cursor: pointer; text-align: left; }
.me-btn:hover { background: var(--side-3); }
.av { width: 34px; height: 34px; border-radius: 50%; background: #3B4250; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: 0 0 34px; }
.me-btn b { font-size: 14px; font-weight: 600; display: block; }
.me-btn small { font-size: 12px; color: var(--side-muted); }
.me-btn .swap { margin-left: auto; color: var(--side-muted); }
.me-menu { position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.35); padding: 8px; display: flex; flex-direction: column; gap: 2px; z-index: 20; max-height: 70vh; overflow-y: auto; }
.me-menu[hidden] { display: none; }
.me-menu .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 10px 4px; }
.me-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border-radius: 8px; border: none; background: transparent; cursor: pointer; text-align: left; min-height: 44px; }
.me-menu button:hover, .me-menu button[aria-current="true"] { background: var(--grey-soft); }
.me-menu button b { font-size: 14px; font-weight: 600; }
.me-menu button small { font-size: 12px; color: var(--muted); }
.me-menu select { margin: 4px 6px 6px; min-height: 40px; border-radius: 8px; border: 1px solid var(--border); padding: 0 8px; font: inherit; font-size: 13px; }

/* ---------- shared pieces ---------- */
.card { padding: 20px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.card.big { padding: 24px 26px; border-radius: 16px; }
.card.accent { border: 2px solid var(--teal); }
.dark { padding: 16px 20px; border-radius: 14px; background: var(--ink); color: #F4F5F7; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.label-caps { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.h2 { font-size: 16px; font-weight: 700; }
.h2.lg { font-size: 18px; }
.row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.sam-av { background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--grey-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: none; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 13px; }
.btn.ghost { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.btn.ghost:hover { background: var(--grey-soft); color: var(--ink); }
.btn.outline { background: #fff; border: 1px solid var(--teal); color: var(--teal-dark); }
.btn:disabled { opacity: .5; cursor: default; }
.link-btn { min-height: 32px; padding: 0 6px; border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--teal); cursor: pointer; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--seg); flex-wrap: wrap; }
.seg button { min-height: 40px; padding: 0 16px; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; background: transparent; color: var(--muted); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: #fff; color: var(--ink); font-weight: 600; }
.seg.sm { padding: 3px; border-radius: 9px; }
.seg.sm button { min-height: 34px; padding: 0 10px; font-size: 13px; border-radius: 7px; color: var(--ink); }
.status-line { font-size: 14px; font-weight: 600; color: var(--teal-dark); }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 14px; }
.waiting-note { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--panel-2); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .2s; z-index: 50; max-width: min(560px, 90vw); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 40px; color: var(--muted); }

/* ---------- initiative header + tabs ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { font-weight: 600; text-decoration: none; }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.title-row h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.meta { font-size: 14px; color: var(--muted); }
.meta strong { color: var(--ink); font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.tabs a[aria-current="page"] { font-weight: 700; color: var(--ink); box-shadow: inset 0 -3px 0 var(--teal); }
.rebuild-note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--amber-wash); border: 1px solid var(--amber-line); font-size: 13px; font-weight: 600; color: var(--amber-ink); }
.rebuild-note.blocked { background: var(--red-soft); border-color: #F0B8AF; color: var(--red-ink); }

/* tooltips on charts */
.tip { position: relative; outline: none; }
.tip .tipbox { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 6px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 5; }
.tip:hover .tipbox, .tip:focus .tipbox { opacity: 1; }
.tip:hover, .tip:focus { z-index: 4; }
.tip:focus-visible { box-shadow: 0 0 0 2px var(--teal); border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .tip .tipbox { transition: none; } }

/* ---------- version bar, versions, data viewer ---------- */
.verbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.verbar b { color: var(--ink); }
.versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.versions ol { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow-y: auto; }
.versions li { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.versions .link-btn[aria-current="true"] { color: var(--ink); text-decoration: underline; }
.modal { position: fixed; inset: 0; background: rgba(21,23,28,.5); display: flex; align-items: center; justify-content: center; z-index: 40; padding: 24px; }
.modal-box { background: #fff; border-radius: 14px; padding: 18px; width: min(900px, 100%); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; }
.modal-box pre { margin: 0; overflow: auto; font: 12px/1.5 var(--mono); background: var(--panel-2); border-radius: 10px; padding: 12px; }
.rebuild-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dark); flex: 0 0 8px; }

/* ---------- design kit for generated pages (see playbooks/shared/page.md) ---------- */
.gen { display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 1.5; }
.gen .stack { display: flex; flex-direction: column; gap: 16px; }
.gen .stack.tight { gap: 8px; }
.gen .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gen .row.between { justify-content: space-between; }
.gen .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.gen .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gen .card { padding: 20px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gen .card.accent { border: 2px solid var(--teal); }
.gen .card.dashed { border: 1px dashed var(--border); background: transparent; }
.gen .card.soft { background: var(--panel-2); }
.gen .card.amber { background: var(--amber-wash); border: 1px solid var(--amber-line); }
.gen .card.purple { border-color: var(--purple-line); background: #FCFBFF; }
.gen .band { padding: 16px 20px; border-radius: 14px; background: var(--ink); color: #F4F5F7; display: flex; flex-direction: column; gap: 4px; }
.gen .band .muted, .gen .band p { color: var(--dark-sub); }
.gen .band .eyebrow { color: var(--teal-ink-on-dark); }
.gen .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-glow); margin-right: 6px; animation: samPulse 2.2s ease-in-out infinite; }
.gen .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.gen .eyebrow.amber { color: var(--amber-ink); } .gen .eyebrow.blue { color: var(--blue-ink); } .gen .eyebrow.purple { color: var(--purple-ink); } .gen .eyebrow.grey { color: var(--muted); }
.gen .title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.gen .title.lg { font-size: 22px; }
.gen h2, .gen h3, .gen h4 { margin: 0; }
.gen h2 { font-size: 18px; } .gen h3 { font-size: 16px; } .gen h4 { font-size: 14px; }
.gen p { margin: 0; }
.gen .lead { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.gen .muted { font-size: 13px; color: var(--muted); }
.gen .big { font-size: 26px; font-weight: 700; line-height: 1.1; }
.gen .big.teal { color: var(--teal-dark); }
.gen ul, .gen ol { margin: 0; padding-left: 18px; }
.gen .pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--grey-soft); color: var(--ink-2); border: 1px solid transparent; }
.gen .pill.teal { background: var(--teal-soft); color: var(--teal-dark); } .gen .pill.blue { background: var(--blue-soft); color: var(--blue-ink); }
.gen .pill.amber { background: var(--amber-soft); color: var(--amber-ink); } .gen .pill.purple { background: var(--purple-soft); color: var(--purple-ink); }
.gen .pill.red { background: var(--red-soft); color: var(--red-ink); } .gen .pill.orange { background: var(--orange-soft); color: var(--amber-ink); }
.gen .pill.now { background: var(--amber-soft); color: var(--amber-ink); border-color: var(--amber-dark); font-weight: 700; }
.gen .pill.done { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal-line); }
.gen .pill.todo { background: #fff; color: var(--muted); border-color: var(--line); }
.gen .chip { display: inline-block; font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--grey-soft); margin: 0 4px 4px 0; }
.gen .path { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.gen .path li { display: flex; align-items: center; gap: 4px; }
.gen .path li + li::before { content: '→'; color: #C9CED6; font-size: 11px; margin-right: 2px; }
.gen .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.gen .kv dt { color: var(--muted); } .gen .kv dd { margin: 0; font-weight: 500; }
.gen .bar { position: relative; height: 10px; border-radius: 0 5px 5px 0; background: var(--line-2); overflow: hidden; flex: 1 1 auto; min-width: 60px; }
.gen .bar.thick { height: 18px; }
.gen .bar > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 5px 5px 0; background: var(--teal); }
.gen .bar > span + span { background: #D5D9E0; z-index: -1; }
.gen .bar.amber > span { background: var(--amber-dark); } .gen .bar.grey > span { background: #D5D9E0; } .gen .bar.blue > span { background: var(--blue); }
.gen .bar.dashed > span { background: transparent; border: 1px dashed var(--faint); box-sizing: border-box; }
.gen .barrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.gen .barrow .label { flex: 0 0 240px; font-weight: 600; min-width: 0; }
.gen .barrow .val { flex: 0 0 auto; font-size: 12px; color: var(--ink-2); }
.gen .eq { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gen .eq li { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); min-width: 84px; }
.gen .eq li b { font-size: 16px; white-space: nowrap; } .gen .eq li small { font-size: 11px; color: var(--muted); }
.gen .eq li.op { border: none; background: none; min-width: 0; padding: 0; font-weight: 700; color: var(--faint); }
.gen .eq li.res { border-color: var(--ink); } .gen .eq li.win { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-dark); }
.gen .gates { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gen .gates li { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; font-size: 13px; }
.gen .gates li::before { content: ''; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; border: 2px dashed var(--border); box-sizing: border-box; }
.gen .gates li.done::before { content: '✓'; border: none; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gen .gates li.doing::before { border: 2px solid var(--amber-dark); }
.gen .gates li b { font-weight: 700; } .gen .gates li span { color: var(--muted); font-size: 12px; }
.gen .gates li.todo b { color: var(--muted); }
.gen .ladder { list-style: none; padding: 0; display: flex; gap: 3px; }
.gen .ladder li { flex: 1 1 0; font-size: 10px; color: var(--faint); padding-top: 10px; position: relative; }
.gen .ladder li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 999px; background: var(--line); }
.gen .ladder li.on::before, .gen .ladder li.cur::before { background: var(--teal); }
.gen .ladder li.cur { color: var(--teal-dark); font-weight: 700; }
.gen .log { list-style: none; padding: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gen .log li { display: grid; grid-template-columns: 48px auto 1fr; gap: 12px; align-items: start; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.gen .log li:last-child { border-bottom: none; }
.gen .log li > div { display: flex; flex-direction: column; gap: 2px; }
.gen .log .when { font-size: 12px; color: var(--muted); padding-top: 3px; }
.gen .found { list-style: none; padding: 0; }
.gen .found li { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line-2); }
.gen .found li > b { flex: 999 1 240px; font-size: 15px; }
.gen .found .n { flex: 0 0 22px; color: var(--muted); font-weight: 600; font-size: 13px; }
.gen .sam-av { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: var(--teal); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: 0 0 28px; }
.gen .btn.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.gen svg { max-width: 100%; height: auto; }
.gen a { font-weight: 600; }
.gen.readonly [data-decide] { opacity: .45; cursor: not-allowed; }

[hidden] { display: none !important; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- chat ---------- */
.chat-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.chat-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; }
.msg.me { flex-direction: column; align-items: flex-end; gap: 6px; }
.msg .bubble { max-width: 560px; padding: 10px 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.msg.sam .bubble { border-radius: 4px 14px 14px 14px; background: #fff; border: 1px solid var(--line); }
.msg.sam .bubble.sam-pulse { color: var(--muted); }
.msg.me .bubble { border-radius: 14px 4px 14px 14px; background: var(--teal); color: #fff; }
.filed { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--teal-dark); }
.sep { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
.sep::before, .sep::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.earlier { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.earlier .link-btn { padding: 0; min-height: 28px; font-size: 13px; }
.past { width: 100%; font-size: 13px; border-left: 2px solid var(--line); padding-left: 10px; }
.past summary { cursor: pointer; padding: 4px 0; }
.past-body { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; color: var(--ink-2); }
.past-body p { margin: 0; line-height: 1.45; }
.empty-chat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--border); color: var(--muted); }
.anon { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.anon[aria-pressed="true"] { background: var(--grey-soft); }
.av-sm { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }

.progress { position: sticky; top: 0; z-index: 3; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 0 0 8px var(--bg); }
.progress.ready { border-color: var(--teal); }
.progress ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.progress li { flex: 1 1 0; height: 5px; border-radius: 999px; background: var(--line); }
.progress li.done { background: var(--teal); }
.progress li.now { background: var(--amber); }
.progress.ready li.now { background: var(--teal); }
.progress-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); }
.progress-row > span:first-child { display: flex; gap: 6px; min-width: 0; }
.progress-row .mono { font-size: 12px; color: var(--muted); white-space: nowrap; }
.progress.ready .progress-row .mono { color: var(--teal-dark); font-weight: 600; }
.clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.composer { position: sticky; bottom: 0; padding: 8px 0 20px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-btn { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; cursor: pointer; }
.chip-btn:hover { border-color: var(--teal); }
.nudge { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--amber-wash); border: 1px solid var(--amber-line); font-size: 13px; color: var(--ink-2); }
.nudge > span { flex: 1 1 auto; }
.send { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(21,23,28,.06); }
.send.listening { border-color: var(--amber-dark); }
.send textarea { flex: 1 1 auto; min-width: 0; min-height: 44px; max-height: 240px; padding: 11px 0; border: none; outline: none; background: transparent; font: inherit; font-size: 15px; line-height: 1.5; color: var(--ink); resize: none; }
.icon-btn { flex: 0 0 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn.on { border-color: var(--amber-dark); background: var(--amber-soft); color: var(--amber-ink); }
.icon-btn.send-btn { border: none; background: var(--teal); color: #fff; }
.icon-btn:disabled { opacity: .5; cursor: default; }

.chat-aside { flex: 1 1 300px; min-width: 0; max-width: 380px; position: sticky; top: 24px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.upd-group { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.upd-group ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.upd { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2); }
.upd-text { font-size: 13px; line-height: 1.45; }
.upd-meta { display: flex; justify-content: space-between; align-items: center; }
.upd-meta .pill { font-size: 11px; padding: 1px 7px; }
.upd-meta .link-btn { min-height: 24px; font-size: 12px; padding: 0; }
.upd.removed { opacity: .55; }
.upd.removed .upd-text { text-decoration: line-through; }
.aside-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.pill.blue { background: var(--blue-soft); color: var(--blue-ink); } .pill.orange { background: var(--orange-soft); color: var(--amber-ink); }
@media (max-width: 860px) { .chat-aside { position: static; max-width: none; } }

.chat-aside .pill, .filed .pill { white-space: normal; }
.nav-init { min-height: 40px; padding: 7px 12px; }
.nav-init b { font-weight: 500; font-size: 14px; }
.nav-init[aria-current="page"] b { font-weight: 600; }
.nav-init small { font-size: 11px; }
.side { gap: 20px; }

/* ---------- initiatives list ---------- */
.init-list { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.init-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(200px, 1.2fr) minmax(0, 1.4fr) auto; gap: 20px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.init-row:first-child { border-top: none; }
.init-row:hover { background: var(--panel-3); }
.init-main { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); min-width: 0; }
.init-name { font-size: 15px; font-weight: 700; }
.init-meta { font-size: 12px; color: var(--muted); }
.init-meta .mono { color: var(--ink-2); }
.init-doing { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #C9CED6; }
.live-dot { background: var(--teal); animation: samPulse 2.2s ease-in-out infinite; }
.init-row .icon-btn { flex-basis: 38px; width: 38px; height: 38px; }
@media (max-width: 860px) { .init-row { grid-template-columns: 1fr auto; } .init-prog, .init-doing { grid-column: 1 / -1; } }

/* ---------- initiative header ---------- */
.ini-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ini-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.ini-meta { margin-top: 6px; font-size: 13px; color: var(--muted); }
.ini-meta .mono { color: var(--ink-2); }
.verbar { padding: 0; background: none; border: none; font-size: 12px; margin-top: -12px; }
.verbar .link-btn { font-size: 12px; min-height: 28px; padding: 0 6px; }
.rebuild-note { padding: 8px 12px; font-size: 13px; }

.brand small { display: block; white-space: nowrap; font-size: 11.5px; }

/* ---------- initiative summary (top of Overview) ---------- */
.summary { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.summary-q { font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.summary-why { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 820px; }
.summary-facts { margin: 10px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 20px; }
.summary-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.summary-facts dd { margin: 0; font-size: 15px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.summary-facts small { font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.summary-facts .mono { font-size: 14px; }
.tbar { display: block; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; max-width: 160px; }
.tbar > span { display: block; height: 100%; background: var(--teal); }
.sbar { display: flex; gap: 3px; }
.sbar > span { width: 16px; height: 5px; border-radius: 999px; background: var(--line); }
.sbar > span.done { background: var(--teal); } .sbar > span.now { background: var(--amber); }
.evolves { margin-top: 6px; display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--sam); }
.evolves svg { flex: 0 0 14px; margin-top: 2px; }
.evolves b { font-weight: 600; }
.notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.notes li { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 10px; background: var(--sam-soft); font-size: 13px; line-height: 1.45; }
.notes .pill { font-size: 11px; padding: 1px 7px; background: #fff; color: var(--sam); text-transform: capitalize; }
.notes .pill.op-add_page { background: var(--green-soft); color: var(--teal-dark); }
.notes .pill.op-remove_page { background: var(--grey-soft); color: var(--ink-2); }
.notes .pill.op-structure { background: var(--blue-soft); color: var(--blue-ink); }

/* ---------- Edit page panel ---------- */
.edit-btn { background: #fff; color: var(--sam); border: 1px solid var(--purple-line); }
.edit-btn:hover { background: var(--sam-soft); color: var(--purple-ink); }
.edit-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); z-index: 30; background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(21,23,28,.12); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.edit-title { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; color: var(--sam); }
.edit-thread { display: flex; flex-direction: column; gap: 8px; }
.edit-msg { padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; max-width: 92%; }
.edit-msg.me { align-self: flex-end; background: var(--sam); color: #fff; border-radius: 12px 4px 12px 12px; }
.edit-msg.sam { align-self: flex-start; background: var(--sam-soft); color: var(--ink); border-radius: 4px 12px 12px 12px; }
.edit-msg.error { background: var(--red-soft); color: var(--red-ink); }
.edit-msg ul { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--ink-2); }
.edit-list { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.edit-ta { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); resize: vertical; }
.edit-panel .send { box-shadow: none; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.4); display: block; }
.thumbs.pending span { position: relative; }
.thumbs.pending .link-btn { position: absolute; top: 2px; right: 2px; min-height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(21,23,28,.7); color: #fff; font-size: 11px; }
.icon-btn.attach { cursor: pointer; }
.edit-panel.drop { outline: 3px dashed var(--purple-line); outline-offset: -8px; }
.aside-why { margin: -4px 0 0; font-size: 12px; line-height: 1.45; color: var(--teal-dark); }
.notes .pill.op-conversation { background: var(--amber-soft); color: var(--amber-ink); }

/* ---------- new initiative wizard ---------- */
.nf { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nf > span, .nf-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.nf-grid.three { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.nw-questions { border: 1px solid var(--purple-line); background: #FAFAFF; }
.nw-q { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid #E6E9FD; }
.nw-q:first-of-type { border-top: none; padding-top: 0; }
.chip-btn.on { border-color: var(--sam); background: var(--purple-soft); color: var(--purple-ink); font-weight: 600; }
label.chip-btn { display: inline-flex; align-items: center; gap: 6px; }
.nw-stages { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nw-stages > li { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); font-size: 14px; }
.nw-stages ul { margin: 0; padding-left: 18px; line-height: 1.5; color: var(--ink-2); }
.chip.new { background: var(--purple-soft); color: var(--purple-ink); }
.kv-plain { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.kv-plain dt { color: var(--muted); } .kv-plain dd { margin: 0; }
.soft-card { background: var(--panel-2); }

.nw-phase1 { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--teal-line); background: #F7FBFA; }
.nw-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.nw-steps li span { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.nw-later { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border); }
.nw-later ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.nw-later li { display: flex; gap: 8px; } .nw-later li b { flex: 0 0 64px; color: var(--ink-2); font-weight: 600; }
.nw-dream { display: flex; flex-direction: column; gap: 10px; border: none; padding: 0; margin: 0; }
section.nw-dream { padding: 16px 18px; border: 1px solid var(--purple-line); background: #FAFAFF; }
.nw-dream legend { padding: 0; margin-bottom: 4px; }
.nw-dream-row { display: flex; align-items: center; gap: 10px; }
.nw-dream-row > .mono { flex: 0 0 14px; font-size: 13px; }
.nw-dream-item { display: flex; flex-direction: column; gap: 4px; }
.nw-dream-note { margin: 0 0 0 24px; font-size: 13px; line-height: 1.45; }
.nw-dream-alt { margin-left: 24px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px dashed var(--purple-line); }
.pill.check-ok { background: #E6F2EF; color: #0E6B66; } .pill.check-stretch { background: #FBF1DA; color: #7A5A0E; } .pill.check-far { background: #FBE5E1; color: #9B2C1F; }
.nw-dream-row .pill { flex: none; white-space: nowrap; }
.nw-dream textarea.grow { field-sizing: content; min-height: 40px; resize: none; }
.summary-dreams { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.summary-dreams li::before { content: '✦ '; color: var(--sam); }


/* ================= Clean light theme (design: "Clean light" boards) ================= */
body { background: var(--bg); font-size: 15px; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
.mono { font-variant-numeric: tabular-nums; }
a { color: var(--ink); } a:hover { color: var(--ink); }
::placeholder { color: #9A9CA4; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.main { background: radial-gradient(900px 420px at 70% -14%, #F2F2FA 0%, rgba(242,242,250,0) 70%), var(--bg); }

/* SAM's orb */
.orb { display: inline-block; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F1F2FF 26%, #CDD3FF 60%, #9CA8F4 100%); box-shadow: 0 0 0 1px rgba(150,162,240,.30), 0 6px 20px rgba(120,134,236,.35), inset 0 -3px 8px rgba(104,116,224,.25); }
.orb-live { animation: orbBreath 3.2s ease-in-out infinite; }
@keyframes orbBreath { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.06) } }
@media (prefers-reduced-motion: reduce) { .orb-live { animation: none; } }

/* sidebar */
.side { background: #fff; color: var(--ink); border-right: 1px solid var(--line); padding: 20px 16px; gap: 18px; }
.brand { padding: 0 4px; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; }
.brand b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand small { color: var(--faint); }
.nav-chat { justify-content: center; min-height: 46px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 1px 2px rgba(17,17,20,.2), 0 6px 16px -6px rgba(17,17,20,.45); }
.nav-chat:hover, .nav-chat[aria-current="page"] { background: #2B2B31; color: #fff; box-shadow: 0 1px 2px rgba(17,17,20,.2), 0 6px 16px -6px rgba(17,17,20,.45); }
.badge-new { background: #fff; color: var(--ink); }
.nav-link { min-height: 40px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.nav-link svg { color: #6B6D75; }
.nav-link:hover, .nav-init:hover { background: #F6F6F8; color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--grey-soft); color: var(--ink); }
.nav-label { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--side-label); }
.nav-group { gap: 1px; padding-top: 14px; border-top: 1px solid var(--line); }
.nav-group + .nav-group { border-top: none; padding-top: 0; }
.nav-init { color: #6E7079; border-radius: 8px; }
.nav-init b { font-weight: 400; font-size: 13.5px; }
.nav-init small { color: #9A9CA4; }
.nav-init[aria-current="page"] { background: var(--grey-soft); color: var(--ink); }
.nav-init[aria-current="page"] b { font-weight: 600; }
.me-btn { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(17,17,20,.04); }
.me-btn:hover { background: #F6F6F8; }
.me-btn small, .me-btn .swap { color: var(--faint); }
.av { background: linear-gradient(135deg, #E9E9EE, #D7D8DF); color: var(--ink-2); }
.me-menu { border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(40,44,90,.3); }

/* cards and type */
.card, .summary, .chat-aside, .init-list, .gen .card, .gen .log, .progress { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.card { padding: 22px 24px; }
.card.accent, .gen .card.accent { border: 1px solid var(--ink); }
.gen .card.dashed, .empty { box-shadow: none; }
.eyebrow, .gen .eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--faint); }
.gen .eyebrow.amber { color: var(--amber-ink); } .gen .eyebrow.blue { color: var(--blue-ink); } .gen .eyebrow.purple { color: var(--sam); } .gen .eyebrow.grey { color: var(--faint); }
.label-caps { font-size: 12.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--faint); }
.h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.gen .title, .gen h2, .gen h3 { font-weight: 600; letter-spacing: -.01em; }
.gen .big { font-weight: 600; letter-spacing: -.03em; font-size: 30px; }
.gen .big.teal { color: var(--green); }
.gen .lead { color: #55575F; line-height: 1.65; }
.gen .muted, .muted { color: var(--muted); }

/* the dark "SAM is currently" band becomes a calm white card with the orb */
.dark, .gen .band { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 24px; }
.gen .band { position: relative; padding-left: 80px; min-height: 40px; }
.gen .band::before { content: ''; position: absolute; left: 24px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F1F2FF 26%, #CDD3FF 60%, #9CA8F4 100%); box-shadow: 0 0 0 1px rgba(150,162,240,.30), 0 6px 20px rgba(120,134,236,.35), inset 0 -3px 8px rgba(104,116,224,.25); animation: orbBreath 3.2s ease-in-out infinite; }
.gen .band .live { display: none; }
.gen .band .muted, .gen .band p, .dark .muted { color: var(--muted); }
.gen .band .eyebrow { color: var(--faint); }
.gen .band .title { font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .gen .band::before { animation: none; } }

/* pills: positive = green, now = neutral outline */
.gen .pill, .pill { border-radius: 6px; font-size: 11.5px; padding: 3px 8px; }
.gen .pill.teal, .gen .pill.done { background: var(--green-soft); color: var(--green); border-color: transparent; }
.gen .pill.now { background: #fff; color: var(--ink); border-color: var(--ink); font-weight: 600; }
.gen .pill.purple { background: var(--purple-soft); color: var(--sam); }
.gen .chip, .chip { border-radius: 8px; background: var(--grey-soft); color: var(--ink-2); font-size: 12.5px; }
.gen .eq li.win { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.gen .gates li.done::before { background: var(--ink); }
.gen .ladder li.cur { color: var(--ink); }
.gen .bar, .tbar, .progress li, .sbar > span { background: var(--line-2); }
.gen .bar > span + span { background: #EDEDF1; }
.gen .sam-av { border-radius: 50%; color: transparent; background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F1F2FF 26%, #CDD3FF 60%, #9CA8F4 100%); box-shadow: 0 0 0 1px rgba(150,162,240,.30); }
.gen a { color: var(--ink); }

/* buttons */
.btn { border-radius: 11px; min-height: 40px; font-size: 13.5px; background: var(--ink); }
.btn:hover { background: #2B2B31; }
.btn.ghost, .btn.outline { background: #fff; border: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.btn.ghost:hover, .btn.outline:hover { background: #F6F6F8; color: var(--ink); }
.link-btn { color: #55575F; font-weight: 500; }
.link-btn:hover { color: var(--ink); }
.chip-btn { border-radius: 10px; border-color: var(--border); min-height: 34px; font-weight: 500; color: var(--ink-2); box-shadow: 0 1px 2px rgba(17,17,20,.04); }
.chip-btn:hover { border-color: #CFCFD6; }
.chip-btn.on { border-color: var(--ink); background: var(--grey-soft); color: var(--ink); }
.seg { background: var(--seg); border-radius: 12px; }
.seg button { border-radius: 9px; min-height: 34px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { box-shadow: 0 1px 2px rgba(17,17,20,.08), 0 1px 1px rgba(17,17,20,.04); }
.status-line, .filed { color: var(--green); }
.aside-why { color: var(--muted); }
.btn.edit-btn { background: #fff; color: var(--sam); border: 1px solid var(--purple-line); font-weight: 500; }
.btn.edit-btn:hover { background: var(--sam-soft); color: var(--purple-ink); }

/* initiative header + tabs */
.ini-head h1, .title-row h1 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.ini-meta, .meta { font-size: 13.5px; color: var(--muted); }
.tabs { gap: 28px; border-bottom-color: var(--line); flex-wrap: nowrap; overflow-x: auto; }
.tabs a { padding: 0 0 2px; min-height: 40px; color: var(--faint); white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { font-weight: 600; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.evolves { color: var(--sam); }
.verbar { color: var(--faint); }

/* summary card */
.summary { padding: 28px; gap: 12px; }
.summary-q { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.summary-why { font-size: 14.5px; line-height: 1.65; color: #55575F; }
.summary-facts { border-top-color: var(--line-2); }
.summary-facts dt { font-size: 12.5px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--faint); }
.summary-facts dd { font-weight: 500; }
.summary-dreams li::before { color: var(--sam); }
.sbar > span.now, .progress li.now { background: #B4B5BC; }

/* initiatives list */
.init-row { padding: 20px 24px; border-top-color: var(--line-2); }
.init-row:hover { background: #FAFAFC; }
.init-name { font-weight: 600; letter-spacing: -.01em; }
.init-meta { font-size: 12.5px; color: var(--faint); }
.live-dot { width: 14px; height: 14px; flex-basis: 14px; background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F1F2FF 26%, #CDD3FF 60%, #9CA8F4 100%); box-shadow: 0 0 0 1px rgba(150,162,240,.30), 0 3px 10px rgba(120,134,236,.35); animation: orbBreath 3.2s ease-in-out infinite; }
.dot { background: #E2E2E7; }
.init-row .icon-btn { border: none; background: transparent; color: #B4B5BC; }

/* chat: SAM speaks in plain text beside the orb, you in a soft grey bubble */
.msg { gap: 14px; }
.msg .bubble { font-size: 15px; line-height: 1.65; }
.msg.sam .bubble { background: transparent; border: none; padding: 1px 0 0; border-radius: 0; max-width: 88%; }
.msg.me .bubble { background: #F1F1F4; color: var(--ink); border-radius: 18px 18px 6px 18px; padding: 12px 16px; max-width: 72%; }
.composer { background: linear-gradient(to bottom, rgba(252,252,253,0) 0%, var(--bg) 34%); padding-top: 24px; }
.send { border-radius: 20px; border-color: var(--border); padding: 8px 8px 8px 16px; box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 16px 40px -18px rgba(40,44,90,.22); }
.icon-btn { border: none; border-radius: 10px; background: transparent; color: #55575F; flex-basis: 40px; height: 40px; }
.icon-btn:hover { background: #F6F6F8; }
.icon-btn.send-btn { border-radius: 50%; background: var(--ink); color: #fff; }
.icon-btn.send-btn:hover { background: #2B2B31; }
.icon-btn.on { background: var(--amber-soft); }
.progress { box-shadow: 0 0 0 8px var(--bg), var(--shadow); }
.progress.ready { border-color: var(--green); }
.progress.ready li.now, .progress li.done { background: var(--ink); }
.progress.ready .progress-row .mono { color: var(--green); }
.anon { border-radius: 10px; border-color: var(--border); font-weight: 500; }
.chat-aside { border-radius: 18px; padding: 18px 20px; }
.upd { background: #FAFAFC; border: 1px solid var(--line-2); }
.nudge { border-radius: 12px; }

/* edit panel and wizard: SAM's indigo */
.edit-msg.me { background: var(--sam); }
.nw-phase1 { border-color: var(--line); background: #FAFAFC; }
section.nw-dream, .nw-questions { border-color: var(--purple-line); background: #FAFAFF; }
.nw-questions .eyebrow { color: var(--sam); }
.chip.new { background: var(--purple-soft); color: var(--sam); }

.init-list > ul { list-style: none; margin: 0; padding: 0; }
.init-list > ul > .init-row:first-child { border-top: 1px solid var(--line-2); }
.init-head { padding: 14px 24px; font-size: 12px; color: var(--faint); border-top: none; border-bottom: 1px solid var(--line); }
.init-head:hover { background: none; }
.init-prog .muted { color: var(--faint); }
.stage-dots { display: flex; align-items: center; gap: 0 !important; }
.stage-dots li { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #D3D4DA; position: relative; margin-right: 14px; }
.stage-dots li::after { content: ''; position: absolute; left: 8px; top: 3.25px; width: 14px; height: 1.5px; background: #E2E2E7; }
.stage-dots li:last-child { margin-right: 0; } .stage-dots li:last-child::after { display: none; }
.stage-dots li.done { background: var(--ink); box-shadow: none; } .stage-dots li.done::after { background: var(--ink); }
.stage-dots li.now { width: 12px; height: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 3px #E9E9EE; }
.stage-dots li.now::after { left: 12px; top: 5.25px; }
@media (max-width: 860px) { .init-head { display: none; } }

/* ---------- Problem flow: Listen → Plan → Implement → Measure (Clean v2 primitive) ---------- */
.flow { display: flex; flex-direction: column; gap: 12px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-bottom: 8px; }
.flow-steps button { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: none; border-left: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.flow-steps button:first-child { border-left: none; }
.flow-steps button:hover { background: #FAFAFB; }
.flow-steps button[aria-pressed="true"] { background: var(--grey-soft); }
.fs-top { display: flex; align-items: center; gap: 10px; }
.fs-top b { font-size: 15px; font-weight: 600; }
.fs-n { width: 24px; height: 24px; border-radius: 50%; background: var(--grey-soft); color: var(--faint); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.flow-steps .has .fs-n { background: var(--ink); color: #fff; }
.fs-c { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.fs-def { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.flow-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.flow-empty, .flow-foot { margin: 0; font-size: 13px; color: var(--faint); }
.flow-empty { padding: 20px; border: 1px dashed var(--border); border-radius: 16px; text-align: center; }
.flow-p { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.flow-p.open { border-color: #D6D6DC; box-shadow: var(--shadow); }
.fp-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 260px 170px 20px; gap: 20px; align-items: center; padding: 16px 20px; border: none; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.fp-row:hover { background: #FAFAFB; }
.fp-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fp-t b { font-size: 15.5px; font-weight: 500; }
.fp-t small { font-size: 13px; color: var(--faint); }
.fp-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.fp-track span { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--faint); }
.fp-track i { height: 4px; border-radius: 999px; background: #EDEDF0; }
.fp-track .done { color: var(--ink); } .fp-track .done i { background: var(--ink); }
.fp-track .now { color: var(--ink); font-weight: 600; } .fp-track .now i { background: var(--faint); }
.fp-chip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: var(--grey-soft); color: var(--muted); }
.fp-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fp-chip.plan { background: #FFF4DB; color: var(--amber-ink); }
.fp-chip.change { background: var(--green-soft); color: var(--green); }
.fp-chip.measure, .fp-chip.closed { background: var(--purple-soft); color: var(--purple-ink); }
.fp-chev { display: flex; color: var(--faint); transition: transform .15s; }
.flow-p.open .fp-chev { transform: rotate(180deg); }
.fp-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 16px 16px; }
.fp-panel { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.fp-panel.cur { border-color: rgba(17,17,20,.35); }
.fp-panel.later { background: #FAFAFB; }
.fp-panel.later .fpp-h b { color: var(--faint); }
.fpp-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fpp-h b { font-size: 14.5px; font-weight: 600; }
.fpp-s { font-size: 11.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--grey-soft); color: var(--muted); white-space: nowrap; }
.fpp-s.good { background: var(--green-soft); color: var(--green); }
.fpp-s.warn { background: #FFF4DB; color: var(--amber-ink); }
.fpp-f { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fpp-f li { display: flex; gap: 10px; align-items: flex-start; }
.fpp-f .ic { flex: 0 0 18px; display: flex; margin-top: 1px; color: var(--ink); }
.fpp-f li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.45; }
.fpp-f small { font-size: 12px; color: var(--faint); }
.fpp-f li.todo > span:last-child { color: var(--faint); }
.fpp-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.fpp-a.col { flex-direction: column; align-items: stretch; }
.fpp-a textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; resize: vertical; }
.fpp-res { display: flex; gap: 6px; flex-wrap: wrap; }
.fpp-res .chip-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--grey-soft); color: var(--ink); font-weight: 600; }
.fpp-note { margin: auto 0 0; font-size: 12.5px; color: var(--faint); }
@media (max-width: 980px) {
  .flow-steps, .fp-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-steps button:nth-child(3) { border-left: none; }
  .flow-steps button:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fp-row { grid-template-columns: minmax(0, 1fr) auto 20px; }
  .fp-track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .flow-steps, .fp-panels { grid-template-columns: 1fr; }
  .flow-steps button { border-left: none; border-top: 1px solid var(--line); }
  .flow-steps button:first-child { border-top: none; }
  .fs-def { display: none; }
}

/* ---------- Chat subject + Design an initiative (working document on the right) ---------- */
button.nav-link { width: 100%; border: none; background: none; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.subject { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.chat-col > header { flex-wrap: nowrap; gap: 12px; } .chat-col > header > button { flex: 0 0 auto; }
.subject-k { font-size: 12.5px; color: var(--faint); }
.subject h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.wrap.design { max-width: 1500px; }
.chat-layout.design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.doc-panel { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.doc-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.doc-bar-l { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.doc-bar-l .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sam); }
.doc-progress { height: 3px; background: var(--line-2); }
.doc-progress span { display: block; height: 100%; background: var(--ink); transition: width .4s; }
.doc-note { margin: 12px 20px 0; font-size: 13px; color: var(--sam); }
.doc { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 22px; }
.doc header { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc h2 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; }
.doc header p { margin: 0; font-size: 16px; color: var(--ink-2); }
.doc .ph { color: #B4B5BC; }
.doc-sec { display: flex; flex-direction: column; gap: 6px; border-radius: 10px; transition: background .6s; }
.doc-sec h3 { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.doc-sec p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.doc-empty { color: #B4B5BC !important; font-size: 13.5px !important; padding: 8px 12px; border: 1px dashed var(--border); border-radius: 10px; }
.doc .changed { animation: docFlash 2.4s ease-out; }
@keyframes docFlash { 0% { background: var(--sam-soft); box-shadow: 0 0 0 8px var(--sam-soft); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.doc-outcomes, .doc-steps, .doc-open { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.doc-outcomes { list-style: none; padding: 0; }
.doc-outcomes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-left: 20px; position: relative; }
.doc-outcomes li::before { content: '✦'; position: absolute; left: 0; color: var(--sam); font-size: 12px; }
.doc-outcomes small { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
.doc-check { font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--grey-soft); color: var(--muted); }
.doc-check.realistic { background: var(--green-soft); color: var(--green); }
.doc-check.stretch { background: #FFF4DB; color: var(--amber-ink); }
.doc-check.too_far { background: var(--red-soft, #FDECEC); color: var(--red-ink, #A1302A); }
.doc-open { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .doc .changed { animation: none; } }
@media (max-width: 1000px) {
  .chat-layout.design { grid-template-columns: 1fr; }
  .doc-panel { position: static; max-height: none; }
  .doc { padding: 20px; }
}
@media (max-width: 560px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- Drafts: the Design button, the sidebar list and draft states ---------- */
.nav-design { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin-top: -6px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 1px 2px rgba(17,17,20,.04); }
.nav-design svg { color: var(--sam); }
.nav-design:hover { background: var(--sam-soft); border-color: var(--purple-line); }
.nav-draft small { display: block; }
.dstate { font-weight: 500; }
.dstate.drafting { color: var(--faint); }
.dstate.review { color: var(--amber-ink); }
.doc-state { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--grey-soft); color: var(--muted); }
.doc-state.review { background: #FFF4DB; color: var(--amber-ink); }
.doc-state.live { background: var(--green-soft); color: var(--green); }
.doc-sent { font-size: 13px; color: var(--amber-ink); }
.doc-note { color: var(--muted); }

/* ---------- Design scratch pad: a living page SAM rewrites as you talk ---------- */
.pad { padding: 28px 30px 36px; display: flex; flex-direction: column; gap: 24px; min-height: 420px;
  background-color: #FCFCFD; background-image: radial-gradient(#E3E3E9 1px, transparent 1px); background-size: 18px 18px; border-radius: 0 0 18px 18px; }
.pad.writing { position: relative; }
.pad.writing::after { content: ''; position: absolute; left: 30px; right: 30px; bottom: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--sam), transparent); background-size: 200% 100%; animation: padScan 1.4s linear infinite; }
@keyframes padScan { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.pad h1.pad-h { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; }
.pad .pad-sub { margin: -16px 0 0; font-size: 15.5px; color: var(--ink-2); }
.pad .pad-tbd { color: #A9AAB2; font-weight: 400; font-style: italic; }
.pad .pad-muted { margin: 0; font-size: 12.5px; color: var(--faint); }
.pad-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--purple-line); box-shadow: 0 1px 2px rgba(17,17,20,.03), 0 12px 32px -22px rgba(68,80,200,.45); }
.pad-goal small, .pad-sec h2, .pad-note small, .bmap-node small { font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: .01em; }
.pad-goal small { color: var(--sam); }
.pad-goal b { font-size: 19px; font-weight: 600; line-height: 1.35; }
.pad-goal p { margin: 0; font-size: 13.5px; color: var(--muted); }
.pad-goal + .pad-goal b { font-size: 16px; }
.pad-pill { font-size: 11.5px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--grey-soft); color: var(--muted); }
.pad-pill.realistic { background: var(--green-soft); color: var(--green); }
.pad-pill.stretch { background: #FFF4DB; color: var(--amber-ink); }
.pad-pill.too_far { background: #FDECEC; color: #A1302A; }
.pad-sec { display: flex; flex-direction: column; gap: 12px; }
.pad-sec h2 { margin: 0; font-size: 12.5px; }
.bmap { display: flex; flex-direction: column-reverse; gap: 22px; padding: 2px 0 4px; }
.bmap-node { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: baseline; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.bmap-node > small { grid-column: 1; grid-row: 1; }
.bmap-node > b, .bmap-node > span, .bmap-node > em { grid-column: 2; }
/* arrows point up, from today towards the outcome */
.bmap-node:not(:last-child)::after { content: ''; position: absolute; left: 58px; top: -17px; width: 2px; height: 12px; background: #C4C5CC; }
.bmap-node:not(:last-child)::before { content: ''; position: absolute; left: 54px; top: -22px; border: 5px solid transparent; border-bottom: 6px solid #C4C5CC; border-top: 0; }
.bmap-node b { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.bmap-node span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.bmap-node.guess { border-style: dashed; border-color: #B9BAC2; }
.bmap-node.empty { border-style: dashed; background: transparent; }
.bmap-node.empty b { color: #B4B5BC; font-size: 18px; }
.bmap-node.today { background: var(--grey-soft); border-color: transparent; }
.bmap-node.goal { background: var(--ink); border-color: var(--ink); color: #fff; }
.bmap-node.goal small { color: #B9BCF5; }
.bmap-node.goal .pad-tbd { color: #8E9099; }
.pad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pad-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.pad-note p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.pad-open { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 560px) { .pad { padding: 20px; } .pad-grid { grid-template-columns: 1fr; } .bmap-node { grid-template-columns: 1fr; } .bmap-node > b, .bmap-node > span { grid-column: 1; } .bmap-node > small { grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .pad.writing::after { animation: none; } }

.bmap-node.goal b { font-size: 15px; }

/* the path: locked in (outcome, today, step 1) vs the likely path between (placeholders) */
.bmap-node em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.bmap-node .pad-pill { justify-self: start; margin-top: 2px; }
.bmap-node.step1 { border: 1.5px solid var(--ink); box-shadow: 0 6px 18px -12px rgba(17,17,20,.35); }
.bmap-node.step1.empty, .bmap-node.likely.empty { border: 1.5px dashed #C4C5CC; box-shadow: none; background: transparent; }
.bmap-likely { position: relative; border-radius: 12px; border: 1px dashed #D3D4DB; background: repeating-linear-gradient(135deg, rgba(17,17,20,.018) 0 8px, transparent 8px 16px); }
.bmap-likely-steps { display: flex; flex-direction: column-reverse; gap: 22px; padding: 4px 12px 12px; }
.bmap > .bmap-likely::after { content: ''; position: absolute; left: 53px; top: -21px; width: 12px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M6 17V3M2 7l4-4 4 4' fill='none' stroke='%23C4C5CC' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.bmap-node.likely { background: rgba(255,255,255,.6); border: 1px dashed #C9CAD1; }
.bmap-node.likely b { font-weight: 500; color: var(--muted); }
.bmap-node.likely small { color: #A9AAB2; }
.pad-pill.sam { background: var(--sam-soft); color: var(--sam); }
.bmap-node.likely em { color: var(--muted); }

/* ---------- the path, drawn by the app: confidence bars and secondary outcomes ---------- */
.pad-head { display: flex; flex-direction: column; gap: 6px; }
.pad-head .pad-sub { margin: 0; }
.bmap-node > .goal-check, .bmap-node > .goal-sub { grid-column: 2; }
.goal-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: #C9CBD6; margin-top: 2px; }
.goal-sub { margin-top: 6px; font-size: 13px; }
.goal-sub summary { cursor: pointer; color: #C9CBD6; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.goal-sub summary::-webkit-details-marker { display: none; }
.goal-sub summary::before { content: '▸'; font-size: 10px; transition: transform .15s; }
.goal-sub[open] summary::before { transform: rotate(90deg); }
.goal-sub ul { margin: 8px 0 0; padding: 0 0 0 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; border-left: 2px solid #3A3B48; }
.goal-sub li { padding-left: 10px; color: #E6E7F0; }
.thread-note { margin: 0 auto; max-width: 80%; text-align: center; font-size: 12px; color: var(--faint); padding: 4px 10px; border-radius: 999px; background: var(--grey-soft); }
.doc-bar { z-index: 5; }

.bmap-likely > summary { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline; padding: 11px 16px; cursor: pointer; list-style: none; }
.bmap-likely > summary::-webkit-details-marker { display: none; }
.bmap-likely > summary span { font-size: 12px; font-weight: 500; color: var(--faint); }
.bmap-likely > summary b { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bmap-likely > summary .likely-btn { font-style: normal; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 11.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; box-shadow: 0 1px 2px rgba(17,17,20,.05); }
.bmap-likely > summary .likely-btn::after { content: ''; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s, margin .15s; }
.bmap-likely[open] > summary .likely-btn::after { transform: rotate(-135deg); margin-top: 3px; }
.bmap-likely .when-open, .bmap-likely[open] .when-shut { display: none; }
.bmap-likely[open] .when-open { display: inline; }
.bmap-likely[open] > summary b { visibility: hidden; }
/* collapsed: faint stacked edges hint that there are steps folded inside */
.bmap-likely:not([open]) { box-shadow: 0 3px 0 -1px #fff, 0 3px 0 0 #E2E3E8, 0 6px 0 -2px #fff, 0 6px 0 -1px #ECEDF1; }
.bmap-likely > summary:hover { background: rgba(68,80,200,.04); border-radius: 12px; }
.bmap-likely > summary:hover .likely-btn { border-color: var(--ink); color: var(--ink); }
.bmap-likely > summary:hover b { color: var(--ink); }

/* pictures on the path: a small tile under each card's label */
.bmap-node > .bmap-side { grid-column: 1; grid-row: 1 / span 8; display: flex; flex-direction: column; gap: 8px; }
.bmap-side small { font-size: 12px; font-weight: 500; color: var(--faint); }
.bmap-node.goal .bmap-side small { color: #B9BCF5; }
.bmap-node.likely .bmap-side small { color: #A9AAB2; }
.bmap-pic { display: block; width: 56px; height: 56px; margin-top: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.bmap-pic svg { display: block; width: 100%; height: 100%; }
.bmap-node.goal .bmap-pic { border-color: transparent; }
.bmap-node.likely .bmap-pic { opacity: .85; }
.bmap-node { min-height: 84px; }
@media (max-width: 560px) { .bmap-node > .bmap-side { grid-row: auto; flex-direction: row; align-items: center; } }

/* pictures still to come */
.bmap-pic.none { background: transparent; border: 1px dashed #D6D7DE; }
.bmap-node.goal .bmap-pic.none { border-color: #3A3B48; }
.draw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sam); animation: samPulse 1.2s ease-in-out infinite; }

/* compact cards: picture on the left, label as a small eyebrow above the text */
.bmap-node { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; min-height: 0; padding: 12px 16px; align-items: start; }
.bmap-node > .bmap-side { grid-column: 1; grid-row: 1 / span 8; gap: 0; }
.bmap-node > small { grid-column: 2; grid-row: auto; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--faint); }
.bmap-node.goal > small { color: #B9BCF5; }
.bmap-node.likely > small { color: #A9AAB2; }
.bmap-pic { width: 48px; height: 48px; margin-top: 0; border-radius: 10px; }
.bmap-node:not(:last-child)::after { left: 39px; }
.bmap-node:not(:last-child)::before { left: 35px; }
.bmap > .bmap-likely::after { left: 34px; }
.bmap-likely > summary { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 16px; }
@media (max-width: 560px) { .bmap-node > .bmap-side { grid-row: 1 / span 8; flex-direction: column; } }

/* picture loading: a standard shimmering placeholder, a touch stronger than usual */
.bmap-pic.drawing { position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid #E6E7EC;
  background: linear-gradient(100deg, #EFF0F4 30%, #F9F9FB 50%, #EFF0F4 70%); background-size: 220% 100%; animation: picLoad 1.3s ease-in-out infinite; }
.bmap-pic.drawing svg { width: 22px; height: 22px; }
.bmap-node.goal .bmap-pic.drawing { border-color: transparent; background-image: linear-gradient(100deg, #2A2B33 30%, #3A3B46 50%, #2A2B33 70%); }
.bmap-node.goal .bmap-pic.drawing svg * { stroke: #6E7079; fill: none; } .bmap-node.goal .bmap-pic.drawing circle { fill: #6E7079; }
@keyframes picLoad { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .bmap-pic.drawing { animation: none; } }

/* status line along the bottom of the pad */
.pad-status { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 9px 20px; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); font-size: 12.5px; color: var(--faint); }
.pad-status .ps-dot { width: 7px; height: 7px; border-radius: 50%; background: #9ED4B2; flex: 0 0 7px; }
.pad-status.busy { color: var(--ink-2); }
.pad-status.busy .ps-dot { background: var(--sam); animation: samPulse 1.1s ease-in-out infinite; }
.pad { border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .pad-status.busy .ps-dot { animation: none; } }
.bmap-node b .hl { color: var(--sam); font-weight: 650; }
.bmap-node.likely b .hl { color: #7C84D6; }
/* the pad keeps its full height; the panel scrolls instead of squeezing it */
.doc-panel > * { flex-shrink: 0; }
.btn.del-btn { color: var(--red-ink, #A1302A); }
.btn.del-btn:hover { background: #FDECEC; border-color: #F0B8AF; color: #A1302A; }
/* step type: the core primitive the step is mostly about */
.ptype { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.ptype::before, .ptype-dot { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.ptype.listen, .ptype-dot.listen { color: #6E7079; }
.ptype.change, .ptype-dot.change { color: var(--green); }
.ptype.measure, .ptype-dot.measure { color: var(--sam); }
.ptype-dot { margin-right: 6px; vertical-align: 1px; }
.bmap-node.likely .ptype { opacity: .8; }
.ptype.plan, .ptype-dot.plan { color: #A0721A; }
.bmap-likely > summary b .sum-h { font-style: normal; color: var(--faint); font-weight: 400; }
.bmap-likely > summary b .ptype-dot { margin: 0 5px 0 0; }
.changes { grid-column: 2; margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.changes li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid #D7EBDD; }
.changes b { font-size: 13.5px; font-weight: 500; color: var(--ink2); line-height: 1.35; }
.changes span { font-size: 12.5px; color: var(--muted); }
/* a quiet reminder that the likely path is a first guess */
.bmap-likely > summary > span { display: flex; flex-direction: column; gap: 1px; }
.likely-note { margin: 0 16px 8px; font-size: 12px; font-style: italic; color: var(--faint); }
/* moving the design on: path → Step 1 details */
.phase-bar { position: sticky; bottom: 34px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 10px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); font-size: 12.5px; color: var(--muted); }
.phase-bar .btn { flex: 0 0 auto; }
.step1-details h2 { display: flex; align-items: center; gap: 4px; }
.sd { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sd-row:first-child { border-top: none; }
.sd-row small { font-size: 12px; color: var(--faint); padding-top: 1px; }
.sd-row ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 560px) { .sd-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- the initiative builder: sidebar folded, page in the middle, SAM on the right ---------- */
/* the top of the sidebar: SAM, and the button that folds the sidebar away */
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-top .brand { min-width: 0; }
.side-open-btn { display: none; flex: 0 0 auto; margin-left: -6px; }
body.side-min .side-open-btn { display: inline-flex; }
.side-toggle:hover { color: var(--ink); border-color: var(--border); }
/* folded: no rail at all, like Claude. A sidebar button at the top-left of the chat brings it back:
   hover and it slides out over the page, click and it stays. */
body.side-min:not(.side-peek) .side { display: none; }
body.side-min.side-peek .side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: 280px; flex-basis: 280px; max-width: 280px; padding: 24px 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(17,17,20,.35); }
@keyframes sidePeek { from { transform: translateX(-12px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.side-min.side-peek .side { animation: none; } }
.main.builder-main { padding: 0; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); height: 100vh; }
.builder-page { position: relative; display: flex; flex-direction: column; min-width: 0; overflow-y: auto; }
.builder-page > * { flex-shrink: 0; }
.bp-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 14px 32px; background: rgba(252,252,253,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.bp-crumb { display: flex; gap: 6px; font-size: 13px; color: var(--faint); }
.bp-crumb a { color: var(--muted); text-decoration: none; } .bp-crumb a:hover { color: var(--ink); }
.bp-parts { font-size: 12.5px; color: var(--muted); }
.bp-acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.builder-page .doc-progress { position: sticky; top: 61px; z-index: 6; }
.builder-page .doc-note { margin: 14px 32px 0; }
.bp-body { flex: 1 0 auto; width: 100%; max-width: 820px; margin: 0 auto; padding: 32px 32px 48px; background: none; border-radius: 0; }
.bp-body .pad-h { font-size: 30px; }
.builder-page .phase-bar { bottom: 34px; padding: 12px 32px; }
.builder-page .pad-status { border-radius: 0; padding: 9px 32px; }
.builder-chat { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: #fff; }
.bc-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bc-head b { display: block; font-size: 14px; font-weight: 600; }
.bc-head small { font-size: 12px; color: var(--faint); }
.bc-thread { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px; gap: 16px; }
.bc-thread .msg.sam .bubble { font-size: 14.5px; }
.bc-thread .msg.me .bubble { font-size: 14.5px; }
.builder-chat .composer { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 1000px) {
  .builder { grid-template-columns: 1fr; height: auto; }
  .builder-page { overflow: visible; }
  .builder-chat { border-left: none; border-right: none; border-bottom: 1px solid var(--line); min-height: 70vh; }
}

/* ---------- a live initiative in the builder layout ---------- */
.bp-body.live { max-width: 920px; display: flex; flex-direction: column; gap: 22px; }
.ip-notes { margin: 12px 32px 0; display: flex; flex-direction: column; gap: 8px; }
.ip-head { display: flex; flex-direction: column; gap: 8px; }
.ip-head .pad-h { margin: 0; }
.ip-why { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ip-facts { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ip-facts div { display: flex; flex-direction: column; gap: 1px; }
.ip-facts dt { font-size: 11.5px; color: var(--faint); }
.ip-facts dd { margin: 0; font-size: 13.5px; font-weight: 500; }
.ip-path { display: flex; flex-direction: column; gap: 12px; }
.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13px; color: var(--faint); }
.trail li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; }
.trail li.sep { padding: 0; color: #C4C5CC; }
.trail li.now { background: var(--ink); color: #fff; font-weight: 600; }
.trail li.out { opacity: .5; }
.trail li .ptype-dot { margin: 0; }
.trail .t-goal { color: var(--ink2); font-weight: 500; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.now-card { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.now-top { display: flex; gap: 14px; align-items: flex-start; }
.now-top .eyebrow { font-size: 12px; font-weight: 500; color: var(--faint); }
.now-items { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.now-items li { display: flex; flex-direction: column; gap: 3px; }
.now-items b { font-size: 16px; font-weight: 600; line-height: 1.35; }
.now-items span { font-size: 13.5px; color: var(--muted); }
.now-items em { font-style: normal; font-size: 13px; color: var(--ink-2); }
.now-items .hl, .ip-steps .hl { color: var(--sam); }
.now-sam { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #F5F6FE; font-size: 13.5px; color: var(--ink2); flex-wrap: wrap; }
.now-sam div { display: flex; flex-direction: column; gap: 2px; }
.now-sam div span { color: var(--muted); font-size: 13px; }
.now-sam.quiet { background: #FAFAFB; color: var(--muted); }
.orb-sm { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, #F1F2FF 26%, #CDD3FF 60%, #9CA8F4 100%); }
.ip-more { border: 1px dashed #D3D4DB; border-radius: 12px; background: #fff; }
.ip-more summary { cursor: pointer; padding: 10px 16px; font-size: 13px; color: var(--muted); list-style: none; }
.ip-more summary::-webkit-details-marker { display: none; }
.ip-more summary::after { content: ' ▸'; font-size: 10px; } .ip-more[open] summary::after { content: ' ▾'; }
.ip-steps { display: flex; flex-direction: column; gap: 0; padding: 0 16px 8px; }
.ip-step { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ip-step small { font-size: 11.5px; color: var(--faint); }
.ip-step p, .ip-step li { margin: 0; font-size: 13.5px; }
.ip-step ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ip-step li > span { display: block; color: var(--muted); font-size: 12.5px; }
.ip-step b { font-weight: 500; }
.ip-step.out { opacity: .6; }
.ip-step.goal p { font-weight: 600; }
.ic-done { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--green); }
.ic-changes { margin: 0 14px; border-top: 1px solid var(--line); font-size: 13px; }
.ic-changes summary { cursor: pointer; padding: 8px 4px; color: var(--muted); }
.ic-changes .notes { max-height: 220px; overflow: auto; }

/* the chat beside a page: slim at first, eases wider once the person speaks, drag its edge to resize */
.builder { grid-template-columns: auto minmax(0, 1fr); }
.builder-chat { position: relative; width: 380px; transition: width .5s cubic-bezier(.2, .8, .2, 1); border-left: none; border-right: 1px solid var(--line); }
.bc-drag { position: absolute; right: -5px; top: 0; bottom: 0; width: 9px; z-index: 8; cursor: col-resize; touch-action: none; }
.bc-drag::after { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: transparent; transition: background .15s; }
.bc-drag:hover::after, .bc-drag:focus-visible::after, body.chat-resizing .bc-drag::after { width: 2px; left: 3px; background: var(--sam); }
.bc-drag:focus-visible { outline: none; }
body.chat-resizing { cursor: col-resize; user-select: none; }
body.chat-resizing .builder-chat { transition: none; }
@media (max-width: 1000px) { .builder-chat { width: auto !important; } .bc-drag { display: none; } }
@media (prefers-reduced-motion: reduce) { .builder-chat { transition: none; } }

/* ---------- initiative page, design "K2 · visual": folder tabs, an overview of questions, the path drawn ---------- */
.k2-page { background: #F4F4F4; }
.k2-page .bp-bar { background: rgba(244,244,244,.94); border-bottom-color: transparent; }
.bp-body.k2 { max-width: 1120px; padding: 6px 28px 40px; display: flex; flex-direction: column; }
.k2-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.k2-head h1 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.k2-head span { font-size: 13px; color: var(--faint); }
.k2-tabs { display: flex; gap: 4px; align-items: flex-end; overflow-x: auto; scrollbar-width: none; }
.k2-tab { flex: 1 1 0; min-width: 132px; display: flex; flex-direction: column; gap: 8px; padding: 11px 16px 13px; border: 1px solid transparent; border-bottom: none; border-radius: 16px 16px 0 0; background: transparent; color: #5D5D5D; text-align: left; cursor: pointer; position: relative; z-index: 1; }
.k2-tab.ov { flex: 0 0 auto; min-width: 118px; gap: 1px; }
.k2-tab.ov b { font-size: 15px; font-weight: 600; color: var(--ink); }
.k2-tab.ov small { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.k2-tab:hover { color: var(--ink); }
.k2-tab[aria-current="page"] { background: #fff; border-color: rgba(0,0,0,.09); margin-bottom: -1px; color: var(--ink); }
.k2-tab-t { display: flex; align-items: center; gap: 7px; font-size: 15px; min-width: 0; }
.k2-tab-t i { font-style: normal; font-size: 12px; color: var(--faint); }
.k2-tab-t b { font-weight: 600; }
.k2-tab-t small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k2-tab-t small.good { color: #1A7F4B; } .k2-tab-t small.warn { color: #A05A00; }
.k2-bar { height: 3px; border-radius: 999px; background: #E3E3E3; position: relative; overflow: hidden; }
.k2-bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ink); }
.k2-panel { background: #fff; border: 1px solid rgba(0,0,0,.09); border-radius: 20px; padding: 18px 26px 28px; display: flex; flex-direction: column; gap: 22px; }
.k2-panel.first { border-top-left-radius: 0; }
.k2-small { font-size: 12.5px; color: var(--faint); }
.k2-p { margin: 0; font-size: 14px; line-height: 1.55; color: #5D5D5D; }
.k2-p.strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.k2-q { font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0; color: var(--ink); }
.k2-acts { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.k2-pill { height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.k2-pill:hover { border-color: rgba(0,0,0,.25); }
.k2-pill.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.k2-pill.dark:hover { background: #2F2F2F; }
.k2-pill:disabled { opacity: .5; cursor: default; }
.k2-tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: #F2F2F2; color: #6E6E6E; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.k2-tag.good { background: #E6F5EC; color: #1A7F4B; }
.k2-tag.warn { background: #FFF2D6; color: #A05A00; }
.k2-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* the questions */
.k2-qs { display: flex; flex-direction: column; border-bottom: 1px solid rgba(0,0,0,.08); }
.k2-qi { border-top: 1px solid rgba(0,0,0,.08); }
.k2-qb { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; border: none; background: transparent; text-align: left; cursor: pointer; color: var(--ink); }
.k2-qt { flex: 1 1 auto; font-size: 17px; font-weight: 600; }
.k2-qs-sum { font-size: 14px; color: #5D5D5D; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.k2-qs-sum.warn { color: #A05A00; font-weight: 500; }
.k2-chev { display: flex; color: var(--faint); transition: transform .15s; }
.k2-chev.up { transform: rotate(180deg); }
.k2-qa { display: flex; flex-direction: column; gap: 12px; padding: 0 4px 22px; }
.k2-goal { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.k2-big { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.k2-big.muted { color: var(--faint); }
.k2-arrow { color: #C4C4C4; }
.k2-goal-t { font-size: 15px; color: #3D3D3D; }
.k2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.k2-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.k2-li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 14px; }
.k2-li .muted { white-space: nowrap; }
.k2-person { display: flex; align-items: center; gap: 10px; }
.k2-person b { display: block; font-size: 14px; font-weight: 500; }
.k2-person small { font-size: 12.5px; color: var(--faint); }
.k2-av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #EDEDED; color: #5D5D5D; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 600; }
.k2-team { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 13.5px; }
.k2-team .muted { text-align: right; font-size: 12.5px; }
.k2-tbar { height: 6px; border-radius: 999px; background: #EDEDED; position: relative; overflow: hidden; }
.k2-tbar > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ink); }
.k2-measure { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.k2-track { position: relative; display: block; height: 6px; border-radius: 999px; background: #E9E9E9; }
.k2-track > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ink); }
.k2-track > i { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); box-sizing: border-box; }
.k2-approve { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,.14); background: #fff; }
.k2-approve.sam { background: var(--sam-soft); border-color: var(--purple-line); }
.k2-ap-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.k2-ap-t b { font-size: 15px; font-weight: 600; }
.k2-ap-t small { font-size: 13px; color: #5D5D5D; }
.k2-ap-t small.muted { color: var(--faint); font-size: 12.5px; }

/* the path, drawn */
.k2-path { display: flex; flex-direction: column; gap: 18px; }
.k2-gauge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px 18px; border-radius: 18px; background: #FAFAFA; border: 1px solid rgba(0,0,0,.05); }
.k2-g-end { display: flex; align-items: center; gap: 12px; }
.k2-g-end.right { text-align: right; }
.k2-g-end small { display: block; font-size: 12.5px; color: var(--faint); }
.k2-g-end b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.k2-g-end b.muted { color: var(--faint); }
.k2-g-ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #fff; border: 1px solid rgba(0,0,0,.08); color: var(--faint); display: flex; align-items: center; justify-content: center; }
.k2-g-ic.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.k2-g-mid { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.k2-g-cap { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--faint); }
.k2-g-cap b { color: var(--ink); }
.k2-g-cap > span:last-child { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k2-line { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.k2-node { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.k2-node::before { content: ''; position: absolute; left: 20px; top: 40px; bottom: 2px; border-left: 2px solid var(--ink); }
.k2-node.likely::before, .k2-node.now::before { border-left: 2px dashed #D0D0D0; }
.k2-node.goal { padding-bottom: 0; } .k2-node.goal::before { display: none; }
.k2-dot { width: 42px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #F2F2F2; color: var(--faint); box-sizing: border-box; }
.k2-node.done .k2-dot, .k2-node.goal .k2-dot { background: var(--ink); color: #fff; }
.k2-node.now .k2-dot { background: #FFF8E8; color: #A05A00; border: 2px solid #E2B04A; box-shadow: 0 0 0 4px #FFF2D6; }
.k2-node.likely .k2-dot { background: #fff; border: 1.5px dashed #CFCFCF; color: #A0A0A0; }
.k2-node.out { opacity: .6; }
.k2-node-b { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 7px; }
.k2-node.today .k2-node-b { padding-top: 10px; }
.k2-node.goal .k2-node-b { gap: 2px; padding-top: 4px; }
.k2-node.goal b { font-size: 15.5px; font-weight: 600; }
.k2-node-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.k2-node-h > b { font-size: 18px; font-weight: 600; }
.k2-node.likely .k2-node-h > b { color: #8F8F8F; font-weight: 500; }
.k2-node-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.k2-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--faint); }
.k2-mini { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.k2-mini:hover { border-color: rgba(0,0,0,.25); }
.k2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: #F2F2F2; font-size: 13.5px; color: var(--ink); }
.k2-chip.done svg { color: #1A7F4B; }
.k2-chip.likely { background: #fff; border: 1.5px dashed #DADADA; color: #8F8F8F; }
.k2-rows { display: flex; flex-direction: column; gap: 10px; }
.k2-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(0,0,0,.08); background: #fff; flex-wrap: wrap; }
.k2-row.needs { border-color: #EBC873; box-shadow: 0 2px 10px -4px rgba(192,138,30,.35); }
.k2-row.plain.likely { border-style: dashed; color: #6E6E6E; }
.k2-row-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: #F5F5F5; color: #8F8F8F; display: flex; align-items: center; justify-content: center; }
.k2-row.needs .k2-row-ic { background: #FFF5E0; color: #A05A00; }
.k2-row-t { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.k2-row-t b { font-size: 15px; font-weight: 500; }
.k2-row-t small { font-size: 12.5px; color: var(--faint); }
.k2-foot { display: flex; align-items: center; gap: 8px; }
.k2-foot svg { color: var(--faint); }

/* SAM's write-up, under the questions */
.k2-write { display: flex; flex-direction: column; gap: 14px; }
.k2-sub-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
.k2-pills { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: #F4F4F4; flex-wrap: wrap; }
.k2-pills a, .k2-pills button { height: 32px; padding: 0 14px; border: none; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--faint); text-decoration: none; cursor: pointer; }
.k2-pills a:hover, .k2-pills button:hover { color: var(--ink); }
.k2-pills [aria-current="page"], .k2-pills [aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.k2-writing { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; }
.k2-writing b { display: block; font-size: 14px; }
.k2-writing small { font-size: 12.5px; }

/* a step's own tab */
.k2-step { display: flex; flex-direction: column; gap: 18px; }
.k2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.k2-stat { border: 1px solid rgba(0,0,0,.09); border-radius: 18px; padding: 15px 18px; display: flex; flex-direction: column; gap: 3px; }
.k2-stat small { font-size: 13px; color: var(--faint); }
.k2-stat b { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.k2-stat span { font-size: 12.5px; color: var(--faint); }
.k2-stat span.warn { color: #A05A00; }
.k2-card { border: 1px solid rgba(0,0,0,.09); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.k2-card.sam { background: #FBFBFB; }
.k2-card-h { display: flex; align-items: center; gap: 10px; }
.k2-card-h b { font-size: 15px; font-weight: 600; }
.k2-card-h .k2-tag { margin-left: auto; }
.k2-check { display: flex; gap: 12px; align-items: flex-start; }
.k2-check > span:first-child { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1.5px dashed #C9C9C9; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.k2-check > span:first-child.on { background: var(--ink); border: none; color: #fff; }
.k2-check b { display: block; font-size: 14.5px; font-weight: 500; }
.k2-check small { display: block; font-size: 13px; color: var(--faint); margin-top: 3px; }
.k2-tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.k2-tasks li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; }
.k2-tasks li > span { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid #CFCFCF; box-sizing: border-box; }
.k2-tasks li.done > span { background: var(--ink); border: none; color: #fff; }
.k2-tasks li.live > span { border: none; } .k2-tasks li.live > span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); animation: samPulse 2.2s ease-in-out infinite; }
.k2-tasks li.todo { color: var(--faint); }
.k2-step .flow { margin: 0; }
.k2-panel .step1-details { margin: 0; }

@media (max-width: 760px) {
  .bp-body.k2 { padding: 4px 16px 32px; }
  .k2-panel { padding: 14px 16px 20px; }
  .k2-two { grid-template-columns: 1fr; }
  .k2-gauge { grid-template-columns: 1fr; gap: 12px; }
  .k2-g-end.right { justify-content: flex-end; }
  .k2-qs-sum { display: none; }
  .k2-tab { min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .k2-tasks li.live > span::after { animation: none; } }
.bp-body.k2 svg { flex-shrink: 0; }
.k2-g-ic { max-width: 42px; }

/* ---------- chat with SAM: the chat on its own, or on the left with a panel on the right ---------- */
.main.chat-main { padding: 0; }
.cs { display: flex; height: 100vh; min-width: 0; }
.cs-chat { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.cs.split .cs-chat { flex: 0 0 auto; background: #fff; }
.cs-head { display: flex; align-items: center; gap: 10px; padding: 18px 28px 12px; }
.cs.split .cs-head { padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
.cs-head .subject h1 { font-size: 18px; }
.cs.split .cs-head .subject h1 { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cs.split .cs-head .anon { padding: 0 8px; font-size: 0; gap: 0; } /* just the avatar when narrow */
.cs-upd { flex: 0 0 auto; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.cs-upd b { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; text-align: center; }
.cs-upd:hover, .cs-upd.on { border-color: var(--ink); }
.cs-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cs-inner { max-width: 760px; margin: 0 auto; padding: 8px 28px 16px; display: flex; flex-direction: column; gap: 14px; }
.cs.split .cs-inner { padding: 14px 18px; }
.cs-foot { flex: 0 0 auto; }
.cs-foot .composer { position: static; max-width: 760px; margin: 0 auto; padding: 8px 28px 20px; background: none; }
.cs.split .cs-foot .composer { padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.cs .progress { top: 0; }

/* an initiative the chat is about: a card that opens it beside the chat */
.art-card { align-self: flex-start; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(17,17,20,.04); text-align: left; cursor: pointer; }
.art-card:hover { border-color: #CFCFD6; }
.art-card.on { border-color: var(--ink); }
.art-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--grey-soft); color: var(--muted); display: flex; align-items: center; justify-content: center; }
.art-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.art-t b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-t small { font-size: 12px; color: var(--faint); }

/* the panel */
.cs-panel { flex: 1 1 auto; min-width: 0; height: 100vh; }
.cs-pbar { padding: 10px 16px; gap: 8px; }
.cs-ptabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #E9E9EC; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cs-ptabs button { flex: 0 1 auto; min-width: 0; max-width: 240px; height: 30px; padding: 0 12px; border: none; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.cs-ptabs button[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cs-close { width: 32px; height: 32px; font-size: 14px; color: var(--muted); }
.cs-upd-body { padding: 18px 24px; max-width: 560px; }
.cs-upd-body .chat-aside { position: static; max-width: none; }
@media (max-width: 1000px) {
  .cs { flex-direction: column; height: auto; }
  .cs-chat { height: 80vh; }
  .cs-panel { height: auto; }
}
.cs-ptabs { flex: 0 1 auto; }
.cs-ptabs button { overflow: hidden; flex-shrink: 1; }
.cs-ptabs button[data-id="updates"] { flex-shrink: 0; }
.cs-ptabs button > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-line-clamp: unset; }

/* ---------- the panel beside a chat: a card with a title menu, expand and close (like an artifact) ---------- */
.builder, .cs.split { background: #fff; }
.builder-page, .cs-panel { margin: 8px 8px 8px 0; height: calc(100vh - 16px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(17,17,20,.03), 0 12px 32px -24px rgba(40,44,90,.25); }
.builder-page { background: var(--bg); }
.k2-page, .cs-panel.k2-page { background: #F4F4F4; }
.builder .builder-chat { border-right: none; }
.ph { position: sticky; top: 0; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.ph-title { position: relative; min-width: 0; flex: 0 1 auto; }
.ph-tbtn { display: flex; align-items: center; gap: 6px; max-width: 100%; height: 34px; padding: 0 10px; border: none; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ph-tbtn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-tbtn svg { color: var(--faint); flex: 0 0 auto; }
.ph-tbtn:hover:not(:disabled), .ph-tbtn[aria-expanded="true"] { background: var(--grey-soft); }
.ph-tbtn:disabled { cursor: default; }
.ph-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 240px; max-width: 360px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px -12px rgba(17,17,20,.25); display: flex; flex-direction: column; }
.ph-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; padding: 0 10px; border: none; border-radius: 8px; background: transparent; font-size: 13.5px; color: var(--ink); text-align: left; cursor: pointer; }
.ph-menu button > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-menu button:hover { background: var(--grey-soft); }
.ph-menu button.danger { color: var(--red-ink); }
.ph-menu hr { border: none; border-top: 1px solid var(--line); margin: 5px 4px; }
.ph-extra { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.ph-acts { margin-left: auto; display: flex; gap: 2px; flex: 0 0 auto; }
.ph-ic { width: 34px; height: 34px; border: none; border-radius: 9px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: 0 0 auto; }
.ph-ic:hover { background: var(--grey-soft); color: var(--ink); }
.ph-reopen { margin-left: auto; }
.cs-head .ph-reopen { margin-left: 0; }

/* closed: the chat has the whole width, its contents centred */
.builder.pshut { grid-template-columns: minmax(0, 1fr); }
.builder.pshut .builder-page { display: none; }
.builder.pshut .builder-chat { width: auto !important; padding: 0 max(0px, calc((100% - 820px) / 2)); }
.builder.pshut .bc-drag { display: none; }
/* expanded: the panel has the whole width */
.builder.pwide { grid-template-columns: minmax(0, 1fr); }
.builder.pwide .builder-chat, .cs.pwide .cs-chat { display: none; }
.builder.pwide .builder-page, .cs.pwide .cs-panel { margin-left: 8px; }
@media (max-width: 1000px) { .builder-page, .cs-panel { margin: 8px; height: auto; } }
.builder.pshut .bc-head { border-bottom: none; }
.ph-ic.side-open-btn { display: none; }
body.side-min .ph-ic.side-open-btn { display: inline-flex; }
/* the sidebar's fold button sits exactly where the chat's sidebar button is, so it never jumps under the cursor */
.side .side-toggle { position: absolute; left: var(--tgl-x, 12px); top: var(--tgl-y, 15px); z-index: 2; }
.side-top.has-toggle { padding-left: max(0px, calc(var(--tgl-x, 12px) + 34px - 12px)); }
.side-top.has-toggle { margin-top: calc(var(--tgl-y, 15px) + 17px - 24px - 18px); } /* SAM's logo centred on the button */

/* the chat about the initiative in the panel: a chip above the composer says where messages go */
.about-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--border); background: #fff; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.about-chip b { font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.about-chip .ab-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #C9CAD1; }
.about-chip.on { border-style: solid; border-color: var(--purple-line); background: var(--sam-soft); color: var(--purple-ink); }
.about-chip.on .ab-dot { background: var(--sam); }
.about-chip.on b { color: var(--purple-ink); }
.about-chip > span:last-child[aria-hidden] { font-size: 11px; opacity: .7; }
/* the list of initiatives in the panel */
.cs-list { padding: 22px 26px 32px; }
.cs-list .wrap { max-width: none; }
.cs-list h1 { font-size: 24px !important; }
.cs-panel .pad.bp-body { max-width: 820px; }
.side-top .brand .logo { flex: 0 0 auto; }
.side-top .brand small { white-space: nowrap; }

/* who you are, pinned to the bottom of the sidebar while its list scrolls (like Claude's) */
.side .me { position: sticky; bottom: -24px; z-index: 3; margin: auto -16px -24px; padding: 10px 16px 14px; background: var(--side); border-top: 1px solid var(--line); }
.side .me { bottom: -20px; }
.side .me-btn > span:last-child { min-width: 0; }
.side .me-btn b, .side .me-btn small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .me-btn > span:not(.av):not(.swap) { flex: 1 1 auto; min-width: 0; overflow: hidden; }

/* the sidebar: the top and your name stay put; only the drafts and initiatives scroll */
.side { overflow: hidden; }
.side-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -16px; padding: 0 16px 12px; display: flex; flex-direction: column; gap: 20px; scrollbar-width: thin; }
.side .me { position: relative; margin: 0 -16px -24px; bottom: auto; } /* relative: the person menu opens just above it */
.side .me { margin-bottom: -20px; }
body.side-min.side-peek .side { padding: 20px 16px; }
.side-top .brand > span:last-child { min-width: 0; }
.side-top .brand small { overflow: hidden; text-overflow: ellipsis; }
/* while the sidebar tucks away, nothing inside it reflows */
body.side-tucking .side { overflow: hidden; white-space: nowrap; }
.me-opt { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; color: var(--ink-2); cursor: pointer; }
.me-opt input { margin: 2px 0 0; accent-color: var(--ink); }
/* the hint in the message box always fits on one line */
.send textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the sidebar's main rows (Chat with SAM, Design, All initiatives): icon and label, quiet until hovered */
.nav-rows { display: flex; flex-direction: column; gap: 1px; margin: 0 -6px; }
.nav-row { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: none; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 400; text-decoration: none; text-align: left; cursor: pointer; }
.nav-row:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.nav-row[aria-current="page"] { background: rgba(0,0,0,.06); }
.nav-row svg { flex: 0 0 18px; color: var(--ink-2); }
.nav-row > span:not(.badge-new) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-row .badge-new { margin-left: auto; }
/* Chat and All initiatives are different kinds of place: a little air between them */
.nav-rows .nav-row-apart { margin-top: 10px; }

/* ---------- initiative Overview, design "0p": start and finish cards in line, the path between them ---------- */
.jp-hero { display: flex; flex-direction: column; gap: 0; padding: 22px 24px 24px; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; background: #fff; }
.jp-say { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 900px; }
.jp-say .u-today { text-decoration: underline; text-decoration-color: #B9BAC2; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jp-say .u-now { text-decoration: underline; text-decoration-color: #E2A63A; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jp-say .u-goal { text-decoration: underline; text-decoration-color: #3E9B66; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; font-size: 13px; color: var(--faint); }
.jp-meta i { font-style: normal; color: #CFCFD6; }
.jp-meta svg { color: var(--faint); }
.jp-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; }
.jp-card > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jp-card small { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.jp-card b { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jp-card > div > span { font-size: 14px; color: #5D5D5D; }
.jp-card.today { background: #F4F4F5; }
.jp-card.goal { background: #EEF8F1; border: 1px solid #CBE7D4; }
.jp-card.goal small { color: #23794A; }
.jp-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--faint); border: 1px solid rgba(0,0,0,.06); }
.jp-card.goal .jp-ic { background: #2F7A4C; color: #fff; border-color: #2F7A4C; }
.jp-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid #CBE7D4; color: #23794A; font-size: 13px; font-weight: 500; }
/* the link between the two cards: a line, and the path folded into a pill */
.jp-link { position: relative; padding: 8px 0 8px 52px; }
.jp-link::before { content: ''; position: absolute; left: 37px; top: 0; bottom: 0; border-left: 2px dashed #D6D6DC; }
.jp-link::after { content: ''; position: absolute; left: 32px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: #E2A63A; box-shadow: 0 0 0 4px #FFF4DB; }
.jp-pill { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid rgba(0,0,0,.1); background: #fff; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.jp-pill:hover { border-color: rgba(0,0,0,.22); }
.jp-pill b { color: var(--ink); font-weight: 600; }
.jp-pill em { font-style: normal; color: #A05A00; }
.jp-bar { width: 1px; height: 18px; background: rgba(0,0,0,.1); }
.jp-dots { display: inline-flex; gap: 3px; }
.jp-dots > span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px dashed #CFCFD6; color: #A0A0A8; }
.jp-dots > span.now { border: 1.5px solid #E2A63A; background: #FFF4DB; color: #A05A00; }
.jp-dots > span.done { border: none; background: var(--ink); color: #fff; }
.jp-path { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.jp-step { display: grid; grid-template-columns: 32px 110px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 4px 14px 4px 6px; margin-left: -46px; border-radius: 12px; font-size: 14px; color: var(--faint); }
.jp-step b { font-weight: 500; }
.jp-step .jp-st { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp-step small { font-size: 12.5px; color: #A0A0A8; white-space: nowrap; }
.jp-sic { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1.5px dashed #D6D6DC; background: #fff; color: #A0A0A8; position: relative; z-index: 1; }
.jp-step.now { background: #FFF8E8; color: #A05A00; }
.jp-step.now b { color: var(--ink); font-weight: 600; }
.jp-step.now .jp-sic { border: 1.5px solid #E2A63A; color: #A05A00; }
.jp-step.done { color: var(--ink-2); }
.jp-step.done .jp-sic { border: none; background: var(--ink); color: #fff; }
.jp-subs { list-style: none; margin: 4px 0 8px 22px; padding: 0 0 0 22px; border-left: 1.5px solid #E6E6EA; display: flex; flex-direction: column; gap: 8px; }
.jp-subs li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.jp-subs li.todo { color: var(--faint); }
.jp-subs li svg { flex: 0 0 15px; }
.jp-subs em { font-style: normal; color: #A05A00; }
.jp-needs { display: flex; flex-direction: column; gap: 10px; }
/* the sections below */
.jp-secs { display: flex; flex-direction: column; border-bottom: 1px solid rgba(0,0,0,.08); margin-top: 8px; }
.jp-sec { border-top: 1px solid rgba(0,0,0,.08); }
.jp-sb { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 2px; border: none; background: transparent; text-align: left; cursor: pointer; color: var(--ink); }
.jp-tile { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.jp-title { flex: 1 1 auto; font-size: 16.5px; font-weight: 600; }
.jp-sum { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #5D5D5D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.jp-body { padding: 4px 4px 22px 54px; display: flex; flex-direction: column; gap: 12px; }
.jp-track { display: inline-flex; align-items: center; gap: 0; }
.jp-tk { width: 10px; height: 10px; border-radius: 50%; border: 1.5px dashed #C4C5CC; position: relative; }
.jp-tk + .jp-tk { margin-left: 12px; }
.jp-tk + .jp-tk::before { content: ''; position: absolute; right: 11px; top: 3px; width: 10px; border-top: 1.5px dashed #C4C5CC; }
.jp-tk.done { background: var(--ink); border: 1.5px solid var(--ink); }
.jp-tk.now { border: 2px solid #E2A63A; }
.jp-pills { display: inline-flex; gap: 6px; }
.jp-pills > span { height: 26px; padding: 0 10px; border-radius: 999px; background: #F2F2F2; display: inline-flex; align-items: center; color: var(--ink); }
.jp-pills > span.dash { background: #fff; border: 1px dashed #D6D6DC; color: var(--muted); }
.jp-mini { display: inline-block; position: relative; width: 70px; height: 5px; border-radius: 999px; background: #E9E9EC; overflow: hidden; }
.jp-mini > span { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 999px; }
.jp-sub { font-size: 14px; font-weight: 600; margin-top: 4px; }
.jp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jp-c { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #F2F2F2; font-size: 14px; }
.jp-c svg { color: var(--muted); }
.jp-c.dash { background: #fff; border: 1.5px dashed #DADADF; color: var(--muted); }
.jp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.jp-col { border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.jp-col.likely { border-style: dashed; }
.jp-col.now { border-color: #EBC873; background: #FFFCF4; }
.jp-col-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jp-col-h b { font-size: 15px; }
.jp-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.jp-col ul b { font-weight: 600; }
.jp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.jp-two > div + div { border-left: 1px solid rgba(0,0,0,.08); padding-left: 28px; }
.jp-cap { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.jp-ev { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 14px; }
.jp-ev-d { font-size: 13px; color: var(--faint); text-align: right; }
.jp-ev.soon .jp-ev-t { color: #5D5D5D; }
.jp-ev-acts { margin: 2px 0 6px 76px; }
.jp-ev-note { margin-top: 6px; }
.k2-av.sm { flex: 0 0 26px; width: 26px; height: 26px; font-size: 10.5px; }
.k2-av.sam { background: var(--ink); color: #fff; }
.jp-avs { display: inline-flex; }
.jp-avs .k2-av + .k2-av { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.jp-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.jp-pc { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(0,0,0,.09); border-radius: 14px; }
.jp-pc .k2-av { flex: 0 0 40px; width: 40px; height: 40px; font-size: 13px; }
.jp-pc small { display: block; font-size: 12.5px; color: var(--faint); }
.jp-pc b { display: block; font-size: 15px; }
.jp-pc span > span { font-size: 13px; color: #5D5D5D; }
.jp-teams { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.jp-dl { margin: 0; display: flex; flex-direction: column; }
.jp-dl > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.06); }
.jp-dl > div:first-child { border-top: none; }
.jp-dl dt { font-size: 13px; color: var(--faint); }
.jp-dl dd { margin: 0; font-size: 14px; }
.jp-dl ul { margin: 0; padding-left: 18px; }
.k2-panel .jp-body .k2-write { gap: 12px; }
@media (max-width: 760px) {
  .jp-two { grid-template-columns: 1fr; } .jp-two > div + div { border-left: none; padding-left: 0; }
  .jp-step { grid-template-columns: 32px 90px minmax(0, 1fr); } .jp-step small { display: none; }
  .jp-sum { display: none; } .jp-body { padding-left: 4px; } .jp-dl > div { grid-template-columns: 1fr; gap: 4px; }
}
.jp-say { font-size: 16.5px; line-height: 1.7; }
.jp-say .u-goal { text-decoration: none; color: #23794A; font-weight: 500; }
.jp-gaps { color: #A05A00; font-weight: 500; }
.ph-primary { display: inline-flex; align-items: center; margin-right: 6px; }
.k2-panel { margin-top: 0; }
.cs-panel .bp-body.k2 { padding-top: 16px; }

/* the panel floats over the screen, like an artifact beside a Claude chat */
.cs.split { background: #F5F5F6; }
.cs.split .cs-chat { background: transparent; }
.cs.split .cs-head { border-bottom-color: transparent; }
.cs.split .cs-foot .composer { border-top-color: transparent; background: transparent; }
.cs.split .cs-foot .send { background: #fff; }
.cs-panel { margin: 10px 10px 10px 6px; height: calc(100vh - 20px); border: 1px solid #E2E2E7; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(17,17,20,.05), 0 10px 24px -8px rgba(17,17,20,.12), 0 30px 60px -30px rgba(17,17,20,.22); overflow-y: auto; }
.cs-panel .ph { background: rgba(255,255,255,.96); }
.cs.pwide .cs-panel { margin-left: 10px; }
.cs.split .cs-chat.builder-chat { border-right: none; border-left: none; }
.cs-panel { box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 18px 40px -18px rgba(17,17,20,.22); }
.cs-panel .bp-body.k2 { padding-top: 22px; }
.cs-panel .k2-head { margin-bottom: 16px; }

/* the panel's top bar: slimmer */
.ph { padding: 4px 8px 4px 10px; gap: 8px; }
.ph-tbtn { height: 30px; padding: 0 8px; font-size: 14px; }
.ph-ic { width: 30px; height: 30px; }
.ph-ic svg { width: 16px; height: 16px; }
.ph .doc-state { height: 22px; padding: 0 8px; font-size: 12px; display: inline-flex; align-items: center; }
.ph .btn.sm { height: 28px; padding: 0 12px; font-size: 13px; }
/* the panel bar's title steps back; the page's own heading leads */
.ph-tbtn { color: var(--muted); font-weight: 500; }
.ph-tbtn:hover:not(:disabled), .ph-tbtn[aria-expanded="true"] { color: var(--ink); }
.k2-tab.ov { justify-content: center; }

/* the Initiative tab's Activity and Decisions */
.jp-feed { display: flex; flex-direction: column; gap: 2px; }
.jp-feed + .jp-feed { margin-top: 18px; }
.jp-ev.big { grid-template-columns: 64px 30px minmax(0, 1fr) auto; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.06); }
.jp-ev.big:first-of-type { border-top: none; }
.jp-ev.big .jp-ev-d { padding-top: 5px; }
.jp-ev.big .jp-ev-t { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.jp-ev.big .jp-ev-t small { font-size: 13px; color: var(--faint); line-height: 1.45; }
.jp-ev-ic { width: 28px; height: 28px; border-radius: 8px; background: #F2F2F2; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.jp-ev-ic.decision { background: #FFF4DB; color: #A05A00; }
.jp-ev-ic.sam { background: #EEF0FF; color: #4450C8; }
.jp-ev-ic.data { background: #F0EDFC; color: #6247C9; }
.jp-feed .k2-approve { margin-bottom: 8px; }

/* designing a new initiative: its page, greyed out, with only the top card in focus */
.cs-panel .bp-body.dz { padding-bottom: 96px; }
.dz-dim { opacity: .38; filter: grayscale(1); pointer-events: none; user-select: none; }
.dz-focus { position: relative; box-shadow: 0 0 0 4px #EEF0FF, 0 10px 30px -18px rgba(68,80,200,.45); border-color: #D5DAFB; }
.dz-ph { color: #A6A7B0; font-weight: 400; font-style: italic; }
h1.dz-ph { font-weight: 600; }
.dz-pill { cursor: default; }
.dz-pill:hover { border-color: rgba(0,0,0,.1); }
.dz .jp-card.dz-need { outline: 1.5px dashed #C9CDF6; outline-offset: 3px; }
.dz .dz-busy { animation: samPulse 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dz .dz-busy { animation: none; } }
.cs-panel .phase-bar { position: sticky; bottom: 34px; }

/* ---------- the top card (design "ov"): explainer, Today, the path as Aim / How / Done when rows, the Goal ---------- */
.ov { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px; border-radius: 22px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.ov-top { display: flex; flex-direction: column; gap: 10px; }
.ov-say { margin: 0; font-size: 17px; line-height: 1.55; color: #0D0D0D; }
.ov-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8F8F8F; }
.ov-meta svg { color: #ADADAD; }
.ov-ph { color: #ADADAD; font-style: italic; font-weight: 400; }
.ov-rail { display: flex; flex-direction: column; }
.ov-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; }
.ov-card.today { background: #F4F4F4; }
.ov-card.goal { background: #F1FAF4; border: 1px solid #CDEBD8; }
.ov-ic { position: relative; z-index: 1; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: #fff; color: #5D5D5D; display: flex; align-items: center; justify-content: center; }
.ov-card.goal .ov-ic { background: #1A7F4B; color: #fff; }
.ov-ct { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ov-ct small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8F8F8F; }
.ov-card.goal .ov-ct small { color: #1A7F4B; }
.ov-ct b { font-size: 17px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.ov-link { display: flex; align-items: center; gap: 14px; padding-left: 17px; }
.ov-dotcol { flex: 0 0 32px; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; margin-left: -17px; }
.ov-dotcol i { display: block; }
.ov-l1 { width: 2px; height: 10px; background: #C4C4C4; }
.ov-dot { width: 10px; height: 10px; margin: 4px 0; border-radius: 50%; background: #E8A317; box-shadow: 0 0 0 4px rgba(232,163,23,.18); }
.ov-l2 { width: 2px; height: 10px; background: repeating-linear-gradient(180deg, #D6D6D6 0 3px, transparent 3px 6px); }
.ov-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 7px; margin-left: -6px; border: none; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); font: inherit; color: inherit; }
button.ov-pill { cursor: pointer; } button.ov-pill:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.ov-dots { display: flex; gap: 3px; }
.ov-dots .ov-sic { width: 20px; height: 20px; flex-basis: 20px; }
.ov-dots .ov-sic svg { width: 13px; height: 13px; }
.ov-pn { font-size: 13px; font-weight: 500; color: #3D3D3D; }
.ov-bar { width: 1px; height: 14px; background: rgba(0,0,0,.12); }
.ov-pt { font-size: 13px; color: #3D3D3D; }
.ov-pt strong { font-weight: 600; }
.ov-faint { color: #8F8F8F; }
.ov-em { font-style: normal; color: #A05A00; }
.ov-pill .k2-chev svg { width: 14px; height: 14px; }
/* step icons: active solid amber, likely dashed, later dotted, done dark */
.ov-sic { position: relative; z-index: 1; flex: 0 0 26px; width: 26px; height: 26px; box-sizing: border-box; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #fff; color: #ADADAD; border: 1.5px dashed #D0D0D0; }
.ov-sic.now { background: #FFF4DB; color: #A05A00; border: 1.5px solid #E8A317; }
.ov-sic.later, .ov-sic.out { background: #FAFAFA; color: #D0D0D0; border: 1.5px dotted #D6D6D6; }
.ov-sic.done { background: #0D0D0D; color: #fff; border: none; }
.ov-steps { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 4px 8px 10px 20px; }
.ov-steps::before { content: ''; position: absolute; left: 32px; top: -2px; bottom: 0; border-left: 2px dashed #DCDCDC; }
.ov-row { display: flex; gap: 14px; align-items: flex-start; margin-left: -8px; padding: 10px 8px; border-radius: 12px; }
.ov-row.now { background: #FFF8E8; }
.ov-name { flex: 0 0 140px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 3px; }
.ov-name b { font-size: 14px; font-weight: 600; color: #0D0D0D; }
.ov-row.likely .ov-name b, .ov-row.done .ov-name b { font-weight: 500; color: #8F8F8F; }
.ov-row.later .ov-name b { font-weight: 500; color: #BDBDBD; }
.ov-chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; align-self: flex-start; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.ov-chip.now { background: #FFF1D2; color: #A05A00; }
.ov-chip.done { background: #E6F5EC; color: #1A7F4B; }
.ov-soft { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #ADADAD; white-space: nowrap; }
.ov-later { font-size: 12px; color: #C4C4C4; white-space: nowrap; }
.ov-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 3px; }
.ov-l { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ov-lk { font-size: 12px; color: #ADADAD; }
.ov-aim { font-size: 14px; color: #5D5D5D; }
.ov-row.now .ov-aim { color: #7A4F00; }
.ov-aim.ph, .ov-row.later .ov-aim { font-style: italic; color: #BDBDBD; }
.ov-how { display: flex; flex-direction: column; gap: 4px; }
.ov-how > span { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; line-height: 1.45; color: #5D5D5D; }
.ov-how i { flex: 0 0 5px; height: 5px; border-radius: 50%; background: #C4C4C4; transform: translateY(-2px); }
.ov-done { font-size: 13.5px; color: #3D3D3D; }
.ov .dz-need { outline: 1.5px dashed #C9CDF6; outline-offset: 3px; }
.ov .dz-busy { animation: samPulse 2.2s ease-in-out infinite; }
@media (max-width: 760px) {
  .ov { padding: 18px 16px; }
  .ov-row { flex-wrap: wrap; } .ov-name { flex-basis: auto; flex-direction: row; align-items: center; gap: 8px; }
  .ov-body { flex-basis: 100%; padding-left: 40px; } .ov-l { grid-template-columns: 70px minmax(0, 1fr); }
}
/* folder tabs: tighter, so each status fits beside its name */
.k2-tab { min-width: 0; padding: 10px 12px 12px; gap: 7px; }
.k2-tab-t { gap: 6px; font-size: 14.5px; }
.k2-tab-t small { font-size: 11.5px; flex: 0 1 auto; }

/* ---------- designing part 1 (0v): you give the goal, SAM suggests today and step 1 ---------- */
.bp-body.dp { display: flex; flex-direction: column; gap: 22px; padding: 22px 24px 24px; --dp: #6A5BD6; container-type: inline-size; }
.dp-head h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.dp-head h1.dp-untitled { font-style: italic; color: #8F8F8F; }
.dp-strip { display: flex; gap: 8px; align-items: flex-start; margin-top: -6px; }
.dp-seg { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-seg.one { flex: 0 0 auto; padding-right: 12px; }
.dp-bar { height: 4px; border-radius: 999px; background: repeating-linear-gradient(90deg, #E6E6E6 0 6px, transparent 6px 10px); }
.dp-seg.one .dp-bar { background: linear-gradient(90deg, var(--dp) 0 var(--p), #E4E0FA var(--p)); transition: background .4s; }
.dp-seg.two .dp-bar { background: #EDEDED; }
.dp-lab { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: #ADADAD; }
.dp-seg.two .dp-lab { color: #8F8F8F; }
.dp-seg.one .dp-lab b { font-weight: 600; color: var(--dp); }
.dp-parts { display: inline-flex; gap: 12px; font-size: 12.5px; }
.dp-parts > span { display: inline-flex; align-items: center; gap: 4px; }
.dp-parts .ok { color: #1A7F4B; }
.dp-parts .now { color: var(--dp); font-weight: 600; }
.dp-faint { color: #ADADAD; }
.dp-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.dp-why { margin: 0 0 2px; font-size: 16px; color: #0D0D0D; }
.dp-end { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: #F4F4F4; transition: box-shadow .25s; }
.dp-end.is-goal { background: #F0F7F2; }
.dp-end.is-step { background: #FFF8E8; }
.dp-end.focus { box-shadow: 0 0 0 2px var(--dp), 0 0 0 6px rgba(106,91,214,.12); }
.dp-eic { flex: 0 0 30px; width: 30px; height: 30px; box-sizing: border-box; border-radius: 8px; background: #fff; color: #5D5D5D; display: flex; align-items: center; justify-content: center; }
.dp-end.is-goal .dp-eic { background: #2F7D4A; color: #fff; }
.dp-end.is-step .dp-eic { background: #FFF4DB; color: #A05A00; border: 1.5px solid #E8A317; }
.dp-eb { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dp-eh { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.dp-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8F8F8F; }
.dp-end.is-goal .dp-k { color: #2F7D4A; }
.dp-end.is-step .dp-k { color: #B07A1E; }
.dp-et { font-size: 17px; font-weight: 600; color: #0D0D0D; text-wrap: pretty; }
.dp-et:empty { display: none; }
.dp-end.is-step .dp-et { font-size: 16px; font-weight: 400; }
.dp-ph { font-style: italic; font-weight: 400; color: #ADADAD; }
.dp-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; background: #F1EDFF; color: var(--dp); font-size: 12px; font-weight: 500; white-space: nowrap; }
.dp-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--dp); }
.dp-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #B07A1E; white-space: nowrap; }
.dp-link { position: relative; display: flex; align-items: center; gap: 18px; margin: -4px 0 -4px 22px; font-size: 13px; color: #ADADAD; }
.dp-link::before { content: ''; position: absolute; left: 15px; top: -12px; bottom: -12px; border-left: 2px dotted #D6D6D6; }
.dp-icons { position: relative; display: inline-flex; gap: 14px; }
.dp-li { display: inline-flex; align-items: center; gap: 6px; }
.dp-li > span { width: 26px; height: 26px; box-sizing: border-box; border-radius: 8px; border: 1.5px dashed #D6D6D6; background: #fff; display: flex; align-items: center; justify-content: center; color: #BDBDBD; }
.dp-icons.tight { gap: 4px; }
.dp-icons.tight .dp-li > span { width: 22px; height: 22px; border-radius: 50%; }
.dp-path { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 12px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.06); }
.dp-rail { position: absolute; left: 32px; top: 44px; bottom: 26px; border-left: 2px dashed #DCDCDC; }
.dp-path-h { display: flex; align-items: center; gap: 10px; padding-left: 38px; font-size: 12.5px; color: #ADADAD; }
.dp-step { display: flex; gap: 14px; align-items: center; min-height: 34px; }
.dp-step.one { margin-left: -8px; padding: 8px; border-radius: 12px; background: #FFF8E8; transition: box-shadow .25s; }
.dp-step.one.focus { box-shadow: 0 0 0 2px var(--dp), 0 0 0 6px rgba(106,91,214,.12); }
.dp-sic { position: relative; z-index: 1; flex: 0 0 26px; width: 26px; height: 26px; box-sizing: border-box; border-radius: 8px; background: #FAFAFA; color: #C4C4C4; border: 1.5px dashed #D6D6D6; display: flex; align-items: center; justify-content: center; }
.dp-step.one .dp-sic { background: #FFF4DB; color: #A05A00; border: 1.5px solid #E8A317; }
.dp-sn { flex: 0 0 110px; display: flex; flex-direction: column; }
.dp-sn small { font-size: 11.5px; color: #C4C4C4; }
.dp-sn b { font-size: 14px; font-weight: 500; color: #ADADAD; }
.dp-step.one .dp-sn small { color: #C08A2E; }
.dp-step.one .dp-sn b { font-weight: 600; color: #0D0D0D; }
.dp-st { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-style: italic; color: #C4C4C4; }
.dp-step.one .dp-st { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-style: normal; color: #7A4F00; }
.dp-step.one .dp-st small { font-size: 12px; font-style: italic; color: #C08A2E; }
@container (max-width: 600px) { .dp-sn { flex-basis: 80px; } .dp-step.one { flex-wrap: wrap; } }
.dp-foot { position: sticky; bottom: 0; z-index: 5; margin-top: auto; display: flex; justify-content: flex-end; padding: 12px 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.dp-foot .btn { border-radius: 999px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: -4px 0 4px 40px; }
.quick .chip-btn { min-height: 36px; padding: 0 16px; font-size: 14px; }
.chip-btn.dark { background: #0D0D0D; border-color: #0D0D0D; color: #fff; }
.chip-btn.dark:hover { background: #2F2F2F; }
.bubble b { font-weight: 600; }
@container (max-width: 600px) { .dp-strip .dp-seg.later .dp-lab { display: none; } }
.dp .dz-busy { animation: samPulse 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dp .dz-busy { animation: none; } }

/* ---------- initiative tabs: the Initiative tab, a gap and a divider, then the steps as smaller folder tabs ---------- */
.k2-tabs { display: flex; align-items: flex-end; gap: 14px; overflow: visible; }
.k2-tab.ov { flex: 0 0 auto; min-width: 0; display: inline-flex; flex-direction: row; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border: 1px solid transparent; border-bottom: none; border-radius: 14px 14px 0 0; background: #EFEFEF; color: #3D3D3D; }
.k2-tab.ov b { font-size: 16px; font-weight: 600; color: inherit; }
.k2-ov-ic { display: flex; color: #5D5D5D; }
.k2-tab.ov[aria-current="page"] { background: #fff; border-color: rgba(0,0,0,.08); margin-bottom: -1px; color: var(--ink); }
.k2-steps { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-end; gap: 3px; padding-left: 14px; border-left: 1px solid rgba(0,0,0,.1); overflow-x: auto; scrollbar-width: none; margin-bottom: -1px; padding-bottom: 1px; }
.k2-steps::-webkit-scrollbar { display: none; }
.k2-st { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border: 1px solid transparent; border-bottom: none; border-radius: 12px 12px 0 0; background: #EFEFEF; font: inherit; cursor: pointer; position: relative; }
.k2-st:hover { background: #E8E8E8; }
.k2-st i { font-style: normal; font-size: 11.5px; color: #ADADAD; }
.k2-st b { font-size: 14px; font-weight: 500; color: #3D3D3D; white-space: nowrap; }
.k2-st.likely, .k2-st.later, .k2-st.out { background: transparent; border: 1.5px dashed #DDDDDD; }
.k2-st.likely b, .k2-st.later b, .k2-st.out b { color: #ADADAD; }
.k2-st.likely:hover, .k2-st.later:hover { background: #FAFAFA; }
.k2-st[aria-current="page"] { background: #fff; border: 1px solid rgba(0,0,0,.08); border-bottom: none; margin-bottom: -2px; padding-bottom: 1px; z-index: 1; }
.k2-st[aria-current="page"] b { color: var(--ink); font-weight: 600; }
.k2-st-ic { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.k2-st-ic svg { width: 16px; height: 16px; }
.k2-st-ic.ok { background: #1A7F4B; color: #fff; }
.k2-st-ic.ok svg { width: 11px; height: 11px; }
.k2-st-ic.later { box-sizing: border-box; border: 1.5px dashed #D0D0D0; }
.k2-st-dot { width: 7px; height: 7px; border-radius: 50%; background: #E8A317; }
.k2-panel.first { border-top-left-radius: 0; }
.k2-panel:not(.first) { border-top-left-radius: 16px; }

/* ---------- 0z41: Discovery · Implementation · Outcomes · Evidence ---------- */
.k2-steps { gap: 8px; }
.k2-st { height: 48px; padding: 0 18px 0 14px; gap: 9px; background: #EFEFEF; border-radius: 14px 14px 0 0; }
.k2-st b { font-size: 15.5px; font-weight: 500; color: #3D3D3D; }
.k2-st i { font-size: 13px; }
.k2-st[aria-current="page"] { height: 52px; }
.k2-st-ic { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; color: #5B4FD6; }
.k2-st-ic .k2-ring { position: absolute; inset: 0; width: 26px; height: 26px; }
.k2-st-ic.implementation { color: #1A7F4B; }
.k2-st-ic.evidence { border-radius: 7px; background: #E6F1FA; color: #2C6E9E; }
.k2-tsep { flex: 0 0 1px; align-self: stretch; margin: 6px 4px 0; background: rgba(0,0,0,.1); }
.wt-sum { padding: 22px 26px 18px; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; }
.wt-sum p { margin: 0; font-size: 16px; line-height: 1.6; color: #0D0D0D; text-wrap: pretty; }
.wt-sum p b { font-weight: 600; }
.wt-sum-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.07); font-size: 13px; color: #8F8F8F; }
.wt-today { display: inline-flex; align-items: center; gap: 8px; color: #3D3D3D; }
.wt-today i { width: 7px; height: 7px; border-radius: 50%; background: #E8A317; }
.wt-tools { display: flex; gap: 8px; }
.wt-tool { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; color: #5D5D5D; cursor: pointer; }
.wt-tool b { font-weight: 600; color: #0D0D0D; }
.wt-tool svg { width: 14px; height: 14px; }
.wt-tool[aria-pressed="true"] { border-color: rgba(0,0,0,.3); }
.wt-table { display: flex; flex-direction: column; container-type: inline-size; }
.wt-head, .wt-main { display: grid; align-items: center; column-gap: 14px; padding-left: 36px; padding-right: 8px; }
.wt-head { padding-top: 4px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 12.5px; color: #8F8F8F; }
.wt-head > span:first-child { display: none; }
.wt-group { padding: 14px 8px 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8F8F8F; }
.wt-row { border-bottom: 1px solid rgba(0,0,0,.07); }
.wt-main { position: relative; width: 100%; min-height: 58px; padding-top: 10px; padding-bottom: 10px; border: 0; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.wt-main:hover { background: #FAFAFA; }
.wt-car { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: flex; color: #ADADAD; }
.wt-car svg { width: 14px; height: 14px; }
.wt-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wt-name > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.wt-name b { font-size: 14.5px; font-weight: 500; color: #0D0D0D; }
.wt-name small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #8F8F8F; }
.wt-ic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #EEECFB; color: #5B4FD6; }
.wt-ic.implementation { background: #E7F3EC; color: #1A7F4B; }
.wt-ic.evidence { background: #E6F1FA; color: #2C6E9E; }
.wt-ic.sm { flex-basis: 16px; width: 16px; height: 16px; background: none; }
.wt-cell { min-width: 0; font-size: 13.5px; color: #3D3D3D; overflow-wrap: anywhere; }
.wt-pill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-pill i { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wt-pill.green { background: #E9F5EE; color: #1A7F4B; }
.wt-pill.amber { background: #FFF4DB; color: #8A5300; }
.wt-pill.purple { background: #EEECFB; color: #5B4FD6; }
.wt-pill.blue { background: #fff; color: #3B5BD6; box-shadow: inset 0 0 0 1px #C9D3F5; }
.wt-pill.grey { background: #F2F2F2; color: #6B6B6B; }
.wt-pill.red { background: #FDECEC; color: #B42318; }
.wt-roll { display: flex; flex-direction: column; gap: 6px; }
.wt-bar { position: relative; display: block; height: 4px; border-radius: 999px; background: #EAEAEA; overflow: hidden; min-width: 60px; }
.wt-bar > span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #5B4FD6; }
.wt-bar.g > span { background: #1A7F4B; }
.wt-row.dim .wt-main { opacity: .5; }
.wt-detail { margin: 0 0 12px 36px; padding: 18px 20px 14px; border-radius: 14px; background: #FAFAFA; }
.wt-sumtx { margin: 0; max-width: 68ch; font-size: 14.5px; line-height: 1.6; color: #2B2B2B; }
.wt-sumtx b { font-weight: 600; color: #0D0D0D; }
.wt-ch { margin-top: 16px; }
.wt-ch .wt-cap { margin-bottom: 6px; }
.wt-ch ul { margin: 0; padding: 0; list-style: none; }
.wt-ch li { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font-size: 13.5px; color: #3D3D3D; border-top: 1px solid rgba(0,0,0,.05); }
.wt-ch li:first-child { border-top: 0; }
.wt-ch li > span { flex: 1 1 auto; min-width: 0; }
.wt-ch li small { color: #8F8F8F; }
.wt-ch time { flex: 0 0 auto; font-size: 12.5px; color: #8F8F8F; white-space: nowrap; }
.wt-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.06); }
.wt-cap { display: block; margin-bottom: 10px; font-size: 12.5px; color: #8F8F8F; }
.wt-cap.next { color: #A05A00; font-weight: 600; }
.wt-k { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; color: #3D3D3D; }
.wt-k .wt-bar { width: 110px; }
.wt-k b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.wt-next { margin: 0 0 12px; font-size: 14px; color: #0D0D0D; }
.wt-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wt-links { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.06); }
.wt-links > span { display: flex; flex-wrap: wrap; gap: 6px 16px; min-width: 0; }
.wt-open { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #0D0D0D; white-space: nowrap; cursor: pointer; }
.wt-open:hover { text-decoration: underline; }
.wt-open.hot { font-size: 14.5px; font-weight: 700; color: #5B4FD6; }
.wt-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: #0D0D0D; cursor: pointer; text-align: left; }
.wt-link small { font-size: 13px; color: #8F8F8F; }
.wt-link:hover { text-decoration: underline; }
.wt-empty { padding: 20px 4px; }
@container (max-width: 640px) {
  .wt-head { display: none; }
  .wt-main { grid-template-columns: minmax(0, 1fr) auto !important; }
  /* narrow: just the last column, the row's state (Decision, Status, Verdict…) */
  .wt-main > .wt-cell:not(:last-child) { display: none; }
  .wt-detail { margin-left: 0; }
}
.k2-steps-w { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-end; }
.k2-steps-w .k2-steps { flex: 1 1 auto; scroll-behavior: smooth; }
.k2-more { position: absolute; right: 0; bottom: 10px; z-index: 3; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.16); display: none; align-items: center; justify-content: center; color: #5D5D5D; cursor: pointer; }
.k2-steps-w.more .k2-more { display: flex; }
.k2-steps-w.more::after { content: ''; position: absolute; right: 0; top: 0; bottom: 1px; width: 72px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%); }
.k2-tab.ov { padding: 0 16px; }
.k2-st { padding: 0 14px 0 12px; gap: 8px; }
.k2-st b { font-size: 15px; }

/* ---------- 0z42: the Initiative tab as parts ---------- */
.k2-head { flex-wrap: nowrap; min-width: 0; }
.k2-head h1 { flex: 0 1 auto; min-width: 0; }
.k2-head > span { flex: 0 0 auto; white-space: nowrap; }
.k2-head .ip-chip { color: #3D3D3D; font-size: 12.5px; height: 24px; }
.ip-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: #EDEDED; font-size: 13px; font-weight: 600; color: #3D3D3D; white-space: nowrap; }
.k2-last { flex: 1 1 0; min-width: 0; margin-left: auto; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: #8F8F8F; }
.k2-st.empty { background: transparent; border: 1.5px dashed #DDDDDD; border-bottom: none; }
.k2-st.empty b { color: #ADADAD; }
.k2-st.empty .k2-st-ic { opacity: .55; }
.k2-st.empty[aria-current="page"] { background: #fff; border: 1px solid rgba(0,0,0,.08); border-bottom: none; }
.k2-tab.ov .k2-st-dot { margin-left: 2px; }
.ip-sum { display: flex; flex-direction: column; gap: 14px; }
.ip-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.ip-row p { margin: 0; font-size: 16px; line-height: 1.5; }
.ip-k { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #8F8F8F; }
.ip-status { align-items: center; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.07); }
.ip-st { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #5D5D5D; }
.ip-segs { display: inline-flex; gap: 4px; }
.ip-segs i { width: 22px; height: 4px; border-radius: 999px; background: #E3E3E3; }
.ip-segs i.on { background: #2F7D4A; }
.wt-faint { color: #ADADAD; }
.ip-add { position: relative; }
.ip-add-b { display: inline-flex; align-items: center; gap: 12px; margin-left: 36px; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: #3D3D3D; cursor: pointer; }
.ip-add-b > span { width: 26px; height: 26px; border: 1.5px dashed #CFCFCF; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #8F8F8F; }
.ip-add-b small { font-size: 13px; color: #ADADAD; }
.ip-menu { position: absolute; left: 30px; top: 100%; z-index: 20; width: min(340px, 100%); padding: 10px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 12px 32px rgba(0,0,0,.12); display: flex; flex-direction: column; gap: 2px; }
.ip-menu .ip-k { padding: 2px 10px 6px; }
.ip-menu button { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; }
.ip-menu button:hover { background: #F4F4F4; }
.ip-menu button > span:last-child { display: flex; flex-direction: column; }
.ip-menu b { font-size: 14px; font-weight: 500; }
.ip-menu small { font-size: 12.5px; color: #8F8F8F; }
.ip-menu hr { margin: 4px 6px; border: 0; border-top: 1px solid rgba(0,0,0,.07); }
.ip-plus { width: 22px; text-align: center; color: #5D5D5D; }
.wt-ic.initiative { background: #F0F0F0; color: #5D5D5D; }
@container (max-width: 640px) { .ip-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.k2-panel { container-type: inline-size; }

/* ---------- 0z45: setting up an initiative in three steps ---------- */
.dp.v45 { gap: 26px; padding: 30px 40px 36px; }
.dp.v45 .dp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dp.v45 .dp-head h1 { font-size: 30px; letter-spacing: -0.02em; }
.dp.v45 .dp-head .dp-tag { margin-left: 0; }
.dp-steps { display: flex; gap: 14px; }
.dp-steps > span { flex: 1 1 0; display: flex; flex-direction: column; gap: 9px; }
.dp-sbar { height: 4px; border-radius: 999px; background: #E6E6E6; }
.dp-steps .ok .dp-sbar { background: #5B4FD6; }
.dp-steps .now .dp-sbar { background: linear-gradient(90deg, #5B4FD6 30%, #E3E0FA 30%); }
.dp-steps b { font-size: 14px; font-weight: 500; color: #ADADAD; }
.dp-steps .ok b, .dp-steps .now b { font-weight: 600; color: #5B4FD6; }
.dp-cards { display: flex; flex-direction: column; gap: 10px; }
.dp-c { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(0,0,0,.08); background: #fff; transition: box-shadow .25s, border-color .25s; }
.dp-c.focus { border: 2px solid #5B4FD6; padding: 17px 19px; background: #FBFAFF; box-shadow: 0 0 0 4px #EEEBFF; }
.dp-c.idle { border-color: transparent; background: #F6F6F6; }
.dp-cic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.dp-cic.goal { background: #F1EDFF; color: #6A5BD6; }
.dp-cic.today { background: #E3F4F8; color: #0E7490; }
.dp-c.idle .dp-cic { background: #fff; color: #ADADAD; border-radius: 9px; }
.dp-cb { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-ch { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.dp-c .dp-k { font-size: 12px; letter-spacing: .06em; color: #5D5D5D; }
.dp-c.focus .dp-k { color: #5B4FD6; }
.dp-c.idle .dp-k { color: #ADADAD; }
.dp-ct { font-size: 18px; line-height: 1.55; color: #0D0D0D; text-wrap: pretty; }
.dp-ct b { font-weight: 600; }
.dp-ct.ph { font-style: italic; font-size: 19px; color: #9A9A9A; }
.dp-ct.ph.sm { font-style: normal; font-size: 15px; color: #ADADAD; }
.dp-cb small { font-size: 13px; color: #8F8F8F; }
.dp-c .dp-tag { height: 26px; padding: 0 10px; font-size: 13px; }
.dp-tag.ok { background: #E8F6EE; color: #1A7F4B; }
.dp-create { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #5D5D5D; }
.dp-go { margin-left: auto; height: 44px; padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.dp-go:disabled { background: #EDEDED; border-color: #EDEDED; color: #ADADAD; cursor: default; }
.wt-moves { font-size: 13px; font-weight: 500; color: #3D3D3D; }
.wt-moves.goal { color: #5B4FD6; }

/* ---------- 0z47: the Context item and page ---------- */
.wt-row.next { margin: 6px 0; padding: 12px 6px 6px; border: 2px solid #5B4FD6; border-radius: 16px; box-shadow: 0 0 0 4px #EEEBFF; }
.wt-row.next .wt-main:hover { background: none; }
.wt-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0 10px 6px; font-size: 13.5px; color: #3D3D3D; }
.wt-nb { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: #5B4FD6; color: #fff; font-size: 12.5px; font-weight: 600; }
.wt-nb i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.wt-ic.setup { background: #FFF4DB; color: #9A6700; }
.cx { display: flex; flex-direction: column; gap: 22px; }
.cx-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8F8F8F; }
.cx-crumb > button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.cx-crumb > button:hover { color: #0D0D0D; }
.cx-crumb b { font-weight: 500; color: #0D0D0D; }
.cx-head { display: flex; align-items: center; gap: 14px; }
.cx-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: #FFF4DB; color: #9A6700; display: flex; align-items: center; justify-content: center; }
.cx-head > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cx-head h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.cx-head small { font-size: 14px; color: #5D5D5D; }
.cx-n { margin-left: auto; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 13px; color: #5D5D5D; }
.cx-bar { width: 140px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #5B4FD6 var(--p), #ECECEC var(--p)); }
.cx-crumb .cx-acts { margin-left: auto; display: flex; gap: 8px; }
.cx-ask { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #F7F5FF; border: 1px solid #E3DFFB; }
.cx-orb { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF 0 18%, #C9C6FF 55%, #8E86F0 100%); }
.cx-ask > span:nth-child(2) { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cx-ask small { font-size: 12px; font-weight: 600; color: #5B4FD6; }
.cx-ask b { font-size: 17px; font-weight: 500; }
.cx-hint { font-size: 14.5px; font-style: italic; color: #BDBDBD; }
@container (max-width: 560px) { .cx-n .cx-bar { width: 90px; } .cx-ask { padding: 14px; } .cx-ask b { font-size: 15.5px; } }
.cx-secs { display: flex; flex-direction: column; }
.cx-sec { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid rgba(0,0,0,.06); }
.cx-sh { display: flex; align-items: baseline; gap: 12px; }
.cx-sh b { font-size: 17px; font-weight: 600; }
.cx-sh small { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8F8F8F; }
.cx-sb { font-size: 16px; line-height: 1.6; color: #0D0D0D; }
.cx-h { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; }
.cx-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #EEF0FF; color: #4B4FC4; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cx-sec.blank { gap: 6px; }
.cx-sec.blank b { font-size: 17px; font-weight: 600; color: #ADADAD; }
.cx-sec.blank small { font-size: 14.5px; font-style: italic; color: #BDBDBD; }
.cx-dots { display: inline-flex; gap: 4px; }
.cx-dots i { width: 6px; height: 6px; border-radius: 50%; background: #8E86F0; animation: samPulse 1.1s ease-in-out infinite; }
.cx-dots i:nth-child(2) { background: #B5AFF5; animation-delay: .15s; }
.cx-dots i:nth-child(3) { background: #D8D4FA; animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .cx-dots i { animation: none; } }
/* a full page in the panel (Context): no header or tabs, just the page (0z48) */
.bp-body.k2.k2-full { max-width: 1040px; padding: 30px 48px 40px; container-type: inline-size; }
@media (max-width: 1100px) { .bp-body.k2.k2-full { padding: 24px 24px 32px; } }
.k2-page:has(> .k2-full) { background: #FFFFFF; }
/* SAM suggests: the one next thing, with a dot on its row (0z47) */
.sam-dot { display: inline-block; flex: 0 0 8px; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: #5B4FD6; box-shadow: 0 0 0 3px #EEEBFF; vertical-align: middle; }
.sam-sug { position: sticky; bottom: 18px; z-index: 3; margin-top: auto; display: flex; align-items: center; gap: 12px; min-height: 52px; box-sizing: border-box; padding: 8px 12px 8px 18px; border-radius: 14px; background: #FFFFFF; border: 1px solid #E3DFFB; box-shadow: 0 4px 14px rgba(60,50,160,.07), 0 1px 2px rgba(0,0,0,.04); }
/* the page grows to the panel's height, so the suggestion floats at its foot even on a short page */
.bp-body.k2:has(> .sam-sug) { min-height: 100%; box-sizing: border-box; }
.bp-body.k2:has(> .sam-sug) > .k2-panel { margin-bottom: 20px; }
.sam-sug .sam-dot { margin-left: 0; }
.sam-sug small { font-size: 13px; font-weight: 600; color: #5B4FD6; white-space: nowrap; }
.sam-sug-sep { color: #D6D6D6; }
.sam-sug b { font-size: 16px; font-weight: 600; color: #0D0D0D; white-space: nowrap; }
.sam-sug-h { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: #8F8F8F; }
.sam-sug-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #0D0D0D; white-space: nowrap; cursor: pointer; }
.sam-sug-go:hover { text-decoration: underline; }
.sam-sug-no { display: flex; padding: 6px; border: 0; border-radius: 6px; background: none; color: #BDBDBD; cursor: pointer; }
.sam-sug-no:hover { color: #0D0D0D; background: rgba(0,0,0,.05); }
.ip-go { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ip-go svg { margin-left: 6px; vertical-align: -1px; color: #8F8F8F; }
.ip-go:hover { text-decoration: underline; text-decoration-color: #C4C4C4; text-underline-offset: 3px; }
.ip-go:hover svg { color: #0D0D0D; }

/* Sources (0z51): everything SAM takes in, newest first */
.k2-st-ic.evidence { background: #E3F4F8; color: #0E7490; }
.src-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.src-add { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: #0D0D0D; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.src-add:hover { background: #2F2F2F; }
.src-cap { margin: -4px 0 4px; font-size: 13px; color: #8F8F8F; }
.src-ic { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.src-ic.conv { background: #FFF4DB; color: #9A6700; }
.src-ic.sys { background: #E8F6EE; color: #1A7F4B; }
.src-ic.ask { background: #EEEBFF; color: #5B4FD6; }
.src-ic.big { flex-basis: 44px; width: 44px; height: 44px; border-radius: 11px; }
.src-new { display: inline-flex; align-items: center; height: 20px; margin-left: 8px; padding: 0 7px; border-radius: 6px; background: #EEEBFF; color: #5B4FD6; font-size: 11.5px; font-style: normal; font-weight: 600; vertical-align: 1px; }
.src-dim { color: #8F8F8F; font-size: 13px; }
.src-used { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.src-used > span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #5D5D5D; white-space: nowrap; }
.src-used .wt-ic.sm.overview { color: #3D3D3D; }
.src-used .wt-ic.sm.context { color: #9A6700; }
.src-used .wt-ic.sm.outcomes { color: #6A5BD6; }
.src-used .wt-ic.sm.discovery { color: #4B4FC4; }
.src-detail { padding: 16px 18px 12px; }
.src-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-width: 860px; }
.src-facts li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; }
.src-facts li:hover { background: rgba(0,0,0,.03); }
.src-n { flex: 0 0 18px; padding-top: 2px; font-size: 12px; color: #ADADAD; }
.src-ft { flex: 1 1 auto; font-size: 14.5px; line-height: 1.45; color: #0D0D0D; }
.src-facts li.out .src-ft { color: #ADADAD; text-decoration: line-through; }
.src-x { flex: 0 0 auto; padding-top: 2px; font-size: 12px; color: #8F8F8F; }
.src-fa { flex: 0 0 auto; padding: 2px 6px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 12.5px; color: #8F8F8F; cursor: pointer; opacity: 0; }
.src-facts li:hover .src-fa, .src-fa:focus-visible { opacity: 1; }
.src-fa:hover { color: #0D0D0D; background: rgba(0,0,0,.05); }
@media (hover: none) { .src-fa { opacity: 1; } }
.src-page { gap: 26px; }
.src-back { width: 30px; height: 30px; justify-content: center; border-radius: 8px !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); color: #5D5D5D !important; }
.src-meta { font-size: 13.5px !important; color: #8F8F8F !important; }
.src-page .cx-head h2 { font-size: 26px; }
.src-sec { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.src-sec h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.src-k { font-size: 12px; color: #8F8F8F; }
.src-files { display: flex; flex-wrap: wrap; gap: 8px; }
.src-file { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1px solid rgba(0,0,0,.08); font-size: 13px; }
.src-file svg { color: #0E7490; }
.src-file small { color: #8F8F8F; font-size: 13px; }
.src-th { display: flex; align-items: baseline; gap: 10px; }
.src-th h3 { margin: 0; }
.src-th small { font-size: 12.5px; color: #8F8F8F; }
.src-tr { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: #3D3D3D; }
.src-tr p { margin: 0; }
.src-tr b { font-weight: 600; color: #0D0D0D; }
.src-tr mark { background: #F1EFFF; color: inherit; border-radius: 3px; padding: 0 2px; }
.src-tr sup { font-size: 10.5px; font-weight: 600; color: #5B4FD6; }
@container (max-width: 640px) { .src-t .wt-main > .wt-cell.c0 { display: none; } .src-t .wt-main > .wt-cell.c1 { display: block; color: #8F8F8F; font-size: 13px; text-align: right; } }

/* Progress (Initiative tab): where the whole initiative stands */
.pg-track { display: flex; flex-direction: column; border-top: 1px solid rgba(0,0,0,.07); }
.pg-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 8px; border: 0; border-bottom: 1px solid rgba(0,0,0,.07); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pg-row:hover { background: #FAFAFA; }
.pg-ic { position: relative; flex: 0 0 30px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #5D5D5D; }
.pg-ic .k2-ring { position: absolute; inset: 0; width: 30px; height: 30px; }
.pg-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-t b { font-size: 15px; font-weight: 600; }
.pg-t b i { margin-right: 6px; font-style: normal; font-weight: 500; color: #ADADAD; }
.pg-t small { font-size: 13.5px; color: #5D5D5D; line-height: 1.45; }
.pg-row.later .pg-t b { color: #8F8F8F; }
.pg-go { display: flex; color: #CFCFCF; }
.ip-go.ip-st { display: inline-flex; flex-wrap: wrap; align-items: center; }
.ip-go.ip-st:hover { text-decoration: none; }
.ip-go.ip-st:hover .wt-today, .ip-go.ip-st:hover .ip-n { text-decoration: underline; text-decoration-color: #C4C4C4; text-underline-offset: 3px; }

/* Activity (0z52 A): Sources and Actions */
.src-kinds { display: flex; flex-wrap: wrap; gap: 4px; margin-top: -8px; }
.src-kinds button { padding: 4px 10px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; color: #8F8F8F; cursor: pointer; }
.src-kinds button i { font-style: normal; color: #ADADAD; }
.src-kinds button:hover { color: #0D0D0D; }
.src-kinds button[aria-pressed="true"] { background: #F1F1F1; color: #0D0D0D; }
.act-g { display: flex; align-items: baseline; gap: 10px; padding: 18px 4px 6px; border-bottom: 1px solid rgba(0,0,0,.07); }
.act-g b { font-size: 13px; font-weight: 600; }
.act-g small { font-size: 12.5px; color: #ADADAD; }
.act-ic { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.act-ic.act-next { background: #fff; color: #8F8F8F; box-shadow: inset 0 0 0 1.5px #D6D6D6; }
.act-ic.act-run { background: #EEEBFF; color: #5B4FD6; }
.act-ic.act-done { background: #E8F6EE; color: #1A7F4B; }
.wt-row.act-dim .wt-name b { color: #5D5D5D; }
.act-why { margin: 0 0 4px; font-size: 14.5px; line-height: 1.5; color: #0D0D0D; max-width: 760px; }
.act-detail .wt-links .wt-acts { display: flex; gap: 8px; }
@container (max-width: 640px) { .act-t .wt-main > .wt-cell.c0 { display: block; } .act-t .wt-main > .wt-cell.c1, .act-t .wt-main > .wt-cell:last-child { display: none; } }

/* Progress (0z54): a living one-pager */
.pg { display: flex; flex-direction: column; max-width: 840px; padding: 4px 4px 0 22px; }
.pg-by { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 18px; font-size: 13px; color: #5D5D5D; }
.cx-orb.sm { flex-basis: 20px; width: 20px; height: 20px; }
.pg-ch { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-left: 4px; padding: 0 9px; border-radius: 999px; background: #EEEBFF; color: #5B4FD6; font-size: 12.5px; font-weight: 500; }
.pg-ch i { width: 6px; height: 6px; border-radius: 50%; background: #5B4FD6; }
.pg-top { display: flex; flex-direction: column; gap: 10px; padding-bottom: 22px; }
.pg-top h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.pg-p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #1F1F1F; }
.pg-p b { font-weight: 600; }
.pg-fn { display: inline; margin-left: 1px; padding: 0; border: 0; background: none; font: inherit; font-size: 10.5px; font-weight: 600; color: #5B4FD6; vertical-align: super; line-height: 0; cursor: pointer; }
.pg-fn:hover { text-decoration: underline; }
.pg-s { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(0,0,0,.07); }
.pg-s.fresh::before { content: ''; position: absolute; left: -18px; top: 26px; bottom: 22px; width: 3px; border-radius: 2px; background: #5B4FD6; }
.pg-h { display: flex; align-items: center; gap: 10px; }
.pg-h > span { display: flex; }
.pg-h b { font-size: 17px; font-weight: 600; }
.pg-h .src-new { margin-left: 0; }
.pg-l { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: #8F8F8F; cursor: pointer; }
.pg-l:hover { color: #0D0D0D; }
.pg-goal { display: flex; align-items: center; gap: 28px; padding: 16px 18px; border-radius: 14px; background: #FAFAFA; }
.pg-goal > span { display: flex; flex-direction: column; gap: 2px; }
.pg-goal small { font-size: 12.5px; color: #8F8F8F; }
.pg-num { display: flex; align-items: baseline; gap: 10px; }
.pg-num b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.pg-num span { font-size: 15px; color: #8F8F8F; }
.pg-bars { display: flex; gap: 12px; }
.pg-bars > span { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pg-bars i { display: block; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #5B4FD6 var(--p), #ECECEC var(--p)); }
.pg-bars > span.on i { background: linear-gradient(90deg, #5B4FD6 var(--p), #E3E0FA var(--p)); }
.pg-bars > span > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #ADADAD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-bars > span.on > span { font-weight: 600; color: #0D0D0D; }
.pg-li { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; line-height: 1.55; }
.pg-li > span:first-child { color: #BDBDBD; }
.pg-li > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.pg-li > small { flex: 0 0 auto; font-size: 13px; }
.pg-note { font-size: 13px; color: #8F8F8F; }
.pg-dim { color: #8F8F8F; }
.pg-next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pg-next li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.pg-next li > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.pg-next li small { font-size: 13px; color: #8F8F8F; white-space: nowrap; }
.pg-k { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D6D6D6; color: #8F8F8F; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.pg-k.now { background: #5B4FD6; box-shadow: none; color: #fff; }
@container (max-width: 560px) { .pg { padding-left: 4px; } .pg-bars > span > span svg { display: none; } }
.pg-num b.none { font-size: 20px; color: #8F8F8F; font-weight: 500; letter-spacing: 0; }

/* right-click menu on a draft's tab bar */
.tab-menu { position: fixed; z-index: 50; min-width: 170px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.tab-menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.tab-menu button:hover, .tab-menu button:focus-visible { background: rgba(0,0,0,.05); }
.tab-menu button.danger { color: #B42318; }

/* ---------- Discovery (0z67): Discoveries → Findings → Plans ---------- */
.dz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dz-seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 12px; background: #F2F2F2; flex-wrap: wrap; }
.dz-seg button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13.5px; color: #5D5D5D; cursor: pointer; white-space: nowrap; }
.dz-seg button svg { color: #8F8F8F; }
.dz-seg button[aria-selected="true"] { background: #fff; color: #0D0D0D; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); }
.dz-seg button[aria-selected="true"] svg { color: #5B4FD6; }
.dz-n { font-weight: 400; color: #8F8F8F; }
.dz-arr { display: flex; color: #BDBDBD; padding: 0 2px; }
.dz-todo { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 2px 8px; border-radius: 999px; background: #EEECFB; color: #5B4FD6; font-size: 11.5px; font-weight: 500; }
.dz-todo i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.dz-log { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 13px; color: #5D5D5D; cursor: pointer; padding: 6px 4px; }
.dz-log[aria-pressed="true"] { color: #0D0D0D; font-weight: 600; }
.dz-tools { align-items: center; flex-wrap: wrap; }
.dz-flt { cursor: default; color: #8F8F8F; }
.dz-chips { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.dz-chip { height: 26px; padding: 0 10px; border: 0; border-radius: 999px; font: inherit; font-size: 12px; cursor: pointer; background: #F2F2F2; color: #6B6B6B; }
.dz-chip.ask, .dz-chip.purple { background: #EEECFB; color: #5B4FD6; }
.dz-chip.ctx { background: #E6F1FA; color: #2C6E9E; }
.dz-chip.oth { background: #FCEDEF; color: #B4234A; }
.dz-chip.green { background: #E9F5EE; color: #1A7F4B; }
.dz-chip.amber { background: #FFF4DB; color: #8A5300; }
.dz-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px currentColor; }
.dz-add { display: inline-flex; align-items: center; gap: 6px; }
.dz-note { margin-left: auto; font-size: 13px; color: #8F8F8F; }
.wt-group.dz-g { display: flex; align-items: baseline; gap: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; padding: 18px 8px 8px; }
.wt-group.dz-g b { color: #0D0D0D; font-weight: 600; }
.wt-group.dz-g small { color: #8F8F8F; font-size: 12px; }
.wt-ic.dz-ask { background: #EEECFB; color: #5B4FD6; }
.wt-ic.dz-ctx { background: #E6F1FA; color: #2C6E9E; }
.wt-ic.dz-problem { background: #FDECEC; color: #B42318; }
.wt-ic.dz-hunch { background: #FFF4DB; color: #9A6700; }
.wt-ic.dz-fact { background: #E6F4F1; color: #17796A; }
.dz-new { margin-left: 7px; padding: 1px 6px; border-radius: 5px; background: #EEECFB; color: #5B4FD6; font-size: 10.5px; font-style: normal; font-weight: 500; vertical-align: 1px; }
.dz-who { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: #EEECFB; color: #5B4FD6; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dz-two { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dz-two > span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #0D0D0D; }
.dz-two > span svg { flex: none; color: #6B6B6B; }
.dz-two small { font-size: 12px; color: #8F8F8F; }
.dz-blue { color: #5B4FD6; }
.dz-stage { display: flex; flex-direction: column; gap: 5px; }
.dz-stage small { font-size: 12px; color: #0D0D0D; }
.dz-dots { display: flex; align-items: center; }
.dz-dots i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #D6D6D6; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.dz-dots i + i { margin-left: 8px; }
.dz-dots i + i::before { content: ''; position: absolute; right: 100%; top: 50%; width: 9px; height: 1.5px; background: #D6D6D6; }
.dz-dots i.done { background: #5B4FD6; border-color: #5B4FD6; }
.dz-dots i.done + i::before { background: #5B4FD6; }
.dz-dots i.now { border-color: #5B4FD6; box-shadow: inset 0 0 0 2.5px #fff, inset 0 0 0 8px #5B4FD6; }
.dz-route { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.dz-route.green { background: #E9F5EE; color: #1A7F4B; }
.dz-route.purple { background: #EEECFB; color: #5B4FD6; }
.dz-route.amber { background: #FFF4DB; color: #8A5300; }
.dz-route.grey { background: #F2F2F2; color: #6B6B6B; }
.dz-route.sug { background: #fff; box-shadow: none; border: 1px dashed currentColor; }
.dz-fold { border-top: 1px solid rgba(0,0,0,.07); }
.dz-fold-h { display: flex; align-items: center; gap: 8px; width: 100%; padding: 14px 8px; border: 0; background: none; font: inherit; font-size: 13px; text-align: left; cursor: pointer; color: #0D0D0D; }
.dz-fold-h b { font-weight: 600; white-space: nowrap; }
.dz-fold-n { flex: 1 1 auto; min-width: 0; color: #8F8F8F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-fold-go { font-weight: 600; }
.dz-spark { display: flex; color: #5B4FD6; flex: none; }
.dz-sug { display: flex; align-items: center; gap: 12px; margin: 0 0 8px 30px; padding: 12px 14px; border-radius: 12px; border: 1px dashed #D9D5F6; background: #FBFAFF; }
.dz-sug-t { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dz-sug-t b { font-size: 13.5px; font-weight: 600; color: #3D3D3D; }
.dz-sug-t small { font-size: 12.5px; color: #8F8F8F; }
.dz-sug-a { display: flex; gap: 6px; flex: none; }
.k2-pill.ghost { background: none; border-color: transparent; color: #8F8F8F; }
.dz-line { display: flex; align-items: center; gap: 10px; padding: 14px 8px; border-top: 1px solid rgba(0,0,0,.07); font-size: 13px; color: #3D3D3D; }
.dz-line > span:first-child { display: flex; color: #5B4FD6; }
.dz-line > span:nth-child(2) { flex: 1 1 auto; }
@container (max-width: 640px) {
  .dz-chips { margin-left: 0; }
  .dz-sug { flex-wrap: wrap; margin-left: 0; }
  .dz-note { margin-left: 0; }
}
@container (max-width: 640px) {
  /* Discoveries, narrow: how far along it is matters more than what it raised */
  .wt-table.dz-d .wt-main > .wt-cell.c0 { display: block; }
  .wt-table.dz-d .wt-main > .wt-cell.c1 { display: none; }
  .dz-stage { align-items: flex-end; }
  .dz-dots { display: none; }
}
.dz-car { display: flex; width: 16px; color: #8F8F8F; flex: none; }
.dz-car svg { width: 14px; height: 14px; }
.dz-two > span { align-items: flex-start; }
.dz-two > span svg { margin-top: 3px; }
/* + Add discovery menu (0z69) */
.dz-addw { position: relative; }
.dz-add { display: inline-flex; align-items: center; gap: 6px; }
.dz-add > svg:last-child { width: 14px; height: 14px; opacity: .7; }
.dz-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(400px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
.dz-mi { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; color: #0D0D0D; }
.dz-mi:hover, .dz-mi:focus-visible { background: #F6F6F6; outline: none; }
.dz-mi-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: #EEF0FF; color: #4B4FC4; }
.dz-mi-ic.ctx { background: #E6F4F7; color: #0E7490; }
.dz-mi-t { display: flex; flex-direction: column; gap: 3px; }
.dz-mi-t b { font-size: 14.5px; font-weight: 600; }
.dz-mi-t small { font-size: 13px; color: #5D5D5D; line-height: 1.45; }
.dz-mi-sam { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px; border: 0; border-top: 1px solid rgba(0,0,0,.06); border-radius: 0 0 10px 10px; background: none; font: inherit; font-size: 13.5px; color: #3D3D3D; text-align: left; cursor: pointer; }
.dz-mi-sam > span:nth-child(2) { flex: 1 1 auto; }
.dz-mi-sam > svg { color: #8F8F8F; }
.dz-mi-sam:hover { background: #F6F6F6; }


/* ---------- Discovery conversation, designed with SAM (0z103) ---------- */
.ak { display: flex; flex-direction: column; gap: 22px; max-width: 1000px; padding-bottom: 8px; }
.ak-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8F8F8F; flex-wrap: wrap; }
.ak-crumb b { color: #0D0D0D; font-weight: 400; }
.ak-back { width: 30px; height: 30px; border: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); background: #fff; color: #5D5D5D; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ak-c { display: inline-flex; align-items: center; gap: 6px; }
.ak-c-d { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.ak-c-d svg { color: #4B4FC4; }
.ak-steps { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.ak-steps li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: #ADADAD; }
.ak-steps li + li::before { content: ''; width: 32px; height: 1.5px; background: #E3E3E3; }
.ak-steps li > * { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; color: inherit; padding: 0; }
.ak-steps button { cursor: pointer; }
.ak-steps i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; font-style: normal; box-shadow: inset 0 0 0 1.5px #D6D6D6; color: #ADADAD; }
.ak-steps li.now, .ak-steps li.done { color: #0D0D0D; font-weight: 600; }
.ak-steps li.now i, .ak-steps li.done i { background: #5B4FD6; color: #fff; box-shadow: none; }
.ak-h { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.015em; }
.ak-h.faint { color: #BDBDBD; }
.ak-sub { margin: -10px 0 0; font-size: 15px; color: #5D5D5D; line-height: 1.5; }
.ak-secs { display: flex; flex-direction: column; }
.ak-sec { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid rgba(0,0,0,.07); }
.ak-sec > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ak-n { width: 26px; height: 26px; border-radius: 50%; background: #F1EFFF; color: #5B4FD6; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }
.ak-st { display: flex; flex-direction: column; gap: 2px; }
.ak-st b { font-size: 16px; font-weight: 600; }
.ak-st small { font-size: 13px; color: #8F8F8F; }
.ak-empty { font-size: 15px; color: #BDBDBD; font-style: italic; margin: 0; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.ak-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-who { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: #EEF0FF; color: #4B4FC4; font-size: 13.5px; font-weight: 500; }
.ak-who small { color: #8E92D8; font-weight: 400; }
.ak-test { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.ak-tc { display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; min-height: 480px; overflow: hidden; }
.ak-tc header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,.07); }
.ak-tc header > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; }
.ak-tc header small { font-size: 12.5px; color: #8F8F8F; }
.ak-tc header em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #8A5300; background: #FFF4DB; padding: 4px 10px; border-radius: 999px; }
.ak-sav { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF 0 18%, #C9C6FF 55%, #8E86F0 100%); }
.ak-tm { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: 18px; overflow-y: auto; max-height: 560px; }
.ak-b { display: flex; gap: 10px; align-items: flex-start; }
.ak-b p { margin: 0; padding: 10px 14px; border-radius: 14px; background: #F4F4F4; font-size: 15px; line-height: 1.5; max-width: 88%; }
.ak-b.me { justify-content: flex-end; }
.ak-b.me p { background: #EEF0FF; }
.ak-tn { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12.5px; color: #8F8F8F; }
.ak-tn::before, .ak-tn::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(0,0,0,.1); }
.ak-tn.err { color: #B42318; }
.ak-tf { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(0,0,0,.07); }
.ak-tf input { flex: 1 1 auto; height: 40px; padding: 0 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; font: inherit; font-size: 14.5px; }
.ak-cap { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8F8F8F; }
.ak-seg { display: flex; padding: 3px; border-radius: 10px; background: #EAEAEA; }
.ak-seg button { flex: 1 1 0; height: 32px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; color: #8F8F8F; cursor: pointer; }
.ak-seg button[aria-pressed="true"] { background: #fff; color: #0D0D0D; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ak-sec.set > div { gap: 14px; }
.ak-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; font-size: 15px; }
.ak-row > small { font-size: 14.5px; color: #8F8F8F; }
.ak-row > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ak-row > div > small { font-size: 13px; color: #8F8F8F; }
.ak-pp { display: inline-flex; align-items: center; gap: 10px; }
.ak-pp > span:nth-child(2) { display: flex; flex-direction: column; }
.ak-pp small { font-size: 13px; color: #8F8F8F; }
.ak-pp em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #F2F2F2; color: #5D5D5D; }
.ak-av { width: 32px; height: 32px; border-radius: 50%; background: #FCE9DD; color: #A0522D; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ak-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; }
.ak-ok { padding: 2px 6px; border-radius: 5px; background: #E9F5EE; color: #0D0D0D; }
.ak-warn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #8A5300; }
.ak-ask { color: #5B4FD6; font-weight: 500; }
.ak-intro { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid #E3DFFB; font-size: 15.5px; line-height: 1.6; }
.ak-note { font-size: 13px; color: #8F8F8F; }
.ak-review { display: flex; flex-direction: column; gap: 14px; }
.ak-rc { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; }
.ak-rc header { display: flex; align-items: baseline; gap: 10px; }
.ak-rc header b { font-size: 15.5px; }
.ak-rc header small { font-size: 12.5px; color: #8F8F8F; }
.ak-rc header button { margin-left: auto; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ak-rr { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; font-size: 14.5px; }
.ak-rr small { font-size: 13.5px; color: #8F8F8F; }
.ak-rr > div { display: flex; flex-direction: column; gap: 3px; }
.ak-done { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.ak-done aside { display: flex; flex-direction: column; gap: 14px; }
.ak-ind { display: flex; align-items: center; gap: 10px; }
.ak-ind > span:nth-child(2) { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.ak-ind small { font-size: 12.5px; color: #8F8F8F; }
.ak-ind em { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #F2F2F2; color: #5D5D5D; }
.ak-ind em.live { background: #E9F5EE; color: #1A7F4B; }
.ak-ind-ic { width: 28px; height: 28px; border-radius: 7px; background: #EEF0FF; color: #4B4FC4; display: flex; align-items: center; justify-content: center; }
.ak-nums { display: flex; gap: 18px; font-size: 13px; color: #8F8F8F; }
.ak-nums b { display: block; font-size: 20px; color: #0D0D0D; }
.ak-nextl { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ak-nextl li { display: flex; gap: 10px; }
.ak-nextl i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #F1EFFF; color: #5B4FD6; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ak-nextl span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ak-nextl small { font-size: 13px; color: #5D5D5D; }
.ak-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-foot { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.09); box-shadow: 0 6px 20px rgba(0,0,0,.06); flex-wrap: wrap; }
.ak-foot > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ak-foot > span:first-child small { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8F8F8F; }
.ak-foot > span:first-child b { font-size: 14px; font-weight: 400; color: #3D3D3D; }
.ak-foot-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ak-foot-r > small { font-size: 12.5px; color: #8F8F8F; }
button.ak-next { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; background: #0D0D0D; color: #fff; cursor: pointer; }
button.ak-next:disabled { background: #EDEDED; color: #ADADAD; cursor: default; }
/* in the chat on the left */
.chips.ak-chips-l { margin-left: 40px; flex-wrap: wrap; }
.chip-btn.dark { background: #0D0D0D; color: #fff; border-color: #0D0D0D; }
.ak-tagchip { cursor: default; }
.ak-tagchip button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0 0 0 6px; }
.dz-whos { display: flex; gap: 4px; flex-wrap: wrap; }
@container (max-width: 760px) {
  .ak-done { grid-template-columns: minmax(0, 1fr); }
  .ak-row, .ak-rr { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ak-foot-r > small { display: none; }
}
.chips.ak-chips-l { align-items: center; gap: 6px; }
.ak-chips-l .chip-btn { height: 34px; min-height: 0; padding: 0 14px; }
/* ---------- 0z109: Output, the prompt and its picture, the Playground ---------- */
.ak-cols { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ak-cols small { font-size: 13px; color: #8F8F8F; margin-right: 4px; }
.ak-cols span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; background: #F1EFFF; color: #3F35B5; font-size: 13px; font-weight: 500; }
.ak-outc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: #FAFAFA; border: 1px solid rgba(0,0,0,.05); }
.ak-outc .ak-cols { flex: 0 1 auto; justify-content: flex-end; }
.ak-outc > span:nth-child(2) { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ak-outc b { font-size: 14.5px; font-weight: 600; }
.ak-outc small { font-size: 13.5px; color: #5D5D5D; }
.ak-ok-i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #E6F5EC; color: #1A7F4B; display: flex; align-items: center; justify-content: center; }
.ak-card { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); background: #FCFCFC; }
.ak-card > header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ak-card > header b { font-size: 16px; font-weight: 600; }
.ak-card > header small { font-size: 13px; color: #8F8F8F; }
.ak-ci { display: flex; color: #5B4FD6; }
.ak-ch-r { margin-left: auto; display: flex; gap: 8px; }
.ak-ch-r .k2-pill { display: inline-flex; align-items: center; gap: 6px; }
.ak-pe { position: relative; }
.ak-pre, .ak-pta { margin: 0; padding: 18px 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 3; letter-spacing: 0; }
.ak-pre { color: #1F1F1F; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.1); }
.ak-pre .h { color: #5B4FD6; font-weight: 700; }
.ak-pre b { font-weight: 700; }
.ak-pre mark { background: #F1EFFF; color: #3F35B5; border-radius: 4px; box-shadow: 0 0 0 2px #F1EFFF; }
.ak-pe .ak-pre { border: 1.5px solid #5B4FD6; box-shadow: 0 0 0 3px rgba(91,79,214,.12); }
.ak-pta { position: absolute; inset: 0; width: 100%; height: 100%; border: 1.5px solid transparent; border-radius: 10px; background: transparent; color: transparent; caret-color: #0D0D0D; resize: none; overflow: hidden; outline: none; }
.ak-pta::selection { background: rgba(91,79,214,.22); color: transparent; }
.ak-pnote { font-size: 12.5px; color: #8F8F8F; }
.ak-pnote mark { background: #F1EFFF; color: #3F35B5; padding: 0 4px; border-radius: 4px; }
.ak-picture { gap: 4px; background: #fff; }
.ak-picture > header { padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,.07); }
.ak-ps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.ak-ps > li { border-bottom: 1px solid rgba(0,0,0,.06); }
.ak-ps > li.on { background: #FAFAFA; }
.ak-ps button { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 14px; width: 100%; padding: 14px 10px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.ak-ps button:hover { background: #FAFAFA; }
.ak-ps i { font-style: normal; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: #F1EFFF; color: #5B4FD6; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ak-ps-t { display: flex; flex-direction: column; gap: 4px; }
.ak-ps-t b { font-size: 15.5px; font-weight: 600; }
.ak-ps-t q { font-style: italic; font-size: 15px; color: #3D3D3D; }
.ak-ps-t small { font-size: 13px; color: #8F8F8F; }
.ak-ps-c { align-self: start; display: flex; width: 16px; height: 16px; margin-top: 4px; color: #ADADAD; transition: transform .15s; }
.ak-ps li.on .ak-ps-c { transform: rotate(90deg); }
.ak-ps-d { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 12px 14px 50px; padding: 14px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.07); }
.ak-ps-d > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #3D3D3D; }
.ak-ps-d .fu { color: #3D3D3D; }
.ak-ps-d .li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #B7B0F2; }
.ak-rules { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 4px; }
.ak-rules > div { display: flex; gap: 6px; flex-wrap: wrap; }
.ak-rules span { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 7px; background: #F1EFFF; color: #3F35B5; font-size: 13px; }
.ak-est { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; margin-top: 14px; padding: 16px; border-radius: 12px; background: #FAFAFA; }
.ak-est > div { display: flex; flex-direction: column; gap: 6px; }
.ak-est > div b { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.ak-est > div p { margin: 0; font-size: 12.5px; color: #8F8F8F; line-height: 1.5; }
.ak-est ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #3D3D3D; }
.ak-est li { display: flex; justify-content: space-between; gap: 12px; }
.ak-est li em { font-style: normal; color: #8F8F8F; white-space: nowrap; }
.ak-est li.f { color: #8F8F8F; }
.ak-pg-h { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ak-pg-h > span:first-child { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.ak-pg-h .ak-sub { margin: -6px 0 0; }
.ak-pg-b { display: flex; gap: 8px; }
.ak-pg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ak-pg-l, .ak-pg-r { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ak-pg-lh { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.ak-lnk { margin-left: auto; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #5D5D5D; cursor: pointer; }
.ak-pg-l .ak-pre { border: 1px solid rgba(0,0,0,.12); box-shadow: none; }
.ak-chg { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 10px; background: #FFF6E8; color: #7A4A00; font-size: 13px; }
.ak-chg[hidden] { display: none; }
.ak-chg i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #E0A44A; }
.ak-chg span { flex: 1 1 auto; }
.ak-chg button { border: 0; background: none; font: inherit; font-weight: 600; color: #7A4A00; cursor: pointer; }
.ak-pg-rh { display: flex; align-items: center; gap: 10px; min-height: 34px; flex-wrap: wrap; }
.ak-pg-rh > small { font-size: 13px; color: #8F8F8F; }
.ak-pg-rh .ak-seg { border-radius: 999px; }
.ak-pg-rh .ak-seg button { flex: none; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 13px; }
.ak-now { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #5B4FD6; }
.ak-now i { width: 7px; height: 7px; border-radius: 50%; background: #5B4FD6; }
.ak-pg .ak-tc { min-height: 560px; }
@container (max-width: 760px) {
  .ak-pg, .ak-est, .ak-ps-d { grid-template-columns: minmax(0, 1fr); }
  .ak-ps-d { margin-left: 12px; }
}
.ak-pre.view .h { display: inline-block; padding-top: 6px; }

/* 0z110: Output as two cards */
.ak-os { display: flex; flex-direction: column; gap: 16px; }
.ak-oc { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(0,0,0,.09); }
.ak-oc > header { display: flex; align-items: center; gap: 10px; }
.ak-oc > header b { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5B4FD6; }
.ak-oc .ak-ok-i { margin-left: auto; width: 22px; height: 22px; }
.ak-oi { width: 36px; height: 36px; border-radius: 10px; background: #F1EFFF; color: #5B4FD6; display: flex; align-items: center; justify-content: center; }
.ak-oh { font-size: 19px; font-weight: 600; line-height: 1.35; }
.ak-oq { font-size: 14px; color: #8F8F8F; }
.ak-eg { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 10px; border: 1.5px dashed #E3E3E3; }
.ak-eg small { font-size: 12px; color: #ADADAD; }
.ak-eg i { font-size: 14.5px; color: #8F8F8F; }
.ak-ov { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #FAFAFA; }
.ak-ov > b { font-size: 18px; font-weight: 600; line-height: 1.4; }
.ak-orow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.ak-orow > small { flex: 0 0 80px; font-size: 13px; color: #8F8F8F; }
.ak-oc-c { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-oc-c span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; background: #fff; border: 1px solid rgba(0,0,0,.08); font-size: 13px; }
/* QA pass: the picture leads step 2; what changed; the Playground's chat first when narrow */
.ak-picture > header .ak-try { margin-left: auto; }
.ak-chgd { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; margin-left: 6px; border-radius: 6px; background: #FFF1D6; color: #8A5300; vertical-align: 2px; }
.ak-invl { margin: 0; font-size: 14px; color: #3D3D3D; line-height: 1.5; }
@container (max-width: 760px) { .ak-pg-r { order: -1; } .ak-pg .ak-tc { min-height: 440px; } }
/* 0z120: ideas in the chat, Conversation tabs, the made-up result, the draft page and its test link */
.ak-ideas { display: flex; flex-direction: column; gap: 8px; margin: -4px 0 4px 40px; }
.ak-idea { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.ak-idea > div { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.45; }
.ak-idea > div small { flex: 0 0 40px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5B4FD6; padding-top: 2px; }
.ak-idea footer { display: flex; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.05); }
.ak-idea footer > span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #8F8F8F; }
.ak-idea footer > span svg { color: #5B4FD6; }
.ak-idea footer .chip-btn { margin-left: auto; height: 28px; font-size: 12.5px; }
.ak-sugg { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: #F1EFFF; color: #3F35B5; font-size: 12px; font-weight: 500; font-style: normal; }
.ak-tabs { display: flex; gap: 28px; border-bottom: 1px solid rgba(0,0,0,.08); margin-top: -4px; }
.ak-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 2px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 15.5px; color: #8F8F8F; cursor: pointer; }
.ak-tabs button[aria-selected="true"] { color: #0D0D0D; font-weight: 600; border-bottom-color: #0D0D0D; }
.ak-pwrap { position: relative; }
.ak-pwrap:not(.full) .ak-pre { max-height: 190px; overflow: hidden; }
.ak-pwrap:not(.full)::after { content: ''; position: absolute; left: 1px; right: 1px; bottom: 1px; height: 70px; border-radius: 0 0 10px 10px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.ak-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 14px; font-weight: 600; color: #4B4FC4; cursor: pointer; }
.ak-more span { display: flex; transition: transform .15s; }
.ak-more span.up { transform: rotate(180deg); }
.ak-estp { margin-left: auto; font-size: 13px; color: #8F8F8F; padding: 3px 10px; border-radius: 999px; background: #F4F4F4; }
.ak-estp b { font-size: 13.5px; color: #0D0D0D; font-weight: 600; }
.ak-result { border: 1.5px dashed #D9D5FA; background: #fff; }
.ak-result .ak-ci { color: #5B4FD6; }
.ak-rt { border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 14px 16px 6px; }
.ak-rt-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.ak-rt-h b { font-size: 15px; }
.ak-rt-h small { font-size: 12.5px; color: #8F8F8F; }
.ak-rt-s { overflow-x: auto; }
.ak-rt table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ak-rt th { text-align: left; font-size: 12.5px; font-weight: 500; color: #5D5D5D; padding: 6px 12px 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.ak-rt td { padding: 12px 12px 12px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.ak-rt tr:last-child td { border-bottom: 0; }
.ak-rt td.n { color: #8F8F8F; white-space: nowrap; }
.ak-pg { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.ak-pg-l .ak-pre { max-height: 640px; overflow: auto; }
.ak-pg-lh .k2-pill { margin-left: auto; }
.ak-as { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #F1F1F1; font-size: 13.5px; font-weight: 600; }
.ak-pre ins { text-decoration: none; background: #E3F6EA; color: #13663B; border-radius: 4px; box-shadow: 0 0 0 2px #E3F6EA; }
.ak-saved { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 10px; background: #EEF8F1; color: #13663B; font-size: 13px; }
.ak-saved span { flex: 1 1 auto; }
.ak-saved button { border: 0; background: none; font: inherit; font-weight: 600; color: #13663B; cursor: pointer; }
.ak-rc header .ak-ok-i { width: 20px; height: 20px; align-self: center; }
.ak-banner { display: flex; gap: 16px; padding: 24px 26px; border-radius: 16px; background: #F7F6FE; border: 1px solid #E4E0FB; }
.ak-banner.live { background: #F3FAF5; border-color: #D5EEDD; }
.ak-banner.closed { background: #FAFAFA; border-color: rgba(0,0,0,.08); }
.ak-banner > div { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; }
.ak-banner > div > b { font-size: 18px; }
.ak-banner > div > p { margin: -6px 0 0; font-size: 14.5px; color: #5D5D5D; }
.ak-banner .ak-cap { margin-top: 6px; }
.ak-banner .ak-nextl span { flex-direction: row; display: block; }
.ak-bok { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #2F7D4F; color: #fff; display: flex; align-items: center; justify-content: center; }
.ak-livedot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ak-banner .ak-acts { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.ak-banner .ak-acts small { font-size: 13px; color: #8F8F8F; }
.ak-banner .ak-nums { margin-top: 4px; }
.ak-wys { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ak-wys b { font-size: 16px; }
.ak-wys small { font-size: 13px; color: #8F8F8F; }
.ak-fl { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #3D3D3D; }
.ak-badge { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #F1F1F1; color: #5D5D5D; }
.ak-foot .ak-foot-r .k2-pill { height: 40px; }
.ak-block { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; }
.ak-block > header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ak-block > header b { font-size: 15.5px; }
.ak-block > header small { font-size: 12.5px; color: #8F8F8F; }
.ak-res { border-top: 1px solid rgba(0,0,0,.06); }
.ak-res > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; }
.ak-res > summary::-webkit-details-marker { display: none; }
.ak-res > summary > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; }
.ak-res > summary small { font-size: 12.5px; color: #8F8F8F; }
.ak-res[open] > summary .ak-ps-c { transform: rotate(90deg); }
.ak-testtag { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; margin-left: 4px; border-radius: 6px; background: #FFF1D6; color: #8A5300; }
.ak-res-u { margin: 0 0 10px 38px; padding-left: 16px; font-size: 13.5px; color: #3D3D3D; }
.ak-res-t { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px 38px; padding: 12px 14px; border-radius: 10px; background: #FAFAFA; max-height: 360px; overflow: auto; }
.ak-res-t p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.ak-res-t p small { display: block; font-size: 11.5px; font-weight: 600; color: #8F8F8F; }
.ak-res-t p.person { padding-left: 12px; border-left: 2px solid #D9D5FA; }
.ak-modal { position: fixed; inset: 0; z-index: 50; background: rgba(13,13,13,.32); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ak-mbox { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.ak-mbox h2 { margin: 0; font-size: 21px; }
.ak-mbox > p { margin: -6px 0 0; font-size: 14.5px; color: #5D5D5D; }
.ak-mx { position: absolute; top: 18px; right: 18px; border: 0; background: none; color: #5D5D5D; cursor: pointer; display: flex; padding: 4px; }
.ak-tsteps { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ak-tsteps > li { display: flex; gap: 14px; }
.ak-tsteps > li > i { font-style: normal; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #F1EFFF; color: #5B4FD6; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ak-tsteps > li > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.ak-tsteps small { font-size: 13px; color: #5D5D5D; }
.ak-copy { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.1); background: #FAFAFA; }
.ak-copy code { flex: 1 1 auto; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-copy a { text-decoration: none; }
.ak-wait { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; background: #F7F6FE; color: #3F35B5; font-size: 14px; }
.ak-wait i { width: 8px; height: 8px; border-radius: 50%; background: #5B4FD6; animation: blink 1.6s ease-in-out infinite; }
.ak-wait.ok { background: #EEF8F1; color: #13663B; }
.ak-wait.ok i { background: #2F7D4F; animation: none; }
.ak-wait small { margin-left: auto; color: #8F8F8F; font-size: 12.5px; }
.ak-mfoot { display: flex; justify-content: flex-end; gap: 10px; }
.ak-mfoot a { text-decoration: none; }
.ak-share { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 8px; border-radius: 10px; background: #F7F6FE; cursor: pointer; }
.ak-share input { margin-top: 3px; }
.ak-share span { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.ak-share small { font-size: 12px; color: #5D5D5D; }
@container (max-width: 760px) { .ak-banner { padding: 18px; } .ak-tabs { gap: 18px; } }
.ak-outc .ak-cols { max-width: 45%; }
.ak-idea footer .chip-btn { padding: 0 12px; min-height: 0; }
.ak-foot > span.ak-fl { flex-direction: row; align-items: center; gap: 10px; }
/* All initiatives: Progress (a mark per named problem: found, being fixed, measured) */
.init-prog { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.init-prog b { font-weight: 600; }
.init-marks { display: flex; gap: 3px; }
.init-marks i { width: 12px; height: 6px; border-radius: 999px; background: #C9C3F5; }
.init-marks i.x { background: #5B4FD6; }
.init-marks i.m { background: #2F8F5B; }
.init-marks.none i { background: var(--line); }
/* Answers: one person's rows of the owner's result table (beside the chat, and afterwards) */
.ans { display: flex; flex-direction: column; gap: 10px; padding: 14px; margin: 4px 0 14px; border-radius: 12px; background: #F7F6FE; border: 1px solid #E4E0FB; }
.ans > header { display: flex; flex-direction: column; gap: 2px; }
.ans > header b { font-size: 14px; }
.ans > header small { font-size: 12.5px; color: #5D5D5D; }
.ans-sum { margin: 0; font-size: 13px; color: #3D3D3D; }
.ans-rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ans-rows > li { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.06); }
.ans-rows > li.removed { opacity: .5; }
.ans-rows > li.removed b { text-decoration: line-through; }
.ans-h { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.ans-h .link-btn { margin-left: auto; font-size: 12px; }
.ans-rows dl { margin: 6px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 10px; font-size: 12.5px; }
.ans-rows dl > div { display: contents; }
.ans-rows dt { color: #8F8F8F; }
.ans-rows dd { margin: 0; }
.ans-none { margin: 0; font-size: 13px; }
.ans-note { font-size: 11.5px; color: #5D5D5D; }
.ans-also { margin: 2px 0 6px; font-size: 12px; font-weight: 600; color: #8F8F8F; }
.past-body .ans { margin-bottom: 10px; }
.ak-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.ak-tbl th { text-align: left; font-size: 12.5px; font-weight: 500; color: #5D5D5D; padding: 6px 12px 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.ak-tbl td { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: top; }
.ak-tbl tr:last-child td { border-bottom: 0; }
.ak-tbl td.n { color: #8F8F8F; white-space: nowrap; }
.ak-results .ak-rt { padding-bottom: 4px; }
.ak-res-tbl { margin: 0 0 10px 38px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.07); }
.ak-res-tbl .ak-tbl { font-size: 13px; }
.ak-invl .ak-cap { display: block; margin-bottom: 2px; }
/* SAM's messages as rich text (lib.md): easy to scan, like a well-set answer */
.msg .bubble.rich { white-space: normal; }
.md { display: flex; flex-direction: column; gap: 10px; }
.md > * { margin: 0; }
.md p { margin: 0; }
.md .md-h { margin: 6px 0 -2px; font-size: 16.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; color: var(--ink); }
.md h3.md-h { font-size: 18px; }
.md > .md-h:first-child { margin-top: 0; }
.md ol, .md ul { margin: 0; padding-left: 26px; display: flex; flex-direction: column; gap: 6px; }
.md ol { list-style: decimal; }
.md ul { list-style: disc; }
.md li { padding-left: 4px; }
.md li::marker { color: #8F8F8F; }
.md li > ol, .md li > ul { margin-top: 6px; }
.md b { font-weight: 600; color: var(--ink); }
.md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; padding: 1px 5px; border-radius: 5px; background: #F1F1F4; }
/* the same, where SAM's words sit in smaller places */
.ak-bt { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: #F4F4F4; font-size: 15px; line-height: 1.5; }
.ak-bt .md { gap: 8px; }
.ak-rm { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.5; }
.ak-rm small { font-size: 11.5px; font-weight: 600; color: #8F8F8F; }
.ak-rm p { margin: 0; }
.ak-rm.person { padding-left: 12px; border-left: 2px solid #D9D5FA; }
.ak-rm .md { gap: 6px; }
.past-sam { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
.past-sam .md { gap: 6px; }
/* ---------- 0z121: taking part in a conversation someone asked for ---------- */
.tk-head { border-bottom: 0; }
.tk-headbar { padding: 0 20px 12px; border-bottom: 1px solid rgba(0,0,0,.07); }
.tk-bar { display: flex; flex-direction: column; gap: 8px; }
.tk-bar ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; }
.tk-bar li { flex: 1 1 0; height: 4px; border-radius: 999px; background: #E3E3E3; }
.tk-bar li.done { background: #2F7D4F; }
.tk-bar li.now { background: #5B4FD6; }
.tk-bar > span { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #8F8F8F; }
.tk-thread { gap: 20px; }
.tk-div { display: flex; align-items: center; gap: 12px; margin: 4px 0; font-size: 12px; font-weight: 600; color: #8F8F8F; letter-spacing: .03em; }
.tk-div::before, .tk-div::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.07); }
.tk-init { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: #FAF9FF; border: 1px solid #E4E0FB; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.tk-init:hover { border-color: #CFC8F7; }
.tk-init-h { display: flex; align-items: center; gap: 10px; }
.tk-init-h > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; }
.tk-init-h small { font-size: 12px; color: #8F8F8F; }
.tk-init-h b { font-size: 15px; }
.tk-init-h em, .tk-pcard em, .tk-open { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #5B4FD6; }
.tk-flag { flex: 0 0 30px; height: 30px; border-radius: 8px; background: #EEEBFF; color: #5B4FD6; display: flex; align-items: center; justify-content: center; }
.tk-aim { display: flex; flex-direction: column; gap: 4px; padding-left: 40px; font-size: 15px; line-height: 1.55; }
.tk-aim small, .tk-cap { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8F8F8F; }
.tk-choose { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; padding: 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,.09); background: #fff; }
.tk-choose > b { font-size: 14px; }
.tk-choose > small { font-size: 12.5px; color: #8F8F8F; }
.tk-opt { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tk-opt i { flex: 0 0 16px; height: 16px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CFCFCF; }
.tk-opt.on { background: #F7F6FF; box-shadow: inset 0 0 0 1.5px #5B4FD6; }
.tk-opt.on i { box-shadow: inset 0 0 0 5px #5B4FD6; }
.tk-opt span { display: flex; flex-direction: column; gap: 2px; }
.tk-opt b { font-size: 14px; }
.tk-opt small { font-size: 13px; color: #5D5D5D; }
.tk-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-go { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 10px; border: 0; background: #0D0D0D; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tk-go:hover { background: #2F2F2F; }
.tk-go:disabled { opacity: .5; cursor: default; }
.tk-later { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(0,0,0,.12); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #0D0D0D; cursor: pointer; }
.tk-later:hover { border-color: rgba(0,0,0,.25); }
.tk-after { margin-left: 40px; display: flex; flex-direction: column; gap: 10px; }
.tk-told { display: flex; flex-direction: column; padding: 18px 20px 8px; border-radius: 14px; border: 1px solid rgba(0,0,0,.09); background: #fff; }
.tk-told-h { font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.07); }
.tk-told section { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.tk-told section:last-child { border-bottom: 0; }
.tk-told header { display: flex; align-items: center; }
.tk-told header small { font-size: 13.5px; color: #8F8F8F; }
.tk-told header button { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #3D3D3D; cursor: pointer; }
.tk-told ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tk-told li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.tk-told li::before { content: '–'; color: #ADADAD; }
.tk-edited { font-size: 12px; color: #8F8F8F; }
.tk-edit { display: flex; flex-direction: column; gap: 8px; }
.tk-edit textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #5B4FD6; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.tk-edit > span { display: flex; align-items: center; gap: 8px; }
.tk-edit > span small { margin-right: auto; font-size: 12px; color: #8F8F8F; }
.tk-sent { display: flex; align-items: center; gap: 6px; margin: 0; padding: 12px 16px; border-radius: 12px; background: #F2FAF5; color: #13663B; font-size: 14px; flex-wrap: wrap; }
.tk-sent span { color: #2F7D4F; }
.tk-sent em { margin-left: auto; font-style: normal; font-size: 13px; color: #5D5D5D; }
.tk-tools { display: flex; justify-content: center; gap: 14px; padding: 8px 0 0; font-size: 12.5px; color: #8F8F8F; }
.tk-tools button { border: 0; background: none; font: inherit; color: #8F8F8F; cursor: pointer; padding: 0; }
.tk-tools button:hover { color: #3D3D3D; }
.tk-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px 18px; }
.tk-foot small { font-size: 13px; color: #8F8F8F; }
/* the cards beside it */
.tk-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.tk-card > header { display: flex; align-items: center; gap: 8px; }
.tk-card > header > button { margin-left: auto; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #5D5D5D; cursor: pointer; }
.tk-card > p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #1F1F1F; }
.tk-lock { display: flex; color: #5D5D5D; }
.tk-who { display: flex; align-items: center; gap: 10px; }
.tk-who i, .tk-askedby i { font-style: normal; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #FDE7D6; color: #9A4A12; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.tk-who > span { display: flex; flex-direction: column; gap: 1px; }
.tk-who b { font-size: 14px; }
.tk-who small { font-size: 12.5px; color: #8F8F8F; }
.tk-part { display: flex; flex-direction: column; gap: 6px; }
.tk-part > small, .tk-dec small { font-size: 12.5px; color: #8F8F8F; }
.tk-pcard { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 10px; background: #FAF9FF; border: 1px solid #E4E0FB; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.tk-pcard .tk-flag { flex-basis: 28px; height: 28px; }
.tk-pcard > span:nth-child(2) { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.tk-pcard b { font-size: 14px; }
.tk-pcard small { font-size: 13px; color: #5D5D5D; line-height: 1.45; }
.tk-pcard em { margin-left: 0; padding-top: 4px; }
.tk-pcard.wide { align-items: center; padding: 18px 20px; background: #fff; border-color: rgba(0,0,0,.09); }
.tk-pcard.wide > span:nth-child(2) small:first-child { font-size: 12.5px; color: #8F8F8F; }
.tk-pcard.wide .tk-open { margin-left: auto; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.12); color: #0D0D0D; font-size: 13.5px; }
.tk-dec { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.5; }
.tk-dec.big { font-size: 16px; gap: 8px; }
.tk-up { padding: 14px 8px 10px; gap: 0; }
.tk-up > header { padding: 0 10px 6px; }
.tk-up > header > span { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #5D5D5D; }
.tk-up ol { margin: 0; padding: 0; list-style: none; }
.tk-up li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.tk-up li i { font-style: normal; flex: 0 0 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.tk-up li i::before { content: ''; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CFCFCF; }
.tk-up li.done i { border-radius: 50%; background: #E6F5EC; color: #1A7F4B; }
.tk-up li.done i::before { display: none; }
.tk-up li.now { background: #F7F6FF; font-weight: 600; }
.tk-up li.now i::before { background: #5B4FD6; box-shadow: 0 0 0 4px #ECE9FF; }
.tk-up li span { flex: 1 1 auto; }
.tk-up li.done span { color: #ADADAD; }
.tk-up li em { font-style: normal; font-size: 12px; color: #8F8F8F; font-weight: 400; }
.tk-up li.now em { color: #5B4FD6; font-weight: 600; }
.tk-note { padding: 8px 10px 2px; font-size: 12px; color: #8F8F8F; line-height: 1.45; }
/* the details panel in the app */
.tk-details { display: flex; flex-direction: column; gap: 22px; }
.tk-askedby { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #5D5D5D; flex-wrap: wrap; }
.tk-askedby b { color: #0D0D0D; font-weight: 600; }
.tk-askedby em { font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #F1EFFF; color: #3F35B5; }
.tk-askedby em.sent { background: #E6F5EC; color: #13663B; }
.tk-askedby em.intro { background: #F1F1F1; color: #5D5D5D; }
.tk-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@container (max-width: 760px) { .tk-two { grid-template-columns: minmax(0, 1fr); } }
/* "Your part" on the initiative */
.tk-yours { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; padding-left: 16px; border-left: 3px solid #5B4FD6; }
.tk-yours > header { display: flex; align-items: center; gap: 8px; }
.tk-yours > header b { font-size: 16px; }
.tk-yours > header em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: #F1EFFF; color: #3F35B5; }
.tk-yc { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border-radius: 14px; background: #FAF9FF; border: 1px solid #DCD6FA; }
.tk-yh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-yh b { font-size: 15.5px; }
.tk-here { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #5B4FD6; }
.tk-here i { width: 7px; height: 7px; border-radius: 50%; background: #5B4FD6; }
.tk-yc > small { font-size: 13.5px; color: #5D5D5D; }
.tk-yc > ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; }
.tk-yc > ol li { flex: 1 1 0; height: 4px; border-radius: 999px; background: #E3E3E3; }
.tk-yc > ol li.done { background: #2F7D4F; } .tk-yc > ol li.now { background: #5B4FD6; }
.tk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-chips > span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #fff; font-size: 13px; color: #3D3D3D; }
.tk-chips > span i { width: 6px; height: 6px; border-radius: 50%; background: #CFCFCF; }
.tk-chips > span.done { color: #ADADAD; }
.tk-chips > span.done svg { color: #2F7D4F; }
.tk-chips > span.now { background: #EEEBFF; color: #3F35B5; font-weight: 600; }
.tk-chips > span.now i { background: #5B4FD6; }
.tk-yf { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #3D3D3D; }
.tk-yf > span { display: inline-flex; align-items: center; gap: 6px; }
.tk-yf button { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #0D0D0D; cursor: pointer; }
/* on its own page */
body.tk-focus #side { display: none; }
body.tk-focus .layout { grid-template-columns: 1fr !important; }
.tk-page { display: flex; flex-direction: column; min-height: 100vh; background: #FCFCFC; }
.tk-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 28px; border-bottom: 1px solid rgba(0,0,0,.07); background: #fff; }
.tk-top > b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.tk-orb { display: flex; }
.tk-sep { width: 1px; height: 22px; background: rgba(0,0,0,.1); }
.tk-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #5D5D5D; min-width: 0; }
.tk-crumb button { border: 0; background: none; font: inherit; color: #5D5D5D; cursor: pointer; padding: 0; }
.tk-crumb b { color: #0D0D0D; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-crumb span { color: #CFCFCF; }
.tk-state { margin-left: auto; font-size: 13px; color: #8F8F8F; white-space: nowrap; }
.tk-body { flex: 1 1 auto; display: flex; gap: 24px; padding: 0 24px 0 32px; }
.tk-main { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.tk-main > .cs-chat { width: 100%; max-width: 760px; background: transparent; height: calc(100vh - 64px); }
.tk-side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.tk-none { margin: 80px auto; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #5D5D5D; }
@media (max-width: 1000px) { .tk-body { flex-direction: column; padding: 0 16px; } .tk-side { flex-basis: auto; padding: 0 0 24px; } .tk-main > .cs-chat { height: auto; min-height: 70vh; } .tk-crumb button, .tk-crumb span { display: none; } }
/* ---------- 0z122: several waiting ---------- */
.tk-title { font-size: 14px; font-weight: 600; }
.tk-badge { gap: 8px; }
.tk-badge b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #5B4FD6; color: #fff; font-size: 11.5px; font-weight: 700; }
.tk-waits { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tk-wc { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.09); }
.tk-wc.first { border: 1.5px solid #5B4FD6; }
.tk-wc-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8F8F8F; }
.tk-flag-s { display: flex; color: #5B4FD6; }
.tk-wc-i { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: #5B4FD6; text-decoration: underline; text-decoration-color: #C9C2F7; text-underline-offset: 3px; cursor: pointer; }
.tk-wc-h i { font-style: normal; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: #FDE7D6; color: #9A4A12; display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 700; }
.tk-wc-b { display: flex; align-items: center; gap: 12px; }
.tk-wc-b > span:first-child { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.tk-wc-b b { font-size: 15.5px; }
.tk-wc-m { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #5D5D5D; }
.tk-wc-m em { font-style: normal; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #F1F1F1; color: #5D5D5D; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tk-wc-m em.started { background: #E6F5EC; color: #1A7F4B; }
.tk-wc-bar { display: flex; gap: 3px; width: 120px; }
.tk-wc-bar i { flex: 1; height: 4px; border-radius: 2px; background: #E3E3E3; }
.tk-wc-bar i.done { background: #1A7F4B; }
.tk-wc-b .tk-go, .tk-wc-b .tk-later { height: 34px; padding: 0 14px; font-size: 13.5px; white-space: nowrap; }
.tk-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tk-big b { font-size: 26px; font-weight: 600; }
.tk-big span { font-size: 13.5px; color: #5D5D5D; }
.tk-soft { margin: 0; font-size: 13px; color: #5D5D5D; line-height: 1.5; }
.tk-fed { gap: 0; }
.tk-fed > small { margin-bottom: 10px; }
.tk-fed > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.06); }
.tk-fed-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #8F8F8F; }
.tk-fed-h svg { color: #5B4FD6; }
.tk-fed-h b { font-weight: 600; color: #3D3D3D; }
.tk-fed-h em { margin-left: auto; font-style: normal; }
.tk-fed > div p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.tk-link { align-self: flex-start; margin-top: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: #5D5D5D; cursor: pointer; }
.tk-also { display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tk-also b { font-size: 14px; font-weight: 600; }
.tk-also small { font-size: 12.5px; color: #8F8F8F; }
.tk-also-done { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,.06); font-size: 13px; color: #1A7F4B; }
.tk-col { display: flex; flex-direction: column; gap: 16px; }
.tk-now { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.tk-now::before, .tk-now::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.1); }
.tk-now span { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #F1EFFF; color: #3F35B5; font-size: 12.5px; font-weight: 600; }
.tk-sentmini { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #F3FBF6; font-size: 13.5px; color: #1A7F4B; }
.tk-carry .chip-btn.on { border-color: #5B4FD6; color: #3F35B5; background: #F7F6FF; }
.tk-thread .ak-chips-l { margin-left: 0; }
/* What the owner shares with people taking part (0z121 · 5) */
.pv { display: flex; flex-direction: column; gap: 22px; max-width: 1000px; padding: 6px 4px; }
.pv-by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8F8F8F; flex-wrap: wrap; }
.pv-orb { display: flex; }
.pv-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #F4F4F4; font-size: 12.5px; font-weight: 600; color: #3D3D3D; }
.pv-lead { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.pv-sub { margin: -10px 0 0; font-size: 15px; color: #3D3D3D; padding-bottom: 18px; border-bottom: 1px solid rgba(0,0,0,.07); }
.pv-sec { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,.07); position: relative; }
.pv-sec:last-child { border-bottom: 0; }
.pv-sec > header { display: flex; align-items: center; }
.pv-sec > header > span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #5B4FD6; }
.pv-sec > header b { color: #0D0D0D; font-weight: 600; }
.pv-more { margin-left: auto; border: 0; background: none; font: inherit; font-size: 13px; color: #8F8F8F; cursor: pointer; }
.pv-sec > .pv-more { position: absolute; top: 4px; right: 0; }
.pv-sec .tk-yours { margin: 0; }
.pv-goal { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; border-radius: 12px; background: #FAFAFA; }
.pv-goal small { font-size: 13px; color: #8F8F8F; }
.pv-goal > span { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; color: #8F8F8F; }
.pv-goal b { font-size: 30px; font-weight: 600; color: #0D0D0D; }
.pv-where { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pv-where > span { display: flex; flex-direction: column; gap: 8px; }
.pv-where i { height: 4px; border-radius: 999px; background: #E3E3E3; }
.pv-where .done i { background: #5B4FD6; }
.pv-where .now i { background: linear-gradient(90deg, #5B4FD6 40%, #D9D5FA 40%); }
.pv-where small { font-size: 13.5px; color: #ADADAD; }
.pv-where .done small, .pv-where .now small { color: #0D0D0D; font-weight: 600; }
.pv-sec > p { margin: 0; font-size: 15px; }
.pv-next { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pv-next li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.pv-next li i { font-style: normal; flex: 0 0 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CFCFCF; color: #8F8F8F; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.pv-next li.now i { background: #5B4FD6; box-shadow: none; color: #fff; }
.pv-next li span { flex: 1 1 auto; }
.pv-next li em { font-style: normal; font-size: 13px; color: #8F8F8F; white-space: nowrap; }
@container (max-width: 640px) { .pv-where { grid-template-columns: repeat(2, 1fr); } }
.tk-email label { display: block; }
.tk-email input { width: 100%; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.15); background: #fff; font: inherit; font-size: 14.5px; color: #0D0D0D; box-sizing: border-box; }
.tk-email input:focus { outline: none; border-color: #5B4FD6; box-shadow: 0 0 0 3px rgba(91,79,214,.12); }
.tk-email small b { font-weight: 600; color: #3D3D3D; }
/* the owner can delete a live initiative: a quiet line at the foot of its own page */
.ip-foot { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.06); }
.ip-foot small { font-size: 12px; color: #ADADAD; }
.ip-del { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 13px; color: #8F8F8F; cursor: pointer; }
.ip-del:hover, .ip-del:focus-visible { color: #B3261E; text-decoration: underline; text-underline-offset: 3px; }

/* Delete on a discovery that was never sent: quiet until hovered */
.k2-pill.dz-del { color: var(--muted, #6b6b6b); }
.k2-pill.dz-del:hover { color: #B42318; border-color: #F1C1BC; }

/* Groups (0z120 · 3b): sections for some groups only, and each group's picture, test and invite list */
.ak-tip { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; background: #F6F4FF; }
.ak-tip > span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #5B4FD6; }
.ak-tip b { font-size: 14.5px; font-weight: 600; color: #0D0D0D; }
.ak-tip small { font-size: 13px; color: #6E7079; }
.ak-tip > div { display: flex; gap: 8px; flex-wrap: wrap; }
.ak-tip button { height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; border: 1px solid #E4E0FB; font: inherit; font-size: 13px; color: #3F35B5; cursor: pointer; }
.ak-tip button:hover { border-color: #C9C1F7; }
.ak-pre .g { padding: 1px 6px; border-radius: 5px; background: #FFF1E0; color: #8A4B00; font-weight: 400; }
.ak-gt { flex: none; align-self: start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: #FFF1E0; color: #8A4B00; font-size: 12px; font-weight: 600; font-style: normal; white-space: nowrap; }
.ak-ps button:has(.ak-gt) { grid-template-columns: 26px minmax(0, 1fr) auto 16px; }
.ak-groups { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; padding: 12px 14px; border-radius: 12px; background: #FAFAFA; }
.ak-groups.new { background: #F3FBF6; box-shadow: inset 0 0 0 1px #A8DDBD; }
.ak-grp { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; background: #FFF6EC; box-shadow: inset 0 0 0 1px #F5D9B8; font-size: 13.5px; font-weight: 600; color: #3D3D3D; }
.ak-grp svg { color: #B26B1F; }
.ak-grp small { font-weight: 400; color: #8F8F8F; font-size: 13px; }
.ak-grp.all { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.ak-grp.all svg { color: #5D5D5D; }
.ak-gadd { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px dashed rgba(0,0,0,.2); background: none; font: inherit; font-size: 13.5px; color: #3D3D3D; cursor: pointer; }
.ak-gadd:hover { border-color: rgba(0,0,0,.4); }
.ak-gnote { flex-basis: 100%; font-size: 13px; color: #5D5D5D; }
.ak-asg { cursor: pointer; border: 0; font: inherit; display: inline-flex; align-items: center; gap: 6px; opacity: .55; }
.ak-asg.on { opacity: 1; box-shadow: inset 0 0 0 1px #F5D9B8; background: #FFF6EC; color: #8A4B00; }
.ak-gok { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #1A7F4B; font-size: 14.5px; }
.ak-gp { margin: 0 0 6px; font-size: 14.5px; color: #3D3D3D; }
.ak-gp.muted { margin-bottom: 14px; font-size: 13.5px; color: #6E7079; }
.ak-gcard { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); }
.ak-gcard header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ak-gname { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 9px; background: #FFF6EC; box-shadow: inset 0 0 0 1px #F5D9B8; font-size: 14px; }
.ak-gname svg { color: #B26B1F; }
.ak-gname b { font-weight: 600; }
.ak-gname small { color: #8F8F8F; font-size: 13.5px; }
.ak-gn { font-size: 14px; color: #3D3D3D; }
.ak-gplus { margin-left: auto; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #3D3D3D; cursor: pointer; }
.ak-gplus:hover { color: #0D0D0D; text-decoration: underline; }
.ak-gnone { font-size: 13.5px; color: #8F8F8F; }
.ak-who.p { background: #fff; color: #0D0D0D; box-shadow: inset 0 0 0 1px #CDEBD8; border-radius: 999px; padding-left: 4px; }
.ak-who.p i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #EEF0FF; color: #4B4FC4; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ak-who.t { border-radius: 999px; }
.ak-glink { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: #FAFAFA; font-size: 14px; color: #3D3D3D; }
.ak-glink code { font-size: 14px; color: #0D0D0D; }
.ak-glink small { margin-left: auto; color: #8F8F8F; font-size: 13px; }
/* taking part: which group you're in, before you start */
.tk-groups { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.tk-only { display: block; font-size: 12px; color: #8A4B00; }

/* Your part (0z123): the banner under the initiative's title, and its own page */
.yp-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 16px 14px 18px; border-radius: 16px; background: #F8F7FF; box-shadow: inset 0 0 0 1.5px #CFC8FA; }
.yp-banner.sent { background: #F7FBF8; box-shadow: inset 0 0 0 1px #CDEBD8; }
.yp-av, .yp-me { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #FCE9DA; color: #A4541B; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.yp-bt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yp-bt b { font-size: 16px; font-weight: 600; }
.yp-bt small { font-size: 14px; color: #5D5D5D; }
.yp-bars { display: flex; gap: 6px; }
.yp-banner .yp-bars { flex: 0 0 auto; width: 190px; }
.yp-bars i { flex: 1; height: 4px; border-radius: 2px; background: #DADADA; }
.yp-bars i.done { background: #1A7F4B; }
.yp-bars i.now { background: #5B4FD6; }
.yp-go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: #0D0D0D; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.yp-go:hover { background: #2F2F2F; }
.yp-banner.sent .yp-go { background: #fff; color: #0D0D0D; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.yp { display: flex; flex-direction: column; gap: 26px; max-width: 860px; }
.yp-head { display: flex; align-items: center; gap: 14px; }
.yp-me { width: 44px; height: 44px; background: #EEEBFF; color: #3F35B5; font-size: 16px; }
.yp-head h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.yp-head small { font-size: 14px; color: #5D5D5D; }
.yp-sec { display: flex; flex-direction: column; gap: 10px; }
.yp-cap { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #8F8F8F; }
.yp-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.yp-item.here { box-shadow: inset 0 0 0 1.5px #CFC8FA; }
.yp-dot { flex: none; align-self: flex-start; margin-top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #EEEBFF; display: flex; align-items: center; justify-content: center; }
.yp-dot i { width: 8px; height: 8px; border-radius: 50%; background: #5B4FD6; }
.yp-item.sent .yp-dot { background: #E6F5EC; color: #1A7F4B; }
.yp-it { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yp-it > b { font-size: 14.5px; font-weight: 600; }
.yp-it > small { font-size: 13px; color: #5D5D5D; }
.yp-it .yp-bars { padding-top: 4px; gap: 4px; }
.yp-here { font-size: 13px; font-weight: 600; color: #5B4FD6; white-space: nowrap; }
.yp-told summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #3D3D3D; margin-top: 4px; }
.yp-told > div { margin-top: 8px; }
.yp-told small { font-size: 12px; font-weight: 600; color: #8F8F8F; }
.yp-told ul { margin: 2px 0 0; padding-left: 18px; font-size: 14px; }
.yp-news { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: #FAFAFA; font-size: 15px; line-height: 1.55; }
.yp-news p { margin: 0; }
.yp-news > small { font-size: 13px; color: #8F8F8F; }
.yp-use { display: flex; gap: 12px; align-items: baseline; }
.yp-use > span:first-child { color: #1A7F4B; display: flex; }
.yp-use > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.yp-use b { font-size: 15px; font-weight: 500; }
.yp-use small { font-size: 13px; color: #8F8F8F; }
.yp-next { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); }
.yp-next > small { font-size: 13px; font-weight: 600; color: #8F8F8F; padding-top: 2px; }
.yp-next > span { display: flex; flex-direction: column; gap: 2px; }
.yp-next b { font-size: 15px; font-weight: 600; }
.yp-next span small { font-size: 13.5px; color: #5D5D5D; }
@media (max-width: 720px) { .yp-banner { flex-wrap: wrap; } .yp-banner .yp-bars { width: 100%; order: 3; } .yp-next { grid-template-columns: 1fr; gap: 4px; } }
/* the initiative's header for someone taking part (0z123 · 1): its stage, and who leads it */
.k2-head.yp-h { align-items: center; }
.yp-stage { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: #EEEBFF; color: #4B3FC4; font-size: 13.5px; font-weight: 500; }
.yp-led { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: #3D3D3D; }
.yp-led i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: #FCE9DA; color: #A4541B; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dz-tools .dz-addw { margin-left: auto; } /* the Add discovery button keeps to the right */
/* the ⋯ menu beside a draft's date: Update (SAM says what can change) and Delete draft */
.k2-hm { position: relative; flex: none; }
.k2-hm-b { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: #5D5D5D; cursor: pointer; }
.k2-hm-b:hover, .k2-hm-b[aria-expanded="true"] { background: rgba(0,0,0,.06); color: #0D0D0D; }
.k2-hm-m { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 240px; display: flex; flex-direction: column; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
.k2-hm-m button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: #0D0D0D; text-align: left; cursor: pointer; }
.k2-hm-m button small { font-size: 12.5px; color: #8F8F8F; }
.k2-hm-m button:hover { background: #F4F4F4; }
.k2-hm-m button.danger { color: #B42318; }

/* The SAM Summary at the top of every tab (0z125) */
.wt-sum.sum { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 16px; }
.sum-h { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sum-h b { font-weight: 600; }
.sum-b { display: flex; flex-direction: column; gap: 12px; padding-left: 30px; }
.wt-sum.sum p { font-size: 15.5px; line-height: 1.6; }
.sum-l small { font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #8F8F8F; margin-right: 4px; }
.sum-lk { display: inline; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sum-lk.disc { color: #4B4FC4; text-decoration-color: #B9BBEE; }
.sum-lk.impl { color: #1A7F4B; text-decoration-color: #A8DDBD; }
.sum-lk.out { color: #5B4FD6; text-decoration-color: #CFC8FA; }
.sum-lk:hover { text-decoration-color: currentColor; }
.sum-go { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; vertical-align: 1px; }
.sum-go.disc { color: #4B4FC4; } .sum-go.impl { color: #1A7F4B; } .sum-go.out { color: #5B4FD6; }
.sum-go:hover { text-decoration: underline; text-underline-offset: 3px; }
.sum-f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: #8F8F8F; }
.sum-next { display: inline-flex; align-items: center; gap: 7px; color: #3D3D3D; }
.sum-next i { width: 7px; height: 7px; border-radius: 50%; background: #E8A317; }
.sum-next.red i { background: #D14343; }
.sum-next.green i { background: #1A7F4B; }
@container (max-width: 640px) { .sum-b { padding-left: 0; } }
/* the summary's footer sits under a line across the card (0z125) */
.wt-sum.sum .sum-f { gap: 12px; margin-top: 4px; padding: 12px 0 0 30px; border-top: 1px solid rgba(0,0,0,.07); font-size: 12px; color: #8F8F8F; }
.wt-sum.sum .sum-f > span { white-space: nowrap; }
.sum-dot { color: #D6D6D6; }
.wt-sum.sum .sum-next { gap: 8px; font-size: 13px; }
.wt-sum.sum .sum-next i { width: 8px; height: 8px; }
@container (max-width: 640px) { .wt-sum.sum .sum-f { padding-left: 0; } .wt-sum.sum .sum-f > span { white-space: normal; } }
.pg > .sum + .pg-s { border-top: 0; } /* the Summary card is its own box: no line under it */
/* 0z125, revised: a small header (orb, "Summary", when it was updated) and the text; no footer */
.wt-sum.sum { gap: 12px; padding: 18px 22px; border-radius: 18px; }
.wt-sum.sum .sum-h { gap: 8px; margin-bottom: -6px; font-size: 12px; font-weight: 500; color: #8F8F8F; }
.wt-sum.sum .sum-at { margin-left: auto; font-weight: 400; white-space: nowrap; }
.wt-sum.sum .sum-x { font-weight: 400; } .wt-sum.sum .sum-x::before { content: '·'; margin-right: 8px; color: #D6D6D6; }
.wt-sum.sum .sum-b { padding-left: 24px; max-width: 980px; gap: 10px; }
.wt-sum.sum p { font-size: 15.5px; line-height: 1.65; color: #1F1F1F; }
.wt-sum.sum .sum-lk { font-weight: 600; }
.wt-sum.sum { margin-bottom: 12px; } /* a little more room before what follows the Summary */
/* Summary: Hide / Show, remembered for every summary */
.wt-sum.sum { padding: 16px 22px; }
.wt-sum.sum.hid { gap: 0; }
.wt-sum.sum.hid .sum-h { margin-bottom: 0; }
.wt-sum.sum .sum-b { gap: 8px; }
.wt-sum.sum p { line-height: 1.6; }
.sum-tog { display: inline-flex; align-items: center; gap: 4px; height: 24px; margin-left: 4px; padding: 0 8px; border: 0; border-radius: 7px; background: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); font: inherit; font-size: 12px; font-weight: 600; color: #5D5D5D; cursor: pointer; }
.sum-tog.solo { margin-left: auto; }
.sum-tog:hover { color: #0D0D0D; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.sum-tog > span { display: flex; }
.sum-tog > span svg { width: 12px; height: 12px; }
.sum-tog > span.up { transform: rotate(180deg); }
/* an open row's ⋯ menu, top right of its detail */
.wt-detail { position: relative; }
.wt-dm { position: absolute; top: 8px; right: 8px; z-index: 2; }
.wt-dm .k2-hm-b { width: 32px; height: 32px; background: #fff; color: #3D3D3D; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.wt-dm .k2-hm-b:hover, .wt-dm .k2-hm-b[aria-expanded="true"] { background: #F4F4F4; color: #0D0D0D; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.wt-dm { top: 12px; right: 12px; }
/* the ⋯ at the top right of a discovery's own page */
.ak-crumb .ak-hm { margin-left: auto; }
.ak-crumb .ak-hm .k2-hm-b { width: 32px; height: 32px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
/* guests: people not in SAM, invited by email when it launches */
.ak-who.g { background: #fff; color: #0D0D0D; box-shadow: inset 0 0 0 1px #CDEBD8; border-radius: 999px; padding-left: 4px; height: auto; min-height: 30px; flex-wrap: wrap; }
.ak-who.g > i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #F4F4F4; color: #5D5D5D; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ak-who.g small { color: #8F8F8F; }
.ak-et { font-style: normal; padding: 1px 7px; border-radius: 6px; background: #FFF1E0; color: #8A4B00; font-size: 11.5px; font-weight: 600; }
.ak-guests { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.ak-gl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* someone asked for your take: offered at the top of your chat with SAM, never started for you */
.wait-card { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; padding: 12px 14px; border-radius: 14px; background: #F8F7FF; box-shadow: inset 0 0 0 1.5px #CFC8FA; }
.wait-card .wc-av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #FCE9DA; color: #A4541B; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }
.wait-card .wc-t { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wait-card .wc-t b { font-size: 14.5px; font-weight: 600; }
.wait-card .wc-t small { font-size: 13px; color: #5D5D5D; }
.wait-card .chip-btn { height: 32px; min-height: 0; }
.ak-round { margin: 2px 0 8px; font-size: 13.5px; color: #1A7F4B; font-weight: 500; }
.wait-card .chip-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; line-height: 1; }

/* sign in: email, then a link by email (14 days) */
body.signin .side { display: none; }
.si { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: #F4F4F4; }
.si-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: 20px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.06); }
.si-card h1 { margin: 6px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.si-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #3D3D3D; }
.si-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.si-form input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.14); font: inherit; font-size: 15px; }
.si-form input:focus { outline: 2px solid #0D0D0D; outline-offset: 1px; }
.si-form button { height: 44px; border: 0; border-radius: 12px; background: #0D0D0D; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.si-form button:disabled { opacity: .6; }
.si-err { color: #B42318 !important; }
.si-dev { padding: 10px 12px; border-radius: 10px; background: #FFF6EC; font-size: 14px !important; }
.si-dev a { color: #5B4FD6; font-weight: 600; }
.si-link { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #5D5D5D; text-decoration: underline; cursor: pointer; }
.dev-tag { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: #FFF1E0; color: #8A4B00; font-size: 10.5px; letter-spacing: 0; text-transform: none; }
.me-email { display: block; padding: 2px 12px 6px; font-size: 13px; color: #5D5D5D; }
.me-signin { display: block; padding: 8px 12px; font-size: 13.5px; color: #4B4FC4; }
.si { position: fixed; inset: 0; z-index: 50; }
/* a guest: which other initiatives they can see */
.ga { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ga-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #F8F7FF; box-shadow: inset 0 0 0 1px #DDD8FB; }
.ga-card > b { font-size: 14.5px; font-weight: 600; }
.ga-card > small { font-size: 13px; color: #5D5D5D; }
.ga-opts { display: flex; flex-direction: column; gap: 6px; }
.ga-opts label { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.ga-opts input { margin-top: 4px; }
.ga-opts small { margin-left: 8px; font-size: 12.5px; color: #8F8F8F; }
.ga-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ga-acts small { font-size: 12.5px; color: #8F8F8F; }
.ga-line { margin: 0; font-size: 14px; color: #3D3D3D; }

/* Settings (the SAM lead): who has been invited, and what they can see */
.adm { max-width: 960px; margin: 0 auto; padding: 32px 24px 60px; display: flex; flex-direction: column; gap: 16px; }
.adm-h h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.adm-h p { margin: 6px 0 0; font-size: 15px; color: #5D5D5D; max-width: 720px; }
.adm-k { margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8F8F8F; }
.adm-tabs { align-self: flex-start; }
.adm-tabs button small { margin-left: 6px; color: #8F8F8F; }
.adm-list { display: flex; flex-direction: column; gap: 12px; }
.adm-p { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 14px; }
.adm-p > header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-av { width: 36px; height: 36px; border-radius: 50%; background: #EEEBFF; color: #3F35B5; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.adm-av.g { background: #F4F4F4; color: #5D5D5D; }
.adm-who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 220px; }
.adm-who b { font-size: 15.5px; font-weight: 600; }
.adm-who small { font-size: 13px; color: #5D5D5D; }
.adm-tag { font-style: normal; padding: 2px 8px; border-radius: 6px; background: #EEF0FF; color: #4B4FC4; font-size: 12px; font-weight: 600; }
.adm-tag.g { background: #FFF1E0; color: #8A4B00; }
.adm-seen { font-size: 12.5px; color: #8F8F8F; }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adm-cap { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8F8F8F; }
.adm-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.06); }
.adm-row > span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.adm-row b { font-size: 14px; font-weight: 500; }
.adm-row small { font-size: 12.5px; color: #8F8F8F; }
.adm-st { font-style: normal; font-size: 12px; font-weight: 600; color: #5D5D5D; white-space: nowrap; }
.adm-st.done { color: #1A7F4B; } .adm-st.started { color: #5B4FD6; }
.adm-none { margin: 0; font-size: 13.5px; color: #8F8F8F; }
.adm-all { margin: 0; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.adm-all small { font-size: 12.5px; color: #8F8F8F; }
@media (max-width: 720px) { .adm-cols { grid-template-columns: 1fr; } }
/* guests' access: one table, guests down the side, initiatives across */
.ga-card > b { font-size: 14.5px; }
.ga-scroll { overflow-x: auto; max-height: 360px; overflow-y: auto; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ga-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ga-t th, .ga-t td { padding: 8px 12px; border-bottom: 1px solid rgba(0,0,0,.06); text-align: center; vertical-align: middle; }
.ga-t th:first-child, .ga-t td:first-child { text-align: left; }
.ga-t thead th { position: sticky; top: 0; background: #FAFAFA; font-weight: 500; z-index: 1; }
.ga-t thead label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.ga-t thead label span { display: flex; flex-direction: column; line-height: 1.25; }
.ga-t thead small, .ga-t td small { display: block; font-size: 12px; color: #8F8F8F; font-weight: 400; }
.ga-t td b { font-weight: 500; }
.ga-t tbody tr:last-child td { border-bottom: 0; }
.ga-t input { width: 16px; height: 16px; cursor: pointer; }
/* Settings, as a compact table */
.adm { max-width: 1100px; gap: 14px; }
.adm-h { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.adm-tw { overflow-x: auto; border-radius: 14px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.adm-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-t th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 500; color: #8F8F8F; background: #FAFAFA; border-bottom: 1px solid rgba(0,0,0,.07); white-space: nowrap; }
.adm-t td { padding: 9px 14px; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: middle; }
.adm-t tbody tr:last-child td { border-bottom: 0; }
.adm-pp { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.adm-pp b { font-weight: 500; }
.adm-pp small { display: block; font-size: 12px; color: #8F8F8F; }
.adm-t .adm-av { width: 28px; height: 28px; font-size: 11px; flex: none; }
.adm-t .adm-tag { margin-left: 6px; padding: 1px 6px; font-size: 11px; }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; margin: 2px 4px 2px 0; padding: 0 8px; border-radius: 7px; background: #F4F4F4; font-size: 12.5px; white-space: nowrap; }
.adm-chip.acc { background: #F1EFFF; color: #3F35B5; }
.adm-chip button { border: 0; background: none; padding: 0 0 0 2px; font: inherit; font-size: 14px; line-height: 1; color: #8F8F8F; cursor: pointer; }
.adm-chip button:hover { color: #B42318; }
.adm-d { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #D0D0D0; }
.adm-d.started { background: #5B4FD6; } .adm-d.done { background: #1A7F4B; } .adm-d.closed { background: #8F8F8F; }
.adm-muted { color: #8F8F8F; font-size: 13px; }
.adm-key { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: #8F8F8F; }
.adm-key .adm-d { margin-left: 8px; } .adm-key .adm-d:first-child { margin-left: 0; }
/* guests' access, in a modal: a row per initiative (None / All / Some); people only under "Some" */
.ga-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; font-size: 14px; color: #3D3D3D; }
.ga-m { width: min(640px, 100%); }
.ga-m > p b { color: #0D0D0D; font-weight: 600; }
.ga-find { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,.14); font: inherit; font-size: 14px; }
.ga-list { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ga-row { border-bottom: 1px solid rgba(0,0,0,.06); }
.ga-row:last-child { border-bottom: 0; }
.ga-row.open { background: #FAFAFA; }
.ga-rh { display: flex; align-items: center; gap: 12px; padding: 12px 14px; flex-wrap: wrap; }
.ga-rn { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.ga-rn b { font-size: 14.5px; font-weight: 500; }
.ga-rn small { font-size: 12px; color: #8F8F8F; }
.ga-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: #F1F1F1; }
.ga-seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 13px; color: #5D5D5D; cursor: pointer; white-space: nowrap; }
.ga-seg button[aria-checked="true"] { background: #fff; color: #0D0D0D; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ga-people { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 12px 14px; }
.ga-people .ga-find { margin-bottom: 6px; }
.ga-person { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.ga-person:hover { background: #F1F1F1; }
.ga-person span { display: flex; flex-direction: column; font-size: 13.5px; }
.ga-person b { font-weight: 500; }
.ga-person small { font-size: 12px; color: #8F8F8F; }
.ga-person[hidden], .ga-row[hidden] { display: none; }

/* ⋯ › UI / layout changes: the owner's changes to how the page looks, each with Undo */
.lay-ic { background: #F2F2F2; color: #3A3B42; }
.lay-list { margin: 8px 0 0; padding: 0; list-style: none; }
.lay-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.06); }
.lay-list li:first-child { border-top: 0; }
.lay-list li > span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lay-list b { font-size: 15px; font-weight: 600; color: #0D0D0D; }
.lay-list q { font-size: 14px; color: #3D3D3D; }
.lay-list q::before { content: '“'; } .lay-list q::after { content: '”'; }
.lay-list small { font-size: 12.5px; color: #8F8F8F; }
.lay-empty { margin: 8px 0 12px; font-size: 14.5px; color: #3D3D3D; }
.lay-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.lay-try small { flex: 0 0 100%; font-size: 12.5px; color: #8F8F8F; }
/* a section the owner asked to fold: its header carries a Show / Hide toggle */
.wt-gfold { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 500; color: #3D3D3D; text-transform: none; letter-spacing: 0; cursor: pointer; }
.wt-gfold:hover { background: #F5F5F5; }
.wt-group.fold { display: flex; align-items: center; gap: 8px; }

/* pages SAM wrote for the owner (vibe coding): a quiet bar, the sealed frame, and a card while SAM builds */
.vibe-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #F7F6FE; font-size: 13px; color: #3D3D3D; }
.vibe-bar > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5B4FD6; font-weight: 600; }
.vibe-bar > span span { color: #3D3D3D; font-weight: 400; }
.vibe-bar small { color: #8F8F8F; white-space: nowrap; }
.vibe-std { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #0D0D0D; white-space: nowrap; cursor: pointer; }
.vibe-std:hover { text-decoration: underline; }
.vibe-slot { position: relative; }
.vibe-frame { display: block; width: 100%; border: 0; background: #fff; }
.vibe-busy { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #F7F6FE; }
.vibe-busy > span:not(.cx-dots) { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.vibe-busy b { font-size: 14px; font-weight: 600; }
.vibe-busy small { font-size: 13px; color: #6B6B6B; }
.vibe-busy.err { background: #FDECEC; }
.lay-h { margin: 28px 0 4px; font-size: 15px; font-weight: 600; }
.lay-vers { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.lay-vers > span { display: flex; align-items: baseline; gap: 10px; }
.lay-vers em { font-style: normal; font-size: 12px; font-weight: 600; color: #5B4FD6; }
/* a standard page with the owner's layout changes on it */
.vibe-bar.lay-note { background: #F5F5F5; }
.vibe-bar.lay-note > span { color: #3D3D3D; }
.vibe-std.see { margin-left: auto; font-weight: 500; color: #6B6B6B; }
.vibe-std.see + .vibe-std { margin-left: 12px; }

/* a plan, full screen */
.pl-ic { background: #E9F5EE; color: #1A7F4B; }
.pl .cx-head small .wt-pill { margin-top: 6px; }
.pl-crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }
.pl-because, .pl-ch { margin: 0; padding: 0; list-style: none; }
.pl-because li { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.pl-because small { color: #8F8F8F; font-size: 13px; }
.pl-ch li { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font-size: 14px; border-top: 1px solid rgba(0,0,0,.05); }
.pl-ch li:first-child { border-top: 0; }
.pl-ch li > span { flex: 1 1 auto; } .pl-ch small, .pl-ch time { color: #8F8F8F; font-size: 12.5px; white-space: nowrap; }
.pl-note { margin: 20px 0 0; font-size: 14px; color: #6B6B6B; }
/* Add to plan: create a draft, or add to an existing plan */
.add-plan { position: relative; display: inline-flex; }
.add-plan .k2-hm-m { left: 0; right: auto; top: calc(100% + 6px); min-width: 300px; }
.add-plan .ap-k { display: block; padding: 8px 12px 2px; font-size: 12px; color: #8F8F8F; border-top: 1px solid rgba(0,0,0,.06); margin-top: 4px; }
.pl .cx-crumb > button { white-space: nowrap; flex: 0 0 auto; }
.pl .cx-crumb { flex-wrap: nowrap; min-width: 0; }
.pl-crumb { flex: 1 1 auto; min-width: 0; }
.pl-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pl-sub > span:last-child { color: #8F8F8F; }
/* the plan itself: what changes, how (steps), and how we'll know it worked */
.pl-plan { margin: 6px 0 8px; padding: 20px 22px; border-radius: 14px; background: #F6FBF8; border: 1px solid #DCEFE3; }
.pl-plan h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #1A7F4B; }
.pl-sum { margin: 0; font-size: 16px; line-height: 1.6; color: #0D0D0D; }
.pl-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pl-steps li { display: flex; gap: 12px; align-items: flex-start; }
.pl-steps i { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #1A7F4B; color: #fff; font-style: normal; font-size: 12px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.pl-steps span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-steps b { font-weight: 500; font-size: 15px; color: #0D0D0D; }
.pl-steps small { font-size: 13px; color: #6B6B6B; }
.pl-meas { margin: 0; font-size: 15px; line-height: 1.55; color: #2B2B2B; }
.pl-plan.empty { background: #FAFAFA; border-color: rgba(0,0,0,.06); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pl-plan.empty p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3D3D3D; }
/* rich text in an open row: labelled lines under the main point */
.wt-sumtx .rt-l { display: block; margin-top: 8px; }
.wt-sumtx .rt-l small { display: block; margin-bottom: 1px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #8F8F8F; }
.wt-sumtx > .rt-l:first-child { margin-top: 0; }
/* Add to plan: label and arrow centred on one line, same height as the buttons beside it */
.add-plan > .k2-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; }
.add-plan > .k2-pill svg { flex: 0 0 auto; width: 12px; height: 12px; margin: 0; vertical-align: middle; }
.wt-acts { align-items: center; }
/* Findings › Plan: a short link to the finding's plan */
.wt-plink { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #1A7F4B; cursor: pointer; }
.wt-plink:hover { text-decoration: underline; }
/* a change's steps: done ones faded with a tick colour, the current one highlighted */
.pl-steps.prog li.done i { background: #9CCFB2; }
.pl-steps.prog li.done b { color: #6B6B6B; }
.pl-steps.prog li.now b { color: #0D0D0D; font-weight: 600; }
.pl-steps.prog li:not(.done):not(.now) i { background: #fff; color: #1A7F4B; box-shadow: inset 0 0 0 1.5px #1A7F4B; }
.pl-plan.empty .wt-acts { display: flex; gap: 8px; flex-wrap: wrap; }
/* bottom right of an initiative page: ask SAM how to change it (owner only) */
.pg-edit { display: flex; justify-content: flex-end; margin: 10px 4px 0; }
.pg-edit button { padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: #8F8F8F; cursor: pointer; }
.pg-edit button:hover { color: #5B4FD6; text-decoration: underline; }

/* EXPERIMENT · first-meeting tour (public/views/tour.js): an example initiative's real page beside the chat, read only */
.tr-side { flex: 0 0 min(52vw, 820px); display: flex; flex-direction: column; margin: 16px 0; height: calc(100vh - 96px); border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 10px 40px rgba(20,20,40,.08); overflow: hidden; }
.tr-side.tr-in { animation: tr-in .35s ease-out; }
@keyframes tr-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.tr-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid rgba(0,0,0,.06); }
.tr-bar b { font-size: 14px; white-space: nowrap; } .tr-bar small { color: #8F8F8F; font-size: 12.5px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-ex { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #5B4FD6; background: #EFEDFD; padding: 3px 8px; border-radius: 6px; }
.tr-x { border: 0; background: none; font-size: 22px; line-height: 1; color: #8F8F8F; cursor: pointer; padding: 2px 6px; border-radius: 8px; } .tr-x:hover { background: #F2F2F2; color: #222; }
.tr-stage { flex: 1 1 auto; overflow-y: auto; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
/* the example can be clicked round (tour.js keeps clicks inside it); the owner's tools aren't shown */
.tr-stage .ak-foot, .tr-stage .ak-hm, .tr-stage .ak-tip, .tr-stage .ak-ch-r, .tr-stage .ak-acts, .tr-stage .ak-invl, .tr-stage .ak-gadd, .tr-stage .ak-gnote,
.tr-stage .ak-tabs, .tr-stage .ak-wys, .tr-stage .ak-review { display: none !important; }
.tr-jump { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0 8px 40px; }
.tr-j { height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid rgba(0,0,0,.08); background: #fff; font: inherit; font-size: 12.5px; color: #555; cursor: pointer; }
.tr-j:hover { border-color: rgba(0,0,0,.2); color: #222; } .tr-j.on { background: #1A1A1A; border-color: #1A1A1A; color: #fff; }
.tr-skip { margin-left: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; color: #8F8F8F; cursor: pointer; } .tr-skip:hover { text-decoration: underline; }
@media (max-width: 1000px) { .tr-side { flex-basis: auto; height: 70vh; margin: 0 0 24px; } }
.tr-stage .dz-fold, .tr-stage .ip-add-b, .tr-stage .ip-menu, .tr-stage .sam-sug, .tr-stage .pg-edit { display: none !important; }
.tr-how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tr-how li { display: flex; gap: 12px; align-items: flex-start; }
.tr-how i { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #EFEDFD; color: #5B4FD6; font-style: normal; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.tr-how b { display: block; font-weight: 600; }
.tr-how span { color: #555; } .tr-how b { color: #1A1A1A; }
.tr-ask { margin: 0 0 12px; } .tr-guest { margin: 6px 0 0; color: #8F8F8F; font-size: 14px; }
.tr-jump .tr-next { height: 32px; min-height: 0; padding: 0 16px; margin-right: 6px; display: inline-flex; align-items: center; }
/* the part names are quiet links beside Next; the current one is bold */
.tr-jump { gap: 2px; }
.tr-jump .tr-j { height: 28px; padding: 0 7px; border: 0; background: none; color: #8F8F8F; font-size: 13px; border-radius: 6px; }
.tr-jump .tr-j:hover { color: #1A1A1A; background: #F2F2F2; }
.tr-jump .tr-j.on { background: none; color: #1A1A1A; font-weight: 600; }
.tr-jump .tr-next { margin-right: 10px; }
.tr-jump .tr-skip { margin-left: 8px; padding-left: 12px; border-left: 1px solid #E4E4E4; border-radius: 0; }
.tr-ex { white-space: nowrap; }
/* the first-meeting hello: greeting, who asked, the offer */
.tr-hi { margin: 0 0 12px; } .tr-hi .tr-guest { display: block; margin-top: 2px; }
.tk-thread { padding-top: 20px; }
.tr-h { margin: 18px 0 6px; font-size: 15px; font-weight: 600; }
.tr-rule { border: 0; border-top: 1px solid #ECECEC; margin: 18px 0; }
.tr-rule + .tr-h { margin-top: 0; }
/* the part SAM is talking about */
.tr-stage .tr-spot { outline: 2px solid #7C6CF2; outline-offset: 6px; border-radius: 12px; box-shadow: 0 0 0 10px rgba(124,108,242,.10); }
.tr-jump { flex-wrap: nowrap; white-space: nowrap; } .tr-jump .tr-j { padding: 0 5px; } .tr-jump .tr-skip { margin-left: 4px; padding-left: 10px; }
.tr-jump { flex-wrap: wrap; row-gap: 6px; } .tr-parts { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
/* the chat is the only thing that scrolls: hidden "SAM:" labels stay inside it instead of stretching the page */
.tk-main .cs-scroll { position: relative; }
.src-none { margin: 0; padding: 18px 12px; color: #8F8F8F; font-size: 14px; border-top: 1px solid rgba(0,0,0,.06); }
/* the Initiative overview's summary: label · text · link rows, divided by hairlines. The card and its header are
   the same as every other tab's summary; only the body differs. */
.wt-sum.sum.sum-grid .sum-b { gap: 0; max-width: none; }
.sum-rows { display: flex; flex-direction: column; }
.sum-r { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 8px 0; }
.sum-r:first-child { padding-top: 14px; } .sum-r:last-child { padding-bottom: 0; }
.sum-r + .sum-r { border-top: 1px solid rgba(0,0,0,.07); }
.sum-r > small { font-size: 13.5px; color: #8F8F8F; }
.sum-t { font-size: 15.5px; line-height: 1.5; } .sum-t strong { font-weight: 600; }
.sum-a { white-space: nowrap; }
.sum-grid .sum-go { gap: 6px; font-size: 14px; font-weight: 500; color: #4B3FC7; }
.sum-grid .sum-go.impl { color: #1A7F4B; }
.sum-now { display: inline-flex; align-items: center; gap: 8px; }
.sum-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #5B4FD6; animation: sum-blink 1.6s ease-in-out infinite; }
@keyframes sum-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .sum-dot { animation: none; } }
@media (max-width: 640px) { .sum-r { grid-template-columns: 1fr; gap: 4px; } }
/* "+ Add a part": a quiet link under the parts; the menu says what each part is */
.ip-add-b { gap: 8px; font-size: 14px; color: #8F8F8F; border-radius: 8px; padding: 6px 10px 6px 6px; margin-left: 30px; }
.ip-add-b > span { width: 20px; height: 20px; border: 0; font-size: 17px; line-height: 1; color: inherit; }
.ip-add-b:hover { color: #1A1A1A; background: #F4F4F4; }
/* designing an initiative: the steps stay quiet, so the eye goes to the two cards */
.dp-steps { gap: 8px; max-width: 360px; }
.dp-steps > span { gap: 6px; }
.dp-sbar { height: 3px; }
.dp-steps b { font-size: 12px; font-weight: 500; color: #ADADAD; white-space: nowrap; }
.dp-steps .ok b, .dp-steps .now b { font-weight: 500; color: #8F8F8F; }
.dp-steps .now b { color: #3D3D3D; }
.dp-steps .ok .dp-sbar { background: #B9B3EE; }
.dp-steps .now .dp-sbar { background: linear-gradient(90deg, #7C6CF2 40%, #ECEAFB 40%); }
/* Today → Goal: a faint path in the space to the left of the labels: an open dot at today, a filled one at the goal,
   joined by a dotted line, like a route from where things are to where they should be */
.sum-r.from, .sum-r.to { position: relative; }
.sum-r.from::before, .sum-r.to::before { content: ''; position: absolute; left: -20px; top: 15px; width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; }
.sum-r.from::before { top: 22px; border: 1.5px solid #C4BDF3; background: #fff; }
.sum-r.to::before { top: 14px; width: 9px; height: 9px; left: -21px; background: #A79DF0; box-shadow: 0 0 0 3px #F0EEFC; }
.sum-r.from::after { content: ''; position: absolute; left: -17px; top: 32px; bottom: -12px; border-left: 1.5px dotted #CFC9F5; }
/* Start with the background: the nudge on Overview and Discovery until the owner has told SAM what's known */
.bg-nudge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; margin: 0 0 14px; padding: 16px 18px; border-radius: 14px; background: #F7F6FE; border: 1px solid #E3E0FA; }
.bg-n-ic { width: 32px; height: 32px; border-radius: 9px; background: #fff; color: #5B4FD6; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px #E3E0FA; }
.bg-n-b b { font-size: 15px; font-weight: 600; }
.bg-n-b p { margin: 2px 0 10px; font-size: 14px; color: #555; line-height: 1.5; }
.bg-n-l { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: #6E6E6E; }
.bg-n-l li { display: inline-flex; align-items: center; gap: 6px; }
.bg-n-l li i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #C4BDF3; box-sizing: border-box; }
.bg-n-l li.ok { color: #1A7F4B; } .bg-n-l li.ok svg { color: #1A7F4B; }
.bg-n-a { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
@media (max-width: 640px) { .bg-nudge { grid-template-columns: auto 1fr; } .bg-n-a { grid-column: 1 / -1; flex-direction: row; } }
.cx-more { margin: 0; padding-left: 18px; } .cx-more li + li { margin-top: 4px; }
/* Background page: the Summary (six lines), then the Background sections, each with a small heading and count */
.cx-gh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.cx-gh b { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6E6E6E; }
.cx-gh small { font-size: 12.5px; color: #ADADAD; }
.cx-gh .cx-bar { margin-left: auto; width: 120px; }
.cx-gh-b { margin-top: 26px; }
.cx-sum { margin: 18px 0 0; padding: 14px 18px 6px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: #fff; }
.cx-sr { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; font-size: 15px; line-height: 1.5; }
.cx-sr + .cx-sr { border-top: 1px solid rgba(0,0,0,.06); }
.cx-sr > small { font-size: 13.5px; color: #8F8F8F; }
.cx-sr.blank > span { font-size: 14px; }
@media (max-width: 640px) { .cx-sr { grid-template-columns: 1fr; gap: 2px; } }
/* About the work: how much SAM tells people (0z131) */
.ak-ps-tell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0 10px 14px 50px; margin-top: -4px; }
.ak-ps-tell small { font-size: 12.5px; color: #8F8F8F; }
.ak-ps-tell .ga-seg button:disabled { cursor: default; opacity: .6; }
.ak-ps .ak-ps-tell .ga-seg button { display: inline-block; width: auto; height: 28px; padding: 0 12px; text-align: center; }
.ak-ps .ak-ps-tell .ga-seg button:hover { background: none; }
.ak-ps .ak-ps-tell .ga-seg button[aria-checked="true"] { background: #fff; }
