/* RIDE v5 look on the v4 foundations (spec 19 §6). Draft.
   Dark technical base, layered panels, Mona Sans. Mono only for literal code and IDs.
   Grid: 12/8/4 columns, margins 72/32/16, gutters 24/16/12, content max 1296.
   Colour: the four phases, lifted for a dark base, are the only accents. "You" is blue. */
:root {
  --bg: #0A0B0D; --p1: #111317; --p2: #16191E; --p3: #1D2128;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --tx: #ECEDEE; --tx2: #C9CCD1; --mu: #8B9098; --dim: #5C6169;
  --pot: #4C7DFF; --con: #E0A11B; --enc: #C8774F; --cns: #F05A3C; --hot: #F05A3C; --you: #4C7DFF;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --margin: 72px; --gutter: 24px; --cols: 12; --max: 1296px;
  --radius: 14px; --pill: 999px;
  --out: cubic-bezier(.23,1,.32,1); --move: cubic-bezier(.65,0,.35,1);
  --sans: "Mona Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  /* The scale of the workspace (docs/design_system.md). Every .ws rule takes its size from here. */
  --fs-meta: 14px; --fs-body: 16px; --fs-head: 20px; --fs-title: 28px; --fs-mono: 13px;
  --lh: 1.5; --lh-tight: 1.25;
  --r-s: 4px; --r-m: 6px; --r-l: 8px;
  /* the control room, calmer (18 Nov 2026, design system §43) */
  --calm-bg: #111113; --calm-p1: #19191C; --calm-p2: #1F1F23; --calm-p3: #27272C; --calm-line: rgba(255,255,255,.06); --calm-line2: rgba(255,255,255,.09); --calm-tx2: #C4C6CB;
  --pot-2: #3D6AE6; --on-pot: #FFFFFF; --sans-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-read: 68ch; --w-col: 760px; --w-page: 1120px; --col-side: 300px; --col-gap: 48px;
  --pad-x: clamp(16px, 3vw, 40px); --pad-top: 28px;
  --ok: #8FD6A3; --warn: #FF9B82; --run: #3FB950;
  --void: #000000;      /* the ground of the map, as the Encounter network (design system §51) */

  /* old names, kept so templates on v4 classes read right */
  --ink: var(--tx); --muted: var(--mu); --rule: var(--line); --rule-strong: var(--line2);
  --white: var(--p2); --surface: var(--p1); --paper: var(--bg);
}
@media (max-width: 1023px) { :root { --margin: 32px; --gutter: 16px; --cols: 8; } }
@media (max-width: 599px)  { :root { --margin: 16px; --gutter: 12px; --cols: 4; } }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--sans);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background-image: linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 32px 32px; }
::selection { background: var(--pot); color: #fff; }
a { color: var(--tx); text-underline-offset: 3px; text-decoration-color: var(--line2); }
a:hover { color: #fff; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--pot); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }

/* layout */
.wrap { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
.span-12 { grid-column: 1 / -1; }
.span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
@media (max-width: 1023px) { .span-8, .span-7, .span-6, .span-5 { grid-column: 1 / -1; } .span-4 { grid-column: span 4; } }
@media (max-width: 599px) { .span-4 { grid-column: 1 / -1; } }
.stack { display: flex; flex-direction: column; } .g2 { gap: var(--s2); } .g3 { gap: var(--s3); } .g4 { gap: var(--s4); } .g5 { gap: var(--s5); }
.measure { max-width: 64ch; }
.muted { color: var(--mu); }
.small { font-size: 13.5px; line-height: 1.45; }
.lead { font-size: 19px; line-height: 1.45; color: var(--tx2); }
.section { padding-top: var(--s7); padding-bottom: var(--s7); }
.narrow { max-width: 760px; }
#app > .narrow { margin: 0 auto; }
.mono { font-family: var(--mono); font-size: 12px; }
[hidden] { display: none !important; }

/* header and footer */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10,11,13,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 60px; display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; gap: .32em; font-weight: 600; font-size: 18px; font-stretch: 110%; letter-spacing: -.01em; text-decoration: none; }
/* the mark: the lyre in blue, one and a half capitals high (scripts/brand_mark.py) */
.brand .brand-l { height: 1.2em; width: auto; flex: none; margin-top: -.08em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s5); font-size: 14px; }
.nav a { text-decoration: none; color: var(--mu); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--tx); }
.nav a.btn { color: #0A0B0D; }
@media (max-width: 1023px) { .nav .lib { display: none; } }
.brand, .nav a, .navout button { white-space: nowrap; }
@media (max-width: 479px) { .nav { gap: var(--s4); } .nav .navout + .btn { display: none; } }
.foot { padding: var(--s7) 0 var(--s8); margin-top: var(--s7); border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: var(--s5); justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s4); }
.foot a { color: var(--mu); text-decoration: none; } .foot a:hover { color: var(--tx); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 40px;
  padding: 0 18px; border-radius: 10px; border: 1px solid var(--tx); background: var(--tx);
  color: #0A0B0D; font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--out), background-color 160ms ease, border-color 160ms ease; }
.btn:hover { color: #0A0B0D; background: #fff; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--p2); color: var(--tx); border-color: var(--line2); }
.btn.ghost:hover { background: var(--p3); color: var(--tx); }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.btn.dashed, .add { background: transparent; color: var(--tx); border: 1.5px dashed var(--line2); }
.btn.dashed:hover, .add:hover { border-color: var(--tx); background: transparent; color: var(--tx); }
.kbd { font: 500 11px/1 var(--mono); padding: 3px 5px; border-radius: 5px; border: 1px solid var(--line2); color: var(--mu); }
.link { border: 0; background: none; padding: 0; font: 500 14px/1 var(--sans); color: var(--mu); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }
.link:hover { color: var(--tx); }

/* surfaces */
.card, .panel { background: linear-gradient(180deg, var(--p2), var(--p1)); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.card { padding: var(--s5); }
.card.white { background: linear-gradient(180deg, var(--p2), var(--p1)); }
.panel { overflow: hidden; }
.card::before, .panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); pointer-events: none; }
.ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ph h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.ph .r { margin-left: auto; }
.note { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--mu); font-size: 13.5px; }
.label { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 13px;
  border: 1px solid var(--line2); font-size: 13px; color: var(--tx2); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.error { padding: var(--s4) var(--s5); border-radius: var(--radius); background: rgba(240,90,60,.08); border: 1px solid rgba(240,90,60,.45); }
pre.code { margin: 0; padding: var(--s5); border-radius: var(--radius); background: #07080A; border: 1px solid var(--line); color: var(--tx2);
  font: 12.5px/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
svg.mark { display: block; width: 100%; height: auto; overflow: visible; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1023px) { .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards3 { grid-template-columns: 1fr; } }
a.card { text-decoration: none; transition: border-color 160ms ease, transform 160ms var(--out); }
a.card:hover { border-color: var(--line2); }
a.card:active { transform: scale(.99); }

/* tinted cards: archetype and agent colour as a wash, never a full fill on dark */
.tint { --c: var(--tx); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, var(--p2)), color-mix(in srgb, var(--c) 5%, var(--p1)));
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); border-radius: 18px; padding: var(--s6); color: var(--tx); text-decoration: none; }
.tint .mark { color: var(--c); }
.tint h3, .tint h1 { color: var(--tx); }
.tint .accent { color: var(--c); }
.world { border-radius: 18px; padding: var(--s7); position: relative; overflow: hidden; }
.world .mark { width: 200px; height: 200px; }
@media (max-width: 599px) { .world { padding: var(--s6) var(--s5); } .world .mark { width: 140px; height: 140px; } }
.world h1 { font-size: 56px; font-stretch: 112%; font-weight: 700; }
@media (max-width: 599px) { .world h1 { font-size: 40px; } }
.agent { display: flex; flex-direction: column; gap: var(--s4); }
.agent .mark { width: 64px; height: 64px; flex-shrink: 0; }
.agent h3 { font-size: 32px; font-stretch: 110%; }
.agent .say { font-size: 17px; line-height: 1.45; color: var(--tx2); }
.agent .rows { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s2) var(--s4); font-size: 14px; color: var(--tx2); }
.agent .rows > :nth-child(odd) { color: var(--mu); }
@media (max-width: 599px) { .agent .rows { grid-template-columns: 1fr; } }

/* step 5: the check and the questions */
.steps { display: flex; gap: var(--s2); align-items: center; font-size: 13px; color: var(--mu); }
.steps b { color: var(--tx); font-weight: 500; }
.bar { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--you); transition: width 300ms var(--out); }
.ev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center;
  padding: var(--s4) var(--s5); background: var(--p2); border: 1px solid var(--line); border-radius: 12px;
  transition: opacity 200ms ease, border-color 200ms ease; }
.ev p { font-size: 16px; line-height: 1.45; }
.ev p span { color: var(--mu); }
.ev.done { opacity: .5; }
.ev.done.yes { opacity: 1; border-color: rgba(76,125,255,.45); }
@media (max-width: 599px) { .ev { grid-template-columns: 1fr; } }
.q { padding: var(--s6); }
.q h2 { font-size: 26px; }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.scale button { min-height: 56px; border: 1px solid var(--line2); background: var(--p2); border-radius: 12px; cursor: pointer;
  font: 500 13px/1.2 var(--sans); color: var(--tx2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: transform 160ms var(--out), background-color 160ms ease, border-color 160ms ease; }
.scale button:hover { background: var(--p3); border-color: var(--tx); color: var(--tx); }
.scale button:active { transform: scale(.97); }
.scale button .kbd { font-size: 10px; }
@media (max-width: 599px) { .scale button .kbd { display: none; } }
.ends { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); font-size: 16px; line-height: 1.4; color: var(--tx2); }
.ends span:last-child { text-align: right; }

/* the start: a step-by-step module */
.rail { align-self: start; position: sticky; top: 92px; }
@media (max-width: 1023px) { .rail { position: static; } }
.progress { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.progress li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3); align-items: center; min-height: 40px; color: var(--dim); }
.progress .pip { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line2); justify-self: center; transition: background-color 200ms ease, border-color 200ms ease; }
.progress li[data-state="now"] { color: var(--tx); font-weight: 500; }
.progress li[data-state="now"] .pip { border: 3px solid var(--you); box-shadow: 0 0 0 4px rgba(76,125,255,.2); }
.progress li[data-state="done"] { color: var(--tx2); }
.progress li[data-state="done"] .pip { background: var(--you); border-color: var(--you); }
@media (max-width: 599px) {
  .progress { flex-direction: row; gap: var(--s2); }
  .progress li { grid-template-columns: 1fr; min-height: 0; flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
  .progress li span:last-child, .progress .pip { display: none; }
  .progress li[data-state="done"], .progress li[data-state="now"] { background: var(--you); }
  .rail > p.small { display: none; }
}
.stage { padding: var(--s7); min-height: 460px; }
@media (max-width: 599px) { .stage { padding: var(--s5); min-height: 0; } }
.step { display: flex; flex-direction: column; gap: var(--s4); }
.step h2 { font-size: 30px; }
.step.in { animation: stepin 260ms var(--out) both; }
@keyframes stepin { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 16px)); } to { opacity: 1; transform: none; } }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s2); }
@media (max-width: 599px) { .tiles { grid-template-columns: 1fr; } }
.tiles button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 76px; padding: var(--s4) var(--s5);
  border: 1px solid var(--line2); border-radius: 12px; background: var(--p1); cursor: pointer; text-align: left;
  font: 400 13.5px/1.3 var(--sans); color: var(--mu); transition: transform 160ms var(--out), background-color 160ms ease, border-color 160ms ease; }
.tiles button b { font-size: 18px; font-weight: 600; color: var(--tx); }
.tiles button:hover { background: var(--p3); border-color: var(--tx); }
.tiles button:active { transform: scale(.98); }
.tiles button[aria-pressed="true"] { border-color: var(--you); background: rgba(76,125,255,.12); }
.todo { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s4); }
.todo li { display: grid; grid-template-columns: auto 24px; column-gap: var(--s3); row-gap: var(--s2); align-items: center; justify-content: start; }
.todo li > .small { grid-column: 1 / -1; }
.todo .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed var(--line2); transition: background-color 200ms ease, border-color 200ms ease; }
.todo li[data-done="true"] .tick { border: 0; background: var(--you) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 L7 11.5 L12.5 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
.say-box { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-radius: 12px; background: var(--p1); border: 1px solid var(--line2); }
.stage textarea { width: 100%; font: 12.5px/1.5 var(--mono); padding: var(--s4); border-radius: 12px; border: 1px solid var(--line2); background: #07080A; color: var(--tx); }
@media (prefers-reduced-motion: reduce) { .step.in { animation: none; } }

/* ── the forecast (v5 prototype, approved 2026-11-10) ───────────────────── */
.fc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.s12 { grid-column: span 12; }
.objbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: var(--s5); }
.objbar .crumb { color: var(--mu); font-size: 13px; }
.objbar .crumb b { color: var(--tx); font-weight: 500; font-family: var(--mono); font-size: 12px; }
.objbar .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 12px; border: 1px solid var(--line2); font-size: 12px; color: var(--mu); }
.keepbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; margin-bottom: var(--s5);
  border-radius: var(--radius); border: 1px solid rgba(76,125,255,.45); background: rgba(76,125,255,.08); }
