/* Layout: one calm column. Slim intro, a sticky running total, one table-like list (task, hours, slider, result), add your own, then the verdict with the calculation. Detail lives behind "More". */
:root {
  --bg: #F5F7F9;
  --surface: #FFFFFF;
  --surface-2: #E9EEF2;
  --ink: #111B27;
  --muted: #566475;
  --line: #D9E0E7;
  --accent: #14253B;
  --accent-ink: #FFFFFF;
  --hero-hl: #F2B84B;
  --automate: #2F54A8;
  --automate-soft: #E3EAF8;
  --augment: #0A6A66;
  --augment-soft: #DDF0EE;
  --create: #9A5B00;
  --create-soft: #F7EBD2;
  --human: #A23B6C;
  --human-soft: #F8E3EC;
  --own: #4D7A1C;
  --own-soft: #EAF3DC;
  --own-ink: #FFFFFF;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D161F; --surface: #152230; --surface-2: #1D2D3D; --ink: #E8EEF4; --muted: #9BADBF; --line: #2B3F52;
    --accent: #E8EEF4; --accent-ink: #0D161F; --hero-hl: #8A4F00;
    --automate: #8FAAEB; --automate-soft: #1B2B4C; --augment: #58C9C0; --augment-soft: #133A3B;
    --create: #E3A94A; --create-soft: #40300F; --human: #EE8FB7; --human-soft: #40192C; --own: #A9D56E; --own-soft: #22331A; --own-ink: #0D161F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D161F; --surface: #152230; --surface-2: #1D2D3D; --ink: #E8EEF4; --muted: #9BADBF; --line: #2B3F52;
  --accent: #E8EEF4; --accent-ink: #0D161F; --hero-hl: #8A4F00;
  --automate: #8FAAEB; --automate-soft: #1B2B4C; --augment: #58C9C0; --augment-soft: #133A3B;
  --create: #E3A94A; --create-soft: #40300F; --human: #EE8FB7; --human-soft: #40192C; --own: #A9D56E; --own-soft: #22331A; --own-ink: #0D161F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0rem; line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1000px; margin-inline: auto; padding-inline: 20px; }
.page { padding-block: 32px 72px; display: grid; gap: 24px; }
.eyebrow { font-size: 0.833rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.lead { margin-top: 10px; max-width: none; color: var(--muted); font-size: 1.0rem; }
.hint { color: var(--muted); font-size: 1.0rem; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; }
.step { font-size: 0.833rem; padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--line); color: var(--muted); }
.lifenav { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.lifenav .steps { margin-top: 8px; }
.step.on { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font-weight: 700; }
h2 { font-size: 1.44rem; font-weight: 700; }

/* Slim legend */
.legend { display: grid; gap: 10px; }
.howto { display: grid; gap: 10px; }
.how3 { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.how3 li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 48px; position: relative; font-size: 1.0rem; }
.how3 li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.how3 b { display: block; font-family: var(--font-display); }
.key { display: grid; gap: 8px; margin-top: 14px; }
.kt { font-size: 0.833rem; font-weight: 600; color: var(--muted); }
.kgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.kc { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 8px; align-items: baseline; border-radius: 10px; padding: 8px 12px; font-size: 1.0rem; }
.kc b { font-family: var(--font-display); }
.kc span { grid-column: 2; color: var(--ink); }
.kc.human { background: var(--human-soft); } .kc.augment { background: var(--augment-soft); } .kc.automate { background: var(--automate-soft); } .kc.create { background: var(--create-soft); }
.tagkey { margin: 0; font-size: 0.833rem; color: var(--muted); }
.zones { display: flex; height: 12px; border-radius: 6px; overflow: hidden; }
.zones i { display: block; height: 100%; }
.z-human { background: var(--human); } .z-augment { background: var(--augment); } .z-automate { background: var(--automate); } .z-create { background: var(--create); }
.zlist { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 1.0rem; }
.zlist span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.human { background: var(--human); } .dot.augment { background: var(--augment); } .dot.automate { background: var(--automate); } .dot.create { background: var(--create); }

/* Sticky running total */
.running { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-block: 1px solid var(--line); }
.running .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-block: 10px; }
.running b { font-family: var(--font-display); font-size: 1.0rem; font-variant-numeric: tabular-nums; }
.running .meter { flex: 1 1 140px; min-width: 120px; height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.running .meter i { display: block; height: 100%; background: var(--accent); transition: width 0.25s ease; }
.running .gtag { font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; margin-left: 0; white-space: nowrap; vertical-align: 1px; }
.running .rpills { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.running .rp { display: inline-flex; align-items: center; gap: 4px; font-size: 0.833rem; font-variant-numeric: tabular-nums; }
.running .rp b { font-size: 1.0rem; }
.running a { font-weight: 600; color: var(--accent); margin-left: auto; }

/* Collapsible panels */
details.fold { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
details.fold > summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.0rem; }
details.fold > summary small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.833rem; margin-left: 6px; }
details.fold ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 1.0rem; }
a.src { color: var(--muted); font-size: 0.833rem; white-space: nowrap; text-underline-offset: 2px; }
.rk { margin: 10px 0 0; display: grid; gap: 8px; }
.rk div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 14px; }
.rk dt { font-weight: 700; font-family: var(--font-display); }
.rk dd { margin: 0; font-size: 1.0rem; color: var(--muted); }
@media (max-width: 560px) { .rk div { grid-template-columns: minmax(0, 1fr); } }
details.read { margin-top: 12px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; margin: 12px 0 0; }
.term { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.term dt { font-family: var(--font-display); font-weight: 700; }
.term dd { margin: 2px 0 0; font-size: 1.0rem; color: var(--muted); }

/* List */
.listhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px; }
.cols, .row { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(170px, 270px) 124px; grid-template-areas: "name hours slider pill" "more more more more"; gap: 6px 16px; align-items: center; }
.cols { grid-template-areas: "name hours slider pill"; padding: 18px 16px 6px; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.list { display: grid; gap: 8px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.c-name { grid-area: name; min-width: 0; }
.c-hours { grid-area: hours; }
.c-slider { grid-area: slider; min-width: 0; }
.c-pill { grid-area: pill; }
.row h3 { font-size: 1.0rem; font-weight: 700; }
.meta { font-size: 0.833rem; color: var(--muted); margin-top: 2px; }
.meta .ppl { color: var(--human); font-weight: 600; }
.hrs { display: inline-flex; align-items: center; gap: 6px; }
.hrs input { width: 58px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-variant-numeric: tabular-nums; }
.hrs span { color: var(--muted); font-size: 0.833rem; white-space: nowrap; }
input[type="range"].zs { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; margin: 8px 0 4px; cursor: pointer; display: block;
  background: linear-gradient(to right, var(--human) 0 50%, var(--augment) 50% 65%, var(--automate) 65% 90%, var(--create) 90% 100%); }
input[type="range"].zs::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); cursor: grab; }
input[type="range"].zs::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); cursor: grab; }
input[type="range"].zs::-moz-range-track { background: transparent; height: 12px; }
input[type="range"].zs:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.gauge-unused { height: 12px; border-radius: 6px; background: linear-gradient(to right, var(--human) 0 50%, var(--augment) 50% 65%, var(--automate) 65% 90%, var(--create) 90% 100%); }
.gauge .mk { position: absolute; top: 50%; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 4px solid var(--ink); transform: translate(-50%, -50%); transition: left 0.25s ease; }
.lbtn { display: flex; gap: 8px; flex-wrap: wrap; }
.steps-h { font-size: 0.833rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 4px 0 2px; }
.flat { display: flex; height: 48px; border-radius: 10px; overflow: hidden; width: 100%; background: var(--surface-2); }
.flat.small { height: 34px; margin: 6px 0 2px; }
.fseg { display: grid; place-items: center; min-width: 0; overflow: hidden; color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 1.0rem; border-right: 2px solid var(--surface); transition: width 0.25s ease; }
.fseg:last-child { border-right: 0; }
.fseg.top { box-shadow: inset 0 0 0 3px var(--ink); }
.stwrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-start; }
.stwrap .stl { flex: 1 1 380px; min-width: 0; }
.tpie { flex: 0 0 150px; display: grid; gap: 4px; justify-items: center; }
.tpie svg { width: 150px; height: 150px; }
.tpl { font-size: 0.833rem; color: var(--muted); text-align: center; max-width: 150px; }
.tpn { fill: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; text-anchor: middle; }
.tpc { fill: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; text-anchor: middle; }
@media (max-width: 700px) { .tpie { order: -1; flex-basis: 100%; } }
.num { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 0.75rem; font-weight: 700; vertical-align: 1px; }
.stp .why { margin-left: 28px; }
.stl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.stp:last-child { border-bottom: 0; }
@media (max-width: 700px) { .stp { grid-template-columns: minmax(0, 1fr); } }
details.more2 { border-top: 1px solid var(--line); padding-top: 8px; }
details.more2 > summary { cursor: pointer; font-size: 1.0rem; font-weight: 600; color: var(--muted); }
#list.nowhy .stp .why { display: none; }
.stp .why { display: block; font-size: 0.833rem; color: var(--muted); margin-top: 1px; }
.sb.sug { font-weight: 700; }
.flat.mini { height: 14px; margin: 10px 0 6px; border-radius: 7px; }
.flat.mini .fseg { font-size: 0; border-right-width: 1px; }
.fsum { margin: 4px 0 0; font-size: 1.0rem; font-weight: 600; }
.stp .sn { font-size: 1.0rem; min-width: 0; overflow-wrap: anywhere; }
.stp .sh { font-size: 0.833rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.sb { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 2px 10px; font-size: 0.833rem; cursor: pointer; }
.sb[aria-pressed="true"] { font-weight: 700; color: var(--ink); }
.sb[aria-pressed="true"][data-m="human"] { background: var(--human-soft); border-color: var(--human); }
.sb[aria-pressed="true"][data-m="augment"] { background: var(--augment-soft); border-color: var(--augment); }
.sb[aria-pressed="true"][data-m="automate"] { background: var(--automate-soft); border-color: var(--automate); }
.sb[aria-pressed="true"][data-m="create"] { background: var(--create-soft); border-color: var(--create); }
.cst { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cst li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 8px; }
.cst select { padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
@media (max-width: 520px) { .cst li { grid-template-columns: minmax(0, 1fr); } }
.calc { font-size: 0.833rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 1.0rem; }
.pill.human { background: var(--human-soft); } .pill.augment { background: var(--augment-soft); } .pill.automate { background: var(--automate-soft); } .pill.create { background: var(--create-soft); }
details.more { grid-area: more; }
details.more > summary { cursor: pointer; font-size: 1.0rem; font-weight: 600; color: var(--muted); }
.mbody { display: grid; gap: 10px; margin-top: 8px; }
.mbody .thought { font-size: 1.0rem; }
.uc { margin: 0; display: grid; gap: 8px; }
.ucr { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.ucr dt { font-size: 0.833rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.ucr dd { margin: 0; font-size: 1.0rem; }
@media (max-width: 560px) { .ucr { grid-template-columns: minmax(0, 1fr); } }
.plist { display: grid; gap: 8px; }
.plist .k { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { font-size: 0.833rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.stk { display: flex; gap: 8px; align-items: flex-start; font-size: 1.0rem; cursor: pointer; }
.stk input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.rm { justify-self: start; border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 2px 0; font-size: 1.0rem; }

@media (max-width: 860px) {
  .cols { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name pill" "slider slider" "hours hours" "more more"; }
  .c-pill { justify-self: end; }
}

/* Buttons and form */
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 14px; font-weight: 600; cursor: pointer; }
.btn:hover { opacity: 0.92; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); justify-self: start; padding: 10px 16px; }
.field { display: grid; gap: 4px; }
.field label { font-size: 0.833rem; font-weight: 600; color: var(--muted); }
input[type="text"], input[type="number"] { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
input::placeholder { color: var(--muted); opacity: 0.8; }
.composer { background: var(--surface); border: 2px dashed var(--muted); border-radius: 16px; padding: 18px; display: grid; gap: 14px; }
.crow { display: grid; grid-template-columns: minmax(0, 2fr) 130px; gap: 16px; align-items: end; }
@media (max-width: 760px) { .crow { grid-template-columns: minmax(0, 1fr); } }
.cres { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status { min-height: 1.4em; font-size: 1.0rem; color: var(--muted); }

/* Verdict */
.verdict { background: var(--surface); border: 2px solid var(--accent); border-radius: 18px; padding: 22px; display: grid; gap: 16px; scroll-margin-top: 70px; }
.vlabel { font-size: 0.833rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body) !important; font-weight: 600 !important; }
.hero { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; align-items: center; }
.hbig { display: grid; justify-items: center; line-height: 1; }
.hbig b { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hbig span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 2px; }
.htext { display: grid; gap: 8px; min-width: 0; }
.hero .vtop { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; }
.hero .vband { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--hero-hl); }
.hero .vsub { color: inherit; opacity: 0.8; font-size: 1.0rem; }
.hstats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.hs { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent-ink) 14%, transparent); }
.hs b { font-family: var(--font-display); font-size: 1.44rem; font-variant-numeric: tabular-nums; }
.hs span { font-size: 0.833rem; opacity: 0.85; }
.hs.lcard { color: var(--ink); gap: 3px; padding: 12px 14px; align-content: start; font-family: var(--font-body); }
.hs.lcard.human { background: var(--human-soft); } .hs.lcard.augment { background: var(--augment-soft); } .hs.lcard.automate { background: var(--automate-soft); } .hs.lcard.create { background: var(--create-soft); }
.hs.lcard .hsh b { font-family: var(--font-display); font-size: 1.0rem; font-weight: 700; line-height: 1.2; }
.hs.lcard .hsh .dot { box-shadow: none; }
.hs.lcard .hpc { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.728rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hs.lcard .hmeta { font-size: 1.0rem; font-weight: 600; opacity: 1; }
.hs.lcard .hdef { font-size: 1.0rem; opacity: 0.85; margin-top: 2px; }
@media (min-width: 900px) { .hstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hs.cnt { grid-column: 1 / -1; background: transparent; border: 2px dashed color-mix(in srgb, var(--accent-ink) 40%, transparent); }
.hs.cnt b { font-size: 1.2rem; }
@media (max-width: 560px) { .hero { grid-template-columns: minmax(0, 1fr); } .hbig { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 10px; justify-content: start; } }
.vtop { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; text-wrap: balance; }
.vsub { color: var(--muted); font-size: 1.0rem; }
.advbars { display: grid; gap: 4px; margin-bottom: 14px; }
.advrow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 1.0rem; font-weight: 600; }
.advl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.advl li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 4px 10px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 1.0rem; }
.advl li.advok { display: block; font-weight: 600; }
.advl li .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; align-self: center; }
.advl li b { font-family: var(--font-display); }
.advl li .nums { font-variant-numeric: tabular-nums; color: var(--muted); }
.advl li .pot { grid-column: 2; font-weight: 600; }
.advl li .eg { grid-column: 2; color: var(--muted); font-size: 1.0rem; }
@media (max-width: 520px) { .advrow { grid-template-columns: 1fr; gap: 2px; } }
.pie { width: min(100%, 250px); height: auto; flex: none; }
.pie text { fill: var(--ink); font-family: var(--font-display); text-anchor: middle; }
.pie .pt1 { font-size: 1.44rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pie .pt2 { font-size: 0.75rem; fill: var(--muted); font-family: var(--font-body); }
.vh { font-size: 1.0rem; font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 52px; gap: 12px; align-items: center; font-size: 1.0rem; }
.bar .bn { min-width: 0; overflow-wrap: anywhere; }
.bar .bt { height: 14px; border-radius: 7px; background: transparent; }
.bar .bo { height: 100%; border-radius: 7px; display: flex; overflow: hidden; }
.bar .bi { height: 100%; }
.bgroup { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 1.0rem; }
.bgroup:first-child { margin-top: 0; }
.bgroup { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 52px; }
.bgroup.empty { opacity: 0.6; border-style: dashed; }
.bgroup.tgl { cursor: pointer; }
.bgroup.tgl:hover { background: var(--surface-2); }
.bgroup .caret { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.44rem; line-height: 1; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.bgroup.empty .caret { background: transparent; }
.bar[hidden] { display: none !important; }
.bars .bar { padding-inline: 12px; }
.bgroup b { font-family: var(--font-display); font-size: 1.0rem; }
.bgroup span { color: var(--muted); font-size: 1.0rem; margin-left: auto; }
.bar .bv { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.833rem; }
.bar.hot .bn { font-weight: 700; }
.mt.yours { background: var(--own); color: var(--own-ink); }
.mt { display: inline-block; margin-left: 6px; font-size: 0.75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--bg); vertical-align: middle; }
@media (max-width: 520px) { .bar { grid-template-columns: minmax(0, 1fr) 52px; } .bar .bt { grid-column: 1 / 3; grid-row: 2; } }
.hrt { scroll-margin-top: 64px; }
.pill { white-space: nowrap; }
.tlink { display: block; width: fit-content; justify-self: start; }
.tlink { margin-top: 12px; border: 2px solid var(--accent); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: 1.0rem; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.tlink:hover { background: var(--accent); color: var(--accent-ink); }
.tfbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.list { gap: 12px; }
details.stage { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
details.stage > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 240px) minmax(0, auto); gap: 6px 16px; align-items: center; }
details.stage > summary::-webkit-details-marker { display: none; }
.sg-name b { font-family: var(--font-display); font-size: 1.0rem; }
.sg-name b::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-right: 10px; vertical-align: middle; transition: transform 0.15s ease; }
details.stage[open] .sg-name b::before { transform: rotate(90deg); }
.sg-sub { display: block; font-weight: 400; color: var(--muted); font-size: 1.0rem; margin-top: 2px; }
.sg-end { text-align: right; font-variant-numeric: tabular-nums; }
.sg-end b { display: block; font-size: 1.0rem; }
.sg-end span { font-size: 0.833rem; color: var(--muted); font-weight: 400; }
details.stage.own { background: var(--own-soft); border: 2px dashed var(--own); }
details.stage.own .sg-name b { color: var(--own); }
details.stage.own .sg-sub { color: var(--ink); }
.row.own { border-left: 5px solid var(--own); }
details.stage > .stagebody { padding: 0 12px 12px; display: grid; gap: 8px; }
details.stage .cols { padding: 4px 16px 0; }
@media (max-width: 620px) { details.stage > summary { grid-template-columns: minmax(0, 1fr) auto; } .sg-bar { grid-column: 1 / 3; grid-row: 2; } }
.addform { background: var(--surface); border: 2px dashed var(--own); border-radius: 12px; padding: 14px 16px; display: grid; gap: 12px; }
.addform h3 { font-size: 1.0rem; }
.arow { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.arow label, .mixbox label { display: grid; gap: 4px; font-size: 0.833rem; font-weight: 600; min-width: 0; }
.arow input[type=text], .arow input[type=number], .mixbox input { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-width: 0; }
.arow input[type=text] { width: min(100%, 320px); }
.arow input[type=number], .mixbox input { width: 90px; }
.mixbox { display: flex; flex-wrap: wrap; gap: 12px; }
.mixbox .mp { font-weight: 400; color: var(--muted); }
.fsteps { display: grid; gap: 8px; }
.fstep { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fstep input[type=text] { flex: 1 1 220px; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); min-width: 0; }
.dnote { grid-column: 1 / -1; margin: 0; font-size: 1.0rem; font-weight: 600; color: var(--hero-hl); }
.adddone { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--own-soft); border: 1px solid var(--own); font-weight: 600; font-size: 1.0rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--hero-hl); } 100% { box-shadow: 0 0 0 14px transparent; } }
.hero.pulse { animation: pulse 1.2s ease-out; }
.addsum { font-size: 1.0rem; font-weight: 600; margin: 0; }
.hbig i { font-style: normal; display: block; font-size: 0.833rem; opacity: 0.8; font-weight: 600; }
.addprev { font-size: 1.0rem; }
.addbtn { font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; justify-self: start; }
.addbtn:disabled { opacity: 0.5; cursor: not-allowed; }
.pnote { font-size: 0.833rem; color: var(--muted); }
.how { font-size: 1.0rem; color: var(--muted); }
.caution { background: var(--create-soft); border-radius: 12px; padding: 14px 16px; font-size: 1.0rem; }
.caution b { font-family: var(--font-display); }
.hrt { display: grid; gap: 12px; }
.hrt-head { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 22px 24px; display: grid; gap: 4px; }
.hrt-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.hrt-head p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--hero-hl); }
.buckets { gap: 10px !important; }
details.area { background: var(--surface); border: 2px solid var(--line); border-radius: 14px; }
details.area[open] { border-color: var(--accent); }
details.area > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
details.area > summary::-webkit-details-marker { display: none; }
.al { display: grid; gap: 2px; min-width: 0; }
.al b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.ac { color: var(--muted); font-size: 1.0rem; }
.ar { display: flex; align-items: center; gap: 10px; }
.an { font-size: 0.833rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--surface-2); white-space: nowrap; }
details.more > summary, details.more2 > summary, details.fold > summary { list-style: none; }
details.more > summary::-webkit-details-marker, details.more2 > summary::-webkit-details-marker, details.fold > summary::-webkit-details-marker { display: none; }
details.more > summary::before, details.more2 > summary::before, details.fold > summary::before, details.area .al b::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-right: 10px; vertical-align: middle; transition: transform 0.15s ease; }
details.more[open] > summary::before, details.more2[open] > summary::before, details.fold[open] > summary::before, details.area[open] .al b::before { transform: rotate(90deg); }
details.area > .orgs { margin: 0 16px 16px; }
@media (max-width: 560px) { details.area > summary { grid-template-columns: minmax(0, 1fr); } }
.start { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 10px; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.shead { display: flex; gap: 10px; align-items: center; }
.shead b { font-family: var(--font-display); }
.sn1 { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.833rem; flex: none; }
.sh1 { font-size: 1.0rem; color: var(--muted); }
.ref { display: grid; gap: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab, .chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 16px; font-weight: 600; cursor: pointer; }
.chip { padding: 4px 12px; font-size: 1.0rem; }
.tab[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.buckets { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.bhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.bhead h3 { font-size: 1.0rem; font-weight: 700; }
.bhead span { color: var(--muted); font-size: 1.0rem; }
.bucket .orgs { margin-top: 10px; }
.orgs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.org { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: grid; gap: 3px; align-content: start; }
.org b { font-family: var(--font-display); font-size: 1.0rem; }
.org .rg { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.org .kf { font-size: 1.0rem; }
.org .tk { font-size: 0.833rem; color: var(--muted); }
.foot { color: var(--muted); font-size: 1.0rem; max-width: none; }

/* Audit fixes */
[hidden] { display: none !important; }
html { scroll-padding-top: 72px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hbig em { font-style: normal; }
.hsh { display: flex; align-items: center; gap: 8px; }
.hsh .dot { width: 12px; height: 12px; box-shadow: 0 0 0 2px var(--accent-ink); }
.row.off h3 { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.row.off .c-slider, .row.off .c-hours { opacity: 0.5; }
.pill.off { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--muted); }
button.leave { display: block; margin-top: 4px; border: 0; background: transparent; padding: 4px 0; font-size: 0.833rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.btn.small { padding: 6px 12px; font-size: 1.0rem; }
.stagetools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 4px 4px 0; }
.hnote { display: block; font-size: 0.833rem; color: var(--human); font-weight: 600; }
.kwhint, .addhelp { margin: 0; font-size: 1.0rem; color: var(--muted); }
.kwhint { color: var(--human); font-weight: 600; }
.addform { border: 2px solid var(--own); }
details.stage.own { border: 2px solid var(--own); }
.step:not(.on) { border-style: solid; background: var(--surface-2); opacity: 0.75; cursor: default; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hrt-head p { color: var(--accent-ink); opacity: 0.85; } }
:root[data-theme="dark"] .hrt-head p { color: var(--accent-ink); opacity: 0.85; }
@media (max-width: 700px) {
  .sb { min-height: 44px; padding: 6px 12px; font-size: 1.0rem; }
  .stp .seg, .fstep .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  details.more > summary, details.more2 > summary { min-height: 44px; display: flex; align-items: center; }
  details.fold > summary { padding-block: 10px; }
  .rm, .tlink, button.leave, .running a { min-height: 44px; display: inline-flex; align-items: center; }
  .hrs input, .arow input[type=number], .fstep input[type=text], .arow input[type=text] { min-height: 44px; }
  .btn, .chip, .addbtn { min-height: 44px; }
}
.row { position: relative; }
.afx { margin-top: 4px; display: inline-block; cursor: pointer; font: inherit; font-size: 0.75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1.5px solid var(--flag); color: var(--flag-ink); background: var(--flag-soft); }
.afpop { position: absolute; left: 12px; right: 12px; max-width: 600px; z-index: 5; background: var(--surface); color: var(--ink); border: 2px solid var(--flag); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; font-size: 1.0rem; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.afpop p { margin: 0; }
.afp-h { font-family: var(--font-display); font-weight: 700; }
.afp-why { padding: 6px 10px; border-left: 4px solid var(--muted); background: var(--surface-2); border-radius: 6px; }
.afp-rule { color: var(--muted); font-size: 0.833rem; }
.afp-link { justify-self: start; border: 0; background: transparent; padding: 4px 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); }
@media (max-width: 700px) { .afx, .afp-link { min-height: 44px; } }
.whyflag { margin: 0; font-size: 1.0rem; padding: 8px 12px; border-left: 4px solid var(--muted); background: var(--surface-2); border-radius: 8px; }
#defFold { margin-top: 4px; }
#defFold li { margin-bottom: 4px; }
.defq { margin: 10px 0 0; font-size: 1.0rem; }
.defh { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0rem; }
#defFold i { color: var(--muted); }
.afl { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.afl li { display: grid; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.afh { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.aft { font-size: 0.833rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.afr { font-size: 1.0rem; color: var(--muted); }

.dive { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 6px 12px; }
.dive b { font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 800; letter-spacing: -0.01em; }
.dive span { color: var(--muted); }
.zone { border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid; gap: 18px; background: color-mix(in srgb, var(--surface) 55%, var(--bg)); }
.z1 { gap: 18px; }
.z5 { border-style: dashed; }

.z1 { border: 0; background: transparent; padding: 0; }
.z2 { background: var(--surface); }
.z4 { border-top: 6px solid var(--ink); }
.z5 { border: 1px solid var(--line); }
.scopeline { margin: 0 0 8px; }
.aboutfold .tiles { margin-top: 12px; }
@media (max-width: 480px) { .running .wrap { flex-wrap: wrap; } .running .rpills { order: 3; flex: 1 1 100%; gap: 3px; height: 8px; } .running .rp { flex: var(--w, 25) 1 0; height: 8px; border-radius: 4px; font-size: 0; gap: 0; } .running .rp > * { display: none; } .running .rp.human { background: var(--human); } .running .rp.augment { background: var(--augment); } .running .rp.automate { background: var(--automate); } .running .rp.create { background: var(--create); } .running .rp[style*="--w: 0;"] { display: none; } }

.hero, .band, .hrt-head { --accent: #14253B; --accent-ink: #FFFFFF; --hero-hl: #F2B84B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero, :root:not([data-theme="light"]) .band, :root:not([data-theme="light"]) .hrt-head { --accent: #1D3350; --accent-ink: #E8EEF4; border: 1px solid var(--line); } }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .band, :root[data-theme="dark"] .hrt-head { --accent: #1D3350; --accent-ink: #E8EEF4; border: 1px solid var(--line); }
.sb { white-space: nowrap; }
.adddone, .addsum, .row h3, .bn { overflow-wrap: anywhere; min-width: 0; }
a.src { display: inline-block; padding-block: 8px; }
input[type="checkbox"] { width: 22px; height: 22px; }
@media (max-width: 600px) { .hstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .running .wrap { flex-wrap: wrap; gap: 6px 10px; } .running .wrap > :first-child { min-width: 0; flex: 1 1 0; font-size: 1.0rem; } .running a { white-space: nowrap; } }
@media (max-width: 420px) { .row { padding: 12px; } .afx { white-space: normal; border-radius: 12px; } .row .c-name { grid-column: 1 / -1; } }
.ztag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-family: var(--font-display); font-weight: 700; font-size: 0.833rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.ztag i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.833rem; letter-spacing: 0; }
.z2 .listhead { margin-top: 0; }
@media (max-width: 560px) { .zone { padding: 14px; border-radius: 18px; } }
.purpose { display: grid; gap: 10px; max-width: none; }
.purpose ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* ---- UX redesign: top blocks ---- */
.scope { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 14px; }
.scope .sc { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 1.0rem; font-weight: 600; display: grid; }
.scope .sc small { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.scope .arr { align-self: center; width: 28px; height: 2px; background: var(--muted); position: relative; }
.scope .arr::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 7px solid var(--muted); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@media (max-width: 560px) { .scope { flex-direction: column; } .scope .arr { width: 2px; height: 16px; margin-left: 20px; } .scope .arr::after { right: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--muted); border-bottom: 0; } }
.purpose { gap: 16px; }
.band { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 22px 24px; display: grid; gap: 8px; }
.band h2 { font-size: 0.833rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; opacity: 0.8; }
.bandline { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 1.8rem); line-height: 1.2; text-wrap: balance; }
.startbtn { justify-self: start; margin-top: 6px; background: #FFFFFF; color: #14253B; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 700; font-size: 1.0rem; cursor: pointer; }
.startbtn:hover { background: #F2F5F9; }
.startbtn:focus-visible { outline: 3px solid #F2B84B; outline-offset: 2px; }
.bandsub { margin: 0; opacity: 0.85; }
.order { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.order li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; font-size: 1.0rem; }
.order li b { font-family: var(--font-display); font-size: 1.0rem; }
.order li:nth-child(1) { border-top: 4px solid var(--human); } .order li:nth-child(2) { border-top: 4px solid var(--augment); } .order li:nth-child(3) { border-top: 4px solid var(--automate); }
.order li span { color: var(--muted); }
.blk { font-size: 1.0rem; margin-top: 4px; }
.labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.lc { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 4px 8px; align-items: baseline; border-radius: 12px; padding: 12px 14px; align-content: start; }
.lc b { font-family: var(--font-display); font-size: 1.0rem; }
.lc span { grid-column: 1 / -1; font-size: 1.0rem; }
.lc.human { background: var(--human-soft); } .lc.augment { background: var(--augment-soft); } .lc.automate { background: var(--automate-soft); } .lc.create { background: var(--create-soft); }
.hoursnote { margin: 0; padding: 10px 14px; border-left: 4px solid var(--create); background: var(--surface); border-radius: 0 10px 10px 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; align-content: start; }
.tile h3 { font-size: 1.0rem; }
.tile p { margin: 0; font-size: 1.0rem; color: var(--muted); }
.tile.not { background: var(--surface-2); }
.howto h2 { font-size: 1.2rem; }
.how3 li { padding: 12px 14px 12px 52px; display: grid; gap: 2px; align-content: start; }
.how3 li span { color: var(--muted); font-size: 1.0rem; }
.how3 li::before { top: 14px; }
.key .kc { padding: 6px 12px; }
.key .kc span { font-size: 0.833rem; }
/* ---- modest extra white space ---- */
.purpose { gap: 24px; }
.order { gap: 14px; }
.list { gap: 20px; }
details.stage > .stagebody { gap: 12px; padding: 0 14px 16px; }
.row { padding: 14px 16px; }

/* ---- multi-page additions ---- */
header .crumb { margin: 0 0 10px; font-size: 1.0rem; }
header .crumb a { color: var(--accent); font-weight: 600; text-decoration: none; }
header .crumb a:hover { text-decoration: underline; }
header .scopeline { margin: 10px 0 0; color: var(--muted); }
header .startbtn { margin-top: 14px; background: var(--accent); color: var(--accent-ink); }
header .startbtn:hover { background: var(--accent); opacity: 0.92; }
header details.fold { margin-top: 16px; }
a.startbtn { text-decoration: none; display: inline-block; }
.procsec { display: grid; gap: 12px; }
.procsec h2 { margin: 0; }
.procs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.proc { display: grid; gap: 4px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: inherit; text-decoration: none; }
a.proc:hover { border-color: var(--accent); }
.proc .pn { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.proc b { font-family: var(--font-display); font-size: 1.0rem; }
.proc .pl { color: var(--muted); font-size: 1.0rem; }
.proc .pst { justify-self: start; margin-top: 6px; font-size: 0.75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.proc.live .pst { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.proc.soon { border-style: dashed; opacity: 0.85; }

.stp .wt { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; color: var(--muted); font-size: 0.833rem; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.stp .wti { width: 3.4em; padding: 1px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; text-align: right; }
.stp .wti:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.xrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 8px; }
.xbtn { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); cursor: pointer; }
.xbtn:hover { background: var(--accent); color: var(--accent-ink); }
.xnote { color: var(--muted); font-size: 1.0rem; }

.sb.sug:not([aria-pressed="true"]) { border-radius: 5px; border: 2px solid var(--ink); font-weight: 700; color: var(--ink); padding: 1px 9px; }

@media (max-width: 420px) { .row .c-name { grid-column: 1 !important; } }

.soonbanner { margin: 10px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--terra-soft, #F6E3DA); border: 1px solid var(--line); max-width: 70ch; }
a.proc.soon { text-decoration: none; color: inherit; }
a.proc.soon:hover { border-style: solid; }

.lawl { margin: 8px 0; padding-left: 22px; display: grid; gap: 6px; }

.advwrap .advrow { grid-template-columns: 130px minmax(0, 1fr); }
.advkey, .advnote { padding-left: 140px !important; }
@media (max-width: 560px) { .advwrap .advrow { grid-template-columns: 1fr; } .advkey, .advnote { padding-left: 0 !important; } }

.advkey { list-style: none; margin: 0; padding: 0 0 0 106px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.833rem; color: var(--muted); }
.advkey li { display: inline-flex; align-items: center; gap: 6px; }
.advkey .akt { font-weight: 600; color: var(--ink); }
.advkey .dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
@media (max-width: 560px) { .advkey { padding-left: 0; } }

.advwrap { display: grid; gap: 6px; }
.advwrap .advbars { margin-bottom: 0; }
.advnote { margin: 0; padding-left: 106px; }
@media (max-width: 560px) { .advnote { padding-left: 0; } }

.how3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .how3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- home page redesign ---- */
.hero2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 32px; align-items: center; }
.hero2 .lead { max-width: none; }
.hero2 .ill { width: 100%; max-width: 380px; height: auto; justify-self: end; }
.ill .blob { fill: var(--surface-2); }
.ill .plank { fill: var(--muted); }
.ill .fulc { fill: var(--accent); }
.ill .skin { fill: #E6C3A1; }
.ill .hair { fill: #2A2F3B; }
.ill .shirt { fill: var(--accent); }
.ill .pants { fill: var(--muted); }
.ill .rbody { fill: var(--create); }
.ill .rhead { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; }
.ill .eye { fill: var(--accent); }
.ill .rline { stroke: var(--accent); stroke-width: 2.5; fill: none; }
.ill .leaf { fill: var(--augment); opacity: 0.75; }
.ill .leaf2 { fill: var(--augment); opacity: 0.4; }
.ill text { font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive, sans-serif; font-size: 1.0rem; fill: var(--accent); }
.journey { display: grid; gap: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 28px; }
.journey h2 { margin: 0; font-size: 1.2rem; }
.journey .jin { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }
.jsteps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.jstep { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: start; }
.jstep:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.0rem; }
.jstep .jn { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.833rem; display: grid; place-items: center; grid-row: 1 / span 2; }
.jstep .jt { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.jstep .jt svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.jstep .jd { color: var(--muted); font-size: 1.0rem; }
.procsec { margin-top: 28px; }
.procsec .hint { margin: 0; }
.procs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proc { grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; }
.proc .pi { grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--accent); }
.proc .pi svg { width: 30px; height: 30px; }
.proc b { grid-column: 2; grid-row: 1; align-self: center; }
.proc .pact { grid-column: 3; grid-row: 1; font-size: 0.75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.proc .pl { grid-column: 2 / 4; grid-row: 2; }
.proc .pst { grid-column: 2; grid-row: 3; }
.proc .pgo { grid-column: 3; grid-row: 3; justify-self: end; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.proc.live { border: 2px solid var(--accent); }
.zone.z1 { margin-top: 32px; }
@media (max-width: 900px) { .jsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jstep::after { display: none; } .procs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hero2 { grid-template-columns: minmax(0, 1fr); } .hero2 .ill { max-width: 300px; justify-self: center; } }
@media (max-width: 520px) { .jsteps, .procs { grid-template-columns: minmax(0, 1fr); } }
.principles { margin: 16px 0 4px; }
.principles h3 { margin: 0 0 8px; font-size: 0.833rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.principles ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .principles ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .principles ol { grid-template-columns: minmax(0, 1fr); } }
.principles li { display: grid; gap: 2px; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; font-size: 1.0rem; color: var(--muted); }
.principles li b { color: var(--ink); font-size: 1.0rem; }
.procsec .phead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }

/* ---- home restyle: warmer, softer, with icons (scoped to .home) ---- */
.home { --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; }
.home h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 600; letter-spacing: -0.01em; }
.home h2 { font-weight: 600; }
.home .hero2 { background: color-mix(in srgb, var(--create-soft) 45%, var(--bg)); border-radius: 22px; padding: 24px 28px; }
.ill .shirt { fill: var(--human); }
.ill .rbody { fill: var(--augment); }
.ill .ray { stroke: var(--create); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.ill .und { stroke: var(--augment); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.ill text { font-size: 1.44rem; }
.home .journey { background: color-mix(in srgb, var(--augment-soft) 55%, var(--bg)); border-radius: 20px; }
.home .journey h2 { font-size: 1.728rem; }
.jstep:nth-child(1) .jn { background: var(--human); }
.jstep:nth-child(2) .jn { background: var(--augment); }
.jstep:nth-child(3) .jn { background: var(--create); }
.jstep:nth-child(4) .jn { background: var(--automate); }
.jstep:nth-child(1) .jt svg { color: var(--human); }
.jstep:nth-child(2) .jt svg { color: var(--augment); }
.jstep:nth-child(3) .jt svg { color: var(--create); }
.jstep:nth-child(4) .jt svg { color: var(--automate); }
.jstep .jn { color: #fff; }
.band { position: relative; overflow: hidden; }
.band .heart { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 120px; color: var(--augment); opacity: 0.85; }
@media (max-width: 760px) { .band .heart { display: none; } }
.principles { margin: 8px 0 4px; }
.principles h3 { font-size: 1.44rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0 0 12px; }
.principles li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.principles li b { font-family: var(--font-display); font-size: 1.0rem; margin-top: 6px; }
.principles .pic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--human-soft); color: var(--human); }
.principles .pic svg { width: 24px; height: 24px; }
.principles li.augment .pic { background: var(--augment-soft); color: var(--augment); }
.principles li.create .pic { background: var(--create-soft); color: var(--create); }
.order li .ti { color: var(--human); display: block; line-height: 0; }
.order li:nth-child(2) .ti { color: var(--augment); }
.order li:nth-child(3) .ti { color: var(--automate); }
.order li .ti svg { width: 26px; height: 26px; }
.home .lc { grid-template-columns: 24px minmax(0, 1fr); align-items: center; }
.home .lc .lico { grid-column: 1; display: grid; line-height: 0; }
.home .lc .lico svg { width: 22px; height: 22px; }
.lc.human .lico { color: var(--human); } .lc.augment .lico { color: var(--augment); } .lc.automate .lico { color: var(--automate); } .lc.create .lico { color: var(--create); }
.home .procsec h2 { font-size: 1.728rem; }
.home .procs { gap: 14px; }
.procs > li:last-child { grid-column: 1 / -1; }
.home .proc { grid-template-columns: auto minmax(0, 1fr) auto auto; border-radius: 14px; }
.home .proc .pact { background: var(--augment); color: #fff; }
.home .proc .pchk { grid-column: 4; grid-row: 1; width: 22px; height: 22px; color: var(--augment); }
.home .proc .pchk svg { width: 22px; height: 22px; }
.home .proc .pl { grid-column: 2 / -1; }
.home .proc.live { border: 2px solid var(--augment); }
.home .proc .pgo { grid-column: 4; }
.home .proc .pi { color: var(--accent); }
.principles li { align-content: start; }

.thinking { margin-top: 16px; padding: 18px 20px 20px; border-radius: 18px; background: color-mix(in srgb, var(--create-soft) 55%, var(--bg)); border: 1px solid color-mix(in srgb, var(--create) 25%, var(--line)); display: grid; gap: 12px; }
.thinking h3 { margin: 0; font-size: 1.44rem; font-weight: 700; color: var(--create); }
.thinking .order { margin: 0; }
.ill { overflow: visible; }
.ill text { font-size: 1.2rem; }

/* ---- Talent Acquisition: type scale (1.2 ratio) and heading colours ---- */
.tapage { --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; }
.tapage body, body.tapage { line-height: 1.55; }
.tapage h1 { font-size: clamp(1.7rem, 4vw, 2.074rem); color: var(--h1); letter-spacing: -0.01em; }
.tapage h2, .tapage h2.vlabel { font-family: var(--font-display) !important; font-size: 1.728rem !important; font-weight: 700 !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--h2) !important; line-height: 1.2; }
.tapage .hrt-head h2 { color: #fff !important; }
.tapage .sg-name b { font-family: var(--font-display); font-size: 1.2rem; color: var(--h3); }
.tapage details.stage.own .sg-name b { color: var(--own); }
.tapage .c-name h3, .tapage h3 { font-size: 1rem; }
.tapage .ztag { font-size: 0.833rem; }
.tapage .dive b { font-size: 1.2rem; }
.tapage .hrt-head { padding: 14px 20px; gap: 2px; }
.tapage .hrt-head p { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }

/* ---- Talent Acquisition: warm palette, soft shadows, two-column layout ---- */
.tapage, .home { --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; }
:root { --bg: #F2EFE9; --surface: #FFFFFF; --surface-2: #ECE7DD; --line: #E4DDD0; --ink: #262B3B; --muted: #5C6675; --terra: #CC4E24; --terra-soft: #F7E4D8; --flag: #D94452; --flag-soft: #FCEAEC; --flag-ink: #9B1B2A; --h1: #1A1E36; --h2: #1A1E36; --h3: #3C4258; --shadow: 0 1px 2px rgb(26 30 54 / .06), 0 6px 18px rgb(26 30 54 / .05); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --terra: #E9A07F; --terra-soft: #3A2A25; --flag: #F27A84; --flag-soft: #3A2225; --flag-ink: #F5B0B6; --h1: #E8EEF4; --h2: #BFD0EE; --h3: #9DB2D3; --shadow: none; } }
:root[data-theme="dark"] { --terra: #E9A07F; --terra-soft: #3A2A25; --flag: #F27A84; --flag-soft: #3A2225; --flag-ink: #F5B0B6; --h1: #E8EEF4; --h2: #BFD0EE; --h3: #9DB2D3; --shadow: none; }
.tapage { background: var(--bg); color: var(--ink); }
.tapage .wrap { max-width: 1240px; }
.eyebrow, .ztag { color: var(--terra); }
.ztag i { background: var(--terra); color: #fff; }
.tapage header .startbtn { background: var(--terra); color: #fff; }
.tapage header .startbtn:hover { background: var(--terra); opacity: 0.92; }
.tapage .row, .tapage details.stage, .tapage .how3 li, .tapage .zone, .tapage details.fold { box-shadow: var(--shadow); }
.tapage details.stage .row { box-shadow: 0 1px 2px rgb(31 42 55 / .05); }
.tapage a { color: var(--terra); }
.twocol { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.sidecol { display: grid; gap: 12px; }
.sidecard { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.sidecard h3 { font-size: 1.2rem; color: var(--h3); }
.lkey { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lkey li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; font-size: 0.833rem; color: var(--ink); }
.lkey li b { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.lkey .lk-human { background: var(--human-soft); } .lkey .lk-augment { background: var(--augment-soft); } .lkey .lk-automate { background: var(--automate-soft); } .lkey .lk-create { background: var(--create-soft); }
.lkey .dot { width: 10px; height: 10px; }
.sidecard p { margin: 0; font-size: 0.833rem; color: var(--muted); }
@media (min-width: 740px) and (max-width: 1239px) { .lkey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .twocol { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; } .sidecol { position: sticky; top: 16px; } }

/* ---- shared with the home page ---- */
.home h1 { color: var(--h1); }
.home h2, .home .principles h3, .home .journey h2, .home .procsec h2 { color: var(--h2); }
.home .band h2 { color: #F2B84B; }
.home .hoursnote b { font-weight: 500; }
.home h3.blk { font-family: var(--font-display); font-size: 1.44rem; font-weight: 700; color: var(--h2); margin: 8px 0 12px; }
.home .hero2 { background: var(--terra-soft); }
.home .journey { background: var(--surface-2); }
.jstep:nth-child(n) .jn { background: var(--terra); color: #fff; }
.jstep:nth-child(n) .jt svg { color: var(--h3); }
.principles .pic, .principles li.augment .pic, .principles li.create .pic { background: var(--terra-soft); color: var(--terra); }
.home .thinking { background: var(--surface-2); border-color: var(--line); }
.thinking h3 { color: var(--h2); }
.home .proc .pact { background: var(--terra); color: #fff; }
.home .proc .pchk { color: var(--terra); }
.home .proc.live { border: 2px solid var(--terra); }
.home .journey, .home .principles li, .home .proc, .home .thinking, .home .band { box-shadow: var(--shadow); }
.home .proc.soon { box-shadow: none; }
.objective { margin: 4px 0 10px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.objective b { color: var(--h2); }

.areanote { margin: 0 0 10px; padding: 10px 14px; background: var(--surface-2); border-radius: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.areanote p { margin: 2px 0; }
.areanote b { color: var(--h2); }
.hbig i#hHrs { margin-top: 6px; max-width: 14em; text-align: center; }

.glance { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: var(--terra-soft); border: 1.5px solid var(--terra); color: var(--ink); text-decoration: none; }
.glance b { display: block; font-family: var(--font-display, Georgia, serif); font-size: 1.2rem; color: var(--h1); }
.glance em { display: block; font-style: normal; margin-top: 2px; font-size: 1rem; color: var(--ink); }
.glance .garrow { font-size: 1.44rem; color: var(--terra); }
.glance:hover { box-shadow: var(--shadow); }

/* Task and activity editing */
.stp .tedit { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; grid-column: 1 / -1; }
.stp .tedit .btn.small, .taskadd, .tform .btn.small { font-size: 0.8rem; padding: 4px 10px; min-height: 0; }
.stp.editing { display: block; }
.tform { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.tform input[type="text"], .tform select { flex: 1 1 14rem; min-width: 0; padding: 6px 8px; font: inherit; border: 1px solid var(--line, #c9d1d9); border-radius: 8px; background: var(--surface, #fff); color: inherit; }
.taskadd { margin-top: 8px; }
button.taskadd { width: auto; display: inline-block; }

.home .procs { align-items: stretch; }
.home .proc { height: 100%; }