.keepbar p { color: var(--tx2); font-size: 14px; }
.keepbar .btn { margin-left: auto; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 1023px) { .hero { grid-template-columns: 1fr; } }
.hero .id { padding: 32px; display: flex; flex-direction: column; gap: 20px; border-right: 1px solid var(--line); }
@media (max-width: 1023px) { .hero .id { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 599px) { .hero .id { padding: 24px 20px; } }
.markwrap { width: 132px; height: 132px; }
.hero h1 { font-size: 56px; font-stretch: 112%; font-weight: 700; margin-top: 4px; }
@media (max-width: 599px) { .hero h1 { font-size: 40px; } .markwrap { width: 104px; height: 104px; } }
.thread { font-size: 18px; line-height: 1.45; color: var(--tx2); max-width: 46ch; }
.prov { font-size: 14px; color: var(--mu); border-top: 1px solid var(--line); padding-top: 18px; max-width: 52ch; }
.plane { padding: 20px 24px 24px; }
@media (max-width: 599px) { .plane { padding: 20px 16px; } }
.plane-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.plane-h h2 { font-size: 15px; letter-spacing: 0; }
.plane-h span { color: var(--mu); font-size: 13px; }

.map { display: grid; grid-template-columns: 118px repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto repeat(3, minmax(112px, auto)); gap: 8px; position: relative; margin-top: 12px; }
.axt { font: 500 13px/1.3 var(--sans); color: var(--tx2); }
.axt span { color: var(--dim); }
.axx { grid-column: 2 / 5; grid-row: 1; text-align: center; padding-bottom: 2px; }
.axy { grid-column: 1; grid-row: 1 / 3; align-self: end; padding-bottom: 4px; }
.hd { font-size: 12.5px; color: #B4B8BF; line-height: 1.3; }
.hx { text-align: center; align-self: end; padding: 0 4px 2px; grid-row: 2; grid-column: calc(var(--i) + 2); }
.hy { display: flex; align-items: center; padding-right: 8px; grid-column: 1; grid-row: calc(var(--i) + 3); }
.cell { grid-column: calc(var(--ci) + 2); grid-row: calc(var(--ri) + 3); }
.ov { grid-column: 2 / 5; grid-row: 3 / 6; }
.cell .tag em { font-style: normal; }
.cell { position: relative; border-radius: 10px; padding: 12px 14px; display: flex; align-items: flex-end; background: rgba(255,255,255,.025); border: 1px solid var(--line); color: var(--c); }
.cell .cn { font-size: 14px; font-weight: 500; color: #9AA0A8; }
.cell.mine { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 10%, transparent)); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.cell.mine .cn { color: #fff; font-weight: 600; }
.cell.agent-cell { background: color-mix(in srgb, var(--c) 9%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.cell.agent-cell .cn, .cell.ai-cell .cn { color: #D5D8DC; }
.cell.ai-cell { border-color: rgba(236,237,238,.28); }
.cell .tag { position: absolute; top: 10px; left: 12px; font: 600 12px/1 var(--sans); color: var(--c); }
.ov { position: relative; pointer-events: none; }
.range { position: absolute; border: 1px dashed rgba(236,237,238,.38); background: rgba(236,237,238,.035); border-radius: 14px; }
.range span { position: absolute; right: 10px; bottom: 8px; font: 500 11.5px/1 var(--sans); color: var(--mu); white-space: nowrap; }
.gap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gap line { stroke: rgba(236,237,238,.6); stroke-width: 1.2; }
.pt { position: absolute; border-radius: 50%; translate: -50% -50%; }
.pt b { position: absolute; left: calc(100% + 7px); top: 50%; translate: 0 -50%; font: 600 12px/1 var(--sans); white-space: nowrap; }
.pt.you { width: 16px; height: 16px; background: var(--you); border: 2.5px solid var(--bg); box-shadow: 0 0 0 6px rgba(76,125,255,.25); }
.pt.you b { color: #fff; left: calc(100% + 10px); }
.pt.ai { width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--tx); }
.axnote { font-size: 12.5px; color: #B4B8BF; margin: 4px 0 0; display: none; }
@media (max-width: 599px) {
  /* phone: the row header becomes a line above its row of cards */
  .axnote { display: block; } .axt { display: none; } .cell .tag em { display: none; }
  .map { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: auto; gap: 5px; }
  .hx { grid-row: 1; grid-column: calc(var(--i) + 1); }
  .hy { grid-column: 1 / -1; grid-row: calc(var(--i) * 2 + 2); padding: 8px 0 0; }
  .cell { grid-column: calc(var(--ci) + 1); grid-row: calc(var(--ri) * 2 + 3); min-height: 76px; }
  .ov { grid-column: 1 / 4; grid-row: 2 / 8; }
  .hy, .hx { font-size: 11.5px; }
  .cell { padding: 8px; border-radius: 8px; } .cell .cn { font-size: 10.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .cell .tag { top: 7px; left: 8px; font-size: 10.5px; }
  .range span { font-size: 10px; right: 6px; bottom: 6px; }
}

.shows { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 899px) { .shows { grid-template-columns: 1fr; } }
.show { padding: 22px 24px 26px; }
.show + .show { border-left: 1px solid var(--line); }
@media (max-width: 899px) { .show + .show { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 599px) { .show { padding: 20px; } }
.sh { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.sh .muted { font-size: 13px; } .sh b { font-size: 17px; font-weight: 600; }
.show ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.show li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
@media (max-width: 599px) { .show li { grid-template-columns: 1fr; gap: 2px; } }
.show .sc { font-size: 13px; color: var(--mu); }
.show em { font-size: 17px; line-height: 1.45; color: #DADDE1; }

.dd { display: grid; grid-template-columns: 150px minmax(0, 1fr) 128px; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.dd:first-of-type { border-top: 0; }
@media (max-width: 599px) { .dd { grid-template-columns: 1fr; gap: 6px; } }
.dd .n b { display: block; font-weight: 600; }
.dd .n span { color: var(--mu); font-size: 13px; }
svg.plot { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 12px; font: 500 12px/1 var(--sans); white-space: nowrap;
  border: 1px solid var(--line2); color: var(--mu); justify-self: end; }
@media (max-width: 599px) { .chip { justify-self: start; } }
.chip.diff { color: #FFD7CF; border-color: rgba(240,90,60,.45); background: rgba(240,90,60,.08); }
.chip.ok { color: #CFE0FF; border-color: rgba(76,125,255,.4); background: rgba(76,125,255,.08); }

.ag { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px; border-top: 1px solid var(--line); }
.ag:first-of-type { border-top: 0; }
.ag .ic { width: 64px; height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.ag .ic svg { width: 40px; height: 40px; }
.ag h3 { font-size: 22px; font-stretch: 110%; }
.ag .say { color: var(--tx2); margin-top: 6px; }
.ag .row { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.add { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px; font: 500 13px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: all .2s var(--out); }
.add.on { border-style: solid; background: var(--tx); color: #0A0B0D; border-color: var(--tx); }
.add.on:hover { color: #0A0B0D; background: #fff; }

.evg { border-top: 1px solid var(--line); }
.evg summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 16px 20px; }
.evg summary::-webkit-details-marker { display: none; }
.evg summary:hover { background: rgba(255,255,255,.02); }
.evt { font-weight: 600; }
.chev { margin-left: auto; color: var(--dim); transition: transform .2s var(--out); }
.evg[open] .chev { transform: rotate(90deg); }
.evr { padding: 14px 20px 16px; border-top: 1px solid var(--line); margin-left: 20px; }
@media (max-width: 599px) { .evr { margin-left: 0; } }
.evq { color: var(--tx2); font-size: 14px; }
.moments { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.moments li { font-size: 13.5px; color: #B4B8BF; padding-left: 14px; position: relative; }
.moments li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.moments li span { color: var(--dim); margin-left: 6px; }
.moments li.x { text-decoration: line-through; color: var(--dim); }
.moments li i { font-style: normal; display: inline-block; margin-left: 8px; color: var(--con); font-size: 12px; }

.pat { margin-top: 14px; }
.pat ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pat li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: baseline; font-size: 14.5px; }
.pat li span { color: var(--tx2); } .pat li b { font-weight: 600; } .pat li i { font-style: normal; color: var(--dim); font-size: 12.5px; }
@media (max-width: 599px) { .pat li { grid-template-columns: 1fr auto; } .pat li span { grid-column: 1 / -1; color: var(--mu); font-size: 13px; } }
.why { grid-column: 1 / -1; font-size: 13.5px; color: var(--mu); margin-top: -4px; }
.ev.cur { border-color: var(--line2); box-shadow: 0 0 0 3px rgba(76,125,255,.18); }

.method-steps { list-style: none; counter-reset: m; margin: 0; padding: 0; }
.method-steps li { counter-increment: m; display: grid; grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.method-steps li:first-child { border-top: 0; }
.method-steps li::before { content: counter(m); color: var(--dim); font: 500 13px/1 var(--mono); }
.method-steps li span { color: var(--mu); }
@media (max-width: 899px) { .method-steps li { grid-template-columns: 28px minmax(0, 1fr); } .method-steps li span { grid-column: 2; } }
.method-open { list-style: none; margin: 0; padding: 0; }
.method-open li { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--mu); }
.method-open li:first-child { border-top: 0; }
.method-open li b { color: var(--tx); font-weight: 500; }

/* motion: the reveal plays once, in order (mark, name, you, your AI, the gap, agents) */
.f { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--out), transform .7s var(--out); }
.on .f { opacity: 1; transform: none; }
.trace { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--move); }
.on .trace { stroke-dashoffset: 0; }
.pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--out), transform .6s var(--out); }
.on .pop { opacity: 1; transform: none; }
.grow { transform: scaleX(0); transform-box: fill-box; transform-origin: left; transition: transform .9s var(--move); }
.on .grow { transform: none; }
.pt.pop { transform: scale(.6); transform-origin: center; }
.on .pt.pop { transform: none; }
@media (prefers-reduced-motion: reduce) { .f, .pop, .grow { transform: none !important; transition: opacity .3s; } .trace { stroke-dashoffset: 0; transition: none; } }

/* your forecast in progress (decision 43) */
.bld { display: flex; flex-direction: column; gap: var(--s6); }
.bld-h h1 { font-size: 56px; font-stretch: 108%; }
@media (max-width: 599px) { .bld-h h1 { font-size: 36px; } }
.bar2 { display: flex; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; max-width: 760px; }
.bar2 i { display: block; height: 100%; transition: width 500ms var(--out); }
.bar2 .ai { background: var(--tx); } .bar2 .me { background: var(--you); }
.bar2-l { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--mu); max-width: 760px; }
.bar2-l .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.bar2-l .k.ai { background: var(--tx); } .bar2-l .k.me { background: var(--you); }
.bar2-l span:last-child { margin-left: auto; }
.bld-g { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; }
.bld-g > #b-q { transition: opacity 160ms; }
.bld-g > #b-q.busy { opacity: .5; pointer-events: none; }
.bld-g > .bld-map { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 1023px) { .bld-g { grid-template-columns: 1fr; } .bld-g > .bld-map { grid-column: 1; grid-row: auto; } }
.bld .plane { padding: 4px 20px 20px; }
.bld .map { grid-template-rows: auto auto repeat(3, minmax(64px, auto)); grid-template-columns: 104px repeat(3, minmax(0, 1fr)); }
.bld .cell { opacity: .32; transition: opacity 400ms var(--out), border-color 400ms, background 400ms; }
.bld .cell.lit { opacity: 1; border-color: rgba(236,237,238,.34); background: rgba(255,255,255,.06); }
.bld .cell.lit .cn { color: #fff; }
@media (max-width: 599px) { .bld .map { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; } .bld .cell { min-height: 52px; } .bld .plane { padding: 4px 16px 16px; } }
.ax { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ax-e, .ax-s { display: flex; justify-content: space-between; gap: 12px; }
.ax-e { font-size: 14px; font-weight: 500; }
.ax svg { width: 100%; height: 16px; display: block; }
.ax-s { font-size: 12.5px; color: var(--mu); } .ax-s b { font-weight: 500; color: var(--tx2); } .ax.set .ax-s b { color: #CFE0FF; }
.tally { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--tx2); }
.tally b { display: inline-block; min-width: 34px; font-weight: 600; color: var(--tx); }
.facet-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.facet-row b { font-weight: 500; } .facet-row span { color: var(--tx2); }
@media (max-width: 699px) { .facet-row { grid-template-columns: 1fr; gap: 2px; } }
.q-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.keep-acts { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }

/* the elaborate forecast (2026-11-10): portrait, why, across a change, challenges, hand-over */
.portrait { font-size: 19px; line-height: 1.45; color: var(--tx); max-width: 44ch; font-weight: 500; }
.hero .thread { font-size: 15.5px; color: var(--mu); }
.why2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.why2 > div { padding: 24px; } .why2 > div + div { border-left: 1px solid var(--line); }
@media (max-width: 899px) { .why2 { grid-template-columns: 1fr; } .why2 > div + div { border-left: 0; border-top: 1px solid var(--line); } .why2 > div { padding: 20px; } }
.image em { font-size: 17px; color: #DADDE1; }
.recog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.recog em { font-size: 18px; line-height: 1.45; color: #E6E8EB; }
.dl2 { margin: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.dl2 dt, .dl2 dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); }
.dl2 dt { color: var(--mu); font-size: 13.5px; padding-right: 14px; } .dl2 dd { color: var(--tx2); }
.panel > .dl2 { padding: 0 20px 8px; } .panel > .dl2 dt:first-of-type, .panel > .dl2 dt:first-of-type + dd { border-top: 0; }
@media (max-width: 599px) { .dl2 { grid-template-columns: 1fr; } .dl2 dd { border-top: 0; padding-top: 0; } .dl2 dt { padding-bottom: 2px; } }
.handover { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--line); }
.handover .lead { max-width: 70ch; }
.cross4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cross4 > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.02); }
.cross4 b { font-weight: 500; font-size: 14.5px; line-height: 1.3; } .cross4 span { font-size: 13px; color: var(--mu); }
.cross4 .yours { border-color: rgba(76,125,255,.5); background: rgba(76,125,255,.08); } .cross4 .yours span { color: #CFE0FF; }
.cross4 .theirs { border-style: dashed; border-color: var(--line2); } .cross4 .theirs span { color: var(--tx); font-weight: 600; }
@media (max-width: 899px) { .cross4 { grid-template-columns: 1fr 1fr; } }
.ag2 { display: grid; grid-template-columns: 1fr 1fr; } .ag2 .ag { border-top: 0; } .ag2 .ag + .ag { border-left: 1px solid var(--line); }
.ag .dl2 { margin-top: 14px; grid-template-columns: 150px minmax(0, 1fr); font-size: 14px; }
@media (max-width: 899px) { .ag2 { grid-template-columns: 1fr; } .ag2 .ag + .ag { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 599px) { .ag .dl2 { grid-template-columns: 1fr; } }
.dd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 128px; }
@media (max-width: 899px) { .dd { grid-template-columns: 1fr; gap: 6px; } }

/* across a change: four stretches, sixteen challenges, who takes each crossing */
.big { padding: 22px 24px 4px; font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; max-width: 40ch; }
.stretches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px; }
@media (max-width: 1099px) { .stretches { grid-template-columns: 1fr 1fr; } } @media (max-width: 599px) { .stretches { grid-template-columns: 1fr; padding: 16px; } .big { font-size: 20px; padding: 18px 16px 0; } }
.st { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; overflow: hidden; }
.st.hard { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.st .entry { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 9px 14px; font-size: 12.5px; color: var(--mu); border-bottom: 1px dashed var(--line2); background: rgba(255,255,255,.02); }
.st .entry b { color: var(--tx); font-weight: 600; white-space: nowrap; } .st .entry b.me { color: #CFE0FF; }
.sth { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 16px 14px 0; }
.stn { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #0A0B0D; font: 700 12px/22px var(--sans); text-align: center; align-self: center; }
.sth h3 { font-size: 19px; font-stretch: 106%; } .sth em { font-style: normal; font-size: 12.5px; color: var(--c); flex-basis: 100%; }
.stl { padding: 8px 14px 14px; color: var(--mu); font-size: 13.5px; line-height: 1.45; min-height: 74px; }
.st ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.st li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.st li:first-child { border-top: 0; }
.st .num { font: 500 12px/20px var(--mono); color: var(--dim); }
.cn2 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .cn2 b { font-weight: 600; font-size: 15px; color: var(--tx2); } .cn2 i { font-style: normal; font-size: 12px; color: var(--mu); white-space: nowrap; }
.cbar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); margin: 7px 0 6px; overflow: hidden; } .cbar u { display: block; height: 100%; border-radius: 3px; opacity: .55; }
.st .task { font-size: 12.5px; color: var(--dim); line-height: 1.35; display: block; }
.st li.most .cn2 b { color: #fff; } .st li.most .cbar u { opacity: 1; } .st li.most .cn2 i { color: var(--tx); }
.st li.least .cbar u { opacity: .35; } .st li.least .cn2 i { color: var(--mu); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 1099px) { .facts { grid-template-columns: 1fr 1fr; } } @media (max-width: 599px) { .facts { grid-template-columns: 1fr; } }
.fact { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--p2), var(--p1)); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.fact span { font-size: 13px; color: var(--mu); } .fact p { font-size: 17px; line-height: 1.4; color: var(--tx); }
.tiles4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles4 > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.tiles4 span { font-size: 12.5px; color: var(--mu); } .tiles4 b { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
@media (max-width: 599px) { .tiles4 { grid-template-columns: 1fr; } }
.recog li { border-left: 2px solid color-mix(in srgb, var(--c) 70%, transparent); padding: 2px 0 2px 16px; }
.moves { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.moves li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.moves span { font-size: 12px; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 999px; padding: 3px 9px; justify-self: start; white-space: nowrap; }
.moves p { color: var(--tx2); }
.asks { margin: 16px 0 10px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--c) 9%, transparent); font-size: 17px; line-height: 1.35; }
.asks span { display: block; font-size: 12.5px; color: var(--mu); margin-bottom: 4px; }
.endbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 28px; border-radius: var(--radius); border: 1px solid rgba(76,125,255,.45); background: rgba(76,125,255,.07); }
.endbar h2 { font-size: 24px; } .endbar p { color: var(--tx2); margin-top: 6px; }
.needs { font-size: 14px; color: var(--tx2); margin-bottom: 10px; } .needs span { display: block; font-size: 12.5px; color: var(--mu); margin-bottom: 2px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.pair > div { padding: 18px 24px 20px; border-right: 1px solid var(--line); } .pair > div:last-child { border-right: 0; }
.pair span { display: block; font-size: 13px; color: var(--mu); margin-bottom: 6px; } .pair p { font-size: 16px; line-height: 1.45; color: var(--tx); }
.cross4 > div span { order: -1; font-size: 15px; font-weight: 600; color: var(--tx); } .cross4 > div b { font-weight: 400; font-size: 14px; color: var(--tx2); }
.cross4 .yours span { color: #CFE0FF; }
.cbar { display: flex; height: 8px; } .cbar u.me { background: var(--you); opacity: 1; border-radius: 3px 0 0 3px; } .cbar u.ag { opacity: 1; border-radius: 0; background-image: repeating-linear-gradient(135deg, rgba(10,11,13,.35) 0 3px, transparent 3px 6px); }
.cbar u.ag:last-child { border-radius: 0 3px 3px 0; }
.st li.least .cbar u.me, .st li .cbar u.me { opacity: 1; } .st li.least .cbar u.ag { opacity: 1; }
.cn2 i.plus { color: inherit; display: flex; gap: 8px; } .cn2 i.plus span { font-weight: 600; }
.barkey { padding: 16px 24px 0; color: var(--tx2); font-size: 14.5px; max-width: 90ch; } .barkey .k { display: inline-block; width: 18px; height: 8px; border-radius: 3px; margin: 0 6px 1px 0; vertical-align: middle; } .barkey .k.me { background: var(--you); } .barkey .k + .k, .barkey span.k:not(.me) { margin-left: 4px; }
.setup { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 10px; }
.setup summary { list-style: none; cursor: pointer; padding: 11px 14px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.setup summary::-webkit-details-marker { display: none; } .setup .chev { color: var(--mu); transition: transform 160ms var(--out); } .setup[open] .chev { transform: rotate(90deg); }
.setup[open] summary { border-bottom: 1px solid var(--line); } .setup > .moves, .setup > p { margin: 14px; }
.conn { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .conn span { flex-basis: 100%; font-size: 12.5px; color: var(--mu); }
.conn b { font-weight: 400; font-size: 13px; border: 1px solid var(--line2); border-radius: 999px; padding: 4px 10px; color: var(--tx2); }
.teamup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 32px; padding: 24px; border-top: 1px solid var(--line); background: rgba(76,125,255,.05); }
.teamup h3 { font-size: 22px; } .teamup #teammsg { margin-left: 10px; }
.tsteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tsteps li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
.tsteps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); font: 600 13px/26px var(--sans); text-align: center; color: var(--tx2); }
.tsteps b { font-weight: 600; } .tsteps span { color: var(--mu); font-size: 14px; }
@media (max-width: 899px) { .teamup { grid-template-columns: 1fr; padding: 20px; } }
.lead2 { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid color-mix(in srgb, var(--a) 35%, transparent); background: color-mix(in srgb, var(--a) 13%, transparent); }
.lead2 .av { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--a); background: color-mix(in srgb, var(--a) 16%, transparent); border: 1px solid color-mix(in srgb, var(--a) 50%, transparent); }
.lead2 .av svg { width: 24px; height: 24px; } .lead2 .av.you { font: 700 12px/1 var(--sans); color: #CFE0FF; }
.lead2 b { display: block; font-weight: 600; font-size: 15px; color: var(--tx); } .lead2 div span { display: block; font-size: 12.5px; color: var(--mu); line-height: 1.35; margin-top: 2px; }
.st.byagent { border-color: color-mix(in srgb, var(--a) 45%, transparent); } .st.byyou { border-color: rgba(76,125,255,.35); }

/* the agent introduces itself: one voice, readable sizes, plain headings */
.ag3 { padding: 28px; display: flex; flex-direction: column; font-size: 16px; line-height: 1.5; color: var(--tx2); }
.ag2 .ag3 + .ag3 { border-left: 1px solid var(--line); }
@media (max-width: 899px) { .ag2 .ag3 + .ag3 { border-left: 0; border-top: 1px solid var(--line); } .ag3 { padding: 22px 20px; } }
.ag3 header { display: flex; gap: 16px; align-items: center; }
.ag3 .ic { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.ag3 .ic svg { width: 36px; height: 36px; }
.ag3 h3 { font-size: 30px; font-stretch: 108%; color: var(--tx); } .ag3 header p { font-size: 16px; color: var(--c); margin-top: 2px; }
.ag3 .intro { font-size: 20px; line-height: 1.4; color: var(--tx); margin: 20px 0 4px; }
.ag3 h4 { margin: 22px 0 6px; font-size: 16px; font-weight: 600; color: var(--tx); letter-spacing: 0; }
.ag3 ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; } .ag3 > ul li::marker { color: var(--c); }
.ag3 .q2 { font-size: 20px; line-height: 1.35; color: var(--tx); border-left: 3px solid var(--c); padding-left: 14px; }
.ag3 .setup { margin: 24px 0 16px; } .ag3 .add { align-self: flex-start; }
.lead2 b { font-size: 16px; } .lead2 div span { font-size: 13.5px; color: var(--tx2); }

/* agent-first home (decision 51): one line, one action, then the team at work */
.home { display: flex; flex-direction: column; align-items: center; }
.hero2 { text-align: center; padding: 96px 0 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero2 h1 { font-size: 72px; font-stretch: 108%; letter-spacing: -.03em; max-width: 14ch; }
.hero2 .lead { font-size: 21px; max-width: 34ch; }
.hero2 .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.btn.big { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.hero2.close { padding: 120px 0 96px; } .hero2.close h2 { font-size: 48px; font-stretch: 108%; }
@media (max-width: 599px) { .hero2 { padding: 56px 0 40px; } .hero2 h1 { font-size: 44px; } .hero2 .lead { font-size: 18px; } .hero2.close h2 { font-size: 34px; } .hero2.close { padding: 72px 0 64px; } }
.win { margin: 0; width: 100%; max-width: 1080px; }
.win > figcaption { text-align: center; margin-top: 14px; }
.dots { display: flex; gap: 6px; margin-right: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.015); }
.sl { font-size: 12.5px; color: var(--mu); padding: 8px 8px 2px; }
.who { --c: var(--you); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 10px 8px; border-radius: 10px; }
.who .av { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); font: 700 11px/1 var(--sans); grid-row: span 2; }
.who .av svg { width: 20px; height: 20px; }
.who b { display: block; font-size: 15px; } .who div span { display: block; font-size: 12.5px; color: var(--mu); line-height: 1.3; }
.who em { grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--c); }
.who em.run::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-right: 6px; animation: pulse 1.6s var(--move) infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .who em.run::before { animation: none; } }
.stand { padding: 0 8px 6px; font-size: 14px; color: var(--tx2); line-height: 1.4; }
.views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.view { --c: var(--you); padding: 22px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; text-align: left; }
.view:nth-child(3) { border-right: 0; }
.view h3 { font-size: 17px; color: var(--c); } .view.me h3 { color: #CFE0FF; }
.view p { font-size: 15px; line-height: 1.5; color: var(--tx2); } .view .ask { color: var(--tx); border-left: 2px solid var(--c); padding-left: 10px; }
.apart { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; text-align: left; background: rgba(76,125,255,.05); }
.apart span { flex-basis: 100%; font-size: 12.5px; color: var(--mu); } .apart p { font-size: 16px; color: var(--tx); } .apart b { color: #CFE0FF; font-weight: 600; }
@media (max-width: 899px) { .side { border-right: 0; border-bottom: 1px solid var(--line); } .views { grid-template-columns: 1fr; } .view { border-right: 0; border-top: 1px solid var(--line); } .view:first-child { border-top: 0; } }
.nine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 620px; margin-top: 20px; }
.nine a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--p1); text-decoration: none; text-align: left; }
.nine a:hover { border-color: var(--line2); background: var(--p2); } .nine a span { width: 30px; height: 30px; flex-shrink: 0; } .nine b { font-weight: 500; font-size: 15px; }
@media (max-width: 599px) { .nine a { flex-direction: column; gap: 8px; padding: 12px 6px; text-align: center; } .nine b { font-size: 12.5px; } }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 860px; margin-top: 20px; }
.four a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; border-radius: 14px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 7%, var(--p1)); }
.four a:hover { background: color-mix(in srgb, var(--c) 12%, var(--p1)); }
.four .av { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); } .four .av svg { width: 32px; height: 32px; }
.four b { font-size: 22px; font-stretch: 108%; } .four a > span:last-child { font-size: 14px; color: var(--mu); }
@media (max-width: 699px) { .four { grid-template-columns: 1fr 1fr; } }
.views { grid-template-rows: 1fr auto; } .apart { align-content: center; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.mode button { text-align: left; border: 1px solid var(--line2); background: var(--p2); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--tx2); font: inherit; display: flex; flex-direction: column; gap: 4px; transition: border-color 160ms, background 160ms; }
.mode button b { color: var(--tx); font-weight: 600; } .mode button span { font-size: 14px; line-height: 1.4; }
.mode button:hover { border-color: var(--tx); } .mode button:active { transform: scale(.98); }
.mode button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--p2)); }
@media (max-width: 599px) { .mode { grid-template-columns: 1fr; } }

/* ── workspace (spec 26): a tool frame. Rail, list, pane. Plain nouns, no site chrome. ── */
.ws-body { background-image: none; scrollbar-color: #2A2F38 var(--bg); caret-color: var(--pot); font-size: var(--fs-body); }
.ws-body { --top: 61px; }
.ws-body main { min-height: calc(100vh - var(--top)); }
.ws { min-height: calc(100vh - var(--top)); display: flex; flex-wrap: wrap; align-items: stretch; }
.ws-load { padding: var(--s7); color: var(--tx2); }
.ws ::placeholder { color: #9AA0A8; }
.ws button, .ws input, .ws textarea, .ws select { font: inherit; color: var(--tx); }
.ws h1, .ws h2, .ws h3 { letter-spacing: -.01em; line-height: 1.2; }

.ws-rail { flex: 1 1 248px; background: var(--p1); border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; gap: 24px; }
.ws-nav { display: flex; flex-direction: column; gap: 2px; }
.ws-nav > b { padding: 0 8px 4px; font-weight: 650; }
.ws-nav button { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px; border: 0; border-radius: var(--r-m); background: transparent; text-align: left; cursor: pointer; }
.ws-nav button:hover { background: var(--p2); }
.ws-nav button[aria-current="true"] { background: var(--p3); font-weight: 650; }
.ws-nav button.ws-quiet { color: var(--tx2); }

.ws-btn { min-height: 44px; padding: 0 14px; border-radius: var(--r-m); background: transparent; border: 1px solid rgba(255,255,255,.3); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: transform 140ms var(--out), background-color 140ms ease; }
.ws-btn:hover { background: var(--p3); }
.ws-btn:active { transform: scale(.97); }
.ws-btn.ws-primary { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.ws-btn.ws-primary:hover { background: #fff; }
.ws-btn.ws-primary kbd { color: #4A4F57; }
.ws-btn.ws-quiet { border-color: transparent; color: var(--tx2); font-weight: 400; padding: 0 10px; }
.ws-btn.ws-quiet:hover { color: var(--tx); }
.ws-btn[disabled] { opacity: .45; cursor: default; }
.ws kbd { font: inherit; font-weight: 500; color: var(--tx2); }
.ws-list { flex: 1 1 560px; min-width: 0; max-width: 640px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.ws-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.ws-none { padding: 28px var(--pad-x); }
.ws-none h2 { font-size: var(--fs-head); font-weight: 650; margin-bottom: 6px; }
.ws-none p { color: var(--tx2); max-width: var(--w-read); }

.ws-pane { flex: 999 1 420px; min-width: 0; padding: 24px clamp(16px, 2.4vw, 32px) 48px; }
.ws-pane > div { max-width: 640px; }
.ws-pane h2 { font-size: var(--fs-title); font-weight: 650; }
.ws-pane h3 { font-size: var(--fs-body); font-weight: 650; margin: 32px 0 8px; }
.ws-field { padding: 10px 12px; border-radius: var(--r-m); background: var(--p1); border: 1px solid rgba(255,255,255,.22); line-height: var(--lh); resize: vertical; min-height: 44px; }

.ws-page { flex: 999 1 600px; min-width: 0; padding: var(--pad-top) var(--pad-x) 64px; }
.ws-page > div { max-width: var(--w-col); }
.ws-page h1 { font-size: var(--fs-title); font-weight: 650; line-height: var(--lh-tight); margin: 0 0 16px; }

.ws-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; background: var(--p3); border: 1px solid var(--line2); border-radius: var(--r-l); padding: 8px 8px 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; box-shadow: 0 12px 32px -8px rgba(0,0,0,.6); max-width: calc(100vw - 32px); }
.ws-toast .ws-btn { min-height: 40px; }
@starting-style { .ws-toast { opacity: 0; transform: translate(-50%, 8px); } }
.ws-toast { transition: opacity 180ms var(--out), transform 180ms var(--out); }
.ws-dialog { border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p2); color: var(--tx); padding: 24px; width: min(560px, calc(100vw - 32px)); }
.ws-dialog::backdrop { background: rgba(0,0,0,.6); }
.ws-dialog h2 { font-size: var(--fs-head); font-weight: 650; margin-bottom: 16px; }
.ws-dialog label { display: block; margin: 12px 0 6px; }
.ws-dialog .ws-field { width: 100%; }
.ws-dialog .ws-drow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; justify-content: flex-end; }
.ws-err { color: var(--warn); margin-top: 10px; }
@media (max-width: 899px) { .ws-list { max-width: none; border-right: 0; } .ws-rail { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .ws-toast, .ws-btn { transition: none; } }
/* the open question stays in view while the list scrolls */
@media (min-width: 900px) {
  .ws-pane > div { position: sticky; top: calc(var(--top) + 24px); max-height: calc(100vh - var(--top) - 48px); overflow-y: auto; scrollbar-width: thin; }
  .ws-rail { position: sticky; top: var(--top); align-self: flex-start; height: calc(100vh - var(--top)); overflow-y: auto; scrollbar-width: thin; }
}

/* the inbox example on the home page: the workspace's own rows, not clickable */

/* /theory on the new base */
.th h2 { font-size: 34px; letter-spacing: -.02em; }
.th p { font-size: 17px; line-height: 1.6; color: var(--tx2); max-width: 68ch; }
.th p b { color: var(--tx); font-weight: 650; }
.th-ladder { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.th-ladder li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.th-ladder li > b { font-size: 28px; font-weight: 700; color: var(--pot); }
.th-ladder li span { font-size: 17px; line-height: 1.55; color: var(--tx2); } .th-ladder strong { color: var(--tx); font-weight: 650; }
.th-grid { display: grid; gap: 0; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; margin-top: 8px; }
.th-grid > div { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.th-grid > div:first-child { border-top: 0; background: var(--p2); }
.th-grid span { padding: 14px 16px; font-size: 15px; line-height: 1.45; color: var(--tx2); border-left: 1px solid var(--line); }
.th-grid span:first-child { border-left: 0; color: var(--tx); }
.th-grid strong { display: block; font-size: 17px; color: var(--tx); font-weight: 650; margin-bottom: 4px; }
@media (max-width: 699px) { .th-grid > div { grid-template-columns: 1fr; } .th-grid span { border-left: 0; border-top: 1px solid var(--line); } .th-head { display: none !important; } .th h2 { font-size: 27px; } }
.th-faq details { border-bottom: 1px solid var(--line); } .th-faq details:first-child { border-top: 1px solid var(--line); }
.th-faq summary { cursor: pointer; padding: 18px 0; font-size: 18px; font-weight: 650; color: var(--tx); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq summary::after { content: "+"; color: var(--tx2); } .th-faq details[open] summary::after { content: "\2212"; }
.th-faq p { padding: 0 0 20px; }

/* The four agents are the four squares of the logo (Raimo, 10 Nov 2026): a solid square in the
   logo's colour, the mark in dark ink. The person's own tile keeps its outline. */
.four .av, .who:not(.me) .av, .lead2 .av:not(.you), .ag3 .ic {
  background: var(--c, var(--a)); color: #0A0B0D; border: 0; border-radius: 10%;
}
.lead2 .av:not(.you) { background: var(--a); }

/* everyday lines on an archetype page: two columns where there is room */
.recog.every { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 32px; }

/* workspace: who is in it (profile, team), the start page, and the agents' icons as the logo's squares */
.ws-sq { flex: none; width: 20px; height: 20px; border-radius: var(--r-s); display: inline-flex; align-items: center; justify-content: center; color: var(--bg); }
.ws-sq svg { width: 15px; height: 15px; }
.ws-sq.ws-you { border: 1.5px solid var(--tx2); color: var(--tx); }
.ws-sq.ws-lg { width: 56px; height: 56px; border-radius: var(--r-m); } .ws-sq.ws-lg svg { width: 38px; height: 38px; }
.ws-page h3 { font-size: var(--fs-body); font-weight: 650; margin: 36px 0 10px; }
.ws-page p { font-size: var(--fs-body); line-height: var(--lh); color: var(--tx2); max-width: var(--w-read); }
.navout { display: inline; margin: 0; } .navout button { background: none; border: 0; padding: 0; font: inherit; color: var(--mu); cursor: pointer; } .navout button:hover { color: var(--tx); }

/* share (spec 30): nine things to choose from, shown as it will look */
.panel > .sh { padding: 24px; }
.sh h2 { font-size: 21px; font-weight: 650; margin: 0; }
.sh-sub { color: var(--tx2); margin: 6px 0 20px; max-width: 62ch; }
.sh-two { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; }
.sh-out { flex: 0 1 380px; min-width: 0; position: sticky; top: 84px; }
.sh-card svg { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line2); }
.sh-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sh-btn { min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--tx); font: inherit; font-size: 16px; cursor: pointer; transition: background 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.sh-btn:hover { background: var(--p2); } .sh-btn:active { transform: scale(.98); }
.sh-btn.sh-main { background: var(--tx); color: #0A0B0D; border-color: var(--tx); font-weight: 600; }
.sh-said { min-height: 24px; margin: 10px 0 0; color: var(--tx2); }

/* admin: flows (spec 32) */
.fl h2 { font-size: 24px; font-weight: 650; margin: 0 0 4px; }
.fl-q { color: var(--tx2); margin: 0 0 16px; font-size: 17px; }
.fl-t { width: 100%; max-width: 960px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.fl-t th, .fl-t td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.fl-t th[scope=row], .fl-t thead th:first-child { text-align: left; font-weight: 500; white-space: normal; }
.fl-t thead th { color: var(--tx2); font-weight: 500; font-size: 15px; }
.fl-pct { color: var(--tx2); margin-left: 6px; }
.fl-once { color: var(--tx2); font-size: 14px; margin-left: 8px; }
.fl-note { color: var(--tx2); font-size: 15px; margin-top: 10px; }
.fl-days td { vertical-align: bottom; padding: 8px 4px; text-align: center; min-width: 34px; }
.fl-days td b { display: block; font-weight: 500; font-size: 14px; min-height: 20px; }
.fl-bar { display: block; width: 18px; margin: 0 auto 4px; background: var(--you, #4C7DFF); border-radius: 3px 3px 0 0; min-height: 0; }
.fl { overflow-x: auto; }

/* arrival: one action, the rest closed */
@keyframes ws-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* the first visit, inside the inbox */
.ws-sq.ws-lg { width: 44px; height: 44px; border-radius: var(--r-l); }
/* the team in the rail */
/* profile: one of nine, and the sixteen */

@media (max-width: 479px) { #navf { display: none; } }

/* share: one Share button, then the usual row of ways */
.sh-acts { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.sh-btn.sh-main { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font-size: 18px; border-radius: 12px; }
.sh-out .sh-ways { display: flex; flex-wrap: wrap; gap: 6px; max-width: none; justify-content: space-between; }
.sh-out .sh-way { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; padding: 4px 2px; border: 0; background: transparent; color: var(--tx2); font: inherit; font-size: 13px; cursor: pointer; flex: 1 1 44px; text-align: center; }
.sh-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); color: var(--tx); transition: background 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.sh-out .sh-way:hover { background: transparent; color: var(--tx); } .sh-out .sh-way:hover .sh-ic { background: var(--p2); } .sh-out .sh-way:active .sh-ic { transform: scale(.94); }

/* the share window */
.sh-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line2); border-radius: 18px; background: var(--p1, #111317); color: var(--tx); overflow: auto; }
.sh-dialog::backdrop { background: rgba(0,0,0,.66); }
.sh-dialog .sh-in { padding: 28px; } .sh-dialog .sh-out { position: static; }
.sh-x { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--p2); color: var(--tx); cursor: pointer; z-index: 1; }
.sharebtn { display: inline-flex; align-items: center; gap: 8px; } .sharebtn svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .sh-dialog .sh-two { flex-direction: column-reverse; } .sh-dialog .sh-in { padding: 18px; } .sh-dialog .sh-out { flex: none; width: 100%; max-width: 360px; margin: 0 auto; } }

.sh-out .sh-ways { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }

/* the model page: sixteen challenges in four stretches */
.th-16 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.th-stretch { padding: 22px 22px 14px; border: 1px solid var(--line2); border-top: 3px solid var(--c); border-radius: 12px; background: var(--p1); }
.th-stretch h3 { margin: 0; font-size: 21px; font-weight: 650; display: flex; flex-direction: column; gap: 2px; }
.th-stretch h3 span { color: var(--c); font-size: 15px; font-weight: 650; }
.th-what { color: var(--tx2); margin: 8px 0 12px; font-size: 16px; line-height: 1.45; }
.th-stretch ol { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.th-stretch li { display: grid; grid-template-columns: 28px 110px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; }
.th-n { font-style: normal; color: var(--tx2); font-variant-numeric: tabular-nums; font-size: 15px; }
.th-stretch li b { font-weight: 650; } .th-stretch li span { color: var(--tx2); font-size: 16px; }
@media (max-width: 760px) { .th-16 { grid-template-columns: 1fr; } }

.ws-nav button.ws-stream { padding-left: 26px; font-size: var(--fs-body); color: var(--tx2); } .ws-nav button.ws-stream[aria-current="true"] { color: var(--tx); }

/* the memory of a project: what a fresh Claude starts from */

/* briefs are out: hand them to Claude */

/* a new project, set up by the person */
.ws-new { max-width: 620px; margin-top: 24px; display: grid; gap: 6px; }
.ws-new label, .ws-new legend { font-size: var(--fs-body); font-weight: 600; margin-top: 16px; padding: 0; }
.ws-new label small { font-weight: 400; color: var(--ink2, #666); }
.ws-new textarea { width: 100%; resize: vertical; }
.ws-new fieldset { border: 0; padding: 0; margin: 0; }

.ws-new .ws-acts { margin-top: 24px; }

/* in the tool the header sits on the tool's own grid: the logo starts where the rail starts */
.ws-body .top .wrap { max-width: none; padding-left: 20px; padding-right: 20px; }

/* share: the nine cards are the picker */
.sh h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; margin: 0 0 12px; }
.sh h3 i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tx); color: #0A0B0D; font-style: normal; font-size: 13px; font-weight: 700; }
.sh-pick { flex: 1 1 420px; min-width: 0; }
.sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sh-grid button { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--tx2); font: inherit; font-size: 13px; line-height: 1.3; text-align: left; cursor: pointer; }
.sh-thumb { display: block; border-radius: 8px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1), opacity 140ms ease; opacity: .72; }
.sh-thumb svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.sh-grid button:hover .sh-thumb { opacity: 1; transform: translateY(-2px); }
.sh-grid button[aria-checked="true"] .sh-thumb { opacity: 1; outline-color: var(--tx); }
.sh-grid button[aria-checked="true"] { color: var(--tx); }
.sh-grid button:focus-visible { outline: none; } .sh-grid button:focus-visible .sh-thumb { outline-color: var(--tx); }
@media (max-width: 720px) { .sh-grid { display: flex; overflow-x: auto; gap: 10px; padding: 5px; margin: -5px; scroll-snap-type: x proximity; } .sh-grid button { flex: 0 0 104px; scroll-snap-align: start; } .sh-pick { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .sh-thumb { transition: none; } }
@media (max-width: 760px) { .sh-dialog .sh-two { flex-direction: column; flex-wrap: nowrap; } .sh-dialog .sh-pick { flex: none; width: 100%; } }

/* account: its own place in the workspace */

/* the landing for someone who followed a shared card */
.landed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; padding: 36px; border: 1px solid var(--c); border-radius: 16px; background: color-mix(in srgb, var(--c) 8%, var(--p1)); }
.landed-k { font-size: 14px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--c); margin: 0 0 12px; }
.landed h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 760; font-stretch: 110%; letter-spacing: -.02em; margin: 0 0 16px; }
.landed-say p.muted { max-width: 52ch; margin: 0; }
.landed-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.landed-nine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.landed-nine a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--mu); font-size: 13px; text-align: center; }
.landed-nine a .mark, .landed-nine a svg { width: 44px; height: 44px; color: var(--mu); }
.landed-nine a.on { border-color: var(--c); color: var(--tx); background: color-mix(in srgb, var(--c) 16%, transparent); } .landed-nine a.on svg { color: var(--c); }
.landed-nine a:hover { color: var(--tx); border-color: var(--line2); }
@media (max-width: 820px) { .landed { grid-template-columns: 1fr; padding: 22px; } }

/* a prompt you carry to your AI: copied, where to paste it, and waiting until it arrives */

/* meeting your two agents, and the way from there into the workspace */
.unmet #yourteam { display: none; }
.unmet .plane .tag { visibility: hidden; }
.meet { padding: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 60%), var(--p1); }
.meet-k { font-size: 14px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--tx2); margin: 0 0 12px; }
.meet h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; font-weight: 740; font-stretch: 108%; letter-spacing: -.02em; max-width: 22ch; }
.meet .lead { max-width: 58ch; margin-top: 14px; color: var(--tx2); }
.meet-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.meet-card { position: relative; min-height: 250px; padding: 24px; border: 1px solid var(--line2); border-radius: 16px; background: var(--p2); overflow: hidden; }
.meet-card .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--c, transparent); color: #0A0B0D; }
.meet-card .ic svg { width: 40px; height: 40px; } .meet-you .ic { background: transparent; border: 1px solid var(--line2); }
.meet-card h3 { font-size: 34px; font-weight: 760; font-stretch: 108%; letter-spacing: -.02em; margin-top: 18px; }
.meet-card p { color: var(--tx2); margin-top: 2px; } .meet-card .meet-say { color: var(--tx); margin-top: 14px; font-size: 17px; line-height: 1.4; }
.meet-ag .meet-face > p:first-of-type { color: var(--c); font-weight: 600; }
.meet-back { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px), var(--p2); transition: opacity .5s var(--out), transform .7s var(--out); transition-delay: var(--d, 0ms); }
.meet-back span { font-size: 72px; font-weight: 760; color: var(--tx2); line-height: 1; } .meet-back p { margin-top: 8px; }
.meet-face { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--out), transform .7s var(--out); transition-delay: calc(var(--d, 0ms) + 120ms); }
.met .meet-back { opacity: 0; transform: scale(1.04); pointer-events: none; }
.met .meet-face { opacity: 1; transform: none; }
.met .meet-ag { border-color: var(--c); transition: border-color .5s var(--out); transition-delay: var(--d, 0ms); }
.meet-ask { margin-top: 28px; }
.meet-go { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.meet-go[hidden] { display: none; }
.meet-go h3 { font-size: 28px; font-weight: 720; letter-spacing: -.015em; } .meet-go p { margin-top: 10px; max-width: 56ch; }
.meet-why { margin: 14px 0 0; padding: 0; list-style: none; color: var(--tx2); } .meet-why li { padding-left: 22px; position: relative; margin-top: 6px; }
.meet-why li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tx2); }
.meet-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (max-width: 820px) { .meet-cards { grid-template-columns: 1fr; } .meet-card { min-height: 0; } .meet-ag:not(.x) .meet-back { position: absolute; } .meet-go { grid-template-columns: 1fr; } .meet-card.meet-ag { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .meet-back, .meet-face, .met .meet-ag { transition: none; } }

/* The framework page (spec 31 §14): one page from the model and the method. */
.fw-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fw-toc a { padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; color: var(--tx2); text-decoration: none; }
.fw-toc a:hover, .fw-toc a:focus-visible { color: var(--tx); border-color: var(--tx2); }
.th[id], .th-faq { scroll-margin-top: 84px; }
.fw-panel { margin-top: 4px; }
.fw-panel .ph h3 { font-size: 15px; font-weight: 600; margin: 0; }
.th .fw-panel li, .th .fw-panel li span, .th .fw-cards p { font-size: 16px; line-height: 1.5; }
.th .fw-panel .method-steps li { grid-template-columns: 28px minmax(0, 1fr); }
.th .fw-panel .method-steps li span { grid-column: 2; }
.th .fw-panel .method-steps li b { color: var(--tx); font-weight: 600; }
.fw-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fw-cards .card { padding: 20px; }
.fw-cards h3 { font-size: 18px; font-weight: 650; margin: 0; }
@media (max-width: 699px) { .fw-cards { grid-template-columns: 1fr; } }

/* Before you meet your agents their names are veiled wherever the forecast says them (spec 31 §13). */
.unmet .an { filter: blur(6px); user-select: none; }
.an { transition: filter .5s var(--ease, ease-out); }
@media (prefers-reduced-motion: reduce) { .an { transition: none; } }

/* The window on a phone: the inbox comes first. The rail is one row of tabs; projects, team and account open from it. */
.ws-nav .ws-menu { display: none; }
@media (max-width: 899px) {
  .ws-rail { padding: 12px 16px; gap: 12px; min-width: 0; max-width: 100%; }
  .ws-list, .ws-pane { min-width: 0; max-width: 100%; }
  .ws-rail > .ws-nav:not(.ws-tabs) { display: none; }
  .ws-rail.open > .ws-nav:not(.ws-tabs) { display: flex; }
  .ws-tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; scrollbar-width: none; min-width: 0; }
  .ws-tabs button { flex: 0 0 auto; width: auto; gap: 6px; }
  .ws-nav .ws-menu { display: inline-flex; color: var(--tx2); }
  .ws-dialog { max-width: calc(100vw - 32px); box-sizing: border-box; }
}
@media (hover: none) { .ws kbd, .ws-dialog kbd { display: none; } }
.th p.fw-big { font-size: 26px; line-height: 1.3; letter-spacing: -.01em; color: var(--tx); font-weight: 600; max-width: 30ch; }
@media (max-width: 699px) { .th p.fw-big { font-size: 22px; } }

/* The footer is the map of the site: every public page one link away (spec 04). */
.foot .wrap { display: block; }
.foot .foot-map { display: grid; grid-template-columns: 1fr 1.2fr 1.5fr 1fr; gap: 32px 32px; }
.foot-map div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-map b { color: var(--tx); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.foot-map a { font-size: 14px; }
.foot-two { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 20px; } .foot-two b { grid-column: 1 / -1; }
.foot-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 899px) { .foot .foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .foot .foot-map { grid-template-columns: 1fr; } }

/* The archetype page shows before it tells (spec 31 §21). The cycle is the hero: four stretches in their colours,
   the crossings between them, who takes each. Motion says one thing each: the arcs draw in the order a change runs,
   the dot keeps going round because a change does, a crossing you drive pulses. */
.ah { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; padding: 56px 0 40px; }
.ah-k { color: var(--c); font-weight: 600; font-size: 15px; }
.ah h1 { font-size: clamp(52px, 7vw, 96px); font-stretch: 112%; font-weight: 700; letter-spacing: -.04em; line-height: .94; margin-top: 12px; text-wrap: balance; }
.ah-tag { font-size: 26px; line-height: 1.25; color: var(--tx); font-weight: 500; margin-top: 24px; max-width: 22ch; }
.ah-portrait { font-size: 18px; line-height: 1.55; color: var(--tx2); margin-top: 16px; max-width: 46ch; }
.ah-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ah-ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; }
.ah-ring svg { width: 100%; height: 100%; overflow: visible; }
.ah-arc { fill: none; stroke-width: 22; stroke-linecap: round; opacity: .32; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--out) calc(var(--i) * .28s + .1s); }
.ah-arc.lead { opacity: 1; stroke-width: 30; }
.on .ah-arc { stroke-dashoffset: 0; }
.ah-orbit { transform-origin: 260px 260px; animation: ah-round 18s linear infinite; opacity: 0; transition: opacity .6s ease 1.4s; }
.ah-orbit circle { fill: var(--tx); }
.on .ah-orbit { opacity: 1; }
@keyframes ah-round { to { transform: rotate(360deg); } }
.ah-gate > * { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--out) calc(var(--i) * .28s + .5s), transform .5s var(--out) calc(var(--i) * .28s + .5s); }
.on .ah-gate > * { opacity: 1; transform: none; }
.ah-gate circle, .ah-gate rect { fill: var(--bg, #0A0B0D); stroke: var(--line2); stroke-width: 2; }
.ah-gate.yours circle:not(.halo) { fill: var(--c); stroke: var(--bg, #0A0B0D); stroke-width: 4; }
.ah-gate.theirs rect { fill: var(--g); stroke: var(--bg, #0A0B0D); stroke-width: 4; }
.ah-gate .halo { fill: none; stroke: none; }
.ah-gate.yours .halo { stroke: var(--c); stroke-width: 2; }
.on .ah-gate.yours .halo { animation: ah-pulse 2.8s var(--out) calc(var(--i) * .7s + 1.6s) infinite; }
@keyframes ah-pulse { 0% { transform: scale(.6); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.ah-mark { position: absolute; inset: 31%; color: var(--c); display: grid; place-items: center; }
.ah-mark .mark, .ah-mark svg { width: 100%; height: 100%; }
.ah-ph { position: absolute; font-size: 13px; font-weight: 600; color: var(--c2); white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; transition: opacity .5s ease 1.2s; }
.on .ah-ph { opacity: 1; }
.ah-ph0 { left: 50%; top: 22.5%; } .ah-ph1 { left: 77.5%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); } .ah-ph2 { left: 50%; top: 77.5%; } .ah-ph3 { left: 22.5%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.ah-gl { position: absolute; width: 150px; font-size: 13px; line-height: 1.35; color: var(--tx2); opacity: 0; transition: opacity .5s ease 1.5s; }
.on .ah-gl { opacity: 1; }
.ah-gl b { display: block; color: var(--tx); font-weight: 650; font-size: 15px; }
.ah-gl.yours b { color: var(--c); } .ah-gl.theirs b { color: var(--g); }
.ah-gl.tr { right: -4%; top: 0; text-align: right; } .ah-gl.br { right: -4%; bottom: 0; text-align: right; } .ah-gl.bl { left: -4%; bottom: 0; } .ah-gl.tl { left: -4%; top: 0; }

.ah-head { margin-bottom: 28px; } .ah-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; } .ah-head p { color: var(--tx2); font-size: 17px; margin-top: 8px; max-width: 60ch; }
.ah-road, .ah-recog, .ah-zoom, .ah-nine { padding: 56px 0 8px; }
.ah-stretches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ah-st { position: relative; padding: 20px 20px 16px; border-radius: 14px; border: 1px solid var(--line2); border-top: 4px solid var(--c2); background: var(--p1);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--out) calc(var(--i) * .14s), transform .6s var(--out) calc(var(--i) * .14s); }
.on .ah-st { opacity: 1; transform: none; }
.ah-st.ah-you { background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 22%, var(--p2)), color-mix(in srgb, var(--c2) 6%, var(--p1))); border-color: color-mix(in srgb, var(--c2) 55%, transparent); border-top-color: var(--c2); }
.ah-open { display: block; font-size: 13px; color: var(--tx2); min-height: 2.7em; }
.ah-st h3 { font-size: 22px; font-weight: 650; margin-top: 6px; color: var(--c2); }
.ah-who { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; color: var(--tx); font-weight: 500; min-height: 2.9em; }
.ah-who a { color: inherit; text-underline-offset: 3px; }
.ah-who .dot { flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--c); } .ah-who .dot.hollow { background: none; border: 2px solid var(--tx2); }
.ah-who .sq { flex: 0 0 12px; height: 12px; border-radius: 3px; background: var(--g); }
.ah-st ol { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ah-st li { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--tx2); }
.ah-st.ah-you li { border-color: color-mix(in srgb, var(--c2) 50%, transparent); color: var(--tx); }
.ah-note { margin-top: 20px; font-size: 17px; color: var(--tx2); max-width: 70ch; }

.ah-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ah-cards blockquote { margin: 0; padding: 28px; border-radius: 14px; border: 1px solid var(--line2); background: var(--p1); font-size: clamp(19px, 2vw, 24px); line-height: 1.3; letter-spacing: -.01em; color: var(--tx); font-weight: 500; text-wrap: balance;
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--out) calc(var(--i) * .1s), transform .6s var(--out) calc(var(--i) * .1s); }
.on .ah-cards blockquote { opacity: 1; transform: none; }
.ah-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ah-chips span { font-size: 15px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--tx2); }

.ah-zoomrow { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.ah-frames { position: relative; aspect-ratio: 1; }
.ah-frames i { position: absolute; inset: calc(var(--n) * 13%); border-radius: calc(26px - var(--n) * 5px); border: 2px solid var(--line2); transition: border-color .4s ease, background-color .4s ease, transform .5s var(--out); }
[data-at="0"] .ah-frames i:nth-child(1), [data-at="1"] .ah-frames i:nth-child(2), [data-at="2"] .ah-frames i:nth-child(3), [data-at="3"] .ah-frames i:nth-child(4) { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); transform: scale(1.03); }
.ah-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ah-tabs button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--tx2); font: 500 15px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--out), color 160ms ease, border-color 160ms ease; }
.ah-tabs button:active { transform: scale(.97); }
.ah-tabs button[aria-selected="true"] { color: #0A0B0D; background: var(--tx); border-color: var(--tx); }
.ah-lines p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; letter-spacing: -.01em; color: var(--tx); max-width: 32ch; } .ah-lines p + p { margin-top: 14px; color: var(--tx2); }
.ah-lines { min-height: 7.5em; }

.ah-more { margin-top: 56px; } .ah-more summary { cursor: pointer; padding: 18px 20px; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.ah-more summary::-webkit-details-marker { display: none; } .ah-more[open] .chev { transform: rotate(90deg); } .ah-more .chev { transition: transform 200ms var(--out); color: var(--tx2); }
.landed-nine.wide { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.ah-nine .ah-acts { margin-top: 28px; }
@media (max-width: 999px) {
  .ah { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; } .ah-ring { justify-self: center; max-width: 440px; width: 86%; }
  .ah-stretches { grid-template-columns: repeat(2, minmax(0, 1fr)); } .landed-nine.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ah-zoomrow { grid-template-columns: 1fr; gap: 24px; } .ah-frames { max-width: 200px; }
}
@media (max-width: 599px) {
  .ah-cards, .ah-stretches { grid-template-columns: 1fr; } .ah-open, .ah-who { min-height: 0; } .ah-tag { font-size: 22px; }
  .ah-gl { width: 104px; font-size: 12px; } .ah-gl b { font-size: 13px; } .ah-ph { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-orbit { animation: none; } .on .ah-gate.yours .halo { animation: none; opacity: 0; }
  .ah-arc, .ah-gate > *, .ah-st, .ah-cards blockquote, .ah-ph, .ah-gl { transition: none; }
}
.ah-arc.either { opacity: .62; }
/* The four stretches share their rows, so the opening line, the name, who leads and the challenges sit on one line across all four. */
.ah-stretches { grid-template-rows: repeat(4, auto); }
.ah-st { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
.ah-open, .ah-who { min-height: 0; } .ah-st h3 { margin-top: 8px; } .ah-who { margin-top: 10px; align-items: flex-start; } .ah-who .dot, .ah-who .sq { margin-top: 5px; }
.ah-st ol { align-content: flex-start; }
@media (max-width: 999px) { .ah-stretches { grid-template-rows: none; } .ah-st { grid-row: span 4; } }

/* The four steps of the product, shown wherever a new visitor can land. The step a page is about is marked. */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--p1); }
.path a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; padding: 16px 18px; text-decoration: none; color: var(--tx2); border-left: 1px solid var(--line); transition: background-color 160ms ease, color 160ms ease; }
.path a:first-child { border-left: 0; }
.path a:hover { background: var(--p2); color: var(--tx); }
.path b { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--tx2); }
.path span { font-size: 16px; font-weight: 600; color: var(--tx); }
.path i { font-style: normal; font-size: 13px; line-height: 1.35; color: var(--mu); }
.path a[aria-current="step"] { background: var(--p3); }
.path a[aria-current="step"] b { background: var(--tx); color: #0A0B0D; border-color: var(--tx); }
@media (max-width: 899px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } .path a:nth-child(3) { border-left: 0; } .path a:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 519px) { .path { grid-template-columns: 1fr; } .path a { border-left: 0; } .path a + a { border-top: 1px solid var(--line); } }
.narrow .path { grid-template-columns: repeat(2, minmax(0, 1fr)); } .narrow .path a:nth-child(3) { border-left: 0; } .narrow .path a:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (max-width: 519px) { .narrow .path { grid-template-columns: 1fr; } }

/* the team at the table (spec 31 §25): each agent present, in its own voice */

/* a project folds its workstreams away in the rail */
.ws-fold { display: grid; grid-template-columns: 22px 1fr; align-items: center; }
.ws-fold > button:last-child { min-width: 0; }

/* where a project stands (spec 31 §29): the board the agents reason from, shown as it is */

/* the project page: what stands, what is open, what happened, what was decided; the memory folds (spec 31 §30) */

/* the inbox per agent, in three fixed kinds (spec 31 §33) */

.ws-read { margin-bottom: 6px; } .ws-read b { font-weight: 650; font-size: var(--fs-meta); color: var(--tx2); margin-right: 6px; }

/* the list is an index, the pane is where you read and decide (spec 31 §35) */

/* the status of a brief on its ticket (spec 31 §36) */
.ws-badge { font-size: var(--fs-meta); font-weight: 650; padding: 2px 9px; border-radius: var(--r-l); border: 1px solid var(--line2); color: var(--tx2); white-space: nowrap; }

/* the team strip above the inbox, and items led by who asks (spec 31 §37) */

/* a result that came back (spec 31 §38) */
.ws-result { padding: 14px 0; border-top: 1px solid var(--line); }
.ws-result > b { font-size: var(--fs-meta); color: var(--tx2); font-weight: 650; } .ws-result p { font-size: var(--fs-body); margin-top: 2px; white-space: pre-wrap; }
.ws-result .ws-acts { margin-top: 10px; }

/* what you want to work on now, and the open points an agent sees in it (spec 31 §40) */

/* a project's picture: four workstreams and what sits in each (spec 31 §42) */

/* the project page: labelled sections, figures, cards (spec 31 §46) */
.ws-proj-page h1 { margin-bottom: 16px; }
.ws-list-plain { display: grid; }
.ws-item { display: grid; grid-template-columns: 118px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ws-item[data-act] { cursor: pointer; } .ws-item[data-act]:hover { background: var(--p1); }
.ws-item .ws-badge { justify-self: start; }
.ws-badge-waits, .ws-badge-result { color: var(--bg); background: var(--tx); border-color: var(--tx); }
@media (max-width: 760px) { .ws-item { grid-template-columns: 1fr; gap: 4px; } }

/* a brief that needs you stands out in Out */

/* the steps of a brief's prompt, inside the brief */

/* Open points that were settled, and who waits for whom (spec 31 §51, §52) */

/* A proposal carries its reasoning; your own answer grows as you write (spec 31 §53) */

/* The conversation of a project (spec 31 §54) */

.ws-talk { max-width: 820px; }
.ws-upcard { border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p1); padding: 18px 20px; margin: 14px 0 10px 48px; }
.ws-upcard h3 { margin: 6px 0 2px; font-size: var(--fs-body); line-height: var(--lh-tight); }
.ws-prop { border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px 16px; background: var(--p2); display: flex; flex-direction: column; }
.ws-prop h4 { margin: 10px 0 4px; font-size: var(--fs-body); line-height: var(--lh-tight); }
.ws-prop dl { margin: 0 0 14px; font-size: var(--fs-meta); line-height: var(--lh); color: var(--tx2); }
.ws-prop dt { font-weight: 650; color: var(--mu); font-size: var(--fs-meta); margin-top: 10px; }
.ws-prop dd { margin: 2px 0 0; }
.ws-prop .ws-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .ws-upcard { margin-left: 0; } }

/* The welcome: your projects, the one that needs you most first (spec 31 §55) */

/* The example window on the start page shows Home (spec 31 §55) */

/* The ledger and the runs (spec 31 §56) */

/* The map on the framework page: Palintropy next to other kinds of tools */
.fw-map { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; font-size: 15px; }
.fw-map > div { display: grid; grid-template-columns: 1.1fr 1.2fr 1.6fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); align-items: start; }
.fw-map > div:first-child { border-top: 0; }
.fw-map-h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); font-weight: 650; background: var(--p1); }
.fw-map span { color: var(--tx2); line-height: 1.45; } .fw-map b { font-weight: 650; line-height: 1.35; }
.fw-map-us { background: var(--p2); } .fw-map-us b { color: var(--pot); }
@media (max-width: 760px) { .fw-map > div { grid-template-columns: 1fr; gap: 4px; } .fw-map-h { display: none !important; } }

/* Home: one sign per state, in the colour of the part (spec 31 §55) */
@keyframes ws-turn { to { transform: rotate(360deg); } }

/* Pages in rows: what a section is on the left, the thing itself on the right (spec 31 §57) */
.ws-proj-page > div { max-width: var(--w-page); }
.ws-set { display: grid; grid-template-columns: minmax(220px, var(--col-side)) minmax(0, 1fr); gap: 16px var(--col-gap); padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }

@media (max-width: 900px) { .ws-set { grid-template-columns: 1fr; padding: 24px 0; } }

/* Cards of the four parts: content starts at the top, and a part with nothing in it stays small */

/* Being made or read: a ring with a centre that breathes. Alive, not loading. */
@keyframes ws-breathe { 0%, 100% { transform: scale(.35); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
.takeaway { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; } .takeaway summary { cursor: pointer; color: var(--mu); } .takeaway p { margin: 12px 0; max-width: 62ch; }

/* Alerts: something is stuck. One line and a way to it. */

/* An agent's own space on its part (spec 31 §62) */

/* Calm: an alert is a quiet line, and a stopped run is not an emergency */

/* A run that stopped or was never started: a hollow sign with a bar, neutral */

/* Where an answer goes: a letter to Out, or a line in the ledger (spec 31 §69) */
.ws-ico { width: 18px; height: 18px; flex: none; }
@keyframes ws-landed { 0% { background: var(--p3); } 100% { background: transparent; } }

/* The kind of a thing, with a sign and a word; the plan of a project (spec 31 §70) */
.ws-btn .ws-ico { margin-right: 2px; }

/* A run as a unit: its number, a bar that shows where it is, its facts, and how runs go (spec 31 §73) */
.ws-runtag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--tx2); white-space: nowrap; }
.ws-runtag b { font-family: var(--mono); font-weight: 600; color: var(--mu); } .ws-runtag em { font-style: normal; font-weight: 650; color: var(--tx); }

/* A run as a unit: its number, a bar that shows where it is, its facts, and how runs go (spec 31 §73) */
.ws-runtag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--tx2); white-space: nowrap; }
.ws-runtag b { font-family: var(--mono); font-weight: 600; color: var(--mu); } .ws-runtag em { font-style: normal; font-weight: 650; color: var(--tx); }

/* A row: who and where on the first line, what kind of thing and where its run is on the second (12 Nov 2026) */

/* How your runs go, on Insights (spec 31 §77): a run drawn to the time it takes, weeks, projects */

.ws-link { background: none; border: 0; padding: 0; font: inherit; color: var(--tx); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-left: 6px; }

/* What a run brought back shows on its project (spec 36 §6.7): a dot in the menu, and a block where it is accepted */
#cameback { scroll-margin-top: 84px; }

/* A workspace before the test (spec 31 §79): where the agents will be, and the way to get them. */

/* The project document (spec 36): chapters, and per slot the head, what is written, and its state. */

@keyframes ws-doc-in { from { background: color-mix(in srgb, var(--c, var(--tx)) 28%, transparent); } to { background: transparent; } }
/* Home: a project's four chapters, one square per part. */

/* Step 4 (spec 36): the document fills while you watch. */

@keyframes ws-writing { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ws-newwork { from { opacity: 0; transform: translateX(-8px); background: color-mix(in srgb, #8FD6A3 22%, transparent); } to { opacity: 1; transform: none; background: transparent; } }

/* The project reads as a written document: drafts stand in place as text, and one thing is asked at a time. */

/* Who says it (Raimo, 12 Nov 2026): a remark on a part carries the one who made it. */

/* The project as a page to read (Raimo, 12 Nov 2026: "Make it a longer page... Introduce things better... don't make it a checklist...
   this is the only representation of the actual project"). A chapter is introduced on the left, its parts are written on the right. */

.ws-part { padding: 36px 0 40px; border-top: 1px solid var(--line); }
.ws-part:first-child { border-top: 0; padding-top: 4px; }
.ws-part h3 { margin: 0 0 14px; font-size: var(--fs-title); line-height: var(--lh-tight); font-weight: 650; letter-spacing: -.01em; }

.ws-part .ws-acts { margin-top: 16px; }

/* Home is the control room (Raimo, 12 Nov 2026: "That page feels very dark and boring... I'm not seeing what's going on in my
   projects, what needs attention"). Three counts on top, then per project everything that is going on in it. */

/* One design for the whole page (Raimo, 12 Nov 2026: "No cards... the way you have formatted decisions is the right way of the column
   widths, font sizes... I want the whole page to be in that font size and the whole block of direction, plan, outcome and signals").
   A chapter is a row like Decisions and Memory: its name and one sentence on the left, its four parts on the right. */
/* Home, in the same rows: one project per row, and on the right everything that is going on in it. */

/* Where a part belongs: one quiet line under its title. Nothing stands above a page's title. */

/* On a project page nothing is boxed (docs/design_system.md §5): what needs you now and the memory are plain rows. */

/* A part has one anatomy whatever its state (Raimo, 12 Nov 2026: "I see different fonts. Some are grayed out, some are visible... other
   things underlined"): its name and its state on one line, its text, then what you can do with it as the same quiet buttons. */
/* A row on Home starts with a state or with a run and its bar: the first column takes the width of what is in it. */

/* An act that is rarely needed is an icon, not a word (docs/design_system.md §4b). */
.ws-icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: var(--r-m); background: none; color: var(--mu); cursor: pointer; vertical-align: middle; margin-left: 6px; padding: 0; }
.ws-icon-btn:hover { background: var(--p2); color: var(--tx); }
.ws-icon-btn svg { width: 16px; height: 16px; }

/* The round of a project (spec 37): one line on what it is for, and its earlier rounds as a plain list that opens. */

/* The workstreams of a round are listed on the project, not in the menu (spec 37 §3c). */

/* 12 Nov 2026, after Raimo's walk through the product: what a project is stands under its title; the round shows how far it is
   as squares and a count; drafts are counted with one button; an empty inbox says what is on its way. */
.ws-wait { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: var(--fs-body); color: var(--tx2); }
.ws-wait svg { width: 20px; height: 20px; color: var(--ok); flex: none; } .ws-wait b { font-weight: 650; color: var(--tx); }
.ws-rest { margin-top: auto; }

/* The page of a workstream: an agent's notes are there to read when you want, folded. */
.ws-notes summary { cursor: pointer; font-size: var(--fs-meta); color: var(--mu); }
.ws-notes p { margin: 10px 0 0; font-size: var(--fs-body); line-height: var(--lh); color: var(--tx2); max-width: var(--w-read); white-space: pre-wrap; }

/* UX pass, 12 Nov 2026: the header button sits beside the title, rows answer to the pointer and the keyboard, a row stacks on a phone */
.ws-rail [data-tab] { transition: background-color 120ms ease; }
.ws-btn { transition: transform 120ms ease-out, background-color 120ms ease, border-color 120ms ease; } .ws-btn:active { transform: scale(.97); }
.ws-btn[disabled] { opacity: .5; cursor: default; }
@media (max-width: 760px) { .ws-item { grid-template-columns: 1fr !important; gap: 4px; align-items: start; } .ws-set { grid-template-columns: 1fr !important; } }
form[data-form="round-name"] .ws-field { max-width: 320px; }
@keyframes ws-agents-pulse { 50% { opacity: .3; } }
.ws-tick { width: 18px; height: 18px; border: 1.5px solid var(--tx2); border-radius: var(--r-s); background: none; cursor: pointer; padding: 0; } .ws-tick:hover { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 25%, transparent); }

/* Home, 12 Nov 2026: one row per project, the one you worked on last on top; cues, then what moved and when */

/* The badge, one spec (design system §4c): meta size, weight 600, 20px high. Filled only where something waits for you. */
.ws-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; font-size: var(--fs-meta); font-weight: 600; line-height: 1; border-radius: var(--r-l); letter-spacing: 0; }
.ws-badge-quiet { color: var(--tx2); background: transparent; border-color: var(--line2); }

/* Requests as cards, 12 Nov 2026 (design system §10) */

.ws-rq-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; } .ws-rq-head h1 { margin: 0 auto 0 0; }

 @keyframes ws-card-in { from { opacity: 0; transform: translateX(24px); } } h1 .ws-badge, h2 .ws-badge { vertical-align: middle; margin-left: 8px; }

/* Home movements: who did what and when on one line, what it was on the next; each opens the thing itself */

.ws-part-field { display: block; width: 100%; margin: 6px 0 0; padding: 10px 12px; text-align: left; font: inherit; font-size: var(--fs-body); line-height: var(--lh); color: var(--mu); background: none; border: 1px solid var(--line2); border-radius: var(--r-m); cursor: text; transition: border-color 120ms ease; } .ws-part-field:hover { border-color: var(--tx2); color: var(--tx2); }
.ws-part button.ws-part-field { color: var(--mu); } .ws-part button.ws-part-field:hover { color: var(--tx2); }
.ws-btn > svg.ws-ico { width: 15px; height: 15px; margin-right: 6px; flex: none; }
.ws-dialog textarea.ws-field { font: inherit; font-size: var(--fs-body); }

/* The run icon (design system §11): the one sign of a run, in its own green */
.ws-runico { width: 16px; height: 16px; } .ws-btn > svg.ws-runico { width: 15px; height: 15px; }
.ws-rail [data-tab="out"] > span:first-child::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%233FB950' stroke-width='1.600' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.200 5h9.300a1.500 1.500 0 0 1 1.450 1.900l-1.800 7a1.500 1.500 0 0 1-1.450 1.100H5.400a1.500 1.500 0 0 1-1.450-1.900'/%3E%3Cpath d='M7.600 5.600l4.300 4.600 6-4.600'/%3E%3Cpath d='M1.500 7.500h3.200M1 10.500h2.400'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.ws-runico { width: 18px; height: 18px; } .ws-btn > svg.ws-runico { width: 18px; height: 18px; }

/* The list of requests never moves when the card changes: the same weight selected or not, its own scroll, a steady gutter */

html { scrollbar-gutter: stable; }

/* A run's progress: a step that is reached is green, the step it is in pulses while a session holds it, what is ahead is grey */

/* Buttons, refined (design system §4b, 12 Nov 2026): 34px high, a thin line. The one button that is the yes of a place
   has a light fill and a brighter line, never a white block. */
.ws .ws-btn, .ws-dialog .ws-btn { min-height: 34px; padding: 0 12px; font-size: var(--fs-body); font-weight: 600; border-color: var(--line2); color: var(--tx); }
.ws .ws-btn:hover, .ws-dialog .ws-btn:hover { border-color: var(--tx2); background: var(--p2); }
.ws .ws-btn.ws-primary, .ws-dialog .ws-btn.ws-primary { background: var(--p3); color: var(--tx); border-color: var(--tx2); }
.ws .ws-btn.ws-primary:hover, .ws-dialog .ws-btn.ws-primary:hover { background: var(--p3); border-color: var(--tx); }
.ws .ws-btn.ws-quiet, .ws-dialog .ws-btn.ws-quiet { border-color: transparent; color: var(--tx2); } .ws .ws-btn.ws-quiet:hover { color: var(--tx); border-color: transparent; }
.ws .ws-btn.ws-primary kbd { color: var(--tx2); }

@media (hover: none) { .ws .ws-btn, .ws-dialog .ws-btn { min-height: 44px; } }

/* Home: what waits for you is the bright row of cues; what happened is history, quieter, under its own word */

/* The action bar (design system §12): one component. Every button the same shape, an icon and a word; the yes has the light fill. */
.ws .ws-btn.ws-act { gap: 7px; padding: 0 12px 0 10px; border-color: var(--line2); color: var(--tx); } .ws .ws-btn.ws-act > svg, .ws .ws-btn.ws-act > .ws-sq { width: 16px; height: 16px; margin: 0; flex: none; } .ws .ws-btn.ws-act > .ws-sq svg { width: 12px; height: 12px; }
.ws .ws-btn.ws-act > svg:not(.ws-runico) { color: var(--tx2); } .ws .ws-btn.ws-act.ws-primary > svg { color: var(--tx); }

.ws-act-busy { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 6px; font-size: var(--fs-body); color: var(--tx2); } .ws-act-busy i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ws-agents-pulse 1.2s ease-in-out infinite; }
.ws-actbar { gap: 8px; flex-wrap: wrap; }

/* The cues on Home are the action button, not a pill (design system §12) */

/* Monitors (spec 39): a row per thing the project holds and watches */

.ws-wait .ws-runico { width: 18px; height: 18px; }

/* What a control will do, shown when you point at it (design system §14) */
.ws [data-tip] { position: relative; }
.ws [data-tip]:hover::after, .ws [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: max-content; max-width: 280px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--p3); color: var(--tx); font-size: var(--fs-meta); font-weight: 400; line-height: var(--lh-tight); text-align: left; white-space: normal; pointer-events: none; animation: ws-tip-in 80ms ease-out both; }
@keyframes ws-tip-in { from { opacity: 0; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .ws [data-tip]:hover::after { animation: none; } }
@media (hover: none) { .ws [data-tip]::after { display: none; } }

/* A request you have not had in front of you yet: its line is heavier, with the word New (design system §10). */

/* The state of a run (design system §11b): three small steps and its word. */
.ws-runtag { gap: 6px; } .ws-runtag em { font-weight: 400; color: var(--tx2); }

/* Tasks as list and card: the filter stands beside the title, a task that is done is quiet. */

/* Remarks under a part are its history, not its text: indented, smaller and quieter than the wording (Raimo, 12 Nov 2026). */

/* A workstream row says how its four parts stand. */

/* The same top on Requests, Runs and Tasks. */
.ws-rq-head { min-height: 40px; }
/* Recent on Home, tightened (12 Nov 2026): one icon size in one column, set on the first line; the second line is meta. */

/* ── Home, rebuilt 12 Nov 2026 (spec 37 §19): a short first block, the product in six screens, three steps, rows. ── */
.hp-hero { padding: 80px 0 40px; } .hp-hero h1 { font-size: 64px; max-width: 13ch; } .hp-hero .lead { font-size: 20px; max-width: 40ch; } @keyframes hp-in { from { opacity: 0; } }
.hp-beat { padding-top: 96px; } .hp-beat h2 { font-size: 40px; }
/* The home page, second pass (spec 48 §4): one 12-column grid, the round as the centre, the rest drawn as pieces of the product. */
.hp2 { width: 100%; max-width: 1180px; padding-top: 120px; text-align: left; }
.hp2 h2 { font-size: 40px; font-stretch: 108%; letter-spacing: -.025em; line-height: 1.05; }
.hp2 p { font-size: 18px; line-height: 1.5; color: var(--tx2); } .hp2 a { color: var(--tx); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.hp2-head { max-width: 620px; } .hp2-head p { margin-top: 14px; }
.hp2-flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ph; }
.hp2-flow li { position: relative; border-top: 3px solid var(--c); padding-top: 16px; }
.hp2-flow li + li::before { content: ""; position: absolute; left: -16px; top: -3px; width: 16px; height: 3px; background: linear-gradient(90deg, transparent, var(--line2)); }
.hp2-k { display: flex; align-items: center; margin: 0 0 14px; font-size: 18px !important; color: var(--tx) !important; } .hp2-k b { font-weight: 650; } .hp2-k > span:last-child { margin-left: auto; font-size: 13px; color: var(--mu); letter-spacing: .02em; }
.hp2-k .hp-kt { --c: inherit; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.hp2-card { background: var(--p1); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-height: 132px; display: flex; flex-direction: column; gap: 6px; }
.hp2-card small { font-size: 12px; color: var(--mu); } .hp2-card > b { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--tx); margin-bottom: 4px; }
.hp2-row { display: flex; align-items: baseline; gap: 8px; margin: 0 !important; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px !important; color: var(--tx) !important; } .hp2-row:last-child { border-bottom: 0; }
.hp2-row em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--mu); white-space: nowrap; } .hp2 .hp2-ok { color: var(--ok); } .hp2 .hp2-quiet { color: var(--mu) !important; font-size: 14px !important; }
.hp2-foot { margin-top: 24px; font-size: 15px !important; color: var(--mu) !important; }
.hp2-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.hp2-split .hp2-text { grid-column: 1 / span 5; } .hp2-split .hp2-pic { grid-column: 7 / span 6; } .hp2-split .hp2-text p { margin-top: 14px; }
.hp2-panel { background: var(--p1); border: 1px solid var(--line2); border-radius: 12px; padding: 20px 22px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.hp2-t { width: 28px; height: 28px; border-radius: 6px; display: inline-grid; place-items: center; flex: none; font-style: normal; font-size: 13px; font-weight: 650; color: var(--c, var(--tx2)); background: color-mix(in srgb, var(--c, var(--tx2)) 18%, transparent); }
.hp2-t-c { --c: var(--run); } .hp2-t-a { --c: var(--enc); }
.hp2-in { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px !important; color: var(--tx) !important; }
.hp2-in em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--mu); }
.hp2-b { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--tx); white-space: nowrap; } .hp2-b.on { background: var(--p3); }
.hp2-prop { border-bottom: 0 !important; } .hp2-prop .hp2-b { margin-left: auto; }
.hp2-faq { padding: 24px 0 96px; max-width: 780px; } .hp2-faq h2 { font-size: 24px; margin-bottom: 8px; }
.hp2-faq details { border-bottom: 1px solid var(--line); } .hp2-faq summary { cursor: pointer; list-style: none; padding: 16px 0; } .hp2-faq summary::-webkit-details-marker { display: none; }
.hp2-faq summary h3 { display: inline; font-size: 17px; font-weight: 600; } .hp2-faq summary::after { content: "+"; float: right; color: var(--mu); } .hp2-faq details[open] summary::after { content: "–"; } .hp2-faq details p { margin: 0 0 16px; font-size: 16px; }
.hp2-more { margin-top: 24px; font-size: 15px !important; color: var(--mu) !important; }
@media (max-width: 899px) { .hp2 { padding-top: 80px; } .hp2 h2 { font-size: 32px; } .hp2-flow { grid-template-columns: 1fr 1fr; } .hp2-split .hp2-text, .hp2-split .hp2-pic { grid-column: 1 / -1; grid-row: auto; } .hp2-split .hp2-pic { margin-top: 28px; } }
@media (max-width: 599px) { .hp2-flow { grid-template-columns: 1fr; } .hp2-flow li + li::before { display: none; } }
/* Read by a screen reader, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Drop in your project, and what Palintropy does with a link, played as an example (spec 48 §6). */
.hp-drop { display: flex; gap: 10px; width: 100%; max-width: 620px; margin: 28px auto 0; } .hp-drop input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2); background: var(--p1); color: var(--tx); font: inherit; font-size: 17px; } .hp-drop input:focus { outline: 2px solid var(--tx2); outline-offset: 2px; } .hp-drop .btn { flex: none; }
.hp-drop.over input { border-color: var(--tx); background: var(--p2); }
@media (max-width: 899px) { .hp-drop { flex-direction: column; } .hp-drop input { flex: none; height: 52px; } }      /* in a column, flex: 1 squeezed the field to its text (Raimo, 15 Nov 2026: "the drop box doesnt look so nice") */
/* How it works, rebuilt (spec 48 §5): the system, one run as a loop, a round, where it fits, what you need. */
.hw-sys { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.15fr) 132px minmax(0, 1fr); align-items: center; }
.hw-node { background: var(--p1); border: 1px solid var(--line2); border-radius: 12px; padding: 18px 20px; } .hw-core { border-color: color-mix(in srgb, var(--tx) 30%, transparent); background: var(--p2); }
.hw-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; color: var(--tx) !important; font-size: 18px !important; } .hw-h b { font-weight: 650; } .hw-logo { width: 26px; height: 26px; }
.hw-node ul { list-style: none; margin: 0; padding: 0; } .hw-node li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--tx); } .hw-node li .hp-kt { width: 22px; height: 22px; margin-right: 2px; } .hw-node li .hp-kt svg { width: 14px; height: 14px; } .hw-node li .hp2-t { width: 22px; height: 22px; font-size: 11px; }
.hw-q { margin: 10px 0 0 !important; font-size: 13px !important; color: var(--mu) !important; }
.hw-arrows { display: flex; flex-direction: column; gap: 18px; padding: 0 8px; } .hw-arrows p { margin: 0; display: flex; flex-direction: column; align-items: center; font-size: 12px !important; color: var(--mu) !important; } .hw-arrows p.back { flex-direction: column-reverse; }
.hw-arrows svg { width: 100%; height: 12px; fill: none; stroke: var(--tx2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; } .hw-arrows p.back svg { stroke: var(--mu); }
.hw-loop { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hw-loop li { position: relative; background: var(--p1); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hw-loop li + li::before { content: ""; position: absolute; left: -14px; top: 30px; width: 14px; height: 1px; background: var(--line2); }
.hw-loop b { font-size: 17px; font-weight: 650; color: var(--tx); } .hw-loop p { margin: 0 !important; font-size: 14px !important; line-height: 1.45 !important; flex: 1; }
.hw-n { font: 500 13px/1 var(--mono); color: var(--mu); }
.hw-state { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--tx); } .hw-state i { width: 10px; height: 3px; border-radius: 2px; background: var(--line2); } .hw-state i.on { background: var(--run); } .hw-state i.live { animation: hw-pulse 1.6s ease-in-out infinite; }
@keyframes hw-pulse { 50% { opacity: .35; } } @media (prefers-reduced-motion: reduce) { .hw-state i.live { animation: none; } }
.hw-kept { font-size: 13px; color: var(--tx); border-left: 2px solid var(--pot); padding-left: 8px; }
.hw-return { margin: 6px 0 0 !important; position: relative; } .hw-return svg { width: 100%; height: 30px; fill: none; stroke: var(--line2); stroke-width: 1.4; } .hw-return span { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 4px); padding: 0 10px; background: var(--bg); font-size: 13px; color: var(--mu); white-space: nowrap; }
.hw-stages { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .hw-stages li { font-size: 11px; color: var(--mu); padding-top: 6px; border-top: 3px solid var(--p3); } .hw-stages li.on { color: var(--tx); border-top-color: var(--enc); }
.hw-need { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .hw-need li { border-top: 1px solid var(--line2); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; } .hw-need b { font-size: 18px; font-weight: 650; color: var(--tx); } .hw-need p { margin: 0 !important; font-size: 15px !important; }
.close .lead a { color: var(--tx); }
@media (max-width: 899px) { .hw-sys { grid-template-columns: 1fr; gap: 8px; } .hw-arrows { flex-direction: row; justify-content: center; padding: 6px 0; } .hw-arrows svg { width: 12px; height: 40px; transform: rotate(90deg); } .hw-loop { grid-template-columns: 1fr 1fr; } .hw-loop li + li::before { display: none; } .hw-return { display: none; } .hw-need { grid-template-columns: 1fr; } }
/* The home page since 14 Nov 2026 (spec 48): the tree of a project in the icons of the control room, and the questions. */
.hp-kt { width: 28px; height: 28px; border-radius: 6px; display: inline-grid; place-items: center; flex: none; color: var(--c, var(--tx2)); background: color-mix(in srgb, var(--c, var(--tx2)) 16%, transparent); margin-right: 12px; vertical-align: middle; } .hp-kt svg { width: 18px; height: 18px; }
.hp-kt-build { --c: var(--con); } .hp-kt-loop { --c: var(--enc); } .hp-kt-process { --c: var(--cns); } .hp-kt-round { --c: var(--pot); }
.hp-build { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; } .hp-build > h2 { grid-column: 1 / -1; }
.hp-build dt { display: flex; align-items: center; } .hp-build dl > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width: 899px) { .hp-build { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .hp-hero h1 { font-size: 44px; } .hp-beat h2 { font-size: 32px; } }
.hp-hero h1 { max-width: 17ch; } .hp-hero .lead { max-width: 46ch; }

/* What it rests on, second version (12 Nov 2026): the mark set large, four bare numerals, the book as a colophon. */ /* unslop-ignore: the four colours of the mark as four hard quarters, not a wash */
.ws-rq-head .ws-btn[data-tip]:hover::after { left: auto; right: 0; }

/* The shape of a round is yours (spec 37 §21): a quiet way to leave a part out, and to add one at the end of a dimension. */ .ws-part:hover .ws-part-out, .ws-part-out:focus-visible { opacity: 1; }
.ws-part-add { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 12px 0 0; }

/* Setting a project up: one question at a time on the left, the project taking shape on the right (design system §18). */
.ws-np-2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--col-gap, 48px); align-items: start; padding-top: 16px; }
.ws-np-q { display: grid; gap: 12px; max-width: 620px; } .ws-np-q h2 { font-size: var(--fs-title); font-weight: 650; line-height: var(--lh-tight); margin: 0 0 4px; text-wrap: balance; }
.ws-np-q label { font-size: var(--fs-body); color: var(--tx2); } .ws-np-q .ws-acts { margin-top: 12px; }
.ws-np-opts { display: grid; gap: 8px; } .ws-np-opt { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line2); border-radius: var(--r-m); cursor: pointer; transition: background-color 120ms ease, border-color 120ms ease; }
.ws-np-opt:hover { background: var(--p1); } .ws-np-opt:has(input:checked) { border-color: var(--tx2); background: var(--p2); }
.ws-np-opt input { margin-top: 4px; } .ws-np-opt b { display: block; font-weight: 600; color: var(--tx); } .ws-np-opt i { font-style: normal; font-size: var(--fs-meta); color: var(--tx2); }
.ws-np-see { border-left: 1px solid var(--line); padding: 8px 0 8px 32px; display: grid; gap: 10px; align-content: start; }
.ws-np-see > b { font-size: var(--fs-title); font-weight: 650; line-height: var(--lh-tight); } .ws-np-see p { margin: 0; color: var(--tx2); overflow-wrap: anywhere; }
.ws-np-round span { display: block; font-size: var(--fs-meta); color: var(--mu); } .ws-np-round { color: var(--tx) !important; }
.ws-np-ghost { color: var(--mu) !important; opacity: .55; }

@media (max-width: 899px) { .ws-np-2 { grid-template-columns: 1fr; } .ws-np-see { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; } }

/* The round is what you want to win (design system §19): its finish line, how near it is, and the way to end it. */

.ws-end form { display: grid; gap: 8px; } .ws-end p { margin: 0; } .ws-end-h { margin-top: 14px !important; font-size: var(--fs-meta); color: var(--mu); }
.ws-end-row { display: grid; grid-template-columns: 14px minmax(110px, auto) 1fr; gap: 10px; align-items: baseline; font-size: var(--fs-body); } .ws-end-row b { font-weight: 600; } .ws-end-row span { color: var(--tx2); }
.ws-end label { margin-top: 12px; } .ws-end textarea, .ws-end input.ws-field { width: 100%; }

.ws-drow .ws-drow-l { margin-right: auto; }
.ws-end .ws-np-opts { grid-template-columns: 1fr 1fr; margin-top: 12px; } .ws-end .ws-np-opt { display: grid; margin: 0; padding: 12px 14px; }
.ws-end { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
/* Monitors live in Signals: what is kept is what is watched (design system §19). */

.ws-part-add { padding-top: 16px; gap: 8px; }

/* A round is set up in its first dimension. The others wait for the commit: greyed, never locked (spec 37 §25). */
.ws-set.ws-set-wait { opacity: .45; transition: opacity 160ms ease; } .ws-set.ws-set-wait:hover, .ws-set.ws-set-wait:focus-within { opacity: 1; }

.ws-set.ws-set-up { background: var(--p1); border-radius: var(--r-l); padding-left: 24px; padding-right: 24px; margin-left: -24px; margin-right: -24px; }
.ws-set-open { display: flex; justify-content: flex-end; padding-top: 20px; }

/* The bin of a part shows only on the part you have open, and stays (Raimo, 12 Nov: no icon that comes and goes on hover). */
/* A pip has two states: empty or full (Raimo, 12 Nov: "the 16 icons and the 4 icons are unclear"). In the row of a round full means written. Under the finish line full means confirmed from outside. */

/* What it rests on: the cycle as one figure in the page's own language (12 Nov 2026). Four phases in their order; under each, the crossing that leaves it. */

/* Workstreams (design system §20): the work under a part of Plan or of Outcome. One row per workstream, its results under it. */
.ws-streams { display: grid; gap: 0; margin: -4px 0 8px; }
.ws-stream { padding: 10px 0 10px 20px; }
.ws-stream-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; } .ws-stream-h b { font-weight: 600; }
.ws-stream-a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.ws-stream-r { margin: 6px 0 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; font-size: var(--fs-meta); color: var(--tx2); line-height: var(--lh); } .ws-stream-r a { color: var(--tx); }
.ws-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Home: the workstreams of a project with what came back on them (design system §20). */
.ws-hstreams { display: grid; margin: 0 0 4px 6px; }
.ws-hstream { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 56px; gap: 12px; align-items: baseline; padding: 7px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--tx2); font: inherit; font-size: var(--fs-meta); text-align: left; cursor: pointer; }
.ws-hstream b { font-weight: 600; color: var(--tx); font-size: var(--fs-body); } .ws-hstream:hover b { text-decoration: underline; text-underline-offset: 3px; } .ws-hstream span:last-child { text-align: right; color: var(--mu); }

/* The round is not one list (design system §21). Five areas, each with its own layout: the brief, the mission, Build, Operation, Signals. */
.ws-rd { padding: 8px 0 36px; scroll-margin-top: calc(var(--top) + 16px); } .ws-rd > h2 { font-size: var(--fs-head); font-weight: 650; line-height: var(--lh-tight); margin: 0 0 14px; }
.ws-rd-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; } .ws-rd-top h2 { font-size: var(--fs-head); font-weight: 650; margin: 0; } .ws-rd-top form { flex: 1 1 320px; }

.ws-ms { margin: 0 0 28px; padding: 22px 24px; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p1); display: grid; gap: 10px; }
.ws-ms-h { margin: 0; display: flex; gap: 12px; font-size: var(--fs-meta); color: var(--mu); } .ws-ms-h b { font-weight: 600; color: var(--tx2); }
.ws-ms-t { display: flex; align-items: baseline; gap: 10px; } .ws-ms-t p { margin: 0; font-size: var(--fs-head); line-height: var(--lh-tight); font-weight: 650; max-width: var(--w-read); } .ws-ms .ws-part { border: 0; padding: 0; }

.ws-tb { width: 100%; border-collapse: collapse; font-size: var(--fs-body); } .ws-tb th { font-weight: 400; font-size: var(--fs-meta); color: var(--mu); text-align: left; padding: 6px 12px 8px 0; border-bottom: 1px solid var(--line2); }
.ws-tb td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--tx2); } .ws-tb td b { font-weight: 600; color: var(--tx); } .ws-tb td a { color: var(--tx2); }
 .ws-tb .ws-tb-s { white-space: nowrap; }
.ws-tb .ws-tb-a { text-align: right; white-space: nowrap; padding-right: 0; } .ws-tb .ws-tb-a > * { vertical-align: middle; margin-left: 4px; }
.ws-gate { margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--line2); border-radius: var(--r-m); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: baseline; } .ws-gate > b { font-weight: 600; } .ws-gate > p { margin: 0; color: var(--tx2); }
.ws-dec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); } .ws-dec b { font-weight: 600; }

@media (max-width: 899px) { .ws-tb { display: block; overflow-x: auto; } }
/* What a process holds to is the widest column: it is a sentence. Where it is written stays on one line. */
.ws-tb-process td:nth-child(2) { width: 48%; font-size: var(--fs-meta); line-height: var(--lh); } .ws-tb-process td:nth-child(3) { white-space: nowrap; } .ws-tb td:first-child { white-space: nowrap; }
.ws-tb .ws-tb-io b { font-weight: 400; color: var(--tx); } .ws-tb .ws-tb-io small { display: block; font-size: var(--fs-meta); color: var(--mu); line-height: var(--lh-tight); margin-top: 2px; } .ws-tb .ws-tb-io small a { color: var(--mu); }
/* What the agents noticed, on the round and in Requests (design system §22). */
.ws-rd.ws-rd-gaps { padding: 0 0 28px; } .ws-gap-t { display: flex; align-items: baseline; gap: 10px; } .ws-gap-t > :first-child { flex: none; align-self: center; } .ws-gap-t b { font-weight: 600; }
 .ws-rd { min-width: 0; }      /* a table scrolls inside its own area and never widens the page (found by the test user on a phone) */
@media (max-width: 899px) { .ws-rd .ws-tb { max-width: 100%; } }      /* the block already says Mission */
/* On a phone a workstream or a loop is a block of its own, never a table that runs off the screen. */
@media (max-width: 899px) { .ws-tb, .ws-tb tbody, .ws-tb tr, .ws-tb td { display: block; } .ws-tb thead { display: none; } .ws-tb tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .ws-tb td { border: 0; padding: 2px 0; } .ws-tb td:empty { display: none; }  .ws-tb .ws-tb-a { text-align: left; } .ws-tb .ws-tb-a { padding-top: 8px; } .ws-tb .ws-tb-a > :first-child { margin-left: 0; } .ws-tb .ws-tb-io small { display: inline; margin-left: 8px; } }

/* Tasks (13 Nov 2026): what is past its day, and the row that folds what is done. */
.ws-late{ font-style: normal; font-weight: 600; color: var(--hot); }

/* The inboxes without the box (13 Nov 2026): the one thing is a pane beside its list, not a card. Its title is head size. */

/* The round has five areas after its brief (13 Nov 2026). */

 .ws-rd { scroll-margin-top: calc(var(--top, 0px) + 64px); }

/* Candidates in the setup of a round (13 Nov 2026): the table of loops, and under it the lines of the one that is picked. */
.ws-tb-cand tr[aria-selected="true"] td { background: var(--p1); } .ws-cand-pick { background: none; border: 0; padding: 0; font: inherit; color: var(--tx); text-align: left; cursor: pointer; }
.ws-tick { color: var(--mu); opacity: .3; } .ws-tick[aria-pressed="true"] { color: var(--tx); opacity: 1; background: var(--p2); }

/* A round that waits, set up while the open one runs (13 Nov 2026). */
 .ws-tb-why { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--mu); font-weight: 400; max-width: 46ch; white-space: normal; }

.ws-to-round { height: 28px; padding: 0 8px; margin-left: 6px; font-size: var(--fs-meta); } .ws-rd-from { flex: 1 0 100%; }

/* Rounds have names, not numbers (13 Nov 2026). The open round is a tab by its name; all rounds are one list. */ .ws-to-round { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The kinds of block (13 Nov 2026): one icon and one colour each, on a small tinted tile. The structure of a project is a tree of them. */
.ws-kt { width: 24px; height: 24px; border-radius: var(--r-s); display: inline-grid; place-items: center; flex: none; color: var(--c, var(--tx2)); background: color-mix(in srgb, var(--c, var(--tx2)) 16%, transparent); } .ws-kt .ws-ico { width: 16px; height: 16px; }
.ws-kt-cand { --c: var(--pot); } .ws-kt-build { --c: var(--con); } .ws-kt-loop { --c: var(--enc); } .ws-kt-process { --c: var(--cns); } .ws-kt-n { --c: var(--tx2); }
.ws-tree, .ws-tree ul { list-style: none; margin: 0; padding: 0; } .ws-tree ul { margin-left: 11px; padding-left: 22px; border-left: 1px solid var(--line2); } .ws-tree li { padding: 5px 0; }
.ws-tree-n { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; font: inherit; color: var(--tx); text-align: left; max-width: 100%; } button.ws-tree-n { cursor: pointer; }
.ws-tree-n b { font-weight: 600; } .ws-tree-n em { font-style: normal; font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; }
@media (max-width: 899px) { .ws-tree-n { flex-wrap: wrap; gap: 4px 10px; } .ws-tree ul { padding-left: 14px; } }

/* The tree of the open project lives in the left column (13 Nov 2026): tiles and names only, the kind and state in the tip. */
.ws-nav .ws-tree-nav { margin: 0 0 6px 20px; } .ws-nav .ws-tree-nav ul { margin-left: 9px; padding-left: 8px; } .ws-nav .ws-tree-nav li { padding: 0; min-width: 0; }
.ws-nav .ws-tree-nav .ws-tree-n { display: flex; justify-content: flex-start; width: 100%; min-height: 30px; padding: 0 6px; gap: 8px; border-radius: var(--r-m); font-size: var(--fs-meta); color: var(--tx2); }
.ws-nav .ws-tree-nav .ws-tree-n b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .ws-nav .ws-tree-nav .ws-tree-n[aria-current="true"] b { font-weight: 600; color: var(--tx); }
.ws-nav .ws-tree-nav .ws-kt { width: 20px; height: 20px; } .ws-nav .ws-tree-nav .ws-kt .ws-ico { width: 14px; height: 14px; }

/* Folding in the left column (13 Nov 2026): an arrow that is always there, turned when open. */
.ws-tw { display: grid; place-items: center; width: 22px; height: 30px; padding: 0; background: none; border: 0; color: var(--mu); cursor: pointer; flex: none; border-radius: var(--r-s); } .ws-tw:hover { color: var(--tx); }
.ws-tw .ws-ico { width: 12px; height: 12px; transition: transform 140ms var(--out); } .ws-tw[aria-expanded="true"] .ws-ico { transform: rotate(90deg); }
.ws-nav .ws-tw { min-height: 0; background: none; padding: 0; } .ws-tree-row { display: flex; align-items: center; min-width: 0; } .ws-tree-row > .ws-tree-n { flex: 1 1 0; width: auto; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .ws-tw .ws-ico { transition: none; } }

/* One row for a block wherever it stands (13 Nov 2026): its kind tile before the name, in the page as in the left column. */
.ws-tb-k { display: inline-flex; align-items: center; gap: 10px; } .ws-kh { display: flex; align-items: center; gap: 10px; } .ws-kh > span { min-width: 0; } .ws-tb-off { color: var(--tx); }
.ws-to-round { display: inline-flex; align-items: center; gap: 6px; } .ws-to-round .ws-kt { width: 20px; height: 20px; } .ws-to-round .ws-kt .ws-ico { width: 14px; height: 14px; }

.ws-kh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .ws-kh-row .ws-kh { margin-bottom: 0; } .ws-kh-row { margin-bottom: 12px; }

.ws-icon-btn.ws-to-round { padding: 0; } .ws-icon-btn.ws-to-round .ws-kt { width: 24px; height: 24px; }

/* Who owns a round, and the person's own name and picture (13 Nov 2026). */
.ws-owner b { font-weight: 600; color: var(--tx); }
.ws-sq.ws-pic { padding: 0; overflow: hidden; background: none; } .ws-sq.ws-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-sq.ws-ai { background: var(--p3); } .ws-sq.ws-ai .ws-ico { width: 70%; height: 70%; }
.ws-me { display: flex; align-items: center; gap: 12px; } .ws-me .ws-sq.ws-lg { width: 44px; height: 44px; border-radius: var(--r-m); flex: none; } .ws-me-n { min-width: 0; } .ws-me-n b { font-weight: 600; }

/* Runs in the inbox of a project (13 Nov 2026): one row per run, with its own tile, what it works on, and where it stands. */
.ws-kt-run { --c: var(--run); } .ws-kt-run .ws-ico { width: 16px; height: 16px; }

/* A workstream that is released (13 Nov 2026): the row goes quiet and says so. */
.ws-tb tr.ws-tb-rel td, .ws-tb tr.ws-tb-rel td b, .ws-tb tr.ws-tb-rel td a { color: var(--mu); } .ws-tb tr.ws-tb-rel .ws-kt { opacity: .55; } .ws-rel { color: var(--tx2); }

/* What belongs to the project and not to the round stands below the round, set apart. */
.ws-rd-proj { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line2); }

/* One navigation, on the left (13 Nov 2026): the inbox and Add round are lines of the tree, a heading carries its count, and a round says where it came from as the way back. */
.ws-kh-n { font-style: normal; font-family: var(--mono); font-size: var(--fs-mono); font-weight: 400; color: var(--mu); margin-left: 2px; }
.ws-nav .ws-tree-nav .ws-tree-n em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: var(--fs-mono); color: var(--mu); } .ws-nav .ws-tree-nav .ws-tree-add b { color: var(--mu); }
button.ws-rd-from { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: var(--fs-meta); color: var(--mu); cursor: pointer; } button.ws-rd-from:hover { color: var(--tx); } button.ws-rd-from .ws-kt { width: 20px; height: 20px; } button.ws-rd-from .ws-kt .ws-ico { width: 14px; height: 14px; }

/* The gate on a result (13 Nov 2026): whether it passed the processes of its project. */
.ws-gate-r { margin: 10px 0 0; } .ws-gate-r.ws-gate-x { padding: 12px 14px; border: 1px solid var(--warn); border-radius: var(--r-m); } .ws-gate-r.ws-gate-x > b { color: var(--warn); font-weight: 600; }
.ws-gate-r p { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 0; } .ws-gate-r p .ws-kt { width: 20px; height: 20px; } .ws-gate-r p .ws-kt .ws-ico { width: 14px; height: 14px; } .ws-gate-r p b { font-weight: 600; } .ws-ver { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 400; color: var(--tx2); }

.ws-nav .ws-tree-nav .ws-tree-n[data-here] { background: var(--p2); } .ws-nav .ws-tree-nav .ws-tree-n[data-here] b { color: var(--tx); }

/* The inbox (spec 43): one list of rows with the same columns for a request, a run and a task. The row carries its acts; open, it shows what it holds. */
.ws-inbox .ws-rq-head { flex-wrap: wrap; }
.ws-in-bar { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; border-bottom: 1px solid var(--line2); }
.ws-in-tabs { display: flex; gap: 2px; margin-right: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ws-in-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 10px; font: inherit; font-size: var(--fs-meta); color: var(--mu); cursor: pointer; white-space: nowrap; }
.ws-in-tabs button:hover { color: var(--tx); }
.ws-in-tabs button[aria-current="true"] { color: var(--tx); border-bottom-color: var(--tx); font-weight: 600; } .ws-in-tabs i { font-style: normal; font-family: var(--mono); font-size: var(--fs-mono); color: var(--mu); margin-left: 6px; font-weight: 400; }
.ws-in-bar .ws-field { width: auto; max-width: 200px; min-height: 28px; padding: 2px 8px; font-size: var(--fs-meta); color: var(--tx2); } .ws-in-bar .ws-in-find { width: 150px; } .ws-in-group[aria-pressed="true"] { color: var(--tx); background: var(--p2); }
.ws-in-head, .ws-in-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) minmax(0, 132px) 56px minmax(0, 168px) 44px 88px; gap: 12px; align-items: center; padding: 0 8px; }
.ws-in { margin: 0 -8px; }
.ws-in-head { min-height: 32px; font-size: var(--fs-meta); color: var(--mu); border-bottom: 1px solid var(--line); }
.ws-in-item { border-bottom: 1px solid var(--line); } .ws-in-row { min-height: 40px; font-size: var(--fs-meta); color: var(--tx2); cursor: pointer; }
.ws-in-row:hover, .ws-in-on { background: var(--p1); }
.ws-in-row > .ws-kt, .ws-in-row > .ws-sq { width: 24px; height: 24px; border-radius: var(--r-s); flex: none; } .ws-in-row > .ws-sq svg { width: 16px; height: 16px; }
.ws-in-row > .ws-tick { justify-self: center; display: inline-grid; place-items: center; opacity: 1; color: var(--bg); } .ws-in-row > .ws-tick svg { width: 14px; height: 14px; }
.ws-in-t { display: flex; align-items: center; gap: 8px; min-width: 0; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--tx); text-align: left; cursor: pointer; } .ws-in-t > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-in-on .ws-in-t > span { white-space: normal; } .ws-in-on .ws-in-row { align-items: start; padding-top: 8px; padding-bottom: 8px; }
.ws-in-p, .ws-in-k, .ws-in-s, .ws-in-w { color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ws-in-s { color: var(--tx2); } .ws-in-w { font-variant-numeric: tabular-nums; overflow: visible; }
button.ws-in-p { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; } button.ws-in-p:hover { color: var(--tx); }
.ws-in-a { display: flex; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; } .ws-in-r { display: flex; } .ws-in-r .ws-btn { width: 100%; justify-content: flex-start; } .ws-in-r [data-tip]:hover::after { left: auto; right: 0; } .ws-in-a .ws-icon-btn { margin: 0; flex: none; } .ws-in-a .ws-btn { margin-right: 4px; flex: none; order: -1; } .ws-in-a .ws-act-busy { min-height: 28px; font-size: var(--fs-meta); }
.ws-in-a .ws-icon-btn .ws-sq { width: 18px; height: 18px; border-radius: var(--r-s); } .ws-in-a .ws-icon-btn .ws-sq svg { width: 12px; height: 12px; }
.ws-in-a [data-tip]:hover::after, .ws-in-a [data-tip]:focus-visible::after, .ws-tb-a [data-tip]:hover::after, .ws-tb-a [data-tip]:focus-visible::after { left: auto; right: 0; }
/* The whole line of a row shows at once when you point at it: no wait, wide enough to read. */
.ws .ws-in-t[data-tip]:hover::after, .ws .ws-in-t[data-tip]:focus-visible::after { max-width: 560px; font-size: var(--fs-body); line-height: var(--lh); top: calc(100% + 2px); }
.ws-in-done .ws-in-t { color: var(--mu); font-weight: 400; } .ws-in-g { margin: 24px 8px 0; padding-bottom: 6px; font-size: var(--fs-meta); font-weight: 600; color: var(--tx2); border-bottom: 1px solid var(--line2); }
.ws-in-open { padding: 4px 8px 16px 44px; max-width: 860px; background: var(--p1); }
.ws-in-item.ws-in-on { background: var(--p1); }
@media (max-width: 1199px) { .ws-in-head, .ws-in-row { grid-template-columns: 24px minmax(0, 1fr) minmax(0, 110px) minmax(0, 148px) 44px 88px; } .ws-in-k, .ws-in-head span:nth-child(4) { display: none; } }
@media (max-width: 899px) { .ws-in-head { display: none; } .ws-in-row { grid-template-columns: 24px minmax(0, 1fr) auto; row-gap: 2px; padding-top: 8px; padding-bottom: 8px; } .ws-in-p { grid-column: 2; } .ws-in-k { display: none; } .ws-in-s { grid-column: 3; grid-row: 1; } .ws-in-w { grid-column: 3; grid-row: 2; }
  .ws-in-a { grid-column: 2; justify-content: flex-start; } .ws-in-r { grid-column: 3; } .ws-in-r .ws-btn { width: auto; } .ws-in-t > span { white-space: normal; } .ws-in-open { padding-left: 8px; } .ws-in-bar { flex-wrap: wrap; } .ws-in-bar .ws-in-find { width: 110px; } }
.ws-in-bar .ws-field.ws-in-of { color: var(--tx); border-color: var(--tx2); background: var(--p2); }
/* The inbox of a project is the inbox without the project column; what came back there is the same row: tile, what, what it worked on, how it passed, when. */
.ws-in-proj .ws-in-head, .ws-in-proj .ws-in-row { grid-template-columns: 24px minmax(0, 1fr) 56px minmax(0, 148px) 44px 236px 84px; } .ws-in-proj .ws-in-row > .ws-in-p, .ws-in-proj .ws-in-head > span:nth-child(3) { display: none; }
.ws-proj-round .ws-in-bar { margin-top: 12px; }
@media (max-width: 899px) { .ws-in-proj .ws-in-row { grid-template-columns: 24px minmax(0, 1fr) auto; } }
/* The width of the menu is the person's to set: a grip on its edge, kept on the device. */
.ws-grip { display: none; }
@media (min-width: 900px) { .ws-rail { flex: 0 0 var(--rail-w, 248px); max-width: 520px; } .ws-grip { display: block; flex: 0 0 7px; margin: 0 -4px 0 -3px; position: sticky; top: var(--top); align-self: flex-start; height: calc(100vh - var(--top)); cursor: col-resize; z-index: 3; }
  .ws-grip:hover, .ws-grip:focus-visible { background: var(--line2); outline: 0; } }
/* The first visit (spec 49): four questions in the layout of New project, then a line while Palintropy sets the round up. */
.ws-ob-busy { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: var(--fs-head); color: var(--tx); } .ws-ob-busy i { width: 10px; height: 10px; border-radius: 50%; background: var(--run); animation: ws-pulse 1.4s ease-in-out infinite; }
.ws-np-q .ws-link { margin-left: 0; color: var(--tx2); }
/* The readings of the two agents on a round (spec 46): who, the question it carries, one sentence, the counts under it. */
.ws-read { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .ws-read:last-child { border-bottom: 1px solid var(--line); }
.ws-read-who { display: flex; align-items: center; gap: 8px; align-self: start; font-size: var(--fs-meta); } .ws-read-who .ws-sq { width: 24px; height: 24px; border-radius: var(--r-s); flex: none; } .ws-read-who .ws-sq svg { width: 16px; height: 16px; } .ws-read-who b { font-weight: 600; }
.ws-read-q { margin: 0 0 2px; font-size: var(--fs-meta); color: var(--mu); } .ws-read-says { margin: 0; font-weight: 600; color: var(--tx); }
.ws-read-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ws-read-lines { margin: 6px 0 0; padding: 0; list-style: none; font-size: var(--fs-meta); color: var(--tx2); } .ws-read-lines li { padding: 2px 0; }
@media (max-width: 899px) { .ws-read { grid-template-columns: 1fr; gap: 6px; } }
/* A task row (spec 45): tick, flag, task, (project), for, from, day, when, acts, run. */
.ws-in-row.ws-in-row-t { grid-template-columns: 24px 24px minmax(0, 1fr) minmax(0, 96px) minmax(0, 96px) minmax(0, 110px) 44px 96px 84px; gap: 10px; }
.ws-in-row-k, .ws-in-row.ws-in-row-k { grid-template-columns: 24px 24px minmax(0, 1fr) minmax(0, 132px) minmax(0, 96px) minmax(0, 96px) minmax(0, 110px) 44px 96px 84px; gap: 10px; }
.ws-prio { width: 24px; height: 24px; margin: 0; color: var(--line2); } .ws-prio:hover { color: var(--tx2); } .ws-prio[aria-pressed="true"] { color: var(--hot); background: color-mix(in srgb, var(--hot) 16%, transparent); }
.ws-in-for { color: var(--tx2); }
/* What was proposed and waits to be taken (spec 45 §7): a list of its own above the tasks, with the columns of a task row. */
.ws-pr { margin: 20px 0 32px; } .ws-pr-head { display: flex; align-items: center; gap: 8px; padding: 0 8px 8px; border-bottom: 1px solid var(--line2); } .ws-pr-head h2 { flex: 1; margin: 0; font-size: var(--fs-body); font-weight: 600; } .ws-pr-head h2 i { font-style: normal; font-weight: 400; color: var(--mu); margin-left: 4px; }
.ws-in-row-pr, .ws-in-row-pr .ws-in-t { cursor: default; } .ws-in-row-pr .ws-in-t { font-weight: 400; }
/* The mandate of a member in its dialog: four switches. */
.ws-can { margin: 16px 0 0; padding: 0; border: 0; } .ws-can legend { padding: 0; margin-bottom: 6px; } .ws-dialog .ws-can label { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .ws-can input { accent-color: var(--tx); width: 16px; height: 16px; margin: 0; }
@media (max-width: 1199px) { .ws-in-row.ws-in-row-k, .ws-in-row-k { grid-template-columns: 24px 24px minmax(0, 1fr) minmax(0, 110px) minmax(0, 90px) minmax(0, 100px) 96px 84px; } .ws-in-row-k > .ws-in-k, .ws-in-row-k > .ws-in-w, .ws-in-head.ws-in-row-k > span:nth-child(6), .ws-in-head.ws-in-row-k > span:nth-child(8) { display: none; }
  .ws-in-row.ws-in-row-t { grid-template-columns: 24px 24px minmax(0, 1fr) minmax(0, 90px) minmax(0, 100px) 96px 84px; } .ws-in-row-t > .ws-in-k, .ws-in-row-t > .ws-in-w { display: none; } }
@media (max-width: 899px) { .ws-in-row.ws-in-row-t, .ws-in-row.ws-in-row-k { grid-template-columns: 24px 24px minmax(0, 1fr) auto; } .ws-in-row-t > .ws-in-p, .ws-in-row-k > .ws-in-p { grid-column: 3; } .ws-in-row-t > .ws-in-a, .ws-in-row-k > .ws-in-a { grid-column: 3; } .ws-in-row-t > .ws-in-r, .ws-in-row-k > .ws-in-r { grid-column: 4; } .ws-in-row-t > .ws-in-s, .ws-in-row-k > .ws-in-s { grid-column: 4; grid-row: 1; } }
/* A round is a page of its own (spec 37 §48): it opens with its name at title size. A row that is jumped to stops under the top bar. */
.ws-proj-round #rd-setup .ws-rd-top { margin-bottom: 16px; align-items: center; } .ws-proj-round #rd-setup .ws-rd-top h2 { font-size: var(--fs-title); font-weight: 650; line-height: var(--lh-tight); color: var(--tx); }
.ws-proj-round #rd-setup .ws-rd-top .ws-kt { width: 28px; height: 28px; }
.ws-tb tr, .ws-rd details, .ws-rd [data-cand], .ws-rd [data-old], .ws-in-item { scroll-margin-top: 88px; }
.ws-in-busy { position: relative; cursor: default; } .ws-in-busy:hover { background: none; } .ws-in-busy > i { position: absolute; right: 2px; bottom: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--bg); animation: ws-agents-pulse 1.2s ease-in-out infinite; }
/* What an open row holds reads as a small table: the name of a fact on the left, the fact on the right. */
/* The team (spec 44): a member's tile carries its initials; the page is one table with the acts of a row. */
.ws-mem-t { display: inline-grid; place-items: center; background: var(--p3); color: var(--tx2); font-size: var(--fs-mono); font-weight: 650; }
.ws-tb-team td { vertical-align: top; font-size: var(--fs-meta); color: var(--tx2); } .ws-tb-team td:first-child { color: var(--tx); white-space: nowrap; } .ws-tb-team .ws-tb-k .ws-sq, .ws-tb-team .ws-tb-k .ws-kt { width: 24px; height: 24px; border-radius: var(--r-s); flex: none; } .ws-tb-team .ws-tb-k .ws-sq svg { width: 16px; height: 16px; }
.ws-in-by { display: block; color: var(--mu); overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-mono); line-height: var(--lh-tight); } .ws-in-s { line-height: var(--lh-tight); } .ws-in-a { overflow: hidden; }
/* Buttons are 28px high with meta-size words (Raimo, 13 Nov 2026: "our buttons are too big"). A tip shows at once. */
.ws .ws-btn, .ws-dialog .ws-btn { min-height: 28px; padding: 0 10px; font-size: var(--fs-meta); border-radius: var(--r-m); } .ws .ws-btn.ws-act { gap: 6px; padding: 0 10px 0 8px; } .ws .ws-btn.ws-act > svg, .ws .ws-btn > svg.ws-runico { width: 15px; height: 15px; }
.ws-act-busy { min-height: 28px; font-size: var(--fs-meta); }
@media (hover: none) { .ws .ws-btn, .ws-dialog .ws-btn { min-height: 44px; } }
.ws [data-tip]:hover::after, .ws [data-tip]:focus-visible::after { animation: none; }
/* The conversation on one thing, in a dialog. */
.ws-talk .ws-talk-t { max-height: 46vh; overflow-y: auto; margin-bottom: 12px; }
.ws-dialog textarea[readonly] { font-family: var(--mono); font-size: var(--fs-mono); }

/* The consent bar (spec 32 section 8). One bar, two equal buttons, no card, on every page until a choice. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--p1); border-top: 1px solid var(--line2); }
.consent[hidden] { display: none; }
.consent-in { max-width: var(--max); margin: 0 auto; padding: var(--s4) var(--margin); display: flex; gap: var(--s5); align-items: center; justify-content: space-between; }
.consent-in p { margin: 0; max-width: var(--w-read); font-size: var(--fs-body); line-height: var(--lh); color: var(--tx2); }
.consent-acts { display: flex; gap: var(--s3); flex-shrink: 0; }
/* on a phone the question takes a strip, not half the screen, and never covers the field you came for (the testers, 15 Nov 2026) */
.consent-short { display: none; }
@media (max-width: 599px) { .consent-in { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)); }
  .consent-in p { font-size: 13px; line-height: 1.4; } .consent-acts { gap: 8px; } .consent-acts .btn { flex: 1; min-height: 36px; padding: 0 12px; font-size: 14px; }
  .consent-long { display: none; } .consent-short { display: inline; } }
/* A plain table on a public page (the cookie table on /privacy). */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-meta); line-height: var(--lh); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3) var(--s2) 0; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--mu); font-weight: 600; }
@media (max-width: 599px) { .tbl { display: block; overflow-x: auto; } }

/* The first steps of a new person and feedback (spec 52, design system §27). In the menu, above what is always there. */
.ws-fs { margin-top: auto; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.ws-fs + .ws-rest { margin-top: 12px; }
.ws-fs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: st; }
.ws-fs li { counter-increment: st; display: flex; font-size: var(--fs-meta); line-height: var(--lh-tight); color: var(--tx2); }
.ws-fs li > span { padding: 4px 8px 4px 34px; position: relative; }
.ws-fs li > span::before, .ws-fs li button::before { content: counter(st); position: absolute; left: 8px; top: 3px; width: 18px; height: 18px; border-radius: var(--r-s); border: 1px solid var(--line2); display: grid; place-items: center; font-size: var(--fs-meta); line-height: var(--lh-tight); }
.ws-fs li button { position: relative; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; min-height: 0; padding: 6px 8px 6px 34px; background: var(--p2); }
.ws-fs li button:hover { background: var(--p3); }
.ws-fs li button::before { top: 7px; border-color: var(--tx); color: var(--tx); }
.ws-fs li button b { font-weight: 650; color: var(--tx); font-size: var(--fs-body); line-height: var(--lh-tight); }
.ws-fs li button i { font-style: normal; color: var(--tx2); font-size: var(--fs-meta); line-height: var(--lh-tight); }
.ws-nav button.ws-fb { color: var(--tx2); }

/* How a project holds together (home, 14 Nov 2026): an org chart of one project. Lines join what belongs together; a
   relation between pieces is a line of its own under the piece, with the icon of what it points at. */
.hp-kt-task { --c: var(--pot); } .hp-kt-project { --c: var(--tx); }

/* Work between the team (spec 53, design system §28): the scope of a member, and the table of items in hand. */
.ws-scope-ps { display: flex; flex-wrap: wrap; gap: 4px 16px; flex-basis: 100%; padding-left: 24px; }
.ws-scope:not(:has(input[value="some"]:checked)) .ws-scope-ps { display: none; }
.ws-tb-items td:first-child { max-width: 360px; }
.ws-tb-items .ws-tb-k { display: inline-flex; align-items: center; gap: 8px; }
.ws-kh-row h2 i { font-style: normal; font-weight: 400; color: var(--mu); margin-left: 6px; }
/* The catalogue in the Add an agent dialog (spec 53 §3, design system §28). */
.ws-cat { max-height: min(52vh, 520px); overflow: auto; margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ws-cat-h { margin: 14px 0 4px; font-size: var(--fs-meta); color: var(--mu); }
.ws-cat-a { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: var(--r-m); cursor: pointer; }
.ws-cat-a:hover { background: var(--p2); } .ws-cat-a:has(input:checked) { background: var(--p3); }
.ws-cat-a input { margin-top: 4px; } .ws-cat-a b { display: block; font-weight: 600; } .ws-cat-a b em { font-style: normal; font-weight: 400; color: var(--mu); font-size: var(--fs-meta); }
.ws-cat-a i { display: block; font-style: normal; color: var(--tx2); font-size: var(--fs-meta); line-height: var(--lh-tight); }
.ws-dialog .ws-cat-a { display: flex; flex-direction: row; margin: 0; font-weight: 400; }
.ws-dialog .ws-cat-a input { width: auto; flex: none; margin: 4px 0 0; }

/* The board of a project and an opened ticket (spec 54 §3, design system §29). */
.ws-bd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; margin-top: 8px; }
.ws-bd-col { min-height: 120px; padding: 8px; border-radius: var(--r-l); background: var(--p1); display: flex; flex-direction: column; gap: 8px; transition: background-color 120ms ease; }
.ws-bd-h { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 4px 2px; font-size: var(--fs-meta); }
.ws-bd-h b { font-weight: 600; color: var(--tx); } .ws-bd-h > i:not(.ws-st) { font-style: normal; color: var(--mu); flex: 1; }
.ws-bd-h .ws-icon-btn { width: 24px; height: 24px; min-height: 24px; }
.ws-bd-lane { margin: 24px 0 0; font-size: var(--fs-meta); font-weight: 600; color: var(--tx2); } .ws-bd-lane i { font-style: normal; font-weight: 400; color: var(--mu); }
.ws-card-t { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); color: var(--tx); text-align: left; font: inherit; cursor: pointer; transition: border-color 120ms ease; }
.ws-card-t:hover { border-color: var(--line2); } .ws-card-t:active { transform: scale(.99); }
.ws-card-why { font-size: var(--fs-meta); color: var(--tx2); }
.ws-st { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--mu); flex: none; }
.ws-pri { display: inline-flex; align-items: flex-end; gap: 1px; height: 10px; } .ws-pri b { width: 2px; background: var(--mu); }
.ws-pri b:nth-child(1) { height: 4px; } .ws-pri b:nth-child(2) { height: 7px; } .ws-pri b:nth-child(3) { height: 10px; }
.ws-drawer { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
.ws-tk-props { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 12px 0; }
.ws-tk-p { display: flex; gap: 8px; align-items: center; font-size: var(--fs-meta); } .ws-tk-p > span { width: 110px; flex: none; color: var(--mu); }
.ws-tk-p b { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: var(--tx); } .ws-tk-p em { font-style: normal; color: var(--tx2); }
.ws-tk-p .ws-sq { width: 20px; height: 20px; font-size: var(--fs-meta); }
.ws-tk-res { margin: 12px 0; padding: 12px; border-left: 2px solid var(--ok); background: var(--p1); } .ws-tk-res b { font-weight: 600; } .ws-tk-res p { margin: 6px 0; }
.ws-tk-h { margin: 20px 0 8px; font-size: var(--fs-body); font-weight: 600; }
.ws-tk-tl { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; border-left: 1px solid var(--line2); display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-meta); color: var(--tx2); }
.ws-tk-tl b { font-weight: 600; color: var(--tx); } .ws-tk-tl em { font-style: normal; color: var(--mu); margin-left: 8px; }
.ws-tk-said > span { display: flex; align-items: center; gap: 6px; } .ws-tk-said .ws-sq { width: 20px; height: 20px; } .ws-tk-said p { margin: 4px 0 0; color: var(--tx); font-size: var(--fs-body); line-height: var(--lh); }
@media (max-width: 899px) { .ws-bd { grid-template-columns: 1fr; } .ws-tk-props { grid-template-columns: 1fr; } }

/* The one act of an inbox row (spec 54 §4, design system §30): a quiet word in a fixed column, the same on every row. */
.ws-in-go { justify-self: end; padding: 4px 8px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--tx); font: inherit; font-size: var(--fs-meta); font-weight: 600; cursor: pointer; }
.ws-in-go { display: inline-flex; align-items: center; gap: 6px; } .ws-in-go > svg { width: 14px; height: 14px; flex: none; }      /* an icon in a text action keeps its size (Raimo, 17 Nov 2026: the copy icons filled the team rows) */
.ws-in-go:hover { background: var(--p3); } .ws-in-go:active { transform: scale(.97); }
.ws-in-go span { display: inline; }
.ws-in-a { display: flex; justify-content: flex-end; }
.ws-in-acts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ws-in-s { display: flex; align-items: center; gap: 6px; } .ws-in-s .ws-st { width: 10px; height: 10px; }

/* The menu, tight (14 Nov 2026, design system §31). One row height (30px), one type size, a 16px icon for every place, counts in
   mono at the right, the section words quiet. It overrides what came before in this file for the rail. */
.ws-rail { padding: 12px 8px 12px; gap: 14px; font-size: var(--fs-meta); }
.ws-rail .ws-nav { gap: 1px; }
.ws-rail .ws-nav > b { font-size: var(--fs-meta); font-weight: 600; color: var(--mu); }
.ws-rail .ws-nav > b { display: flex; align-items: center; min-height: 26px; padding: 0 8px; }
.ws-rail .ws-nav > button, .ws-rail-new { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 30px; padding: 0 8px; border: 0; border-radius: var(--r-m); background: transparent; color: var(--tx2); font: inherit; font-size: var(--fs-meta); text-align: left; cursor: pointer; width: 100%; }
.ws-rail .ws-nav > button:hover, .ws-rail-new:hover { background: var(--p2); color: var(--tx); }
.ws-rail .ws-nav > button[aria-current="true"] { background: var(--p3); color: var(--tx); font-weight: 600; }
.ws-rail .ws-nav > button[aria-current="true"] .ws-ri { color: var(--tx); }
.ws-ri { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--mu); } .ws-ri svg, .ws-ri .ws-ico { width: 16px; height: 16px; }
.ws-rl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-rc { margin-left: auto; font-family: var(--mono); font-size: var(--fs-mono); color: var(--mu); font-weight: 400; }
.ws-rail-new { color: var(--tx); font-weight: 600; } .ws-rail-new .ws-ri { color: var(--tx); }
.ws-rail .ws-fold > button { min-height: 30px; font-size: var(--fs-meta); padding: 0 8px; }
.ws-rail .ws-fold > button > span:first-child { font-weight: 600; color: var(--tx); }
.ws-rail .ws-nav .ws-tree-nav { margin: 0 0 4px 14px; }
.ws-rail .ws-nav .ws-tree-nav .ws-tree-n { min-height: 28px; gap: 8px; }
.ws-rail .ws-nav .ws-tree-nav .ws-kt { width: 16px; height: 16px; border-radius: var(--r-s); } .ws-rail .ws-nav .ws-tree-nav .ws-kt .ws-ico, .ws-rail .ws-nav .ws-tree-nav .ws-kt svg { width: 12px; height: 12px; }
.ws-rail .ws-fs { padding-top: 8px; }
.ws-rail .ws-nav > button.ws-menu { display: none; }
@media (max-width: 899px) { .ws-rail .ws-nav > button.ws-menu { display: flex; } }
.ws-rail .ws-fold { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 2px; }
.ws-rail .ws-fold > button[data-act="tab"] { padding-left: 4px; }
.ws-rail .ws-fs li button b { font-size: var(--fs-meta); }
.ws-rail .ws-fold > button[data-act="tab"] { display: flex; justify-content: flex-start; align-items: center; gap: 8px; min-height: 30px; border-radius: var(--r-m); color: var(--tx); }
.ws-rail .ws-fold > button[data-act="tab"] .ws-rl { font-weight: 600; }

/* The project as a tree (home, 14 Nov 2026: "make it look more like a folder and nesting"). Four columns; the name column indents by
   depth with a guide line; the last column says what each piece is linked to. */
.hp-tree { border: 1px solid var(--line2); border-radius: 14px; background: var(--p1); overflow: hidden; font-size: 14px; }
.hp-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px; align-items: center; padding: 0 20px; min-height: 38px; border-top: 1px solid var(--line); color: var(--tx2); }
.hp-tr-n { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: calc(var(--d) * 22px); position: relative; }
.hp-tr-n b { font-weight: 400; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tr-ind { position: absolute; left: calc(var(--d) * 22px - 13px); top: -19px; bottom: 50%; width: 9px; border-left: 1px solid var(--line2); border-bottom: 1px solid var(--line2); border-bottom-left-radius: 4px; display: none; }
.hp-tr:not([style*="--d:0"]) .hp-tr-ind { display: block; }
.hp-tr .hp-kt { width: 22px; height: 22px; margin-right: 0; border-radius: 5px; } .hp-tr .hp-kt svg { width: 14px; height: 14px; }
.hp-kt-folder, .hp-kt-ledger { --c: var(--tx2); } .hp-kt-ticket { --c: var(--pot); }
.hp-tr-top .hp-tr-n b { font-weight: 650; } .hp-tr-now { background: color-mix(in srgb, var(--tx) 4%, transparent); } .hp-tr-now .hp-tr-n b { font-weight: 600; }
.hp-tr-past .hp-tr-n b, .hp-tr-next .hp-tr-n b { color: var(--tx2); }
.hp-tr-st em { font-style: normal; } .hp-tr-st em.ok { color: var(--ok); }
.hp-tr-l { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tr-a { width: 14px; height: 14px; flex: none; color: var(--mu); }
@media (max-width: 899px) {
  .hp-tr { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 14px; row-gap: 2px; }
  .hp-tr > span:nth-child(2) { display: none; } .hp-tr-l { grid-column: 1 / -1; padding-left: calc(var(--d) * 22px + 30px); font-size: 13px; }
}
/* A muted project in the tight menu: the word dims and says so after the name, on the same line. */
/* An open project in the menu holds what is under it (Raimo, 14 Nov 2026: "it not clear where the project ends now"): a guide line
   runs from the project's folder down along its pages and rounds, and the next project starts after a gap. */
.ws-rail .ws-nav .ws-tree-nav { margin: 2px 0 12px 15px; padding-left: 7px; border-left: 1px solid var(--line2); }
.ws-rail .ws-nav .ws-tree-nav + .ws-fold, .ws-rail .ws-nav .ws-tree-nav + .ws-tree-nav { margin-top: 2px; }
.ws-rail .ws-fold:has(+ .ws-tree-nav) > button[data-act="tab"] .ws-ri { color: var(--tx); }

/* One ticket, the same everywhere (design system §32): its key before the title in a row, the form's fields side by side,
   who has it and the priority changed in place in the opened ticket. */
.ws-in-t .ws-in-key { font-family: var(--mono); font-size: var(--fs-meta); color: var(--mu); margin-right: 10px; flex: none; }
.ws-tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .ws-tk-grid { grid-template-columns: 1fr; } }
.ws-tk-p .ws-tk-in { width: auto; min-width: 140px; padding: 4px 8px; font-size: var(--fs-meta); }

/* The ticket (spec 57; design system §33): one unit in three shapes, in the manner of the menu: small, quiet, no outlined buttons.
   The type mark is a 20px tile in the type's colour; acts are quiet text buttons, the first one filled. */
.ws-ty { --c: var(--tx2); display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; border-radius: var(--r-s); color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.ws-ty svg { width: 14px; height: 14px; }
.ws-ty-run { --c: var(--run); } .ws-ty-decide { --c: var(--pot); } .ws-ty-approve { --c: var(--con); } .ws-ty-look { --c: var(--enc); }
.ws-key { font-family: var(--mono); font-size: var(--fs-mono); color: var(--mu); }
.ws-tst { display: inline-flex; align-items: center; gap: 6px; } .ws-tst em { font-style: normal; color: var(--mu); }
.ws-tkb { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-s); background: none; color: var(--tx2); font: 400 var(--fs-meta)/1 inherit; cursor: pointer; }
.ws-tkb:hover { background: var(--p3); color: var(--tx); }
.ws-tkb-1 { background: var(--p3); color: var(--tx); font-weight: 600; } .ws-tkb-1:hover { background: color-mix(in srgb, var(--tx) 14%, var(--p3)); }
.ws-tkb:focus-visible { outline: 2px solid var(--pot); outline-offset: 1px; }
.ws-drawer .ws-tk-head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--mu); }
.ws-drawer .ws-tk-title { margin: 8px 0 4px; font-size: var(--fs-head); line-height: var(--lh-tight); font-weight: 600; }
.ws-drawer .ws-tk-props { padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ws-drawer .ws-tk-p { min-height: 28px; }
.ws-tk-p .ws-tk-in { height: 28px; min-width: 140px; padding: 0 8px; border: 0; border-radius: var(--r-s); background: var(--p2); color: var(--tx); font-size: var(--fs-meta); }
.ws-tk-p .ws-tk-in:hover { background: var(--p3); }
.ws-drawer .ws-tk-acts { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 4px; }
.ws-drawer .ws-tk-body .ws-acts { display: none; }
.ws-drawer .ws-tk-body { margin: 12px 0; font-size: var(--fs-body); }
.ws-drawer .ws-tk-say { min-height: 64px; }
.ws-drawer .ws-drow { justify-content: flex-end; gap: 4px; }
.ws-in-who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; } .ws-in-who .ws-sq { width: 18px; height: 18px; flex: none; }
.ws-in-who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-in-row > .ws-ty { justify-self: center; }
.ws-tk-link { padding: 0; border: 0; background: none; color: var(--tx); font: inherit; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; cursor: pointer; } .ws-tk-link:hover { text-decoration-color: var(--tx); }
.ws-cs { margin: 0 0 32px; } .ws-cs > h2 { margin: 0 0 12px; font-size: var(--fs-body); font-weight: 600; color: var(--tx2); }
.ws-cs-line { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: var(--fs-meta); } .ws-cs-i { display: inline-flex; align-items: center; gap: 6px; }
.ws-cs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ws-cs-panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; } .ws-cs-panel { width: auto; max-height: none; padding: 20px; border-radius: var(--r-l); background: var(--p1); }
.ws-dialog .ws-tk-acts, .ws-cs-panel .ws-tk-acts, .ws-cs-line { display: flex; flex-wrap: wrap; gap: 4px; }
.ws-dialog .ws-tkb, .ws-cs .ws-tkb { display: inline-flex; width: auto; margin: 0; }
.ws-tk-body button, .ws-tk-body input, .ws-tk-body textarea, .ws-tk-body select, .ws-tk-body .ws-acts { display: none; }
.ws-cs-line { gap: 8px 20px; }
.ws-in-t .ws-in-key { display: inline-block; min-width: 7ch; }
/* What came back sits like the rest of the panel: no coloured bar (Raimo, 14 Nov 2026: "the green line is Claude design"). */
.ws-drawer .ws-tk-res, .ws-cs-panel .ws-tk-res { margin: 12px 0; padding: 0; border-left: 0; background: none; }
.ws-drawer .ws-tk-res b, .ws-cs-panel .ws-tk-res b { display: block; font-size: var(--fs-meta); font-weight: 400; color: var(--mu); }
.ws-tk-res p a, .ws-tk-said p a { color: var(--tx); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; word-break: break-all; } .ws-tk-res p a:hover, .ws-tk-said p a:hover { text-decoration-color: var(--tx); }

/* Your setup (spec 56; design system §34): what wakes the team, channels, agents and runs, with one piece of advice at the top. */
.ws-su-h { margin: 32px 0 10px; font-size: var(--fs-body); font-weight: 600; }
.ws-su-row { display: flex; align-items: center; gap: 10px; font-size: var(--fs-meta); } .ws-su-row b { font-weight: 600; } .ws-su-row span { color: var(--mu); }
.ws-su-adv { margin: 8px 0 8px; padding: 14px 16px; border-radius: var(--r-m); background: var(--p2); } .ws-su-adv > p { margin: 0 0 10px; }
.ws-su-prompt { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; } .ws-su-prompt p { flex: 1; margin: 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--p1); font: var(--fs-mono)/var(--lh) var(--mono); color: var(--tx2); }
.ws-su-more { margin-top: 10px; font-size: var(--fs-meta); color: var(--mu); } .ws-su-more summary { cursor: pointer; }
@media (max-width: 560px) { .ws-su-prompt { flex-direction: column; } }
.ws-in-t .ws-pri { margin-left: 8px; flex: none; }

/* ── Controls in the manner of the menu, and a ticket that says where it lives (14 Nov 2026) ─────────────────────
   Raimo: "the boxes and the selectors and the drop downs all feel like still of the old design system, not in line with the
   navigation bar". One quiet control: no outline, the panel tone, the menu's hover and radius, a ring only for the keyboard. */
.ws, .ws-dialog { color-scheme: dark; }
.ws select, .ws-dialog select { appearance: none; -webkit-appearance: none; min-height: 36px; padding: 0 30px 0 10px; border: 0; border-radius: var(--r-m); background-color: var(--p2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='rgb(139,144,152)' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 16px; color: var(--tx); cursor: pointer; transition: background-color 120ms ease; }
.ws select:hover, .ws-dialog select:hover { background-color: var(--p3); }
.ws select:disabled, .ws-dialog select:disabled { opacity: .55; cursor: progress; }
.ws-field { border: 1px solid var(--line); background: var(--p1); transition: border-color 120ms ease, background-color 120ms ease; }
.ws-field:hover { border-color: var(--line2); }
.ws-field:focus { border-color: var(--mu); background: var(--p2); outline: 0; }
.ws select:focus, .ws-dialog select:focus { outline: 0; }
.ws select:focus-visible, .ws-dialog select:focus-visible, .ws-field:focus-visible { outline: 2px solid var(--pot); outline-offset: 1px; }
.ws-tk-p .ws-tk-in { min-height: 28px; height: 28px; padding: 0 26px 0 6px; border-radius: var(--r-s); background-color: transparent; }
.ws-tk-p .ws-tk-in:hover { background-color: var(--p3); }
.ws-tk-set { display: inline-flex; align-items: center; gap: 8px; }
.ws-tk-ok { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-meta); color: var(--mu); }
.ws-tk-ok .ws-ico { width: 14px; height: 14px; }
@keyframes ws-ok-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.ws-tk-title:focus { outline: 0; }
.ws-tk-where { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; font-size: var(--fs-meta); color: var(--mu); }
.ws-tk-where > i { font-style: normal; color: var(--dim); }
.ws-tk-where .ws-tk-link { color: var(--tx2); } .ws-tk-where .ws-tk-link:hover { color: var(--tx); }
.ws-tk-part { display: inline-flex; align-items: center; gap: 6px; }
.ws-tk-part .ws-kt, .ws-card-bl .ws-kt { width: 18px; height: 18px; } .ws-tk-part .ws-kt .ws-ico, .ws-card-bl .ws-kt .ws-ico { width: 12px; height: 12px; }
.ws-tk-none { color: var(--warn); }
.ws-tk-tie { color: var(--warn); }
.ws-tk-ago { font-style: normal; color: var(--mu); }
.ws-in-p small { display: block; font-size: var(--fs-meta); color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The card carries small marks: the part with its kind, the day, what it waits for, what was said, and how long it has been there. */
.ws-card-p { margin-left: auto; display: inline-flex; }
.ws-card-bl { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-meta); color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cms { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.ws-cm { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; }
.ws-cm .ws-ico { width: 13px; height: 13px; }
.ws-cm-late { color: var(--warn); }
/* Every priority has its bars, so a card always shows it: low one, normal two, high three, urgent in the attention colour. */
/* The ticket as a sheet on the right, after Linear, Zendesk and Intercom (14 Nov 2026): the work and its activity on the left, the
   properties on the right, the one act that moves the ticket filled, and the cross the only way to close the panel. */
.ws-dialog.ws-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(920px, 100vw); max-width: 100vw; height: 100vh; max-height: 100vh; padding: 0; border: 0; border-left: 1px solid var(--line2); border-radius: 0; background: var(--p1); overflow: hidden; }
.ws-dialog.ws-drawer[open] { animation: ws-sheet-in 220ms var(--out); }
@keyframes ws-sheet-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ws-dialog.ws-drawer::backdrop { background: rgba(0,0,0,.35); }
.ws-drawer > form { display: flex; flex-direction: column; height: 100%; }
.ws-drawer .ws-tk-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); font-size: var(--fs-meta); color: var(--mu); }
.ws-tk-head .ws-tk-x { margin-left: auto; flex: none; }
.ws-tk-cols { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.ws-tk-main { min-width: 0; overflow: auto; padding: 16px 20px 0; display: flex; flex-direction: column; }
.ws-tk-side { overflow: auto; padding: 16px 14px; border-left: 1px solid var(--line); background: var(--bg); }
.ws-drawer .ws-tk-title { margin: 0 0 8px; font-size: var(--fs-head); line-height: var(--lh-tight); font-weight: 650; }
.ws-tk-next { margin: 0 0 12px; padding: 8px 10px; border-radius: var(--r-s); background: var(--p2); font-size: var(--fs-body); line-height: var(--lh); color: var(--tx); max-width: var(--w-read); }
.ws-drawer .ws-tk-acts { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 16px; }
.ws-drawer .ws-tkb { height: 28px; padding: 0 10px; border-radius: var(--r-s); font-size: var(--fs-meta); }
/* The primary act: filled in the colour of what you do, so it is never mistaken for a quiet act or for closing the panel. */
.ws-drawer .ws-tkb-1 { background: var(--pot); color: #fff; font-weight: 600; }
.ws-drawer .ws-tkb-1:hover { background: color-mix(in srgb, #fff 12%, var(--pot)); color: #fff; }
.ws-drawer .ws-tkb:disabled { opacity: .45; cursor: default; } .ws-drawer .ws-tkb:disabled:hover { background: none; color: var(--tx2); }
.ws-drawer .ws-tk-h { margin: 16px 0 8px; font-size: var(--fs-meta); font-weight: 600; color: var(--mu); }
.ws-drawer .ws-tk-tl { flex: 1 0 auto; }
.ws-tk-compose { position: sticky; bottom: 0; margin: 12px -20px 0; padding: 0 20px 12px; border-top: 1px solid var(--line2); background: var(--p1); }
.ws-drawer .ws-tk-say { width: 100%; min-height: 52px; border-radius: var(--r-s); }
.ws-tk-send { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.ws-tk-kb { margin-left: auto; font-size: var(--fs-meta); color: var(--dim); }
.ws-tk-side .ws-tk-props { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); }
.ws-tk-side .ws-tk-p { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 28px; font-size: var(--fs-meta); }
.ws-tk-side .ws-tk-p > span { width: auto; color: var(--mu); }
.ws-tk-side .ws-tk-p > b { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.ws-tk-side .ws-tk-in { width: 100%; min-width: 0; }
.ws-tk-st { padding-bottom: 8px; } .ws-tk-st .ws-tst { font-weight: 600; }
.ws-tk-run { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; padding: 0; }
.ws-tk-run li { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px; border-radius: var(--r-s); background: var(--p2); font-size: var(--fs-meta); color: var(--dim); }
.ws-tk-run li b { font-weight: 600; }
.ws-tk-where { flex: 1 1 auto; }
@media (max-width: 720px) {
  .ws-tk-cols { grid-template-columns: minmax(0, 1fr); overflow: auto; } .ws-tk-main { overflow: visible; } .ws-tk-side { border-left: 0; border-top: 1px solid var(--line); }
  .ws-tk-run { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-tk-kb { display: none; }
}
.ws-card-st { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-meta); color: var(--tx2); }
.ws-tb-may { display: block; font-size: var(--fs-meta); color: var(--mu); }
/* The bar at the foot of a ticket: the verbs as tabs, the message, and one button that says the verb. */
.ws-tk-mode { height: 32px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--mu); font-size: var(--fs-meta); cursor: pointer; }
.ws-tk-mode:hover { color: var(--tx); } .ws-tk-mode[aria-selected="true"] { color: var(--tx); font-weight: 600; border-bottom-color: var(--tx); }
.ws-tk-mode:focus-visible { outline: 2px solid var(--pot); outline-offset: -2px; }
.ws-tk-to { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: var(--fs-meta); color: var(--mu); } .ws-tk-to .ws-tk-in { min-height: 28px; padding: 0 26px 0 8px; border-radius: var(--r-s); }
.ws-tk-send { justify-content: flex-end; } .ws-tk-send .ws-tk-kb { margin-left: 0; margin-right: 4px; }
.ws-dialog.ws-drawer .ws-tk-side .ws-tk-props, .ws-dialog.ws-drawer .ws-tk-props { border-radius: 0; }
/* Polish after looking at the sheet (14 Nov 2026): nothing wraps mid-word, the reason sits under its status, the activity is as long as it is. */
.ws-tk-ok { white-space: nowrap; flex: none; } .ws-tk-side .ws-tk-set { display: flex; min-width: 0; } .ws-tk-side .ws-tk-set .ws-tk-in { flex: 1 1 auto; }
.ws-tk-st .ws-tst { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; align-items: center; } .ws-tk-st .ws-tst em { grid-column: 2; font-weight: 400; }
.ws-drawer .ws-tk-tl { flex: 0 0 auto; margin-bottom: 16px; } .ws-tk-compose { margin-top: auto; }
.ws-tk-side .ws-kt { width: 20px; height: 20px; } .ws-tk-side .ws-kt .ws-ico { width: 14px; height: 14px; }
.ws-drawer .ws-field:focus-visible { outline: 0; border-color: var(--tx2); }
/* The verb button with its arrow (after GitHub's close and merge buttons): the button says what it does, the arrow opens the rest. */
.ws-tk-split { position: relative; display: inline-flex; gap: 1px; }
.ws-tk-split > .ws-tkb:first-child { border-radius: var(--r-s) 0 0 var(--r-s); } .ws-tk-split > .ws-tk-pick { padding: 0 6px; border-radius: 0 var(--r-s) var(--r-s) 0; } .ws-tk-split > .ws-tkb:only-child { border-radius: var(--r-s); }
.ws-tk-pick .ws-ico { width: 14px; height: 14px; }
.ws-tk-menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 2; min-width: 260px; padding: 4px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--p3); box-shadow: 0 12px 32px -8px rgba(0,0,0,.6); display: flex; flex-direction: column; }
.ws-tk-menu[hidden] { display: none; }
.ws-tk-menu .ws-tk-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: auto; padding: 8px 10px; border: 0; border-radius: var(--r-s); margin: 0; text-align: left; color: var(--tx); }
.ws-tk-menu .ws-tk-mode b { font-weight: 600; } .ws-tk-menu .ws-tk-mode span { color: var(--mu); }
.ws-tk-menu .ws-tk-mode:hover, .ws-tk-menu .ws-tk-mode:focus-visible { background: var(--p2); outline: 0; } .ws-tk-menu .ws-tk-mode[aria-checked="true"] b::after { content: " ✓"; color: var(--ok); }
.ws-tk-compose { padding-top: 12px; }

/* ── The codes of a ticket (spec 57 §10, 14 Nov 2026), after GitHub's lists: a closed vocabulary drawn the same everywhere. ──
   A state is an icon with a colour. What a ticket belongs to is a pill. Metadata is an icon and a value. A list is a box with a
   header that counts and filters. Verbs are under a menu, each with its icon; the one that drops is red and last. */
.ws-sc { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--mu); } .ws-sc svg, .ws-badge svg, .ws-vi svg, .ws-mt svg, .ws-kb svg { width: 16px; height: 16px; display: block; }
.ws-sc-todo { color: var(--mu); } .ws-sc-proposed { color: var(--con); } .ws-sc-queued { color: var(--tx2); } .ws-sc-ready { color: var(--run); } .ws-sc-progress { color: var(--con); }
.ws-sc-held { color: var(--mu); } .ws-sc-blocked { color: var(--warn); } .ws-sc-back { color: var(--pot); } .ws-sc-away { color: var(--dim); } .ws-sc-done { color: var(--ok); } .ws-sc-dropped { color: var(--dim); }
.ws-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 6px; border-radius: var(--r-l); font-size: var(--fs-meta); background: color-mix(in srgb, currentColor 14%, transparent); white-space: nowrap; }
.ws-badge b { font-weight: 600; color: var(--tx); }
.ws-pill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 22px; padding: 0 8px 0 5px; border-radius: var(--r-s); font: var(--fs-mono)/1 var(--mono); color: var(--c, var(--tx2)); background: color-mix(in srgb, var(--c, var(--tx2)) 13%, transparent); white-space: nowrap; }
.ws-pill > span { overflow: hidden; text-overflow: ellipsis; } .ws-pill svg { width: 13px; height: 13px; flex: none; }
.ws-pill-build { --c: var(--con); } .ws-pill-loop { --c: var(--enc); } .ws-pill-process { --c: var(--cns); } .ws-pill-round { --c: var(--pot); } .ws-pill-n { --c: var(--tx2); padding-left: 8px; }
.ws-mt { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; } .ws-mt svg { width: 14px; height: 14px; } .ws-mt-late { color: var(--warn); }
.ws-vi { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--mu); }
/* the list as a box */
.ws-box { border: 1px solid var(--line2); border-radius: var(--r-m); overflow: hidden; }
.ws-box-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 48px; padding: 6px 16px; background: var(--p1); border-bottom: 1px solid var(--line2); font-size: var(--fs-meta); }
.ws-box-h b { font-weight: 600; color: var(--tx); } .ws-box-f { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.ws-box-none { padding: 40px 16px; text-align: center; color: var(--mu); font-size: var(--fs-body); }
.ws .ws-fl { min-height: 28px; height: 28px; padding: 0 24px 0 8px; border: 0; border-radius: var(--r-s); background-color: transparent; background-position: right 4px center; background-size: 14px; color: var(--tx2); font-size: var(--fs-meta); cursor: pointer; }
.ws button.ws-fl { padding: 0 8px; background: none; } .ws .ws-fl:hover { background-color: var(--p3); color: var(--tx); }
.ws-box .ws-in-g { margin: 0; padding: 8px 16px; background: var(--p1); border-bottom: 1px solid var(--line); font-size: var(--fs-meta); font-weight: 600; color: var(--mu); }
/* the row */
.ws-tr { display: grid; grid-template-columns: 16px minmax(0, 1fr) minmax(0, 200px) auto 24px auto; gap: 12px; align-items: center; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.ws-tr:last-child { border-bottom: 0; } .ws-tr:hover { background: var(--p1); }
.ws-tr > .ws-sc { align-self: start; margin-top: 3px; }
.ws-tr-m { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ws-tr-t { padding: 0; border: 0; background: none; text-align: left; font-family: inherit; font-size: var(--fs-body); font-weight: 600; line-height: var(--lh-tight); color: var(--tx); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-tr-t:hover { color: var(--pot); } .ws-tr-t:focus-visible { outline: 2px solid var(--pot); outline-offset: 2px; border-radius: var(--r-s); }
.ws-sub2 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; font-size: var(--fs-meta); color: var(--mu); }
.ws-sub2 .ws-ty { width: 16px; height: 16px; border-radius: var(--r-s); } .ws-sub2 .ws-ty svg { width: 11px; height: 11px; }
.ws-cause { color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; } .ws-cause::before { content: "· "; color: var(--dim); } .ws-by::before { content: "· "; color: var(--dim); }
.ws-tr-p { min-width: 0; display: flex; justify-content: flex-start; } .ws-tr-meta { display: inline-flex; align-items: center; gap: 12px; justify-content: flex-end; }
.ws-tr-w { display: inline-grid; place-items: center; } .ws-tr-w .ws-sq, .ws-tr-w .ws-kt { width: 20px; height: 20px; } .ws-tr-w .ws-kt .ws-ico { width: 14px; height: 14px; }
.ws-tr-a { display: inline-flex; align-items: center; gap: 2px; justify-content: flex-end; min-width: 96px; }
.ws-tr-a .ws-in-go { height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-s); background: none; color: var(--tx2); font-size: var(--fs-meta); cursor: pointer; } .ws-tr-a .ws-in-go:hover { background: var(--p3); color: var(--tx); }
.ws-kb { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--r-s); background: none; color: var(--mu); cursor: pointer; }
.ws-kb:hover, .ws-kb[aria-expanded="true"] { background: var(--p3); color: var(--tx); } .ws-kb:focus-visible { outline: 2px solid var(--pot); outline-offset: 1px; }
@media (max-width: 1099px) { .ws-tr { grid-template-columns: 16px minmax(0, 1fr) 24px auto; } .ws-tr-p, .ws-tr-meta { grid-column: 2; grid-row: auto; justify-content: flex-start; } .ws-tr-w { grid-column: 3; grid-row: 1; } .ws-tr-a { grid-column: 4; grid-row: 1; min-width: 0; } }
/* the menu */
.ws-menu { position: fixed; z-index: 60; min-width: 220px; padding: 6px; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p3); box-shadow: 0 16px 40px -8px rgba(0,0,0,.65); display: flex; flex-direction: column; color: var(--tx); font-family: var(--sans); font-size: var(--fs-meta); line-height: 1; }
.ws-menu hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--line2); }
.ws-menu-i { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border: 0; border-radius: var(--r-s); background: none; color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.ws-menu-i:hover, .ws-menu-i:focus-visible { background: var(--p2); outline: 0; } .ws-menu-red, .ws-menu-red .ws-vi { color: var(--warn); }
/* the card and the sheet speak the same codes */
.ws-card-t > .ws-pill { align-self: flex-start; } .ws-cms .ws-ty { width: 16px; height: 16px; } .ws-cms .ws-ty svg { width: 11px; height: 11px; }
.ws-tk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; }
.ws-tk-st .ws-badge { height: 24px; }
/* the legend */
.ws-leg { border: 1px solid var(--line2); border-radius: var(--r-m); overflow: hidden; margin: 0 0 32px; max-width: 880px; }
.ws-leg-h { padding: 12px 16px; background: var(--p1); border-bottom: 1px solid var(--line2); font-size: var(--fs-meta); } .ws-leg-h b { font-weight: 600; color: var(--tx); margin-right: 8px; } .ws-leg-h span { color: var(--mu); }
.ws-leg-r { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 44px; padding: 6px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-meta); color: var(--tx2); } .ws-leg-r:last-child { border-bottom: 0; }
.ws-leg-r > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--tx); }
.ws-dialog.ws-drawer.ws-drawer-still[open] { animation: none; }
.ws-tr[aria-current="true"] { background: var(--p2); }
.ws-tkb-run { gap: 6px; } .ws-tkb-run svg { width: 16px; height: 16px; color: var(--run); }
/* Buttons after GitHub (Raimo, 14 Nov 2026: "less rounded corners and not so thick outline of the button"): a quiet fill, a hairline, the small corner. */
.ws .ws-btn, .ws-dialog .ws-btn { background: var(--p2); border-color: var(--line); border-radius: var(--r-m); }
.ws .ws-btn:hover, .ws-dialog .ws-btn:hover { background: var(--p3); border-color: var(--line2); }
.ws .ws-btn.ws-primary, .ws-dialog .ws-btn.ws-primary { background: var(--p3); border-color: var(--line2); }
.ws .ws-btn.ws-quiet { background: none; border-color: transparent; }

/* ── the control room on the core (spec 60; design system §37) ───────────────────────────────
   One line per unit, the result of a unit, a count, the four steps of a setup, and the sheet beside the list. */
.ws-core { flex-wrap: nowrap; }
.ws-core .ws-page { flex: 1 1 auto; }
.ws-tr.ws-u { grid-template-columns: var(--c1, 16px) var(--c2, 20px) minmax(120px, 1fr) minmax(0, 1.6fr) 48px 52px 64px 160px; padding-top: 7px; padding-bottom: 7px; }   /* Asked and Owner hold two marks and a hand-over (Raimo, 15 Nov 2026: overlap in Theirs) */
.ws-tr.ws-u > .ws-sc { align-self: center; margin-top: 0; }
.ws-tr.ws-u .ws-tr-t { font-size: var(--fs-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-tr.ws-u .ws-tr-a { display: flex; justify-content: flex-end; align-items: center; }
.ws-tr.ws-u-on { background: var(--p2); box-shadow: inset 2px 0 0 var(--pot); }
.ws-u-d { display: flex; gap: 8px; align-items: center; min-width: 0; overflow: hidden; font-size: var(--fs-meta); color: var(--mu); }
.ws-u-d > * { flex: none; } .ws-u-d .ws-cause { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ws-u-d s { color: var(--dim); }
.ws-th { padding-top: 4px; padding-bottom: 4px; font-size: var(--fs-mono); color: var(--mu); cursor: default; background: var(--p1); }
.ws-th:hover { background: var(--p1); } .ws-th span { white-space: nowrap; } 
.ws-none { color: var(--dim); cursor: default; }
.ws-gh { display: flex; gap: 8px; align-items: center; padding: 6px 12px 6px 16px; background: var(--p1); border-bottom: 1px solid var(--line); font-size: var(--fs-meta); }
.ws-gh b { font-weight: 600; } .ws-gh i { font-style: normal; font-family: var(--mono); font-size: var(--fs-mono); color: var(--mu); }
.ws-res { display: inline-flex; gap: 6px; align-items: center; padding: 0 6px; border: 1px solid var(--line2); border-radius: var(--r-s); font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ws-res::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: var(--r-s); background: var(--dim); } .ws-res-hit::before { background: var(--run); }
.ws-res i { font-style: normal; color: var(--dim); } .ws-res i::before { content: "≥ "; }
.ws-n { display: inline-flex; gap: 4px; align-items: center; font-style: normal; font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx2); margin-right: 6px; }
.ws-n.ws-n-wait { color: var(--pot); } .ws-n.ws-n-wait svg { width: 14px; height: 14px; color: currentColor; }   /* what waits, counted: its own name, so the old .ws-wait block does not reach it */ .ws-warn { color: var(--warn); }
.ws-need .ws-pill { border-style: dashed; }
.ws-su4 { display: inline-flex; gap: 4px; align-items: center; min-width: 0; }
.ws-su4-i { display: inline-flex; gap: 4px; align-items: center; padding: 0 6px; border: 1px dashed var(--line2); border-radius: var(--r-s); font-style: normal; font-size: var(--fs-mono); font-family: var(--mono); color: var(--dim); white-space: nowrap; }
.ws-su4-on { border-style: solid; color: var(--tx2); }
.ws-ini { font-size: var(--fs-mono); font-weight: 650; line-height: 1; }
.ws-kvs { flex-wrap: wrap; row-gap: 8px; } .ws-kv { display: inline-flex; gap: 8px; align-items: center; margin-left: 20px; font-size: var(--fs-meta); } .ws-kv i { font-style: normal; color: var(--mu); }
.ws-crumb { margin-bottom: 8px; } .ws-box-h .ws-btn { margin-left: 8px; } .ws-rq-head .ws-kb { margin-left: 4px; }
.ws-num { text-align: right; font-family: var(--mono); font-size: var(--fs-mono); } .ws-verb { font-weight: 600; color: var(--tx); }
.ws-err { margin: 0 0 12px; color: var(--warn); font-size: var(--fs-meta); }
.ws-sheet { position: fixed; z-index: 30; right: 0; top: var(--top); bottom: 0; width: min(620px, 94vw); border-left: 1px solid var(--line2); background: var(--p1); padding: 16px 24px 48px; overflow: auto; box-shadow: -24px 0 48px -24px rgba(0,0,0,.7); }
.ws-sheet .ws-tk-cols { display: block; } .ws-sheet .ws-tk-side { margin-top: 20px; } .ws-sheet .ws-tk-title { margin: 8px 0 4px; font-size: var(--fs-head); line-height: var(--lh-tight); font-weight: 600; }
.ws-sheet .ws-tk-head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--mu); } .ws-sheet .ws-tk-x { margin-left: auto; }
.ws-sheet .ws-tk-tl .ws-res, .ws-sheet .ws-tk-tl .ws-pill, .ws-sheet .ws-tk-tl .ws-tb-k { margin-right: 8px; }
.ws-uf form { display: flex; flex-direction: column; gap: 12px; min-width: min(360px, 80vw); } .ws-uf label { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-meta); color: var(--mu); }
.ws-uf .ws-tk-send { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
/* ws-af: the automation form, three steps in one dialog (17 Nov 2026, design Automation set-up) */
.ws-af form { width: min(640px, 92vw); gap: 16px; }
.ws-af-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: var(--fs-meta); color: var(--mu); }
.ws-af-steps li { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.ws-af-steps .ws-af-on { color: var(--tx); border-color: var(--pot); } .ws-af-steps .ws-af-done { border-color: var(--run); } .ws-af-steps .ws-af-done b { color: var(--run); }
.ws-af-in { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ws-af-in legend { color: var(--tx); font-weight: 600; font-size: var(--fs-meta); padding: 0 0 6px; }
.ws-af-in label { flex-direction: column; gap: 2px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line2); border-radius: var(--r-m); cursor: pointer; }
.ws-af-in label:has(input:checked) { border-color: var(--pot); background: rgba(76,125,255,.10); }
.ws-af-in input { position: absolute; opacity: 0; } .ws-af-in small { color: var(--mu); font-size: var(--fs-meta); }
.ws-af-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-af-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ws-af-rows > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ws-af-rows > li > b { width: 24px; height: 24px; border-radius: var(--pill); background: rgba(76,125,255,.16); color: var(--pot); font-size: var(--fs-meta); display: grid; place-items: center; }
.ws-af-rows > li.ws-af-ok > b { background: rgba(63,185,80,.16); color: var(--run); }
.ws-af-rows > li > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .ws-af-rows small { color: var(--mu); font-size: var(--fs-meta); }
.ws-af-kv { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 6px 0 12px; background: var(--p2); border: 1px solid var(--line2); border-radius: var(--r-m); }
.ws-af-kv span { width: 104px; flex: none; color: var(--mu); font-size: var(--fs-meta); } .ws-af-kv code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: var(--fs-mono); }
.ws-af-mk { display: flex; gap: 8px; } .ws-af-mk select { flex: 1; }
.ws-af-code { margin: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); font-family: var(--mono); font-size: var(--fs-mono); line-height: var(--lh); color: var(--tx2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-af .ws-tk-send { align-items: center; justify-content: space-between; } .ws-af .ws-tk-send:has(> :only-child), .ws-af .ws-tk-send:has([value="cancel"]) { justify-content: flex-end; }
.ws-af-st { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-meta); color: var(--mu); }
.ws-af-st i { width: 8px; height: 8px; border-radius: var(--pill); border: 1.5px dashed var(--mu); } .ws-af-live { color: var(--ok); } .ws-af-live i { border: 0; background: var(--run); }
@media (max-width: 599px) { .ws-af-in, .ws-af-when { grid-template-columns: minmax(0, 1fr); } }
/* ws-fp: the first page, until there is a project; ws-arrive: the dialog when the first one lands (17 Nov 2026, design First page after sign-up) */
.ws-solo .ws-fp { width: 100%; }
.ws-fp > div { width: min(640px, 100%); margin: 0 auto; padding-top: 72px; display: flex; flex-direction: column; gap: 24px; }
.ws-fp h1 { font-size: var(--fs-title); font-weight: 600; line-height: var(--lh-tight); margin: 0; }
.ws-fp-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ws-fp-rows > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ws-fp-rows > li > b { width: 24px; height: 24px; border-radius: var(--pill); background: rgba(76,125,255,.16); color: var(--pot); font-size: var(--fs-meta); display: grid; place-items: center; }
.ws-fp-rows > li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .ws-fp-rows code { font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx2); overflow-wrap: anywhere; }
.ws-fp-rows small { font-size: var(--fs-meta); color: var(--mu); }
.ws-fp-wait, .ws-fp-ok { display: flex; gap: 10px; align-items: center; margin: 0; font-size: var(--fs-meta); color: var(--mu); }
.ws-fp-wait i { width: 8px; height: 8px; border-radius: var(--pill); border: 1.5px dashed var(--mu); }
.ws-fp-ok { color: var(--ok); } .ws-fp-ok i { width: 8px; height: 8px; border-radius: var(--pill); background: var(--run); }
.ws-fp-next { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-meta); color: var(--mu); }
.ws-fp-next div { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: var(--fs-body); color: var(--dim); }
.ws-arrive form { gap: 16px; } .ws-arrive .ws-fp-ok { font-size: var(--fs-meta); } .ws-arrive h2 { font-size: var(--fs-title); line-height: var(--lh-tight); margin: 0; }
.ws-arrive .ws-uf-h { color: var(--tx2); margin: 0; } .ws-arrive .ws-tk-send { justify-content: flex-end; }
.ws-arrive .ws-tkb-1 { background: var(--pot); color: #fff; font-weight: 600; }
.ws-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2147483647; overflow: hidden; }
.ws-confetti i { position: absolute; top: 38%; border-radius: var(--r-s); opacity: 0; animation: ws-burst 1200ms var(--out) forwards; }
@keyframes ws-burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 60% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), 46vh) rotate(var(--r)); } }
@media (max-width: 599px) { .ws-fp > div { padding-top: 32px; } .ws-fp-rows > li { grid-template-columns: 28px minmax(0, 1fr); } .ws-fp-rows > li > .ws-btn { grid-column: 2; justify-self: start; } .ws-say-l { font-size: var(--fs-head); } }
.ws-tr.ws-u .ws-in-go { white-space: nowrap; }
.ws-sheet .ws-tkb-1 { background: var(--pot); color: #fff; font-weight: 600; }
@media (max-width: 1099px) {
  .ws-core { flex-wrap: wrap; } .ws-sheet { width: 100vw; border-left: 0; }
  .ws-tr.ws-u { grid-template-columns: var(--c1, 16px) var(--c2, 20px) minmax(0, 1fr) 48px 24px auto; }
  .ws-tr.ws-u > .ws-tr-t { grid-column: 3; grid-row: 1; } .ws-tr.ws-u > .ws-mt { grid-column: 4; grid-row: 1; } .ws-tr.ws-u > .ws-tr-w { grid-column: 5; grid-row: 1; } .ws-tr.ws-u > .ws-tr-a { grid-column: 6; grid-row: 1; }
  .ws-tr.ws-u > .ws-u-d { grid-column: 3 / -1; grid-row: 2; } .ws-tr.ws-u > .ws-u-ask, .ws-th { display: none; } .ws-u-hide { display: none; }
}
@media (max-width: 700px) {
  .ws-u-hide2 { display: none; } .ws-tr.ws-u .ws-tr-t { white-space: normal; } .ws-kv { margin-left: 0; margin-right: 16px; }
  .ws-tr.ws-u { grid-template-columns: var(--c1, 16px) var(--c2, 20px) minmax(0, 1fr) auto auto; } .ws-tr.ws-u > .ws-mt { grid-column: 3 / -1; grid-row: 3; justify-self: start; } .ws-tr.ws-u > .ws-tr-w { grid-column: 4; } .ws-tr.ws-u > .ws-tr-a { grid-column: 5; }
}
.ws-sheet-in { animation: ws-sheet-in 180ms var(--out); }
@keyframes ws-sheet-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ws-sheet-in { animation: none; } }
.ws-rail .ws-rail-old { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-m); color: var(--mu); font-size: var(--fs-meta); text-decoration: none; } .ws-rail .ws-rail-old:hover { color: var(--tx); background: var(--p2); }
.ws-h1b { all: unset; cursor: pointer; } .ws-h1b:hover { color: var(--pot); } .ws-h1b:focus-visible { outline: 2px solid var(--pot); outline-offset: 2px; border-radius: var(--r-s); }
.ws-rl { list-style: none; margin: 0; padding: 0; } .ws-rl li { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); min-width: 0; } .ws-rl li:last-child { border-bottom: 0; }
.ws-rl-t { font-size: var(--fs-meta); color: var(--tx); overflow-wrap: anywhere; min-width: 0; } .ws-rl-t b { font-weight: 600; } .ws-rl-hit { color: var(--run); }
.ws-rl-m { display: flex; gap: 10px; align-items: center; font-size: var(--fs-mono); color: var(--mu); } .ws-rl-m .ws-tb-k b { font-weight: 400; color: var(--mu); } .ws-rl-m .ws-sq, .ws-rl-m .ws-kt { width: 16px; height: 16px; }
.ws-notes { margin: 12px 0 4px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: var(--fs-meta); } .ws-notes dt { color: var(--mu); } .ws-notes dd { margin: 0; color: var(--tx); overflow-wrap: anywhere; }
.ws-sheet .ws-tk-acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; } .ws-copied { color: var(--run); }
.ws-core .ws-fold button { justify-content: flex-start; } .ws-core .ws-fold .ws-rl { flex: 1 1 auto; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-sheet .ws-tkb { font-size: var(--fs-meta); }

/* the sheet's actions, codified: one next step, what is added, run; rename and delete are icons at the end; owner and target are changed where they stand */
.ws-sheet .ws-tk-acts { align-items: center; } .ws-sheet .ws-tk-acts .ws-tkb { gap: 6px; } .ws-sheet .ws-tk-acts .ws-tkb svg { width: 16px; height: 16px; }
.ws-tk-end { display: inline-flex; margin-left: auto; } .ws-tk-end .ws-icon-btn { margin: 0; } .ws-tk-end .ws-icon-btn:hover, .ws-tk-pe:hover { background: var(--p3); color: var(--tx); }
.ws-tk-pe { display: inline-flex; align-items: center; gap: 6px; margin: -4px -6px; padding: 4px 6px; border: 0; border-radius: var(--r-s); background: none; color: inherit; font: inherit; cursor: pointer; }
.ws-tk-pe > svg { width: 14px; height: 14px; opacity: 0; color: var(--mu); } .ws-tk-pe:hover > svg, .ws-tk-pe:focus-visible > svg { opacity: 1; }
.ws-rm { position: fixed; z-index: 60; min-width: 168px; padding: 4px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--p2); box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.ws-rm button { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: var(--r-s); background: none; color: var(--tx); font: 400 var(--fs-meta)/1 inherit; text-align: left; cursor: pointer; }
.ws-rm button:hover, .ws-rm button:focus-visible { background: var(--p3); outline: 0; } .ws-rm svg { width: 16px; height: 16px; flex: none; color: var(--mu); }
.ws-sheet .ws-tk-title { display: flex; align-items: center; gap: 6px; } .ws-tk-pen { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; padding: 0; border: 0; border-radius: var(--r-s); background: none; color: var(--mu); cursor: pointer; }
.ws-tk-pen:hover { background: var(--p3); color: var(--tx); } .ws-tk-pen svg { width: 16px; height: 16px; }
.ws-inl { width: 100%; min-width: 0; } .ws-tk-p .ws-inl { width: 120px; padding: 4px 8px; font-size: var(--fs-meta); } .ws-tr .ws-inl { padding: 4px 8px; }
.ws-rm .ws-runico, .ws-sheet .ws-tkb-run .ws-runico { width: 18px; height: 18px; }
.ws-kv em { font-style: normal; color: var(--tx2); margin-left: 6px; }
.ws-a { color: var(--tx); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; overflow-wrap: anywhere; } .ws-a:hover { text-decoration-color: var(--tx); }
.ws-notes dd { display: flex; align-items: flex-start; gap: 6px; } .ws-notes dd .ws-tk-pen { width: 20px; height: 20px; margin: -1px 0; opacity: 0; } .ws-notes dd:hover .ws-tk-pen, .ws-notes .ws-tk-pen:focus-visible, .ws-notes .ws-tk-add { opacity: 1; }
.ws-notes dd .ws-tk-pen svg { width: 14px; height: 14px; } .ws-notes textarea.ws-inl { font: inherit; line-height: var(--lh); resize: vertical; }
.ws-core .ws-fold > .ws-fold-x { display: inline-grid; place-items: center; width: 16px; min-height: 30px; padding: 0; border: 0; background: none; color: var(--mu); cursor: pointer; } .ws-core .ws-fold > .ws-fold-x:hover { color: var(--tx); } .ws-fold-x svg { width: 14px; height: 14px; }
.ws-core .ws-fold-in { padding-left: 18px; } .ws-rail .ws-fold-in > button > span.ws-ri { color: var(--mu); } .ws-rail .ws-fold-in > button .ws-rl { font-weight: 400; color: var(--tx2); } .ws-rail .ws-fold-in > button[aria-current="true"] .ws-rl { color: var(--tx); }
.ws-notes dd .ws-tk-pen.ws-tk-add { opacity: 1; }
/* motion that says something: a long result runs past on hover, and what is running breathes */
.ws-res-t { flex: none; display: inline-block; } .ws-res-run { text-overflow: clip; } .ws-res-run .ws-res-t, .ws-res-run > i { animation: ws-tick var(--tick-t, 4s) linear infinite alternate; }
@keyframes ws-tick { 0%, 5% { transform: translateX(0); } 92%, 100% { transform: translateX(var(--tick, 0)); } }
.ws-core .ws-sc-progress svg { animation: ws-writing 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ws-res-run .ws-res-t, .ws-res-run > i, .ws-core .ws-sc-progress svg { animation: none; } }
/* a field in the control room on the core: the line lightens when it is yours, no ring; under its label one line says what goes in it */
.ws-core .ws-field:focus, .ws-core .ws-field:focus-visible, .ws-uf .ws-field:focus, .ws-uf .ws-field:focus-visible, .ws-uf select:focus-visible { outline: 0; border-color: var(--tx2); background: var(--p2); }
.ws-uf label > span { color: var(--tx); font-weight: 600; } .ws-uf-h { font-size: var(--fs-meta); line-height: var(--lh); color: var(--mu); margin-bottom: 4px; } .ws-uf .ws-field::placeholder { color: var(--dim); }
.ws-rm .ws-tb-k { display: inline-flex; align-items: center; gap: 8px; min-width: 0; } .ws-rm .ws-tb-k b { font-weight: 400; } .ws-rm .ws-sq { width: 20px; height: 20px; } .ws-rm .ws-sq svg { width: auto; height: auto; }
.ws-rm button > svg:last-child:not(:first-child) { margin-left: auto; color: var(--tx); } .ws-rm { max-height: min(360px, 70vh); overflow-y: auto; }
.ws-su4-n { flex-wrap: wrap; gap: 6px; } .ws-su4-n .ws-su4-i { gap: 6px; padding: 2px 8px; font-family: inherit; font-size: var(--fs-meta); } .ws-su4-i em { font-style: normal; color: var(--mu); } .ws-su4-n .ws-su4-on { color: var(--tx); }
.ws-rail .ws-fold-in .ws-kt { width: 20px; height: 20px; } .ws-rail .ws-fold-in .ws-kt .ws-ico { width: 14px; height: 14px; }
.ws-rail .ws-fold-in > button > .ws-kt, .ws-rail .ws-fold-in > button > .ws-kt .ws-ico { color: var(--c); opacity: 1; }
.ws-sheet .ws-tk-p > span { width: 130px; } .ws-sheet .ws-tk-p b .ws-kt { width: 20px; height: 20px; } .ws-sheet .ws-tk-p b .ws-kt .ws-ico { width: 14px; height: 14px; }
/* a round is Potentiality: its flag is blue wherever it stands */
.ws-core .ws-kt-round, .ws-sheet .ws-kt-round { --c: var(--pot); } .ws-core .ws-rail .ws-fold:not(.ws-fold-in) > button[data-do="go"] > .ws-ri, .ws-core .ws-rail .ws-fold:not(.ws-fold-in) > button[data-do="go"] > .ws-ri svg { color: var(--pot); }
.ws-uf select.ws-field { border: 1px solid var(--line2); background-color: var(--p1); min-height: 44px; padding: 10px 12px; color: var(--tx); cursor: pointer; }
ol.ws-rl { white-space: normal; overflow: visible; text-overflow: clip; } ol.ws-rl .ws-rl-t { white-space: normal; }
.ws-u-d > .ws-res { flex: 0 1 auto; min-width: 48px; }
/* setup on the core: the connection, the team and the catalogue, in the list design of the other pages */
.ws-su-own { display: inline-flex; gap: 8px; align-items: center; margin-left: auto; padding-left: 12px; flex: none; } .ws-u-d:has(.ws-su-own) { display: flex; align-items: center; min-width: 0; } .ws-u-d:has(.ws-su-own) .ws-cause { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* what one owns sits at the end of its line, never over the next column */ .ws-as { color: var(--pot); }
.ws-su-u { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: var(--tx); font: 400 var(--fs-meta)/1.4 inherit; text-align: left; cursor: pointer; } .ws-su-u > span:nth-child(2) { flex: 1 1 auto; min-width: 0; } .ws-su-u:hover > span:nth-child(2) { text-decoration: underline; }
.ws-su-u .ws-kt { width: 20px; height: 20px; } .ws-su-u .ws-kt .ws-ico { width: 14px; height: 14px; }
ol.ws-su-steps { counter-reset: st; } ol.ws-su-steps li { flex-direction: row; gap: 10px; } ol.ws-su-steps li::before { counter-increment: st; content: counter(st); flex: none; width: 16px; color: var(--mu); font-size: var(--fs-meta); }
.ws-sw { position: relative; width: 32px; height: 18px; padding: 0; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p1); cursor: pointer; } .ws-sw i { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--mu); transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 140ms ease; }
.ws-sw[aria-checked="true"] { border-color: var(--pot); } .ws-sw[aria-checked="true"] i { transform: translateX(14px); background: var(--pot); } @media (prefers-reduced-motion: reduce) { .ws-sw i { transition: none; } }
.ws-sheet a.ws-tkb { text-decoration: none; }
.ws-core .ws-box-h > b + .ws-n { margin: 0 auto 0 8px; }
.ws-ho { display: inline-flex; align-items: center; gap: 4px; } .ws-ho > svg { width: 14px; height: 14px; color: var(--mu); flex: none; } .ws-ho > .ws-tb-k:first-child { opacity: .55; }
/* home on the core: a project is a head with its counts and its team, its live rounds are the rows under it */
.ws-gh-p { gap: 12px; } .ws-gh-b { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; color: var(--tx); font: inherit; cursor: pointer; } .ws-gh-b b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ws-gh-b:hover b { text-decoration: underline; }
.ws-gh-n { display: inline-flex; gap: 10px; align-items: center; } .ws-gh-team { display: inline-flex; gap: 4px; align-items: center; margin-left: auto; } .ws-gh-p .ws-btn { min-height: 28px; padding: 0 8px; font-size: var(--fs-meta); }
.ws-gh-p .ws-kt { width: 20px; height: 20px; } .ws-gh-p .ws-kt .ws-ico { width: 14px; height: 14px; }
@media (max-width: 700px) { .ws-gh-n, .ws-gh-p .ws-btn { display: none; } }
.ws-core .ws-n.ws-wait { display: inline-flex; align-items: center; gap: 4px; } .ws-su4-i > svg { width: 14px; height: 14px; }
.ws-su-steps3 { list-style: none; margin: 0; padding: 4px 16px 8px; counter-reset: s3; } .ws-su-steps3 li { display: flex; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid var(--line); font-size: var(--fs-meta); } .ws-su-steps3 li:last-child { border-bottom: 0; }
.ws-su-steps3 li::before { counter-increment: s3; content: counter(s3); width: 16px; color: var(--mu); flex: none; } .ws-su-steps3 li > b { width: 160px; flex: none; font-weight: 600; color: var(--tx); } .ws-su-steps3 code { font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx); }
.ws-su-steps3 a.ws-tkb { text-decoration: none; gap: 6px; } .ws-su-steps3 a.ws-tkb svg { width: 14px; height: 14px; } .ws-su-steps3 .ws-runico { width: 18px; height: 18px; } .ws-su-steps3 .ws-tkb { gap: 6px; } .ws-core .ws-box-h > b + .ws-badge { margin: 0 auto 0 10px; }
@media (max-width: 700px) { .ws-su-steps3 li { flex-wrap: wrap; padding: 6px 0; } .ws-su-steps3 li > b { width: auto; } }
/* a hover label on the core: small, tight, barely rounded */
.ws-core [data-tip]:hover::after, .ws-core [data-tip]:focus-visible::after, .ws-sheet [data-tip]:hover::after, .ws-sheet [data-tip]:focus-visible::after { padding: 2px 6px; border-radius: var(--r-s); font-size: var(--fs-mono); line-height: var(--lh-tight); top: calc(100% + 4px); max-width: 220px; }
/* the home page: a round, running. Five moments on the left, one example round on the right, drawn with the product's own rows */
.hp-lv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: lv; }
.hp-lv-steps button { position: relative; display: block; width: 100%; padding: 12px 14px 12px 44px; border: 0; border-radius: 8px; background: none; color: var(--tx2); font: inherit; text-align: left; cursor: pointer; transition: background-color 160ms var(--move), color 160ms var(--move); }
.hp-lv-steps button::before { counter-increment: lv; content: counter(lv); position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: var(--mu); }
.hp-lv-steps button b { display: block; font-weight: 600; font-size: 17px; color: var(--tx2); } .hp-lv-steps button span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.45; color: var(--tx2); transition: max-height 240ms var(--move), opacity 200ms var(--move), margin 240ms var(--move); }
.hp-lv-steps button:hover b { color: var(--tx); } .hp-lv-steps button[aria-current="true"] { background: var(--p1); } .hp-lv-steps button[aria-current="true"] b { color: var(--tx); }
.hp-lv-steps button[aria-current="true"]::before { border-color: var(--pot); color: var(--pot); } .hp-lv-steps button[aria-current="true"] span { max-height: 96px; opacity: 1; margin-top: 4px; }
.hp-lv-room { border: 1px solid var(--line2); border-radius: 14px; background: var(--p1); overflow: hidden; min-height: 318px; display: flex; flex-direction: column; }
.hp-lv-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 17px; } .hp-lv-head > b { font-weight: 600; } .hp-lv-t { margin-left: auto; font-size: 14px; color: var(--mu); } .hp-lv-t b { color: var(--tx); font-weight: 600; }
.hp-lv-k { width: 24px; height: 24px; border-radius: 4px; display: inline-grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); } .hp-lv-k svg { width: 16px; height: 16px; }
.hp-lv-round { --c: var(--pot); } .hp-lv-build { --c: var(--con); } .hp-lv-loop { --c: var(--enc); } .hp-lv-process { --c: var(--cns); }
.hp-lv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 6px; border: 1px solid var(--line2); border-radius: 6px; font-size: 13px; } .hp-lv-badge svg, .hp-lv-sc svg { width: 16px; height: 16px; display: block; } .hp-lv-badge b { font-weight: 600; }
.hp-lv-rows { flex: 1 1 auto; } .hp-lv-row { display: grid; grid-template-columns: 16px 24px minmax(0, 1.3fr) minmax(0, 1fr) 64px 124px; align-items: center; gap: 12px; padding: 0 18px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 15px; animation: hp-lv-in 280ms var(--move); }
.hp-lv-row > b { font-weight: 400; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @keyframes hp-lv-in { from { opacity: .35; transform: translateY(2px); } }
.hp-lv-setup .hp-lv-sc, .hp-lv-badge.hp-lv-setup svg { color: var(--con); } .hp-lv-open .hp-lv-sc, .hp-lv-badge.hp-lv-open svg { color: var(--mu); } .hp-lv-running .hp-lv-sc, .hp-lv-badge.hp-lv-running svg { color: var(--con); } .hp-lv-ready .hp-lv-sc { color: var(--pot); } .hp-lv-done .hp-lv-sc { color: var(--run); }
.hp-lv-running .hp-lv-sc svg { animation: ws-writing 1.8s ease-in-out infinite; }
.hp-lv-res { justify-self: start; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 0 6px; border: 1px solid var(--line2); border-radius: 4px; font-family: var(--mono); font-size: 13px; color: var(--tx2); white-space: nowrap; overflow: hidden; } .hp-lv-res:empty { visibility: hidden; }
.hp-lv-res i { width: 6px; height: 6px; border-radius: 2px; background: var(--dim); flex: none; } .hp-lv-hit i { background: var(--run); }
.hp-lv-own { display: inline-flex; align-items: center; } .hp-lv-who { width: 24px; height: 24px; border-radius: 6px; display: inline-grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 650; color: #fff; flex: none; } .hp-lv-you { background: none; border: 1.5px solid var(--tx); border-radius: 6px; }
.hp-lv-hand { display: inline-flex; align-items: center; gap: 3px; } .hp-lv-hand svg { width: 13px; height: 13px; color: var(--mu); } .hp-lv-hand .hp-lv-you { opacity: .55; width: 20px; height: 20px; } .hp-lv-hand .hp-lv-who:last-child { width: 20px; height: 20px; font-size: 11px; }
.hp-lv-act { justify-self: end; } .hp-lv-act em { font-style: normal; font-size: 14px; color: var(--tx); padding: 4px 10px; border-radius: 6px; background: var(--pot); color: #fff; font-weight: 600; white-space: nowrap; }
.hp-lv-foot { display: flex; justify-content: space-between; margin: 0; padding: 12px 18px; font-size: 13px; color: var(--mu); }
@media (max-width: 860px) { .hp-lv-row { grid-template-columns: 16px 24px minmax(0, 1fr) 52px; } .hp-lv-res, .hp-lv-act { display: none; } .hp-lv-t { display: none; } }
@media (prefers-reduced-motion: reduce) { .hp-lv-row, .hp-lv-running .hp-lv-sc svg { animation: none; } .hp-lv-steps button span { transition: none; } }
.hp-lv-k svg, .hp-lv-k .ws-ico { color: var(--c); }
.hp-lv-k .hp-kt { --c: inherit; color: var(--c); background: none; margin: 0; width: auto; height: auto; }
/* the first run on Home: three numbered steps, the first one a small form in the row */
/* the home page: what came in lately, each result with where it can be opened */
.hp-feed-row { grid-template-columns: 16px 24px minmax(0, .9fr) minmax(0, 1.3fr) 44px 28px; animation: none; } .hp-feed-row .hp-lv-res { max-width: 100%; text-overflow: ellipsis; display: inline-block; vertical-align: middle; } .hp-feed-row .hp-lv-res i { display: inline-block; margin-right: 6px; vertical-align: middle; }
.hp-feed-t { font-size: 13px; color: var(--mu); text-align: right; } .hp-feed-new { animation: hp-feed-in 420ms var(--out); } @keyframes hp-feed-in { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 860px) { .hp-feed-row { grid-template-columns: 16px 24px minmax(0, 1fr) 36px 28px; } .hp-feed-row .hp-lv-res { display: none; } }
@media (prefers-reduced-motion: reduce) { .hp-feed-new { animation: none; } }
/* the button in the header: the same quiet shape as the buttons of the control room, and not shown inside it */
.nav .btn.small { min-height: 32px; padding: 0 12px; border-radius: var(--r-m); font-size: var(--fs-meta); font-weight: 600; background: var(--p3); color: var(--tx); border: 1px solid var(--line2); }
.nav .btn.small:hover { background: color-mix(in srgb, var(--tx) 12%, var(--p3)); } body:has(.ws-core) #navgo { display: none; }
/* a project from a link or a description: the one field, then the build as it is made */
.ws-start { display: grid; gap: 8px; padding: 12px 16px 16px; justify-items: start; } .ws-start textarea.ws-field { width: 100%; min-height: 96px; resize: vertical; font-size: var(--fs-body); }
/* the home page below the hero: one section pattern. A text column and one box; the sides swap from section to section. */
/* The hero shot: the control room itself, under the hero (Raimo, 15 Nov 2026). The one framed image on the page. */
.hp-shot { width: 100%; max-width: 1180px; margin: 24px auto 0; padding: 0; border: 1px solid var(--line2); border-radius: var(--r-l); overflow: hidden; background: var(--p1);
  box-shadow: 0 40px 120px -40px rgba(76, 125, 255, .28), 0 24px 60px -30px rgba(0, 0, 0, .7); }
.hp-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .hp-shot { margin-top: 8px; } }
.hp-s { width: 100%; max-width: 1180px; margin-top: 144px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; text-align: left; }
.hp-s-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .hp-s-flip > .hp-s-t { order: 2; }
.hp-s-t h2 { font-size: 34px; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.15; } .hp-s-t > p { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--tx2); max-width: 42ch; }
.hp-key { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; } .hp-key li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--tx2); } .hp-key b { color: var(--tx); font-weight: 600; margin-right: 6px; }
.hp-s .hp-lv-steps { margin: 20px 0 0 -14px; }
.hp-s .hp-lv-room { min-height: 0; } .hp-s .hp-lv-room.hp-lv-tall { min-height: 318px; } .hp-s .hp-lv-rows > .hp-lv-row:last-child { border-bottom: 0; } .hp-s .hp-lv-tall .hp-lv-row:last-child { border-bottom: 1px solid var(--line); }
.hp-s .hp-lv-row { grid-template-columns: 16px 24px minmax(0, 1.3fr) minmax(0, 1fr) auto 52px; } .hp-s .hp-lv-row > .hp-lv-who { width: 24px; height: 24px; }
.hp-s .hp-feed-row { grid-template-columns: 16px 24px minmax(0, .9fr) minmax(0, 1.2fr) 36px 28px; }
.hp-s .hp-lv-res { text-overflow: ellipsis; display: inline-block; } .hp-s .hp-lv-res i { display: inline-block; margin-right: 6px; vertical-align: middle; } .hp-s .hp-lv-own { justify-self: end; }
.hp-build .hp-lv-row { animation: hp-lv-in 320ms var(--move) backwards; } .hp-build .hp-lv-row:nth-child(2) { animation-delay: 120ms; } .hp-build .hp-lv-row:nth-child(3) { animation-delay: 240ms; } .hp-build .hp-lv-row:nth-child(4) { animation-delay: 360ms; } .hp-build .hp-lv-row:nth-child(5) { animation-delay: 480ms; }
.hp-tree-3 .hp-tr { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .9fr); min-height: 48px; font-size: 15px; padding: 0 18px; } .hp-tree-3 .hp-tr > span:nth-child(2) { display: none; } .hp-tree-3 .hp-tr:first-child { border-top: 0; }
.hp .hero2.close { margin-top: 48px; }
@media (max-width: 860px) { .hp-s, .hp-s-flip { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 88px; } .hp-s-flip > .hp-s-t { order: 0; } .hp-s-t h2 { font-size: 28px; } .hp-s .hp-lv-row, .hp-s .hp-feed-row { grid-template-columns: 16px 24px minmax(0, 1fr) auto 28px; } .hp-s .hp-lv-res { display: none; }
  .hp-tree-3 .hp-tr { grid-template-columns: minmax(0, 1fr) auto; } .hp-tree-3 .hp-tr > .hp-tr-l { display: none; } }
@media (prefers-reduced-motion: reduce) { .hp-build .hp-lv-row { animation: none; } } .ws-rq-head form { margin: 0; }
.ws-res i.ws-most::before { content: "≤ "; } a.ws-in-go { text-decoration: none; }
/* the inbox: labels, a filter bar, a dot on what is new */
.ws-in-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 16px 8px; border-bottom: 1px solid var(--line); } .ws-in-bar .ws-in-tabs { flex: 1 1 auto; border: 0; }
.ws-in-sel { width: auto; min-height: 32px; padding: 4px 10px; font-size: var(--fs-meta); }
.ws-tr-t .ws-lab { margin-left: 8px; flex: none; vertical-align: 1px; padding: 1px 6px; border: 1px solid var(--line); border-radius: var(--r-s); font-size: var(--fs-meta); color: var(--tx2); } .ws-tr-t .ws-new { vertical-align: 1px; margin-left: 8px; margin-right: 0; }
.ws-new { width: 8px; height: 8px; border-radius: 50%; background: var(--run); display: inline-block; margin-right: 8px; flex: none; }
/* a hint at the right edge opens leftwards, so it is never cut off */
.ws .ws-tk-end [data-tip]:hover::after, .ws .ws-tk-end [data-tip]:focus-visible::after, .ws .ws-tr-a [data-tip]:hover::after, .ws .ws-tr-a [data-tip]:focus-visible::after, .ws .ws-rl-m [data-tip]:hover::after, .ws .ws-in-bar > [data-tip]:hover::after { left: auto; right: 0; }
/* an automation: a robot on its label, and a live sign that breathes */
.ws-lab-auto { display: inline-flex; align-items: center; gap: 4px; } .ws-lab-auto svg { width: 14px; height: 14px; color: var(--run); }
.ws-sc-live { display: inline-grid; place-items: center; width: 16px; height: 16px; } .ws-sc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--run); box-shadow: 0 0 0 0 var(--run); animation: ws-live 2s ease-out infinite; }
@keyframes ws-live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--run) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.ws-rl-t > .ws-sc-live, .ws-rl-t > .ws-lab-auto { margin-right: 6px; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .ws-sc-live i { animation: none; } }
.ws-kt-auto { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-s); background: color-mix(in srgb, var(--run) 14%, transparent); color: var(--run); } .ws-kt-auto svg { width: 15px; height: 15px; }
.ws-auto-on { display: inline-grid; place-items: center; margin-left: 8px; color: var(--run); vertical-align: -2px; } .ws-auto-on svg { width: 14px; height: 14px; }   /* a unit that runs on an automation */
.ws-in-team { color: var(--tx2); }   /* a role of the catalogue that is in the team */
/* hints: one layer above the page (Raimo, 15 Nov 2026: hints were cut off by the box they stood in). In the control room the
   hint is placed by core.js beside its element and kept inside the window; the CSS hint below is switched off there. */
.ws-core [data-tip]:hover::after, .ws-core [data-tip]:focus-visible::after { content: none; display: none; }
.ws-hint { position: fixed; z-index: 1000; max-width: 280px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--p3); color: var(--tx); font-size: var(--fs-meta); font-weight: 400; line-height: var(--lh-tight); pointer-events: none; opacity: 0; transition: opacity 80ms ease-out; }
.ws-hint.on { opacity: 1; }
@media (hover: none) { .ws-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .ws-hint { transition: none; } }
/* a result in a sheet: reading and proof on one line, the note under it, then who and when */
.ws-pf { display: grid; gap: 6px; min-width: 0; } .ws-pf-top { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ws-pf-a { color: var(--tx); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; overflow-wrap: anywhere; } .ws-pf-a:hover { text-decoration-color: currentColor; } .ws-pf-a.ws-rl-hit { color: var(--ok); }
.ws-pf-note { margin: 0; font-size: var(--fs-meta); color: var(--tx2); } .ws-pf-no { color: var(--warn); }
.ws-held { margin-top: 8px; }   /* why a ready unit cannot cross yet */
/* verified: a result Palintropy read itself */
.ws-ver-i { width: 13px; height: 13px; color: var(--ok); flex: none; margin-right: 4px; vertical-align: -2px; } .ws-ver { display: inline-flex; align-items: center; color: var(--ok); }
/* documentation and the protocol: a menu on the left, one column of text (spec 60 §3l) */
.docs { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 56px; padding-top: 64px; padding-bottom: 96px; }
.docs-nav { position: sticky; top: 88px; align-self: start; display: grid; gap: 8px; font-size: 14px; } .docs-nav b { font-size: 13px; color: var(--mu); font-weight: 600; margin-bottom: 4px; }
.docs-nav a { color: var(--tx2); text-decoration: none; } .docs-nav a:hover { color: var(--tx); }
.docs-body { min-width: 0; } .docs-body h1 { font-size: 48px; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 16px; }
.docs-body h2 { font-size: 26px; letter-spacing: -.01em; margin: 56px 0 12px; scroll-margin-top: 88px; } .docs-body h1 { scroll-margin-top: 88px; }
.docs-body p { color: var(--tx2); line-height: 1.6; margin: 0 0 14px; max-width: 70ch; } .docs-body .lead { color: var(--tx); }
.docs-body code { font-family: var(--mono, ui-monospace, monospace); font-size: .92em; color: var(--tx); }
.docs-pre { margin: 0 0 14px; }
.docs-list { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 10px; color: var(--tx2); line-height: 1.55; }
.docs-meta { font-size: 14px; color: var(--mu); } .docs-body .tbl { margin: 8px 0 16px; width: 100%; } .docs-body .tbl td { vertical-align: top; color: var(--tx2); } .docs-body .tbl td:first-child { color: var(--tx); white-space: nowrap; }
.docs-msg td:nth-child(2) { white-space: normal; } .docs-msg td:nth-child(2) code { color: var(--tx2); }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; } .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; } .docs-nav b { width: 100%; } .docs-body h1 { font-size: 36px; } }
/* the ecosystem drawing: where Palintropy stands among your agents */
.eco { margin: 32px 0; } .eco svg { width: 100%; height: auto; display: block; } .eco figcaption { margin-top: 12px; font-size: 14px; color: var(--mu); text-align: center; }
.eco-n rect { fill: var(--p2); stroke: var(--line2); stroke-width: 1; } .eco-n-core > rect:first-child { fill: var(--p1); stroke: var(--you); stroke-width: 1.5; } .eco-in { fill: var(--p3) !important; stroke: var(--line) !important; }
.eco-n-you rect { stroke: var(--you); } .eco-n-ag rect { stroke: color-mix(in srgb, var(--con) 60%, transparent); } .eco-n-mem rect { stroke: color-mix(in srgb, var(--enc) 60%, transparent); } .eco-n-ev rect { stroke: var(--line2); }
.eco-h, .eco-h2 { fill: var(--tx); font-weight: 600; text-anchor: middle; } .eco-h { font-size: 19px; } .eco-h-core { font-size: 21px; } .eco-h2 { font-size: 15px; } .eco-s { fill: var(--mu); font-size: 12px; text-anchor: middle; }
.eco-col { fill: var(--mu); font-size: 12px; text-anchor: middle; letter-spacing: .04em; } .eco-lt { fill: var(--mu); font-size: 12px; } .eco-lt-pro { fill: var(--you); }
.eco-l { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.4; } .eco-pro { stroke: var(--you); } .eco-ah { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } .eco-ah-pro { stroke: var(--you); } .eco-n-tool rect { stroke: var(--line2); }
/* the top right: Settings and your account (Raimo, 15 Nov 2026) */
.nav-me { display: inline-flex; } .nav-me-i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--p3); border: 1px solid var(--line2); color: var(--tx); font-size: 13px; font-weight: 600; overflow: hidden; }
.nav-me-pic img { width: 100%; height: 100%; object-fit: cover; } .nav-me[aria-current="page"] .nav-me-i { border-color: var(--you); }
/* the home page: the three parts, the drawing, automations, verified */
.hp-three .hp-three-row { grid-template-columns: 24px minmax(0, 180px) minmax(0, 1fr); text-decoration: none; color: inherit; align-items: start; padding-top: 14px; padding-bottom: 14px; }
.hp-three .hp-three-row span:last-child { color: var(--tx2); font-size: 14px; line-height: 1.5; } .hp-three .hp-three-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hp-s-more { margin-top: 16px; font-size: 15px; } .hp-s-more a { color: var(--tx); }
.hp-eco { width: 100%; max-width: 1080px; margin-top: 144px; } .hp-eco .eco { margin-top: 24px; }
.hp-lv-auto { --c: var(--run); } .hp-ver { width: 14px; height: 14px; color: var(--ok); vertical-align: -2px; margin-right: 4px; }
@media (max-width: 860px) { .hp-three .hp-three-row { grid-template-columns: 24px minmax(0, 1fr); } .hp-three .hp-three-row span:last-child { grid-column: 2; } .hp-eco { margin-top: 88px; } }
/* Account: one section per subject, its name on the left and its fields on the right (ws-pref, design system "Account") */
.ws-pref-me { display: flex; align-items: center; gap: 16px; padding: 4px 0 24px; }
.ws-pref-pic { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--p3); color: var(--tx); font-size: var(--fs-head); }
.ws-pref-pic img { width: 100%; height: 100%; object-fit: cover; } .ws-pref-pic-s { width: 40px; height: 40px; font-size: var(--fs-body); }
.ws-pref-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ws-pref-who b { font-size: var(--fs-head); font-weight: 650; } .ws-pref-who span { color: var(--mu); font-size: var(--fs-meta); overflow-wrap: anywhere; }
.ws-pref-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: sticky; top: var(--top, 60px); z-index: 5; background: var(--bg); }
.ws-pref-nav::-webkit-scrollbar { display: none; }
.ws-pref-nav button { flex: none; height: 40px; padding: 0 10px; border: 0; background: none; color: var(--tx2); font-family: inherit; font-size: var(--fs-meta); font-weight: 400; line-height: 1; cursor: pointer; border-radius: var(--r-s); }
.ws-pref-nav button:hover { color: var(--tx); background: var(--p2); } .ws-pref-nav button:focus-visible { outline: 2px solid var(--pot); outline-offset: -2px; }
.ws-pref { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px var(--col-gap); padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 112px; }
.ws-pref-nav + .ws-pref { border-top: 0; }
.ws-pref-h h2 { font-size: var(--fs-body); font-weight: 650; margin: 0; } .ws-pref-h p { margin: 6px 0 0; color: var(--mu); font-size: var(--fs-meta); line-height: var(--lh); }
.ws-pref-b { min-width: 0; max-width: 640px; }
.ws-pref-f { display: flex; flex-direction: column; gap: 16px; }
.ws-pref-r { display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.ws-pref-l { padding-top: 11px; color: var(--tx2); font-size: var(--fs-meta); }
.ws-pref-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .ws-pref-c .ws-field { width: 100%; font-size: var(--fs-meta); min-height: 40px; padding: 8px 12px; }
.ws-pref-hint { color: var(--mu); font-size: var(--fs-meta); line-height: var(--lh); }
.ws-pref-ro { padding-top: 10px; color: var(--tx); font-size: var(--fs-meta); overflow-wrap: anywhere; } p.ws-pref-ro { padding: 0; margin: 0 0 16px; line-height: var(--lh); }
.ws-pref-picrow { flex-direction: row; align-items: center; gap: 8px; } .ws-pref-file { cursor: pointer; }
.ws-pref-bool { align-items: center; } .ws-pref-bool .ws-pref-l { padding-top: 0; } .ws-pref-bool .ws-pref-c { flex-direction: row; align-items: flex-start; gap: 12px; } .ws-pref-bool .ws-pref-hint { padding-top: 2px; }
.ws-pref-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-left: 160px; } .ws-pref-b > .ws-pref-a { padding-left: 0; }
.ws-pref-a .ws-tkb, .ws-pref-me .ws-tkb, .ws-pref-picrow .ws-tkb { height: 32px; padding: 0 14px; font-family: inherit; font-size: var(--fs-meta); line-height: 1; } .ws-pref-a a.ws-tkb { text-decoration: none; }
.ws-pref-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: var(--fs-meta); } .ws-pref-ok svg { width: 14px; height: 14px; }
.ws-pref-wait { color: var(--mu); font-size: var(--fs-meta); padding: 32px 0; }
.ws-pref .ws-su-steps3 { margin: 0; } .ws-pref-list .ws-tr { padding-left: 0; padding-right: 0; }
.ws-pref-danger .ws-pref-h h2 { color: var(--warn); } .ws-tkb-x { color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); } .ws-tkb-x:hover { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.ws-tog { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 20px; margin: 0; border-radius: var(--r-l); background: var(--p3); border: 1px solid var(--line2); position: relative; cursor: pointer; transition: background-color 160ms ease; }
.ws-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--tx2); transition: transform 160ms var(--out), background-color 160ms ease; }
.ws-tog:checked { background: var(--pot); border-color: var(--pot); } .ws-tog:checked::after { transform: translateX(16px); background: var(--bg); }
.ws-tog:focus-visible { outline: 2px solid var(--pot); outline-offset: 2px; }
@media (max-width: 860px) {
  .ws-pref { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .ws-pref-r { grid-template-columns: minmax(0, 1fr); } .ws-pref-l { padding-top: 0; } .ws-pref-a { padding-left: 0; }
}
/* The app on a phone (15 Nov 2026): the menu is a drawer from the left over a scrim, and Home, Inbox, Projects and New stand in a bar
   at the foot of the screen (ws-mbar). Account and Settings stay at the top right. */
.ws-mbar, .ws-scrim { display: none; }
@media (max-width: 899px) {
  .ws-rail, .ws-rail.open { position: fixed; z-index: 31; top: var(--top, 60px); bottom: 0; left: 0; width: min(320px, 86vw); max-width: none; flex: none; height: auto; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 12px calc(88px + env(safe-area-inset-bottom)); gap: 14px; border-right: 1px solid var(--line2); transform: translateX(-102%); visibility: hidden;
    transition: transform 220ms var(--out), visibility 0s linear 220ms; }
  .ws-rail.open { transform: none; visibility: visible; transition: transform 220ms var(--out), visibility 0s; box-shadow: 16px 0 48px -16px rgba(0,0,0,.7); }
  .ws-rail > .ws-nav:not(.ws-tabs) { display: flex; }
  .ws-rail .ws-tabs { flex-direction: column; overflow: visible; gap: 1px; } .ws-rail .ws-tabs button { width: 100%; }
  .ws-rail .ws-nav > button, .ws-rail-new, .ws-rail .ws-fold > button { min-height: 40px; }
  .ws-grip { display: none; }
  .ws-scrim { display: block; position: fixed; z-index: 30; inset: var(--top, 60px) 0 0 0; border: 0; padding: 0; background: rgba(0,0,0,.55); cursor: pointer; animation: ws-fade 180ms ease; }
  .ws-mbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; z-index: 32; left: 0; right: 0; bottom: 0; padding: 4px 8px env(safe-area-inset-bottom);
    background: var(--p1); border-top: 1px solid var(--line2); }
  .ws-mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-radius: var(--r-m); background: none; color: var(--mu);
    font-family: inherit; font-size: var(--fs-mono); line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 140ms var(--out); }
  .ws-mbar button:active { transform: scale(.96); } .ws-mbar button[aria-current="page"] { color: var(--tx); font-weight: 600; }
  .ws-mbar button:focus-visible { outline: 2px solid var(--pot); outline-offset: -2px; }
  .ws-mbar-i { position: relative; display: inline-flex; } .ws-mbar-i svg { width: 22px; height: 22px; }
  .ws-mbar-i i { position: absolute; top: -4px; left: 14px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-l); background: var(--enc); color: var(--bg); font-family: var(--mono); font-size: var(--fs-mono); font-style: normal; font-weight: 600; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
  .ws-core > .ws-page, .ws-core > section { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@keyframes ws-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ws-rail, .ws-rail.open, .ws-scrim { transition: none; animation: none; } }
/* An agent's ID and key in its sheet (15 Nov 2026): mono, the key shown in part until Show, with Copy and New key beside it. */
.ws-key { font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx); overflow-wrap: anywhere; }
.ws-fid-v { font-family: var(--mono); font-size: var(--fs-mono); color: var(--tx); overflow-wrap: anywhere; }
.ws-key-v { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; } .ws-key-v .ws-tk-pen { font-size: var(--fs-meta); }
/* An anchor scrolls to its section instead of jumping (Raimo, 15 Nov 2026), and stops under the top bar. */
html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.docs-body h1, .docs-body h2, .docs-msg { scroll-margin-top: 88px; }
.docs-msg { margin-top: 28px; } .docs-msg h3 { font-size: 18px; margin: 0 0 8px; } .docs-kv { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; margin: 0 0 12px; font-size: 15px; } .docs-kv dt { color: var(--mu); } .docs-kv dd { margin: 0; }
.docs-ref { font-size: 14px; color: var(--tx2); } .docs-ref code { font-size: 13px; }
.docs-def th { width: 180px; text-align: left; font-weight: 600; vertical-align: top; }
.docs-refs { margin: 4px 0 0; padding-left: 18px; } .docs-refs li { margin: 2px 0; }
/* The three parts on the home page: the rows are read, and a named link says it leaves the page (Raimo, 15 Nov 2026: "clicking on these I expected an anchor"). */
.hp-three .hp-three-row { grid-template-columns: 24px minmax(0, 170px) minmax(0, 1fr) auto; cursor: default; } .hp-three .hp-three-row:hover b { text-decoration: none; }
.hp-three .hp-three-row b { white-space: normal; overflow: visible; }
.hp-three-go { display: inline-flex; align-items: center; gap: 4px; align-self: center; font-size: 13px; color: var(--tx2); text-decoration: none; white-space: nowrap; padding: 4px 8px; border-radius: 6px; }
.hp-three-go:hover { color: var(--tx); background: var(--p2); } .hp-three-ar { width: 12px; height: 12px; }
.hp-three .hp-three-row > b + span { color: var(--tx2); font-size: 14px; line-height: var(--lh); }      /* the text, wherever the link stands */
@media (max-width: 860px) { .hp-three .hp-three-row { grid-template-columns: 24px minmax(0, 1fr); } .hp-three .hp-three-row > b + span { grid-column: 2; } .hp-three-go { grid-column: 2; justify-self: start; padding-left: 0; } }
/* A workstream that holds work of its own (ws-holds): the flag of a round and the count behind its name; it opens its page. */
.ws-holds { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; padding: 0 6px; height: 20px; border-radius: var(--r-s); color: var(--pot); background: color-mix(in srgb, var(--pot) 12%, transparent); font-size: var(--fs-mono); font-weight: 600; vertical-align: 1px; }
.ws-holds svg, .ws-holds .ws-ico { width: 12px; height: 12px; } .ws-holds i { font-style: normal; font-family: var(--mono); }
.ws-holds.ws-holds-q { background: none; padding: 0; margin-left: auto; color: var(--mu); }
/* Blue on a name means it jumps to a page (Raimo, 15 Nov 2026: "the blue is a jump right?"): only a name that goes to its page
   turns blue and underlined under the pointer; a name that opens the sheet stays as the row. */
.ws-tr-t:hover { color: var(--tx); } .ws-tr-t.ws-tr-go:hover { color: var(--pot); text-decoration: underline; text-underline-offset: 3px; }
.ws-box-why { margin-left: 12px; color: var(--mu); font-size: var(--fs-meta); font-weight: 400; }
/* A round says whether a chat or an agent has written to it (ws-chat): grey when none has, green with how long ago when one has. */
.ws-chat { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; height: 20px; padding: 0 4px; border-radius: var(--r-s); color: var(--dim); font-size: var(--fs-mono); font-weight: 400; vertical-align: 1px; }
.ws-chat svg { width: 13px; height: 13px; } .ws-chat i { font-style: normal; font-family: var(--mono); }
.ws-chat-on { color: var(--run); background: color-mix(in srgb, var(--run) 14%, transparent); padding: 0 6px; }
.ws-kv .ws-chat { margin-left: 0; margin-right: 6px; }
/* Folders and the quick line (15 Nov 2026): a part stands under its workstream, indented by depth; the chevron folds it; + adds inside on
   a line that stays open; the line is the one field that stands in a list (design system, "Folders"). */
.ws-tr-t[style*="--d"] { padding-left: calc(var(--d) * 22px); }
.ws-fold-t { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 4px; vertical-align: -4px; color: var(--mu); border-radius: var(--r-s); cursor: pointer; }
.ws-fold-t svg, .ws-fold-t .ws-ico { width: 14px; height: 14px; } .ws-fold-t:hover { color: var(--tx); background: var(--p3); } .ws-fold-0 { cursor: default; } .ws-fold-0:hover { background: none; }
.ws-fold-t:focus-visible { outline: 2px solid var(--pot); outline-offset: 1px; }
.ws-qa { background: var(--p1); } .ws-qa .ws-qa-f { grid-column: 3 / 7; display: flex; flex-direction: column; gap: 4px; padding-left: calc(var(--d) * 22px); min-width: 0; }
.ws-qa-in { width: 100%; min-height: 32px; padding: 4px 10px; font-size: var(--fs-meta); }
.ws-qa-b svg { width: 14px; height: 14px; }
@media (max-width: 1099px) { .ws-qa .ws-qa-f { grid-column: 3 / -2; } }
.ws-kb-run .ws-runico { width: 18px; height: 18px; } .ws-kb.ws-copied { background: color-mix(in srgb, var(--run) 18%, transparent); }
.ws-u-ask { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
/* an icon and its word never touch (Raimo, 15 Nov 2026: "bit close") */
.ws-tkb:has(svg) { gap: 6px; } .ws-tkb .ws-runico { width: 18px; height: 18px; flex: none; }

.ws-holds { color: var(--mu); background: var(--p2); font-family: var(--mono); } .ws-holds.ws-holds-q { background: none; }
/* the chat mark is a quiet icon, never a pill (Raimo, 15 Nov 2026: "It looks like a button... it needs a different treatment") */
.ws-chat.ws-chat-on { background: none; padding: 0 4px; color: var(--run); } .ws-chat i { display: none; }
.ws-tr.ws-u > .ws-u-ask, .ws-tr.ws-u > .ws-tr-w { min-width: 0; overflow: hidden; } .ws-tr.ws-u > .ws-tr-a { justify-content: flex-end; }
/* Review and commit, connect Claude, connect agents (ws-rv): three numbered steps, the set-up units grouped by round with a box each, a bar that
   counts, a foot that stays in reach, and the agents with work as rows that turn Connected. design system, "Review". */
.ws-rv-how { margin: 0 0 12px; font-size: var(--fs-meta); color: var(--tx2); max-width: var(--w-read); }
@keyframes ws-rv-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
}
/* Setup: Connections first, the three steps inside the box; the key said plainly (design system, "Setup in the menu") */
.ws-su-connb { padding: 14px 16px 16px; border-top: 1px solid var(--line); } .ws-su-connb .ws-su-steps3 { margin: 0; }
.ws-key-v > span code.ws-key { margin-left: 4px; } .ws-key-v .ws-tkb { margin-left: 8px; }
.ws-tk-hx { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ws-uf textarea.ws-field { width: 100%; min-height: 0; resize: vertical; font-family: inherit; line-height: var(--lh); padding: 8px 10px; }
/* About (marketing): the fragment as it is written, the translation under it, and the six lines we hold to */
.ab-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; } .ab-toc a { color: var(--tx2); }
.ab-frag { margin: 8px 0 16px; padding: 28px 0 24px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.ab-frag blockquote { margin: 0; font-family: "Gentium Plus", "GFS Didot", "Palatino Linotype", "Times New Roman", serif; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; color: var(--tx); letter-spacing: .01em; }
.ab-frag blockquote b { font-weight: 400; color: var(--pot); }
.ab-tr { margin: 16px 0 0; font-size: 18px; color: var(--tx2); }
.ab-frag figcaption { margin-top: 10px; font-size: 14px; color: var(--mu); }
.about i[lang="grc"] { font-family: "Gentium Plus", "GFS Didot", "Palatino Linotype", "Times New Roman", serif; }
.ab-sig { color: var(--tx2); font-style: italic; }
.ab-marks { margin: 4px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .ab-marks > span { display: block; } .ab-marks svg { width: 100%; max-width: 220px; height: auto; margin: 0 auto; display: block; padding: 28px; box-sizing: border-box; background: var(--p1, #111316); border-radius: 18px; }
.ab-marks figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--mu); }
.ab-hold { margin: 0; padding-left: 22px; display: grid; gap: 12px; } .ab-hold b { color: var(--tx); }

/* The way into a row that holds something: the whole row, and an arrow at its end that moves along on hover. Until a round was
   opened once, the arrow pulses twice (Raimo, 16 Nov 2026: "nudge people to click the bar to open it"). */
.ws-u-into { cursor: pointer; }
.ws-go-ar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--mu); transition: transform 160ms var(--out), color 160ms var(--out); }
.ws-go-ar svg { width: 14px; height: 14px; }
.ws-u-into:hover .ws-go-ar, .ws-u-into:focus-within .ws-go-ar { color: var(--pot); transform: translateX(3px); }
.ws-u-into:hover .ws-tr-t { color: var(--tx); }
.ws-go-hint { color: var(--pot); animation: ws-go-nudge 1100ms var(--out) 600ms 2; }
@keyframes ws-go-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .ws-go-hint { animation: none; } .ws-go-ar { transition: none; } }

/* The head of a unit as equal chips (Raimo, 16 Nov 2026: "I like 4 = chips"). One height, one corner, one border; the state chip
   carries its colour; the waiting chip is the envelope with its count, and the same envelope marks each row that waits for you. */
.ws-kvs.ws-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--p1); color: var(--tx2); font-size: var(--fs-meta); line-height: 1; white-space: nowrap; }
.ws-chip i { font-style: normal; color: var(--mu); } .ws-chip b { color: var(--tx); font-weight: 600; }
.ws-chip svg { width: 14px; height: 14px; flex: none; }
.ws-chip-st { border-color: color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); }
.ws-chip-st b { color: inherit; }
.ws-chip-wait { cursor: pointer; color: var(--pot); border-color: color-mix(in srgb, var(--pot) 40%, transparent); background: color-mix(in srgb, var(--pot) 10%, transparent); font-family: inherit; }
.ws-chip-wait b { color: inherit; } .ws-chip-wait:hover { background: color-mix(in srgb, var(--pot) 18%, transparent); }
.ws-chip-wait:focus-visible { outline: 2px solid var(--pot); outline-offset: 2px; }
.ws-wait-mark { display: inline-flex; margin-left: 8px; color: var(--pot); vertical-align: -2px; } .ws-wait-mark svg { width: 13px; height: 13px; }
.ws-flash { animation: ws-flash 1200ms var(--out); }
@keyframes ws-flash { 0%, 30% { background: color-mix(in srgb, var(--pot) 16%, transparent); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ws-flash { animation: none; } }

/* Teams (spec 61 §5). A link in the rail to a project in someone else's workspace reads as the rows beside it. Someone else's
   agent carries a ring in the colour of the owner of the work, so it is told apart at a glance; its tip says whose it is. */
.ws-rail .ws-nav > a.ws-rail-a { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 8px; border-radius: var(--r-m); color: var(--tx2); font-size: var(--fs-meta); text-decoration: none; }
.ws-rail .ws-nav > a.ws-rail-a:hover { background: var(--p2); color: var(--tx); }
.ws-tb-theirs .ws-sq { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--enc); }

/* Getting started (16 Nov 2026, docs/design_system.md): a box of five rows on Home with a thin bar of how far you are, a strip
   with the next step on every other page, and a ring on the control where that step is done. Gone when the five are done. */
.ws-gs .ws-box-h { gap: 12px; }
.ws-gs-bar { flex: 1; max-width: 220px; height: 4px; border-radius: var(--r-s); background: var(--p3); overflow: hidden; margin-left: auto; }
.ws-gs-bar i { display: block; height: 100%; background: var(--pot); border-radius: var(--r-s); transition: width 400ms var(--out); }
.ws-gs-row { display: grid; grid-template-columns: 28px minmax(0, 220px) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--mu); font-size: var(--fs-body); }
.ws-gs-row b { font-weight: 600; color: var(--tx2); }
.ws-gs-i { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line2); font-size: var(--fs-meta); color: var(--mu); }
.ws-gs-i svg { width: 12px; height: 12px; }
.ws-gs-ok .ws-gs-i { border-color: transparent; background: color-mix(in srgb, var(--run) 18%, transparent); color: var(--run); }
.ws-gs-ok b { color: var(--mu); font-weight: 400; }
.ws-gs-at { background: var(--p2); } .ws-gs-at b { color: var(--tx); } .ws-gs-at .ws-gs-i { border-color: var(--pot); color: var(--pot); }
.ws-gs-say { color: var(--tx2); font-size: var(--fs-meta); line-height: var(--lh); min-width: 0; }
.ws-gs-wait { font-style: normal; color: var(--mu); }
.ws-gs-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 8px 8px 8px 16px; border: 1px solid color-mix(in srgb, var(--pot) 40%, transparent); border-radius: var(--r-m); background: color-mix(in srgb, var(--pot) 8%, transparent); font-size: var(--fs-meta); }
.ws-gs-strip b { font-weight: 600; color: var(--tx); } .ws-gs-n { color: var(--pot); font-weight: 600; white-space: nowrap; }
.ws-gs-strip .ws-gs-say { flex: 1 1 240px; } .ws-gs-strip .ws-btn { margin-left: auto; }
.ws-gs-done { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-m); background: color-mix(in srgb, var(--run) 10%, transparent); font-size: var(--fs-body); color: var(--tx2); }
.ws-gs-done svg { width: 16px; height: 16px; color: var(--run); } .ws-gs-done b { color: var(--tx); font-weight: 600; }
.ws-rail .ws-rail-start .ws-n { margin-left: auto; color: var(--pot); }
.ws-here { outline: 2px solid var(--pot); outline-offset: 2px; border-radius: var(--r-m); animation: ws-here 1600ms ease-in-out infinite; }
@keyframes ws-here { 0%, 100% { outline-offset: 2px; outline-color: var(--pot); } 50% { outline-offset: 5px; outline-color: color-mix(in srgb, var(--pot) 45%, transparent); } }
@media (prefers-reduced-motion: reduce) { .ws-here { animation: none; } .ws-gs-bar i { transition: none; } }
@media (max-width: 899px) { .ws-gs-row { grid-template-columns: 28px minmax(0, 1fr); } .ws-gs-row .ws-gs-say, .ws-gs-row .ws-btn, .ws-gs-row .ws-mt { grid-column: 2; justify-self: start; } .ws-gs-row .ws-gs-say:empty, .ws-gs-ok .ws-mt { display: none; } }
.ws-core .ws-rail .ws-fold-in { padding-left: calc(18px * var(--d, 1)); }      /* a level deeper, a step further in */
.ws-su-clients { border-top: 1px solid var(--line); margin-top: 8px; }      /* which AI clients were tested, under the steps to connect (door.CLIENTS) */
.foot-line.foot-mail { margin-top: 8px; padding-top: 0; border-top: 0; } .foot-mail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* The form of a loop, drawn as the loop: in, out and the share between them (Raimo, 16 Nov 2026). docs/design_system.md, ws-lf. */
.ws-lf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, .8fr); gap: 8px; align-items: end; } .ws-lf-row > i { font-style: normal; color: var(--mu); padding-bottom: 12px; }
.ws-lf-way { display: flex; align-items: center; gap: 8px; font-size: var(--fs-meta); color: var(--mu); } .ws-uf .ws-lf-way label { flex-direction: row; } .ws-lf-way input { position: absolute; opacity: 0; }
.ws-lf-way b { padding: 4px 12px; border-radius: var(--r-s); font-weight: 400; color: var(--tx2); cursor: pointer; } .ws-lf-way input:checked + b { background: var(--p3); color: var(--tx); font-weight: 600; } .ws-lf-way input:focus-visible + b { outline: 1px solid var(--tx2); }
@media (max-width: 520px) { .ws-lf-row { grid-template-columns: minmax(0, 1fr); } .ws-lf-row > i { display: none; } }

/* Who gets it, as rows (Raimo, 16 Nov 2026). docs/design_system.md, ws-pk. */
.ws-pk form { width: min(480px, 86vw); } .ws-pk-l { display: flex; flex-direction: column; gap: 4px; max-height: min(52vh, 420px); overflow-y: auto; }
.ws-pk-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 8px 12px; border: 0; border-radius: var(--r-s); background: none; color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.ws-pk-r:hover, .ws-pk-r:focus-visible { background: var(--p2); outline: 0; } .ws-pk-r[aria-checked="true"] { background: var(--p3); } .ws-pk-r[hidden] { display: none; }
.ws-pk-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .ws-pk-t b { font-size: var(--fs-meta); font-weight: 600; } .ws-pk-t small { font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The last rows of the menu (Decisions, Setup, Feedback) stay in sight when the projects above them run long (Raimo, 16 Nov 2026: "when I have all projects opened setup and decisions and feedback disappear. Can you make them sticky?"). */
@media (min-width: 900px) { .ws-rail > .ws-rest { position: sticky; bottom: -12px; z-index: 2; margin-bottom: -12px; padding: 8px 0 12px; background: var(--p1); border-top: 1px solid var(--line); } }
/* In the foot of a review only the main action stands out: the other button is quieter, so two buttons of one height also read as one height (Raimo, 16 Nov 2026: "the buttons arent the same height"). */

/* A review row that lacks its counts or its target is not faded: it holds the one thing to do, as a button with room for its word (Raimo, 16 Nov 2026: "I cant click anything in the review box"). */

/* A tab with a kind icon: the icon, the word and the count stand on one line with one gap, like the tabs beside it (Raimo, 16 Nov 2026: "not aligned nicely"). */
.ws-in-tabs button { display: inline-flex; align-items: center; gap: 8px; } .ws-in-tabs button > i { margin-left: 0; } .ws-in-tabs button > .ws-kt { flex: none; }

/* A new round, workstream or loop: the kinds as tiles, each with its own shape under it, and the owner as one row (Raimo, 16 Nov 2026: "apply 5"). docs/design_system.md, ws-nu. */
.ws-dialog.ws-nu { width: min(640px, calc(100vw - 32px)); box-sizing: border-box; } .ws-nu form { min-width: 0; } .ws-nu-ks { display: flex; gap: 8px; } .ws-uf .ws-nu-k { flex: 1 1 0; min-width: 0; cursor: pointer; } .ws-nu-k input { position: absolute; opacity: 0; }
.ws-nu-k > span { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--tx2); } .ws-nu-k small { grid-column: 1 / -1; font-size: var(--fs-meta); color: var(--mu); } .ws-nu-k b { font-weight: 600; color: var(--tx); }
.ws-nu-k input:checked + span { border-color: var(--tx2); background: var(--p2); } .ws-nu-k input:focus-visible + span { border-color: var(--tx); }
.ws-nu-o { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-meta); color: var(--mu); } .ws-nu-o b { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 600; color: var(--tx); }
.ws-lf-row.ws-nu-3 { grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .7fr) 0 minmax(0, 1fr); }
@media (max-width: 520px) { .ws-nu-ks { flex-direction: column; } .ws-lf-row.ws-nu-3 { grid-template-columns: minmax(0, 1fr); } }
.ws-nu-of { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--fs-meta); color: var(--mu); } .ws-uf .ws-nu-of label { flex-direction: row; align-items: center; gap: 8px; color: var(--tx); cursor: pointer; }
.ws-nu-ks { align-items: stretch; } .ws-uf .ws-nu-k { display: flex; } .ws-nu-k > span { flex: 1 1 auto; align-content: start; box-sizing: border-box; }

/* The new project page: the field with its three examples, and what you get beside it (Raimo, 16 Nov 2026). docs/design_system.md, ws-np. */
.ws-np { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 640px; } .ws-np .ws-start { padding: 0; gap: 12px; }
.ws-np-egs { display: flex; flex-wrap: wrap; gap: 8px; } .ws-np-eg { padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: none; color: var(--tx2); font: inherit; font-size: var(--fs-meta); cursor: pointer; } .ws-np-eg:hover, .ws-np-eg:focus-visible { border-color: var(--line2); color: var(--tx); outline: 0; }
.ws-np-get > .ws-uf-h { padding: 12px 16px; margin: 0; }
@media (max-width: 899px) { .ws-np { grid-template-columns: minmax(0, 1fr); } }
.ws-np { margin-top: 16px; } .ws .ws-np .ws-btn.ws-primary { background: var(--pot); border-color: var(--pot); color: var(--bg); } .ws .ws-np .ws-btn.ws-primary:hover { background: color-mix(in srgb, var(--pot) 88%, var(--tx)); }

/* The example in the protocol: long lines of JSON and a hash wrap inside the column. */
.docs-ex code { overflow-wrap: anywhere; word-break: break-word; }
/* The inbox: the project and the order stand right in the head of the box, beside its three tabs, so the labels below keep a row of their own (Raimo, 16 Nov 2026: "the filter drops to another line"). */
.ws-in-side { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
/* The ledger: every entry with its time to the second and the first eight characters of its seal (Raimo, 16 Nov 2026: "show the ledger in all it's glory", "with the actual timestamp"). The row of ws-tr ws-u, with room for the stamp; Asked is empty. */
@media (min-width: 1100px) { .ws-tr.ws-u.ws-lg, .ws-box > .ws-tr.ws-u.ws-th:has(+ .ws-lg) { grid-template-columns: 16px 20px minmax(120px, 1fr) minmax(0, 1.4fr) 0 168px 48px 96px; } }
.ws-lg-at { font-size: var(--fs-meta); color: var(--tx2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-lg-h { font-family: var(--mono); font-size: var(--fs-meta); color: var(--tx2); background: none; padding: 0; }
.ws-lg-ev { font-size: var(--fs-meta); color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ws-lg-seal { font-size: var(--fs-meta); color: var(--tx2); }
.ws-lg .ws-u-d { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; min-width: 0; }
@media (max-width: 1099px) { .ws-tr.ws-u.ws-lg { grid-template-columns: 16px 20px minmax(0, 1fr) auto; } .ws-lg > .ws-tr-t { grid-column: 3; grid-row: 1; } .ws-lg > .ws-tr-a { grid-column: 4; grid-row: 1; }
  .ws-lg > .ws-u-d { grid-column: 3 / -1; grid-row: 2; } .ws-lg > .ws-lg-at { grid-column: 3 / -1; grid-row: 3; } .ws-lg > .ws-u-ask, .ws-lg > .ws-tr-w { display: none; } }
.ws-lg-note { font-size: var(--fs-meta); color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ws-lg .ws-tr-a { min-width: 0; }
/* The history of a unit on its sheet: every ledger entry about it, oldest first, with its time to the second; the entry that made a process stands out (Raimo, 16 Nov 2026). */
.ws-hist .ws-rl-m { gap: 8px; } .ws-hist .ws-lg-at { font-size: var(--fs-meta); }
.ws-hi-made { box-shadow: inset 2px 0 0 var(--pot); padding-left: 8px; }
/* The target of a round as one sentence: Reached at [10] [Customers], with a share one click away (Raimo, 16 Nov 2026: "use the words of the objects in it"). */
.ws-rf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-body); }
.ws-rf-row .ws-field { width: auto; flex: 1 1 140px; } .ws-rf-row .ws-rf-n { flex: 0 0 96px; }
.ws-rf-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--tx2); font: inherit; font-size: var(--fs-meta); text-decoration: underline; cursor: pointer; }
.ws-rf-more:hover { color: var(--tx); }
/* You, before you chose a picture or a mark: a filled tile with a person, so it never reads as an empty checkbox (16 Nov 2026). */
.ws-sq.ws-you.ws-you-none { border: 0; background: var(--p3); color: var(--tx2); } .ws-sq.ws-you.ws-you-none svg { width: 70%; height: 70%; }

/* Palintropy inside the Claude chat, on the home page (copy v4, 17 Nov 2026; Raimo: "Chat first"). From the canvas "Checks and balances in
   the chat": a chat column with your message, Claude's words, the connector's tool line, and cards in which the kind leads as its tile and
   the state is a small mark behind the title. Blue is your yes, amber waits, green counts, grey is not yet. */
.hp-chat { margin: 0; border: 1px solid var(--line2); border-radius: 14px; background: var(--p1); overflow: hidden; text-align: left; }
.hp-chat-hero { width: 100%; max-width: 1180px; margin: 24px auto 0; }
.hp-chat-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; } .hp-chat-bar b { font-weight: 600; }
.hp-chat-mcp { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border: 1px solid var(--line2); border-radius: 999px; color: var(--tx2); font-size: 13px; }
.hp-chat-mcp i { width: 7px; height: 7px; border-radius: 50%; background: var(--run); }
.hp-chat-col { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.hp-chat-hero .hp-chat-col { max-width: 720px; margin: 0 auto; padding: 32px 22px 36px; }
.hp-chat-me { align-self: flex-end; max-width: 85%; margin: 0; padding: 10px 16px; border-radius: 16px; background: var(--p3); font-size: 16px; }
.hp-chat-say { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tx); }
.hp-chat-tool { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mu); } .hp-chat-tool svg { width: 15px; height: 15px; } .hp-chat-tool code { font-size: 13px; color: var(--tx2); }
.hp-chat-card { border: 1px solid var(--line2); border-radius: 12px; background: var(--p2); padding: 6px 16px 14px; }
.hp-chat-h { margin: 8px 0 4px; display: flex; gap: 8px; font-size: 14px; } .hp-chat-h b { font-weight: 600; } .hp-chat-h span { color: var(--mu); }
.hp-chat-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
.hp-chat-row.hp-chat-in { padding-left: 22px; }
.hp-chat-row:last-of-type { border-bottom: 0; }
.hp-chat-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .hp-chat-n small { font-size: 13px; color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-chat-t { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; font-size: 15px; min-width: 0; } .hp-chat-t b { font-weight: 600; white-space: nowrap; }
.hp-chat-st, .hp-chat-meta { font-size: 13px; color: var(--mu); white-space: nowrap; }
.hp-chat-acts { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.hp-chat-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line2); border-radius: var(--r-l); font-size: 14px; color: var(--tx); white-space: nowrap; }
.hp-chat-btn.go { border-color: var(--pot); background: var(--pot); color: #fff; font-weight: 600; }
.hp-chat-rc { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line2); border-radius: 12px; background: var(--p2); }
.hp-chat-m { display: inline-flex; flex: none; } .hp-mk { width: 16px; height: 16px; display: block; }
.hp-m-proposed { color: var(--mu); } .hp-m-committed { color: var(--pot); } .hp-m-waits { color: var(--con); } .hp-m-released, .hp-m-measured { color: var(--run); } .hp-m-pulse { color: var(--cns); }
/* The marks keep moving, as on the canvas (Raimo, 17 Nov 2026: "I really love the robot ... I really want to see those things behind the
   titles blinking and doing their animations"): a check draws itself in, a waiting ring breathes, the robot blinks, a process pulses. */
.hp-mk-draw { stroke-dasharray: 24; animation: hp-mk-draw 2.400s ease-out infinite; } @keyframes hp-mk-draw { 0%, 20% { stroke-dashoffset: 24; } 55%, 100% { stroke-dashoffset: 0; } }
.hp-mk-blink { transform-box: fill-box; transform-origin: center; animation: hp-mk-blink 4s infinite; } @keyframes hp-mk-blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.hp-mk-pulse { transform-box: fill-box; transform-origin: center; animation: hp-mk-pulse 2s ease-out infinite; } @keyframes hp-mk-pulse { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.hp-mk-ring { animation: hp-mk-ring 2.200s ease-in-out infinite; } @keyframes hp-mk-ring { 50% { opacity: .45; } }
.hp-shot-low { margin-top: 144px; }
.hp-sprawl .hp-sp-row { grid-template-columns: 24px minmax(0, .8fr) minmax(0, 1.2fr) auto; } .hp-sp-no { font-style: normal; font-size: 13px; color: var(--warn); white-space: nowrap; }
@media (max-width: 860px) {
  .hp-chat-col, .hp-chat-hero .hp-chat-col { padding: 18px 14px 20px; } .hp-chat-me, .hp-chat-say { font-size: 15px; }
  .hp-chat-row.hp-chat-in { padding-left: 10px; } .hp-chat-st { display: none; } .hp-chat-rc { padding: 10px 12px; }
  .hp-chat-meta { display: none; } .hp-shot-low { margin-top: 88px; }
  .hp-sprawl .hp-sp-row { grid-template-columns: 24px minmax(0, 1fr) auto; } .hp-sprawl .hp-lv-res { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hp-mk-draw, .hp-mk-ring, .hp-mk-blink, .hp-mk-pulse { animation: none; } }
/* The connect box: copy the connector, then say Hello Palintropy (Raimo, 17 Nov 2026: "The flow is copy MCP"; "that sentence is key").
   Step 2 is the largest line under the header. */
.hp-connect { width: 100%; max-width: 560px; margin: 8px auto 0; display: flex; flex-direction: column; border: 1px solid var(--line2); border-radius: 14px; background: var(--p1); text-align: left; }
.hp-cn-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 20px; } .hp-cn-step + .hp-cn-step { border-top: 1px solid var(--line); }
.hp-cn-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 650; border: 1px solid var(--line2); color: var(--tx2); }
.hp-cn-b { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .hp-cn-b > b { font-size: 16px; font-weight: 600; } .hp-cn-b small { font-size: 13px; color: var(--mu); }
.hp-cn-copy { display: flex; align-items: center; gap: 8px; min-width: 0; } .hp-cn-copy code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 9px 12px; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--p2); font-size: 14px; color: var(--tx); }
.hp-cn-copy .btn { flex: none; min-height: 40px; }
.hp-cn-say .hp-cn-n { border-color: var(--pot); background: var(--pot); color: #fff; }
.hp-cn-hello { margin: 0; font-size: 34px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; color: var(--tx); }
.hero2.close .hp-connect { margin-top: 4px; }
@media (max-width: 599px) { .hp-cn-step { padding: 16px; gap: 12px; } .hp-cn-hello { font-size: 28px; } }
.hp-chat-tag { font-style: normal; font-size: 12px; color: var(--pot); } .hp-chat-add { background: none; border: 1.5px dashed var(--line2); color: var(--mu); }
.hp-chat-prompt { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r-l); background: var(--p2); } .hp-chat-prompt small { font-size: 13px; color: var(--mu); } .hp-chat-prompt code { font-size: 13px; color: var(--tx); white-space: normal; }
/* The split hero (17 Nov 2026): text and the way in on the left, the chat on the right at its own width. No frame wider than what it holds. */
.hp-split { width: 100%; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; padding: 72px 0 8px; text-align: left; }
.hp-split h1 { font-size: 72px; font-stretch: 108%; letter-spacing: -.035em; line-height: 1; }
.hp-split .lead { margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--tx2); max-width: 34ch; }
.hp-split .hp-connect { margin: 32px 0 16px; max-width: 460px; }
.hp-split .hp-chat-hero { max-width: none; margin: 0; } .hp-split .hp-chat-hero .hp-chat-col { max-width: none; padding: 22px 22px 24px; }
.hp-chat-me b { font-weight: 600; color: var(--tx); }
.hp-split .hp-chat-me { box-shadow: 0 0 0 1.5px var(--pot); }
@media (max-width: 1080px) { .hp-split { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; } .hp-split .hp-connect { max-width: 560px; } }
@media (max-width: 599px) { .hp-split h1 { font-size: 48px; } .hp-split .lead { font-size: 17px; } }
/* the video on the first page (Raimo, 17 Nov 2026: "also somewhere in the site or in the nav bar"): one quiet link under the steps */
.ws-fp-video { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--tx2); font-size: var(--fs-meta); text-decoration: none; }
.ws-fp-video > svg { width: 14px; height: 14px; flex: none; color: var(--pot); } .ws-fp-video small { color: var(--mu); font-size: var(--fs-meta); }
.ws-fp-video:hover span, .ws-fp-video:focus-visible span { color: var(--tx); text-decoration: underline; }
/* ws-say: a phrase to say in Claude, as one chip; the words are the button and the copy icon sits inside (Raimo, 17 Nov 2026) */
.ws-say { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px 0 10px; margin: 0 2px; vertical-align: middle; border: 1px solid var(--line2); border-radius: var(--r-s); background: var(--p2); color: var(--tx); font: inherit; font-size: var(--fs-meta); font-weight: 600; cursor: pointer; transition: border-color .15s ease, transform .16s ease-out; }
.ws-say > svg { width: 14px; height: 14px; flex: none; color: var(--mu); } .ws-say:hover, .ws-say:focus-visible { border-color: var(--tx2); outline: none; } .ws-say:hover > svg, .ws-say:focus-visible > svg { color: var(--tx); } .ws-say:active { transform: scale(.97); }
.ws-say-l { align-self: flex-start; height: auto; margin: 0; padding: 12px 16px 12px 20px; gap: 16px; border-radius: var(--r-l); font-size: var(--fs-title); font-weight: 600; line-height: var(--lh-tight); } .ws-say-l > svg { width: 18px; height: 18px; }
.ws-gs-ok-ai { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--mu); font-size: var(--fs-meta); font-weight: 400; } .ws-gs-ok-ai i { width: 7px; height: 7px; border-radius: 50%; background: var(--run); }
/* Before and after (17 Nov 2026): the scattered results read as plain words; only the record looks like data. */
.hp-sprawl:not(.hp-record) .hp-lv-res { font-family: inherit; font-size: 14px; color: var(--mu); border: 0; background: none; padding: 0; }
.ws-gs-say .ws-gs-who { color: var(--tx); font-weight: 600; }

/* the mode of a project (Raimo, 18 Nov 2026): a mark behind it in the menu, a switch beside its name; ws-mode in the design system */
.ws-mode-mk { width: 14px; height: 14px; flex: none; color: var(--mu); }
.ws-rail [data-tab^="p:"] .ws-mode-mk { margin-left: auto; } .ws-rail [data-tab^="p:"] .ws-mode-mk + .ws-rc { margin-left: 8px; }
.ws-mode-sw { position: relative; align-self: center; } .ws-mode-sw > summary { list-style: none; } .ws-mode-sw > summary::-webkit-details-marker { display: none; }
.ws-mode { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border: 1px solid var(--line2); border-radius: var(--r-s); background: var(--p2); color: var(--tx); font-size: var(--fs-meta); font-weight: 600; cursor: pointer; }
.ws-mode .ws-mode-mk { color: var(--tx2); } .ws-mode-cv { width: 14px; height: 14px; color: var(--mu); }
.ws-mode-sw[open] > .ws-mode, .ws-mode:hover { border-color: var(--tx2); }
.ws-mode-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 440px; max-width: calc(100vw - 32px); padding: 6px; background: var(--p2); border: 1px solid var(--line2); border-radius: var(--r-l); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.ws-mode-opt { display: grid; grid-template-columns: 16px minmax(0, 1fr) 16px; gap: 12px; align-items: start; width: 100%; padding: 12px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.ws-mode-opt:hover, .ws-mode-opt:focus-visible, .ws-mode-opt.ws-on { background: var(--p3); outline: none; } .ws-mode-opt .ws-mode-mk { margin-top: 4px; color: var(--tx2); }
.ws-mode-opt b { display: block; font-size: var(--fs-body); font-weight: 600; } .ws-mode-opt b i { margin-left: 8px; font-style: normal; font-weight: 400; color: var(--mu); font-size: var(--fs-meta); }
.ws-mode-opt b + span { color: var(--tx2); font-size: var(--fs-meta); } .ws-mode-opt > svg:last-child { width: 14px; height: 14px; margin-top: 4px; color: var(--pot); }
.ws-mode-foot { margin: 4px 6px 0; padding: 10px 6px 6px; border-top: 1px solid var(--line); color: var(--mu); font-size: var(--fs-meta); }
.ws-rq-head h1:has(+ .ws-mode-sw) { margin-right: 0; } .ws-rq-head h1 + .ws-mode-sw { margin: 4px auto 0 4px; }      /* the switch stands beside the name, the actions stay right */
.ws .ws-mode-pop p.ws-mode-foot { font-size: var(--fs-meta); }

/* ---- calmer (Raimo, 18 Nov 2026, after WorkOS: "It's really more polished than ours ... the difference in color between background
   and the canvas with the rows ... feels calmer and cleaner"; "also clean the nav bar"). Scoped to the control room: one dark page,
   the rows on a canvas one step lighter, a quiet menu, Inter for the product and Mona Sans for the brand. Design system §43. */
.ws-body { --bg: var(--calm-bg); --p1: var(--calm-p1); --p2: var(--calm-p2); --p3: var(--calm-p3); --line: var(--calm-line); --line2: var(--calm-line2); --tx2: var(--calm-tx2); background: var(--bg); }
.ws-body main, .ws-body .ws, .ws-body .ws button, .ws-body .ws input, .ws-body .ws select, .ws-body .ws textarea, .ws-body dialog { font-family: var(--sans-ui); font-feature-settings: "cv11", "ss01"; }
.ws-body .top { background: var(--bg); border-bottom: 1px solid var(--line); }
.ws-body .ws h1 { font-weight: 600; }
.ws-body .ws-rail { background: var(--bg); border-right: 1px solid var(--line); padding: 16px 10px; gap: 20px; }
@media (min-width: 900px) { .ws-body .ws-rail > .ws-rest { background: var(--bg); } }
.ws-body .ws-rail .ws-nav > button, .ws-body .ws-rail .ws-fold > button[data-act="tab"], .ws-body .ws-rail-a { min-height: 32px; color: var(--tx2); font-weight: 400; }
.ws-body .ws-rail .ws-fold > button[data-act="tab"] .ws-rl, .ws-body .ws-rail .ws-fold > button > span:first-child { font-weight: 400; color: inherit; }
.ws-body .ws-rail .ws-nav > button:hover, .ws-body .ws-rail .ws-fold > button[data-act="tab"]:hover, .ws-body .ws-rail-a:hover { background: var(--p1); color: var(--tx); }
.ws-body .ws-rail .ws-nav > button[aria-current="true"], .ws-body .ws-rail .ws-fold > button[aria-current="true"] { background: var(--p2); color: var(--tx); font-weight: 600; }
.ws-body .ws-rail .ws-nav > button[aria-current="true"] .ws-rl, .ws-body .ws-rail .ws-fold > button[aria-current="true"] .ws-rl { font-weight: 600; }
.ws-body .ws-rail .ws-ri, .ws-body .ws-rail .ws-fold-x { color: var(--mu); }
.ws-body .ws-rail .ws-ri :is(path, circle, rect, line, polyline) { stroke: currentColor; }       /* the menu is monochrome: kinds keep their colours on the pages */
.ws-body .ws-rail [aria-current="true"] .ws-ri { color: var(--tx); }
.ws-body .ws-rail .ws-rc { font-family: var(--sans-ui); font-size: var(--fs-meta); color: var(--mu); }
.ws-body .ws-rail .ws-nav > b { justify-content: space-between; min-height: 28px; font-weight: 600; color: var(--mu); }
.ws-body .ws-rail .ws-nav > b .ws-rail-new { display: inline-grid; place-items: center; width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; border-radius: var(--r-s); background: transparent; color: var(--mu); cursor: pointer; }
.ws-body .ws-rail .ws-nav > b .ws-rail-new svg { width: 14px; height: 14px; } .ws-body .ws-rail .ws-nav > b .ws-rail-new:hover, .ws-body .ws-rail .ws-nav > b .ws-rail-new:focus-visible { background: var(--p2); color: var(--tx); outline: none; }
.ws-body .ws-box { background: var(--p1); border-color: var(--line2); border-radius: var(--r-l); }
.ws-body .ws-box-h { background: var(--p1); border-bottom-color: var(--line2); min-height: 52px; padding: 8px 18px; }
.ws-body .ws-tr { border-bottom-color: var(--line); }
.ws-body .ws-tr.ws-u { padding-top: 11px; padding-bottom: 11px; }
.ws-body .ws-tr.ws-th { background: var(--p2); }
.ws-body .ws-btn { min-height: 34px; font-weight: 600; border-color: var(--line2); }
.ws-body .ws-btn.ws-primary { background: var(--pot); border-color: var(--pot); color: var(--on-pot); } .ws-body .ws-btn.ws-primary:hover { background: var(--pot-2); border-color: var(--pot-2); }
.ws-body .ws-btn.ws-primary kbd { color: var(--on-pot); opacity: .75; }
.ws-body .ws-rail :is(.ws-ri, .ws-kt) { --c: var(--mu); color: var(--mu) !important; background: transparent !important; } .ws-body .ws-rail :is(.ws-ri, .ws-kt) svg { color: inherit !important; }      /* the menu is monochrome; the kinds keep their colours on the pages */
.ws-body .ws-rail .ws-kt [fill]:not([fill="none"]) { fill: currentColor; } .ws-body .ws-rail [aria-current="true"] :is(.ws-ri, .ws-kt) { color: var(--tx) !important; }

/* Phases as four dots, quieter rows, room between boxes (design system §44; Raimo, 18 Nov 2026: "I like the concept of four dots",
   "we can use less loops icons and workstream icons", "separating the work streams from the loops and the processes ... and really have some space between them") */
.ws-u-ph { --c1: 34px; --c2: 0px; }
/* search instead of a tree in the menu (design system §47) */
.ws-find { padding-top: 2px; }
.ws-find-f { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: var(--r-m); padding: 0 8px; height: 32px; color: var(--mu); }
.ws-find-f:focus-within { border-color: var(--tx2); }
.ws-find-f input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--tx); font: inherit; }
.ws-find-f kbd { font: inherit; font-size: var(--fs-meta); color: var(--dim); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 5px; }
.ws-found { display: flex; flex-direction: column; margin-top: 6px; max-height: 50vh; overflow: auto; }
.ws-find-p { position: relative; max-width: 420px; margin: 0 0 12px; }
.ws-find-p .ws-found { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r-m); padding: 4px; }
button.ws-found-r { display: flex; background: none; border: 0; border-radius: var(--r-s); cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; min-height: 0; width: 100%; text-align: left; padding: 6px 8px; color: var(--tx); font: inherit; }
button.ws-found-r:hover, button.ws-found-r:focus-visible { background: var(--p2); }
.ws-found-m { font-size: var(--fs-meta); color: var(--mu); }
/* A chosen cube, by direction (design system 48): the cube in the middle with its four sides on its four edges; what gives to it
   above, its parts below inside a boundary, what reads it on the right, what keeps it on the left. */
.ws-fc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px) minmax(0, 1fr); grid-template-areas: ". g ." "k c u" "l b b"; column-gap: 72px; row-gap: 56px; align-items: center; margin-top: 4px; }
.ws-fc > :not(.ws-fc-ch) { position: relative; z-index: 1; }
.ws-fc-ch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.ws-fc-l { fill: none; stroke: var(--line2); stroke-width: 1; }
.ws-fc-d { fill: var(--line2); }
.ws-fc-l-running { stroke: var(--mu); stroke-dasharray: 3 7; }
.ws-fc-l-arrived { stroke: var(--tx2); }
.ws-fc-d-arrived { fill: var(--tx2); }
.ws-fc-l-idle { stroke-dasharray: 1 6; opacity: .7; }
.ws-fc-l-refused { stroke: var(--warn); stroke-dasharray: 1 6; }
.ws-fc-d-refused { fill: var(--warn); }
@media (prefers-reduced-motion: no-preference) { .ws-fc-l-running { animation: ws-fc-flow 1.4s linear infinite; } }
@keyframes ws-fc-flow { to { stroke-dashoffset: -20; } }
.ws-fc-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: var(--fs-meta); color: var(--mu); }
.ws-fc-key span { display: inline-flex; align-items: center; gap: 8px; }
.ws-fc-kb { width: 18px; height: 12px; border: 1px dashed var(--line2); border-radius: var(--r-s); display: block; }
.ws-fc-G { grid-area: g; } .ws-fc-B { grid-area: b; } .ws-fc-U { grid-area: u; } .ws-fc-K { grid-area: k; } .ws-fc-w { grid-area: c; }
.ws-fc-q { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ws-fc-q h4 { margin: 0 0 2px; font-size: var(--fs-meta); font-weight: 600; color: var(--mu); display: flex; flex-direction: column; gap: 1px; }
.ws-fc-q h4 span { font-weight: 400; color: var(--dim); }
.ws-fc-on h4, .ws-fc-on .ws-fc-in h4 { color: var(--tx); }
.ws-fc-on .ws-fc-lent h4 { color: var(--mu); }
.ws-fc-r { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; grid-template-areas: "i t t" "i a s"; column-gap: 8px; align-items: center; width: 100%; padding: 7px 10px; background: var(--p2); border: 1px solid var(--line2); border-radius: var(--r-m); color: var(--tx); font: inherit; text-align: left; }
button.ws-fc-r { cursor: pointer; } button.ws-fc-r:hover { border-color: var(--dim); background: var(--p3); }
.ws-fc-r[data-flow="idle"] { border-style: dashed; color: var(--mu); }
.ws-fc-k { grid-area: i; display: flex; align-items: center; justify-content: center; color: var(--mu); }
.ws-fc-k .ws-ico, .ws-fc-k svg { width: 16px; height: 16px; }
.ws-fc-t { grid-area: t; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ws-fc-s { grid-area: s; font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.ws-fc-a { grid-area: a; font-size: var(--fs-meta); color: var(--dim); }
.ws-fc-o { width: 8px; height: 8px; border-radius: 50%; background: var(--enc); display: block; flex: 0 0 auto; }
/* the edge of the project: a reader whose readings come from outside stands against it */
.ws-fc-edge { padding-right: 16px; border-right: 1px dashed var(--line2); }
.ws-fc-e { font-size: var(--fs-meta); color: var(--dim); }
/* above the view: Back, and where the cube stands from the project down */
.ws-fc-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 16px; font-size: var(--fs-meta); color: var(--mu); }
.ws-fc-path > i { font-style: normal; color: var(--dim); }
.ws-fc-path > b { font-weight: 600; color: var(--tx); }
.ws-fc-path .ws-tk-link { color: var(--tx2); } .ws-fc-path .ws-tk-link:hover { color: var(--tx); }
.ws-fc-back { margin-right: 8px; display: inline-flex; align-items: center; gap: 4px; }
.ws-fc-back svg { width: 14px; height: 14px; }
/* below: its parts inside a boundary; what is lent to it stands beside that, outside it */
.ws-fc-L { grid-area: l; align-self: start; padding-top: 13px; }
.ws-fc-B { align-self: start; }
.ws-fc-nol { grid-template-areas: ". g ." "k c u" "b b b"; }
.ws-fc-in { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; border: 1px dashed var(--line2); border-radius: var(--r-l); }
.ws-fc-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ws-fc-tally { margin: 6px 0 0; font-size: var(--fs-meta); color: var(--mu); }
.ws-fc-tally b { font-weight: 400; color: var(--tx2); }
/* the cube: its sides on its edges, an earlier try as an outline behind it */
.ws-fc-w { min-width: 0; }
.ws-fc-t2::before, .ws-fc-t3::before, .ws-fc-t3::after { content: ""; position: absolute; inset: 0; border: 1px dashed var(--line2); border-radius: var(--r-l); z-index: -1; transform: translate(-10px, -10px); }
.ws-fc-t3::after { transform: translate(-20px, -20px); opacity: .7; }
.ws-fc-c { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "G G G" "K m U" "B B B"; background: var(--p1); border: 1px solid var(--line2); border-radius: var(--r-l); min-width: 0; overflow: hidden; }
.ws-fc-c.ws-cube-0 { border-style: dashed; }
.ws-fc-sd { display: flex; gap: 2px 12px; padding: 10px 14px; min-width: 0; font-size: var(--fs-meta); }
.ws-fc-sd span { color: var(--mu); }
.ws-fc-sd b { font-weight: 400; white-space: nowrap; }
.ws-fc-sd[data-side="G"] { grid-area: G; justify-content: space-between; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ws-fc-why { flex: 1 0 100%; margin: 2px 0 0; color: var(--tx2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ws-fc-sd[data-side="B"] { grid-area: B; justify-content: space-between; border-top: 1px solid var(--line); }
.ws-fc-sd[data-side="K"] { grid-area: K; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.ws-fc-sd[data-side="U"] { grid-area: U; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.ws-fc-sd-on { background: var(--p2); }
.ws-fc-sd-on span { color: var(--tx); font-weight: 600; }
.ws-fc-m { grid-area: m; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; min-width: 0; }
.ws-fc-m > b { font-size: var(--fs-head); font-weight: 650; overflow-wrap: anywhere; }
/* where it stands, in one line of the ledger's words, under its name */
.ws-fc-vd { color: var(--tx); }
.ws-fc-id { font-size: var(--fs-meta); color: var(--mu); }
.ws-fc-of { flex: 1 0 100%; margin: 2px 0 0; color: var(--mu); }
.ws-fc-sd[data-side="B"] { flex-wrap: wrap; }
.ws-fc-v { display: flex; align-items: center; gap: 6px; font-size: var(--fs-meta); color: var(--tx2); }
.ws-fc-v svg { width: 14px; height: 14px; color: var(--mu); flex: 0 0 auto; }
.ws-fc-now { color: var(--tx); }
.ws-fc-x { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ws-fc-facts { margin-top: 18px; }
@media (max-width: 980px) {
  .ws-fc, .ws-fc-nol { grid-template-columns: 1fr; grid-template-areas: "g" "c" "u" "k" "l" "b"; row-gap: 20px; }
  .ws-fc-L { padding-top: 0; } .ws-fc-edge { padding-right: 0; border-right: 0; }
}
/* The record of a unit, in its sheet (design system 48): the lines that arrived on each side, a try as a boundary. */
.ws-rec-h { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--line); color: var(--tx); font: inherit; text-align: left; cursor: pointer; }
.ws-rec-h b { font-weight: 600; }
.ws-rec-h svg { width: 14px; height: 14px; color: var(--mu); flex: 0 0 auto; }
.ws-rec-n { margin-left: auto; font-size: var(--fs-meta); color: var(--mu); }
.ws-rec-t { padding-left: 22px; font-size: var(--fs-meta); }
.ws-rec > ol, .ws-rec-try > ol { margin: 0; padding-left: 22px; }
.ws-rec-try > ol { padding-left: 44px; }
.ws-rec-in .ws-rl-t svg { width: 14px; height: 14px; color: var(--mu); vertical-align: -2px; margin-right: 6px; }
.ws-found-0 { color: var(--mu); font-size: var(--fs-meta); padding: 6px 8px; margin: 0; }
/* the ledger as cubes (design system §46, spec 62): a cube with children is its box, a cube without is one line with its mark */
.ws-cube-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 12px; font-size: var(--fs-meta); color: var(--mu); }
.ws-cube-sum b { color: var(--tx); font-weight: 600; }
.ws-cubes { position: relative; display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.ws-cube-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.ws-cubes > :not(.ws-cube-lines) { position: relative; z-index: 1; }
.ws-cube-l { stroke: var(--mu); stroke-width: 1; fill: none; opacity: .55; }
.ws-cube-l-on { stroke: var(--tx); stroke-width: 1.5; opacity: 1; }
.ws-cube-n { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; font-size: var(--fs-meta); font-weight: 400; color: var(--mu); vertical-align: 1px; }
.ws-cube-box { border: 1px solid var(--line2); border-radius: var(--r-l); padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 8px; background: var(--p1); }
.ws-cube-box .ws-cube-box { background: var(--bg); }      /* a block inside a block steps back to the page, so each level stands off the one around it */
.ws-cube-box.ws-cube-0 { border-style: dashed; }
.ws-cube-h { display: flex; align-items: center; gap: 10px; padding: 4px 2px; color: var(--tx); cursor: pointer; position: relative; min-width: 0; }
.ws-cube-h b { font-weight: 600; }
.ws-cube-hf { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: var(--fs-meta); color: var(--mu); }
.ws-cube-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; align-items: start; }
.ws-cube-c { display: flex; flex-direction: column; gap: 4px; padding: 9px 10px 8px; border: 1px solid var(--line2); border-radius: var(--r-m); background: var(--p2); color: var(--tx); cursor: pointer; position: relative; min-width: 0; }
.ws-cube-c:hover { border-color: var(--dim); }
.ws-cube-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ws-cube-k { flex: 0 0 18px; display: flex; align-items: center; justify-content: center; color: var(--mu); }
.ws-cube-k .ws-kt { display: flex; }
.ws-cube-0 .ws-cube-k { opacity: .55; }
.ws-cube-t { flex: 0 1 auto; min-width: 0; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--tx); text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cube-c.ws-cube-0 .ws-cube-t { color: var(--mu); }
.ws-cube-s { font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; }
.ws-cube-c > .ws-cube-s, .ws-cube-a { margin-left: 26px; }
.ws .ws-cube-c .ws-cube-rd { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; column-gap: 8px; align-items: center; background: none; border: 0; padding: 1px 0; font: inherit; font-size: var(--fs-meta); font-weight: 400; color: var(--tx2); text-align: left; cursor: pointer; }
.ws-cube-rd .ws-kt { display: flex; justify-content: center; color: var(--mu); }
.ws-cube-rn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cube-rv { color: var(--tx); white-space: nowrap; }
.ws-cube-c > .ws-cube-top > .ws-cube-o, .ws-cube-h > .ws-cube-o { position: absolute; right: -4px; top: -4px; }
.ws-cube-h > .ws-cube-o { right: auto; left: -6px; top: -6px; }
.ws-cube-rd:hover .ws-cube-rn { text-decoration: underline; }
.ws-cube-a { display: block; font-size: var(--fs-meta); color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cube-a.ws-warn { color: var(--warn); }
.ws-cube-f { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); font-size: var(--fs-meta); color: var(--mu); min-width: 0; }
.ws-cube-v { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-cube-x { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ws-cube-o { position: absolute; right: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--enc); border: 1px solid var(--bg); }
.ws-cube-on, .ws-cube-box.ws-cube-on > .ws-cube-h { outline: 1px solid var(--mu); outline-offset: 1px; border-radius: var(--r-m); background: var(--p3); }
.ws-cube-w { border-color: var(--warn); }
.ws-cube-box.ws-cube-w { border-color: var(--warn); }
.ws-cube-info { padding: 8px 12px 12px; }
.ws-ph { display: inline-flex; align-items: center; gap: 4px; height: 16px; }
.ws-ph i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--line2); }
.ws-ph i.on { background: var(--mu); } .ws-ph i.now { background: var(--tx); }
.ws-ph-x i.now { background: var(--warn); }
.ws-lack { font-size: var(--fs-meta); color: var(--mu); white-space: nowrap; } .ws-lack-x { color: var(--warn); }
.ws-box + .ws-box { margin-top: 24px; }
/* The sheet, top down: name, phases, the buttons, the facts as one plain list, then what happened (design system §44; Raimo, 18 Nov 2026:
   "the dark block needs to go", "the whole component with automate, measure, and run. And delete, it's floating", "purpose with a plus behind it") */
.ws-phs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ws-phs-c { min-width: 0; padding: 10px 12px; font-size: var(--fs-meta); color: var(--mu); overflow-wrap: anywhere; } .ws-phs-c:first-child { padding-left: 0; }
.ws-phs-c + .ws-phs-c { border-left: 1px solid var(--line); }
.ws-phs-c b { display: block; margin-bottom: 2px; font-weight: 600; color: var(--mu); }
.ws-phs-c.on b, .ws-phs-c.on > span { color: var(--tx2); } .ws-phs-c.now b { color: var(--tx); } .ws-phs-c.now > span { color: var(--tx2); }
.ws-sheet .ws-tk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 16px 0 8px; }
.ws-sheet .ws-tk-acts .ws-tk-end { margin-left: auto; }
.ws-facts { margin: 8px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ws-sheet .ws-facts .ws-notes { grid-template-columns: 92px minmax(0, 1fr); gap: 6px 8px; margin: 0 0 6px; }
.ws-sheet .ws-facts .ws-tk-props { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; border: 0; background: none; }
.ws-sheet .ws-facts .ws-tk-p { min-height: 24px; } .ws-sheet .ws-facts .ws-tk-p > span { width: 92px; }
@media (max-width: 700px) { .ws-phs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-phs-c:nth-child(3) { padding-left: 0; border-left: 0; } .ws-phs-c:nth-child(n+3) { border-top: 1px solid var(--line); } }
.ws-notes dd .ws-tk-pen.ws-tk-add { width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; color: var(--mu); font-size: var(--fs-meta); cursor: pointer; } .ws-notes dd .ws-tk-pen.ws-tk-add:hover { color: var(--tx); }
/* Notes between agents in a sheet (Raimo, 18 Nov 2026: "the notes agents leave for eachother"): who to whom, the text, an answer under its note */
.ws-talk-who { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; } .ws-talk-who i { font-style: normal; color: var(--mu); }
.ws-talk-t { display: block; margin-top: 2px; color: var(--tx); overflow-wrap: anywhere; } .ws-talk-re { padding-left: 24px; }
.ws-talk-n { margin-left: 8px; font-weight: 400; color: var(--mu); } .ws-talk-open { margin-left: 8px; color: var(--mu); }

/* ── 45. The map (20 Nov 2026, status: draft). The folder in the menu chooses what it shows; a part opens its sheet, or is marked as wanted. ── */
.ws-map-sw { display: inline-flex; border: 1px solid var(--line2); border-radius: var(--r-m); padding: 2px; gap: 2px; background: var(--p1); }
.ws-map-sw button { border: 0; background: none; color: var(--mu); font: 400 var(--fs-meta)/1 var(--sans-ui); padding: 6px 10px; border-radius: var(--r-s); cursor: pointer; }
.ws-map-sw button[aria-pressed="true"] { background: var(--p3); color: var(--tx); }
.ws-map-vp { position: relative; height: calc(100vh - 240px); min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); padding: 0; background: var(--bg); cursor: grab; touch-action: none; margin-top: var(--s3); }
.ws-map-vp.ws-map-drag { cursor: grabbing; }
.ws-map-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; padding: 64px var(--s4) var(--s4); width: max-content; }
.ws-map-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.ws-map-l { fill: none; stroke: var(--line2); stroke-width: 1.5; } .ws-map-l-off { opacity: .15; }
.ws-map-row { display: flex; gap: var(--s3); align-items: flex-start; }
.ws-map-d { background: var(--p1); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s4); width: 1000px; }
.ws-map-sub { background: var(--p2); width: auto; margin-top: var(--s3); }
.ws-map-shut { opacity: .55; }
.ws-map-dh { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.ws-map-dn { border: 0; background: none; color: var(--tx); font: 600 var(--fs-title)/var(--lh-tight) var(--sans-ui); padding: 0; cursor: pointer; text-align: left; }
.ws-map-sub .ws-map-dn { font-size: var(--fs-head); }
.ws-map-h { display: flex; flex-wrap: wrap; gap: var(--s4); font-size: var(--fs-body); color: var(--mu); margin: var(--s2) 0 var(--s2); }
.ws-map-h b { color: var(--tx); font-weight: 600; } .ws-map-bad, .ws-map-bad b { color: var(--warn); }
.ws-map-w { color: var(--mu); font-size: var(--fs-meta); }
.ws-map-sec { font: 600 var(--fs-meta)/var(--lh) var(--sans-ui); color: var(--mu); margin: var(--s4) 0 var(--s2); }
.ws-map-cs { display: grid; grid-template-columns: repeat(3, 310px); gap: var(--s3); }
.ws-map-c { background: var(--p2); border: 1px solid var(--line2); border-radius: var(--r-l); padding: var(--s3); min-width: 0; }
.ws-map-ct { display: grid; gap: 4px; width: 100%; border: 0; background: none; color: var(--tx); padding: 0 0 var(--s2); cursor: pointer; text-align: left; }
.ws-map-kh { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.ws-map-kt { font: 600 var(--fs-body)/var(--lh-tight) var(--sans-ui); color: var(--tx); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ws-map-km { font: 400 var(--fs-meta)/var(--lh-tight) var(--sans-ui); color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-map-g { display: inline-flex; gap: 3px; margin-left: auto; } .ws-map-g i { width: 9px; height: 9px; border: 1.5px solid var(--warn); border-radius: var(--r-s); } .ws-map-g i.on { background: var(--mu); border-color: var(--mu); }
.ws-map-ss { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.ws-map-s { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-width: 0; border: 1px dashed var(--line2); border-radius: var(--r-m); padding: 6px 8px; background: transparent; color: var(--mu); font: 400 var(--fs-meta)/var(--lh-tight) var(--sans-ui); cursor: pointer; text-align: left; }
.ws-map-s b { font-weight: 400; color: var(--tx2); white-space: nowrap; flex: none; } .ws-map-s span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-map-s:hover { border-color: var(--mu); color: var(--tx); } .ws-map-s-on { border-style: solid; color: var(--tx); }
.ws-map-b { display: flex; flex-wrap: wrap; gap: var(--s3); }
.ws-map-k { display: grid; gap: 4px; width: 230px; min-width: 0; border: 1px solid var(--line2); border-radius: var(--r-l); padding: var(--s3); background: var(--p2); color: var(--tx); cursor: pointer; text-align: left; }
.ws-map-r { display: grid; grid-template-columns: repeat(3, 230px); gap: var(--s3) var(--s5); }
.ws-map-from { border-style: dashed; background: var(--p1); }
.ws-map-want, .ws-map-c.ws-map-want, .ws-map-s.ws-map-want { border-color: var(--pot); border-style: solid; }
.ws-map-s.ws-map-want, .ws-map-s.ws-map-want b { color: var(--pot); }
.ws-map-flag { font: 600 var(--fs-mono)/var(--lh-tight) var(--sans-ui); color: var(--pot); border: 1px solid var(--pot); border-radius: var(--r-s); padding: 0 6px; }
.ws-map-fold { display: block; margin-top: var(--s4); border: 0; background: none; color: var(--tx2); font: 400 var(--fs-meta)/var(--lh) var(--sans-ui); padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ws-map-t { position: absolute; left: var(--s3); top: var(--s3); display: flex; align-items: center; gap: var(--s2); z-index: 1; }
.ws-map-t [aria-pressed="true"] { border-color: var(--pot); color: var(--pot); }
.ws-map-z { position: absolute; right: var(--s3); top: var(--s3); display: flex; gap: 6px; z-index: 1; }
.ws-map-dim .ws-map-p:not(.ws-map-hi), .ws-map-dim .ws-map-c:not(.ws-map-hi) { opacity: .25; }
.ws-map-hi { outline: 2px solid var(--tx); outline-offset: 2px; }
.ws-map-far .ws-map-ss, .ws-map-far .ws-map-km, .ws-map-far .ws-map-fold { display: none; }
.ws-map-far .ws-map-kt { font-size: var(--fs-head); } .ws-map-far .ws-map-dn { font-size: var(--fs-title); } .ws-map-far .ws-map-h { font-size: var(--fs-head); }
.ws-map-far .ws-map-g i { width: 14px; height: 14px; border-width: 2px; }
/* The explainer under the hero (20 Nov 2026), framed like the chat cards: one box that holds exactly the video, nothing around it. */
.hp-vid { width: 100%; max-width: 1180px; margin: 96px auto 0; padding: 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--p1); }
.hp-vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--p1); }
@media (max-width: 860px) { .hp-vid { margin-top: 56px; border-radius: 10px; } }

/* The map of a workspace on the new core: the whole project as one body in three dimensions (design system §51). status: draft */
.ws-cloud { position: relative; height: min(72vh, 760px); min-height: 420px; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--void); overflow: hidden; }
.ws-cloud-in { position: absolute; inset: 0; cursor: grab; touch-action: none; } .ws-cloud-in:active { cursor: grabbing; }
.ws-cloud-lab { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ws-cloud-lab span { position: absolute; white-space: nowrap; font-size: var(--fs-meta); line-height: var(--lh-tight); color: var(--tx2); transform: translateY(-50%); padding: 2px 7px; border-radius: var(--r-m); background: rgba(10,11,13,.72); }
.ws-cloud-lab .ws-cloud-a { font-weight: 600; color: var(--tx); }
.ws-cloud-lab .ws-cloud-v { display: grid; gap: 2px; padding: 6px 10px; border: 1px solid var(--line2); border-radius: var(--r-l); background: rgba(10,11,13,.82); line-height: var(--lh-tight); }
.ws-cloud-lab .ws-cloud-v[hidden] { display: none; }
.ws-cloud-v small { font-size: var(--fs-meta); color: var(--mu); } .ws-cloud-v b { font: 500 var(--fs-body) var(--mono); color: var(--tx); font-variant-numeric: tabular-nums; } .ws-cloud-v i { font-style: normal; color: var(--mu); }
.ws-cloud-lab .ws-cloud-s-you { color: var(--you); } .ws-cloud-lab .ws-cloud-s-outside { color: var(--enc); } .ws-cloud-lab .ws-cloud-s-exposed, .ws-cloud-lab .ws-cloud-s-number { color: var(--warn); } .ws-cloud-lab .ws-cloud-s-busy { color: var(--run); } .ws-cloud-lab .ws-cloud-s-chat { color: var(--tx); } .ws-cloud-lab .ws-cloud-s-show { color: var(--tx2); } .ws-cloud-lab .ws-cloud-s-recent { color: var(--ok); }
.ws-cloud-d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: var(--dim); }
.ws-cloud-d-chat { background: var(--tx); } .ws-cloud-d-busy { background: var(--run); } .ws-cloud-d-you { background: var(--you); } .ws-cloud-d-outside { background: var(--enc); } .ws-cloud-d-exposed { background: var(--warn); } .ws-cloud-d-number { background: none; box-shadow: inset 0 0 0 2px var(--warn); } .ws-cloud-d-recent { background: var(--ok); } .ws-cloud-d-show { background: var(--tx2); }
.ws-wait-mark[role="button"] { cursor: pointer; }
.ws-cloud-l { display: inline-block; width: 28px; height: 2px; background: var(--dim); }
.ws-cloud-d-unnamed { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pot); } .ws-cloud-d-ring { background: var(--warn); } .ws-cloud-d-loop { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tx2); }
.ws-cloud-f { display: inline-block; width: 9px; height: 9px; background: var(--mu); transform: rotate(45deg); }
.ws-cloud-l-open { background: var(--tx); } .ws-cloud-l-held, .ws-cloud-l-arrived { background: var(--warn); } .ws-cloud-l-running { background: var(--run); }
.ws-cloud-info { position: absolute; left: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); z-index: 1; } .ws-cloud-info:empty { display: none; } .ws-cloud-info .ws-tk-props { grid-template-columns: 1fr; gap: 4px; margin: 0; }
.ws-cloud-0 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mu); font-size: var(--fs-meta); margin: 0; }

/* The home page on the language (25 Nov 2026): a line of a read leads with the dot of its state, as the map draws it (§51), and a section
   may hold a shot of the control room in its box (hp-s-shot) instead of rows. */
.hp-dot { justify-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--mu); }
.hp-dot-you { background: var(--you); } .hp-dot-chat { background: var(--tx); } .hp-dot-show { background: var(--mu); } .hp-dot-recent { background: var(--ok); box-shadow: 0 0 0 5px rgba(143,214,163,.18); }
.hp-dot-off { background: none; border: 1.5px dashed var(--mu); }
.hp-s .hp-s-shot { margin: 0; max-width: none; }
@media (max-width: 860px) { .hp-chat-card .hp-chat-n small { white-space: normal; } }
