:root{color-scheme:light;box-sizing:border-box}body{margin:0;padding:0}img{max-width:100%}[hidden]{display:none!important}
/* AI Malaysia identity, one light look: paper ground, indigo to violet to magenta to blush ramp, Arial, gradient edge, corner orb, capped cards, hairline rows. */
:root {
  color-scheme: light;
  --ink: #191E48; --ink-2: #232A5C; --violet: #7543C0; --magenta: #F35DD1; --magt: #B02A8E; --blush: #FDB0C6;
  --paper: #FFFFFF; --mist: #F8F5FC; --mist-2: #F2ECFA; --line: #E7DEF4; --muted: #6E6892; --soft: #A79CC4;
  --ramp: linear-gradient(135deg, #191E48 0%, #7543C0 42%, #F35DD1 76%, #FDB0C6 100%); --ramp-v: linear-gradient(180deg, #191E48 0%, #7543C0 40%, #F35DD1 74%, #FDB0C6 100%); --ramp-b: linear-gradient(120deg, #7543C0, #F35DD1);
  --ok: #1B7F55; --ok-soft: #E4F3EB; --warn: #9A5F0C; --warn-soft: #FBF0DB; --bad: #B93636; --bad-soft: #FBE9E7;
  --g: #1F9D6B; --a: #C98112; --r: #CB4640;
  --c1: #191E48; --c2: #3D2B7D; --c3: #5B37A0; --c4: #7543C0; --c5: #9A4AC7; --c6: #C151CE; --c7: #E75BD0; --c8: #F681CB; --c9: #FDB0C6; --c0: #6E6892;
  --i-tell: #7543C0; --i-ask: #B7791F; --i-do: #C22F9C; --i-lead: #191E48; --i-line: #1B7F55;
  --shadow: 0 1px 2px rgba(25, 30, 72, .04), 0 10px 26px -18px rgba(25, 30, 72, .30);
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
* { box-sizing: border-box }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; position: relative }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink) }
.edge { position: fixed; left: 0; top: 0; bottom: 0; width: 8px; background: var(--ramp-v); z-index: 12 }
.orb { position: fixed; border-radius: 50%; background: var(--ramp); z-index: 0; pointer-events: none } .orb.tr { width: 620px; height: 620px; right: -260px; top: -280px; opacity: .13 } .orb.bl { width: 420px; height: 420px; left: -230px; bottom: -210px; opacity: .09 }
#app { position: relative; z-index: 1 }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; color: var(--ink) }
h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.3rem); line-height: 1; letter-spacing: -.018em; text-transform: uppercase } h2 { font-size: 1.15rem; line-height: 1.15; letter-spacing: -.01em } h3 { font-size: .95rem; line-height: 1.2; margin-top: 16px }
h3.scn { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line) }
p { margin: 8px 0 0 } ul, ol { margin: 8px 0 0; padding-left: 20px } button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer } button:disabled { cursor: not-allowed; opacity: .5 }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: 6px }
.rule { height: 3px; width: 72px; background: var(--ramp); border-radius: 2px; margin-top: 12px }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet) }
.eyebrow i { width: 12px; height: 12px; border-radius: 50%; background: var(--ramp); display: block; flex: none }
.hero .eyebrow, .phasehead .eyebrow, .ctl .eyebrow { background: var(--mist-2); border-radius: 99px; padding: 5px 14px 5px 6px; flex-wrap: wrap }
.hero .eyebrow::before, .phasehead .eyebrow::before, .ctl .eyebrow::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ramp); flex: none }
.lede { color: var(--muted); max-width: 68ch; font-size: 1.02rem } .hint { color: var(--muted); font-size: .86rem; max-width: 76ch } .err { color: var(--bad); font-weight: 700 }
.meta { color: var(--muted); font-size: .8rem } .from { color: var(--muted); font-style: normal; font-size: .82rem } .sel { user-select: all }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap } .row.between { justify-content: space-between } .row.end { justify-content: flex-end; margin-top: 12px }
.scroll { overflow-x: auto } .count { font-size: .8em; color: var(--soft); font-weight: 700; font-variant-numeric: tabular-nums }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--ramp-b); color: #fff; font: 700 .7rem/18px var(--sans); font-style: normal; text-align: center }
.plain { list-style: none; padding: 0; border-top: 1px solid var(--line) } .plain li { padding: 8px 0; border-bottom: 1px solid #F1EBF9 } .plain li:last-child { border-bottom: 0 }
.plain.num { counter-reset: n } .plain.num li { counter-increment: n; padding-left: 34px; position: relative }
.plain.num li::before { content: counter(n); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 7px; background: var(--ramp); color: #fff; font: 700 .76rem/22px var(--sans); text-align: center }
.cdot { width: 10px; height: 10px; border-radius: 50%; background: var(--c0); flex: none; display: inline-block }
.c1 { --cc: var(--c1) } .c2 { --cc: var(--c2) } .c3 { --cc: var(--c3) } .c4 { --cc: var(--c4) } .c5 { --cc: var(--c5) } .c6 { --cc: var(--c6) } .c7 { --cc: var(--c7) } .c8 { --cc: var(--c8) } .c9 { --cc: var(--c9) } .c0 { --cc: var(--c0) }
.cdot[class*=" c"] { background: var(--cc) }
.i-tell { --ic: var(--i-tell) } .i-ask { --ic: var(--i-ask) } .i-do { --ic: var(--i-do) } .i-lead { --ic: var(--i-lead) } .i-line { --ic: var(--i-line) }

/* top band */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--ink); color: #fff; overflow: hidden }
.top::before { content: ""; position: absolute; inset: 0; background: var(--ramp); opacity: .30 }
.top-in { position: relative; display: flex; align-items: center; gap: 12px; max-width: 1240px; margin: 0 auto; padding-block: 9px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 } .wm { height: 24px; width: auto; flex: none; mix-blend-mode: screen; opacity: .96 }
.brand-t { min-width: 0; display: flex; flex-direction: column; border-left: 1px solid rgba(255, 255, 255, .28); padding-left: 14px } .brand-t b { font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.brand-t small { color: #CFC6E8; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.clockbox { display: flex; flex-direction: column; align-items: center; padding: 3px 14px; border-radius: 11px; background: rgba(255, 255, 255, .12) } .clockbox.off { opacity: .55 }
.clock-l { font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #CFC6E8 } .clock { font: 700 1.4rem/1.1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em }
.clock.warn { color: #FFD27A } .clock.late { color: var(--blush) }
.top-r { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; min-width: 0 }
.panicm { display: grid; grid-template-columns: auto auto; grid-template-areas: "l l" "s b" "t t"; column-gap: 6px; align-items: center; background: none; border: 0; color: #fff; padding: 0 4px; text-align: left }
.panic-l { grid-area: l; font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #CFC6E8 } .panic-seg { grid-area: s; display: flex; gap: 2px } .panicm b { grid-area: b; font-size: .92rem; font-variant-numeric: tabular-nums } .panicm small { grid-area: t; font-size: .64rem; color: #CFC6E8 }
.panic-seg i { width: 9px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .2) } .panic-seg .l1 { background: #E9DEFF } .panic-seg .l2 { background: #C9A9F5 } .panic-seg .l3 { background: #FDB0C6 } .panic-seg .l4 { background: #F887CC } .panic-seg .l5 { background: #F35DD1 }
.rolechip { border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 700; max-width: 42vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.timebar { position: relative; height: 5px; background: rgba(255, 255, 255, .18) } .timebar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7543C0, #F35DD1 70%, #FDB0C6); transition: width .5s linear }
.timebar .tk { position: absolute; top: 0; width: 2px; height: 100%; background: #fff; opacity: .75 }
.timealert { margin: 0 0 12px; padding: 11px 16px; border-radius: 12px; font-weight: 700; background: var(--ink); color: #fff; position: relative; overflow: hidden } .timealert::before { content: ""; position: absolute; inset: 0; background: var(--ramp); opacity: .45 }
.timealert.end { background: var(--bad) } .timealert.end::before { opacity: 0 }

/* page */
.wrap { max-width: 900px; margin: 0 auto; padding-block: 20px 72px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: 14px }
.wrap.wide { max-width: 1240px } .wrap.narrow { max-width: 700px } .wrap > * { min-width: 0 }
.hero { padding: 8px 0 2px } .hero h1, .phasehead h1, .ctl h1 { margin-top: 12px }
.panel, .todo, .inject { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 16px; box-shadow: var(--shadow); min-width: 0; position: relative; overflow: hidden }
.panel::before, .todo::before, .inject::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--ramp); opacity: .85 }
.note { padding: 10px 14px; border-radius: 12px; background: var(--mist-2); color: var(--ink); border: 1px solid var(--line) } .note.bad { background: var(--bad-soft); border-color: var(--bad) } .note.ok { background: var(--ok-soft); border-color: var(--ok) }
.wait { min-height: 50vh; display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; justify-items: center }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line) } .tab { border: 0; background: none; padding: 9px 13px; font-weight: 700; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap }
.tab.on { color: var(--violet); border-image: var(--ramp-b) 1; border-bottom: 3px solid }
.btn { border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 8px 15px; font-weight: 700; color: var(--ink) } .btn:hover:not(:disabled) { border-color: var(--violet) }
.btn.primary { background: var(--ramp-b); border-color: transparent; color: #fff } .btn.big { padding: 12px 20px; font-size: 1rem } .btn.danger { border-color: var(--bad); color: var(--bad) }
.link { border: 0; background: none; padding: 0; color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.filebtn { position: relative; overflow: hidden; display: inline-block } .filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer }
.fld { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; min-width: 0 } .fld > span { font-size: .78rem; font-weight: 700; color: var(--muted) }
.in { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 9px 11px; min-width: 0 } textarea.in { resize: vertical } .in:focus { border-color: var(--violet) }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px } .fgrid2 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) } .fgrid2 > div { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
@media (min-width: 1000px) { .fgrid2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) } }
fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0 } legend { font-size: .78rem; font-weight: 700; color: var(--muted); padding: 0; margin-bottom: 6px }
.cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px } .cells legend { grid-column: 1 / -1 }
.cellpick { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper) } .cellpick.on { border-color: var(--violet); background: var(--mist-2) }
.cellpick input { position: absolute; opacity: 0 } .cp-id { width: 30px; height: 30px; border-radius: 10px; background: var(--ramp); color: #fff; font-weight: 700; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex: none }
.cp-n { display: flex; flex-direction: column; min-width: 0 } .cp-n small { color: var(--muted); font-size: .76rem }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px } .checks legend { grid-column: 1 / -1 } .checks label, .chk { display: flex; gap: 8px; align-items: center; font-size: .9rem } .chk { margin-top: 12px }
details.more { margin-top: 12px; border-top: 1px dashed #E4D9F5; padding-top: 10px } details.more summary { cursor: pointer; font-weight: 700; color: var(--violet) }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mist-2); color: var(--violet); font-size: .72rem; font-weight: 700 } .pill.me { background: var(--ramp-b); color: #fff } .pill.ex { background: none; border: 1px dashed var(--soft); color: var(--muted) }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px } .bignum { font-weight: 700; font-size: 2.3rem; line-height: 1.1 } .bignum span { font-weight: 400; font-size: .9rem; color: var(--muted) }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin-top: 12px } .stepper li { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 7px; background: var(--ink); color: #fff; opacity: .28 }
.stepper .cur { opacity: 1; background: var(--ramp-b) } .stepper .past { opacity: .62 } .stepper .skip { text-decoration: line-through }

/* to-do */
.todo-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap } .prog { font-weight: 700; font-size: .76rem; color: var(--soft); letter-spacing: .04em; font-variant-numeric: tabular-nums }
.steps { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line) }
.step { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 6px; border-bottom: 1px solid #F1EBF9 }
.step.done { background: var(--mist) } .step-t { font-weight: 400 } .step.must .step-t { font-weight: 700 } .step.done .step-t { color: var(--muted) }
.step-k { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding: 3px 9px; border-radius: 99px; background: var(--ramp-b); color: #fff } .step.opt .step-k { background: var(--mist-2); color: var(--muted) } .step.done .step-k { background: var(--ok-soft); color: var(--ok) }
.tickbox { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--soft); background: var(--paper); padding: 0; position: relative; flex: none } .tickbox.auto { border-style: dotted }
.tickbox[data-on="1"], .tickbox.on { background: var(--ramp-b); border-color: transparent } .tickbox[data-on="1"]::after, .tickbox.on::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) }

/* injects, choices */
.inject header, .msg header, .fnote header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap } .injno { font-weight: 700; font-size: .8rem; background: var(--ramp); color: #fff; padding: 3px 10px; border-radius: 9px }
.injtext { font-size: 1.04rem; max-width: 72ch } .injfoot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E4D9F5 }
.clsrow { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 12px } .seg { display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap } .seg-l { font-size: .74rem; font-weight: 700; color: var(--muted); margin-right: 5px; letter-spacing: .06em; text-transform: uppercase }
.segb { border: 1px solid var(--line); background: var(--paper); padding: 5px 10px; font-weight: 700; font-size: .8rem; border-radius: 8px } .segb.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.choice { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--mist) } .choice h3 { margin: 0 0 8px }
.optb { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 9px 12px; margin-top: 6px } .optb.on { border-color: var(--violet); background: var(--mist-2); box-shadow: inset 4px 0 0 var(--violet) }

/* cards */
.cardchip { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 4px 9px 4px 4px; font-size: .82rem; text-align: left; max-width: 100% }
.cardchip b, .cc { font-weight: 700; font-size: .74rem; color: #fff; padding: 2px 6px; border-radius: 6px } .bG b, .cc.bG { background: var(--g) } .bA b, .cc.bA { background: var(--a) } .bR b, .cc.bR { background: var(--r) }
.plays { list-style: none; padding: 0; border-top: 1px solid var(--line) } .plays li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid #F1EBF9 } .gapnote { flex-basis: 100%; font-size: .86rem; color: var(--muted); border-left: 3px solid var(--r); padding-left: 9px }
.tray-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px } .tgroup { margin-top: 10px } .tg-h { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft) }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 6px }
.tcard { text-align: left; border: 1px solid var(--line); border-left: 5px solid var(--g); background: var(--paper); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; min-width: 0 } .tcard.bA { border-left-color: var(--a) } .tcard.bR { border-left-color: var(--r) }
.tc-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline } .tc-h b { font-size: .78rem; color: var(--muted) } .tc-h i { font-style: normal; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft) }
.tc-n { font-weight: 700; line-height: 1.2 } .tcard small { color: var(--muted); font-size: .76rem; line-height: 1.3 } .tc-s { font-size: .7rem; font-weight: 700; color: var(--violet); margin-top: 3px }
.tcard.on { background: var(--ink); border-color: var(--ink); border-left-color: var(--magenta); color: #fff; box-shadow: 0 6px 18px -8px rgba(25, 30, 72, .6) } .tcard.on .tc-h b, .tcard.on small, .tcard.on .tc-h i { color: #CFC6E8 } .tcard.on .tc-s { color: var(--blush) }
.cardbig { border-top: 6px solid var(--g); padding-top: 10px } .cardbig.bA { border-top-color: var(--a) } .cardbig.bR { border-top-color: var(--r) } .cardbig .band { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft) }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0 } dt { font-size: .76rem; font-weight: 700; color: var(--soft); text-transform: uppercase; letter-spacing: .08em } dd { margin: 0 }
.panicpick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px } .pp { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0 }
.pp b { font-size: 1.5rem } .pp span { font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; text-align: center } .pp.on { background: var(--ramp-b); border-color: transparent; color: #fff } .pp.on span { color: #fff }

/* messages */
.mgroup { margin-top: 14px } .mgroup > .eyebrow { margin-bottom: 2px } .g-ask > .eyebrow { color: var(--i-ask) } .g-ask > .eyebrow i { background: var(--i-ask) } .g-wc > .eyebrow, .g-gen > .eyebrow, .g-own > .eyebrow { color: var(--muted) } .g-wc > .eyebrow i, .g-gen > .eyebrow i, .g-own > .eyebrow i { background: var(--soft) }
.mtile { border: 1px solid var(--line); border-left: 5px solid var(--ic, var(--violet)); border-radius: 12px; padding: 10px 12px; margin-top: 8px; background: var(--paper) } .mtile.has { background: var(--mist) } .mt-t { margin: 0; max-width: 74ch }
.mt-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 8px } .mt-l { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); width: 54px; flex: none }
.ipill { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 3px 10px; font-size: .74rem; font-weight: 700; color: var(--muted) } .ipill.on { background: var(--ic); border-color: var(--ic); color: #fff }
.rcp { display: inline-flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-top: 4px solid var(--cc, var(--c0)); background: var(--paper); border-radius: 9px; padding: 3px 9px 4px; min-width: 52px; line-height: 1.15 }
.rcp b { font-size: .82rem } .rcp small { font-size: .6rem; color: var(--muted); max-width: 86px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .rcp.on { background: var(--ink); border-color: var(--ink); border-top-color: var(--magenta); color: #fff } .rcp.on small { color: #CFC6E8 }
.outbox { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--line) } .drafts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px }
.drafts li, .msg { border: 1px solid var(--line); border-left: 5px solid var(--ic, var(--violet)); border-radius: 12px; padding: 10px 12px; background: var(--paper); margin-top: 10px } .drafts li { margin: 0 } .drafts p, .msg p { margin-top: 6px }
.dr-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap } .dr-h .link { margin-left: auto } .msg.open { box-shadow: 0 0 0 2px var(--mist-2), var(--shadow) } .msg.mine { background: var(--mist) }
.actreq { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--ic, var(--violet)); color: #fff }
.reply { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--ok-soft) } .replybox { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #E4D9F5; display: flex; flex-direction: column; gap: 8px }
.rk { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 11px; font-size: .8rem; font-weight: 700; text-align: left } .rk.on { background: var(--ramp-b); border-color: transparent; color: #fff }
.sendrow { border-top: 1px solid var(--line); padding-top: 12px }

/* scene, map, timeline */
.since { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--mist-2); border-left: 5px solid var(--magenta) } .since h3 { margin: 0; color: var(--magt) } .since-l { font-size: 1.05rem }
.mapbox { margin: 14px 0 0 } .mapbox figcaption { font-size: .8rem; color: var(--muted); margin-bottom: 6px } .sitmap { width: 100%; min-width: 900px; height: auto; display: block }
.sitmap .lane { fill: var(--mist); stroke: var(--line) } .sitmap .lane-t { font: 700 10.5px var(--sans); fill: var(--soft); letter-spacing: .12em; text-transform: uppercase } .sitmap .empty { font: 400 15px var(--sans); fill: var(--muted) }
.sitmap .edge { stroke: var(--soft); stroke-width: 1.6; fill: none } .sitmap .edge.dash { stroke-dasharray: 5 5 } .sitmap .edge.e-f { stroke: var(--magenta); stroke-width: 2 } .sitmap .edge.e-k { stroke: var(--violet); stroke-width: 2.8 }
.sitmap .mk-n path { fill: var(--soft) } .sitmap .mk-f path { fill: var(--magenta) } .sitmap .mk-k path { fill: var(--violet) }
.sitmap .edge-t { font: 700 10.5px var(--sans); fill: var(--muted); paint-order: stroke; stroke: var(--mist); stroke-width: 5px; stroke-linejoin: round } .sitmap .edge-t.key { fill: var(--violet) }
.sitmap .node rect { fill: var(--paper); stroke: var(--violet); stroke-width: 1.5 } .sitmap .node text { font: 700 12px var(--sans); fill: var(--ink) }
.sitmap .k-actor rect { fill: var(--mist-2); stroke: var(--violet) } .sitmap .k-system rect { fill: var(--ink); stroke: var(--ink) } .sitmap .k-system text { fill: #fff } .sitmap .k-harm rect { fill: #FDE3EC; stroke: #E0527F } .sitmap .k-data rect { fill: var(--warn-soft); stroke: var(--a) }
.sitmap .k-event rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5 } .sitmap .node.fresh rect { stroke: var(--magenta); stroke-width: 3 } .sitmap .node.hub rect { stroke: var(--violet); stroke-width: 3 }
.sitmap .hubn { fill: var(--violet); stroke: #fff; stroke-width: 2 } .sitmap .node .hubt { font: 700 11px var(--sans); fill: #fff }
.maplegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: .76rem; color: var(--muted) } .mlg::before { content: ""; display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1.5px solid var(--violet); background: var(--mist-2) }
.mlg.k-system::before { background: var(--ink); border-color: var(--ink) } .mlg.k-harm::before { background: #FDE3EC; border-color: #E0527F } .mlg.k-data::before { background: var(--warn-soft); border-color: var(--a) } .mlg.k-event::before { background: var(--paper); border: 2.5px solid var(--ink) }
.mlg.arrow::before { content: "→"; border: 0; background: none; width: auto; height: auto; font-weight: 700; color: var(--soft); vertical-align: 0 } .mlg.dashl::before { border: 0; border-top: 2px dashed var(--soft); border-radius: 0; height: 0; background: none; vertical-align: 3px } .mlg.newl::before { border: 3px solid var(--magenta); background: var(--paper) }
.insbox { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line) } .ins { list-style: none; padding: 0; margin: 6px 0 0 } .ins li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line) }
.insn { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 700; font-size: .76rem; display: flex; align-items: center; justify-content: center }
.tl { list-style: none; display: flex; gap: 4px; padding: 0; margin-top: 12px; overflow-x: auto } .tl li { flex: 1; min-width: 78px; border-top: 4px solid var(--line); padding-top: 5px; display: flex; flex-direction: column }
.tl b { font-size: .78rem; font-variant-numeric: tabular-nums } .tl span { font-size: .7rem; color: var(--muted) } .tl .cur { border-image: var(--ramp-b) 1; border-top: 4px solid } .tl .later { opacity: .5 }
.facts { list-style: none; padding: 0; border-top: 1px solid var(--line) } .facts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px 4px; border-bottom: 1px solid #F1EBF9 } .facts li.fresh { background: var(--mist-2) }
.rd { font-weight: 700; font-size: .72rem; color: var(--soft); padding-top: 2px }

/* impact */
.impgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 10px } .imp { border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-width: 0; background: var(--paper) }
.imp-h { display: flex; justify-content: space-between; align-items: center; gap: 8px } .imp-n { display: flex; align-items: baseline; gap: 8px; margin-top: 2px } .imp-n b { font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, #7543C0, #F35DD1); -webkit-background-clip: text; background-clip: text; color: transparent }
.imp-n span { color: var(--muted); font-size: .82rem } .imp-s { font-size: .86rem; color: var(--muted) } .imp-s b { color: var(--ink) }
.dir { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px } .dir.contained { background: var(--ok-soft); color: var(--ok) } .dir.holding { background: var(--warn-soft); color: var(--warn) } .dir.escalating { background: var(--bad-soft); color: var(--bad) }
.chart { width: 100%; height: auto; display: block; margin-top: 6px } .chart .grid { stroke: var(--line); stroke-width: 1 } .chart .ax { font: 400 9px var(--sans); fill: var(--soft) } .chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round }
.chart .ln.none { stroke: var(--soft); stroke-dasharray: 4 4 } .chart .ln.ideal { stroke: var(--ink) } .chart .ln.you { stroke: var(--magenta); stroke-width: 3.2 } .chart .gap { fill: var(--magenta); opacity: .14 }
.chart .pt.none { fill: var(--soft) } .chart .pt.ideal { fill: var(--ink) } .chart .pt.you { fill: var(--magenta) } .chart .lb { font: 700 10px var(--sans) } .chart .lb.none { fill: var(--soft) } .chart .lb.ideal { fill: var(--ink) } .chart .lb.you { fill: var(--magt) }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .8rem; color: var(--muted) } .lg::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--magenta) }
.lg.ideal::before { background: var(--ink) } .lg.none::before { background: repeating-linear-gradient(90deg, var(--soft) 0 4px, transparent 4px 8px) } .lg.gap::before { height: 10px; opacity: .2 }
.sumlist { list-style: none; padding: 0; border-top: 1px solid var(--line) } .sumlist li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #F1EBF9 }
.sumlist .st { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding-top: 3px } .sumlist .done .st { color: var(--ok) } .sumlist .late .st { color: var(--warn) } .sumlist .miss .st { color: var(--bad) }
table.grid { border-collapse: collapse; width: 100%; font-size: .86rem; margin-top: 10px } .grid th, .grid td { border-bottom: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top } .grid thead th { background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase } .grid td { font-variant-numeric: tabular-nums }

/* final assessment */
.truth { list-style: none; padding: 0; margin: 12px 0 0; position: relative } .truth::before { content: ""; position: absolute; left: 82px; top: 6px; bottom: 6px; width: 3px; background: var(--ramp-v); border-radius: 2px }
.truth li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 28px; padding: 8px 0; position: relative } .truth li::before { content: ""; position: absolute; left: 76px; top: 13px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 4px solid var(--violet) }
.tw { font-weight: 700; font-size: .8rem; text-align: right; padding-top: 2px; font-variant-numeric: tabular-nums } .truth p { margin: 0 } .lag { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px }
.rch { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--mist-2); color: var(--violet) } .rch.done { background: var(--ok-soft); color: var(--ok) } .rch.late { background: var(--warn-soft); color: var(--warn) } .rch.miss { background: var(--bad-soft); color: var(--bad) }
table.flow { border-collapse: separate; border-spacing: 3px; margin-top: 10px; font-size: .78rem } .flow th { font-weight: 700; color: var(--muted); padding: 3px 6px; white-space: nowrap; text-align: left } .flow thead th { text-align: center }
.flow td { width: 44px; height: 34px; text-align: center; border-radius: 7px; background: var(--mist); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--soft) } .flow td.self { background: repeating-linear-gradient(45deg, var(--mist) 0 4px, var(--paper) 4px 8px) }
.flow td.done { background: var(--ok); color: #fff } .flow td.late { background: var(--a); color: #fff } .flow td.part { background: #E58A84; color: #fff } .flow td.miss { background: var(--bad); color: #fff } .flow td.extra { background: var(--mist-2); color: var(--muted) }
.fl::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: var(--ok) } .fl.late::before { background: var(--a) } .fl.part::before { background: #E58A84 } .fl.miss::before { background: var(--bad) } .fl.extra::before { background: var(--mist-2); border: 1px solid var(--line) }
.wallrow { margin-top: 12px } .wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; margin-top: 6px }
.gapt { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 11px; padding: 8px 10px; display: flex; flex-direction: column; gap: 1px; opacity: .55; min-width: 0 } .gapt b { font-size: .74rem; color: var(--soft) } .gapt span { font-weight: 700; font-size: .82rem; line-height: 1.2 } .gapt i { font-style: normal; font-size: .68rem; font-weight: 700; margin-top: 3px }
.gapt.on { opacity: 1; background: var(--r); border-color: var(--r); color: #fff } .gapt.on b { color: #FBD9D6 } .gapt.exp { opacity: 1; border: 2px dashed var(--r) } .gapt.exp i { color: var(--bad) }
.catbars { margin-top: 8px; border-top: 1px solid var(--line) } .catbar { display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(80px, 1.5fr) minmax(120px, 1fr); gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #F1EBF9; font-size: .82rem }
.cb-l { font-weight: 700 } .cb-b { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--mist-2) } .cb-b i { display: block; height: 100% } .cb-b .done { background: var(--ok) } .cb-b .late { background: var(--a) } .cb-b .miss { background: var(--bad) } .cb-n { color: var(--muted); font-size: .74rem }

/* facilitator */
.ctl { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap } .ctl-r { display: flex; gap: 8px; flex-wrap: wrap; align-items: center }
.board { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 8px; margin-top: 10px } .tile { border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; background: var(--paper) }
.tile.ok { border-color: var(--violet); background: var(--mist) } .tile header { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap } .tile header b { font-size: .84rem; color: var(--violet) } .tile header span { font-weight: 700; font-size: .86rem }
.seat { font-style: normal; font-size: .7rem; color: var(--muted); margin-left: auto } .tile-p { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums } .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--mist-2); overflow: hidden }
.bar i { display: block; height: 100%; background: var(--ramp-b) } .tile-m { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: .76rem; color: var(--muted) } .tile-m .warn { color: var(--bad); font-weight: 700 } .chips.mini { margin: 0; gap: 3px }
.flag { font-size: .72rem; font-weight: 700; color: var(--magt) } .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px } .kv div { border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column }
.kv span { font-size: .76rem; color: var(--muted) } .kv b { font-size: 1.5rem; font-variant-numeric: tabular-nums } .kv small { font-size: .72rem; color: var(--muted) } .fnote { border-top: 1px solid var(--line); padding: 14px 0 } .fnote:first-of-type { border-top: 0 }
.media { margin: 12px 0 0 } .media img, .media video { max-width: 100%; border-radius: 12px; display: block }

/* the bulletin */
.tv { margin: 12px 0 } .tv-screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #2A1F6B, #0B0E2B 70%); color: #fff; display: grid; grid-template-rows: auto 1fr auto auto auto; container-type: inline-size }
.tv-top { display: flex; gap: 10px; align-items: center; padding: 2.4cqw 3cqw 0; font-size: clamp(9px, 1.9cqw, 16px) } .bug { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }
.bug i { width: 1.2em; height: 1.2em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FDB0C6, #F35DD1 55%, #7543C0); box-shadow: 0 0 0 .18em rgba(243, 93, 209, .35) }
.exm { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px dashed currentColor; border-radius: 6px; padding: 1px 6px; opacity: .85 } .tv-top .exm { font-size: 1em; margin-left: auto } .when { color: #B9B6E2 }
.tv-studio { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: end; gap: 2cqw; padding: 0 3cqw; min-height: 0 }
.anchor { position: relative; display: flex; flex-direction: column; align-items: center; opacity: .55; transition: opacity .3s } .anchor.speaking { opacity: 1 } .anchor svg { width: 70%; max-height: 22cqw }
.anchor .hd { fill: #FDB0C6 } .anchor .sh { fill: #7543C0 } .anchor .lp { fill: #191E48 } .anchor.b .hd { fill: #E9DEFF } .anchor.b .sh { fill: #F35DD1 }
.anchor .who { font-size: clamp(8px, 1.5cqw, 12px); letter-spacing: .14em; text-transform: uppercase; color: #B9B6E2 } .eq { position: absolute; top: 2%; right: 8%; display: flex; gap: 2px; align-items: flex-end; height: 14%; opacity: 0 }
.anchor.speaking .eq { opacity: 1 } .eq i { width: 3px; background: #FDB0C6; height: 30%; animation: eq .7s ease-in-out infinite alternate } .eq i:nth-child(2) { animation-delay: .15s } .eq i:nth-child(3) { animation-delay: .3s } .eq i:nth-child(4) { animation-delay: .45s }
@keyframes eq { to { height: 100% } }
.tv-wall { align-self: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 1.2cqw; padding: 2cqw; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: clamp(11px, 2.9cqw, 30px); line-height: 1.12; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance }
.tv-cap { padding: 1.4cqw 3cqw; font-size: clamp(10px, 2.1cqw, 20px); min-height: 3.2em; background: rgba(0, 0, 0, .28) } .tv-lower { display: flex; align-items: stretch; background: #fff; color: #191E48; font-size: clamp(9px, 2cqw, 18px); font-weight: 700 }
.brk { background: linear-gradient(120deg, #7543C0, #F35DD1); color: #fff; padding: .5em .9em; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap } .hl { padding: .5em .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tv-ticker { overflow: hidden; background: #191E48; font-size: clamp(8px, 1.6cqw, 14px); padding: .45em 0 } .tick-in { display: inline-flex; gap: 3em; white-space: nowrap; padding-left: 100%; animation: tick 38s linear infinite } .tick-in span::before { content: "●"; color: #F35DD1; margin-right: .8em }
@keyframes tick { to { transform: translateX(-100%) } } .tv-ctl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px }
.clip { position: relative; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--paper) } .clip .exm { position: absolute; top: 10px; right: 10px; color: var(--soft) }
.clip .mast { font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); padding-bottom: 4px; margin-right: 150px } .clip.paper h3 { font-size: clamp(1.3rem, 1rem + 2vw, 2.1rem); margin-top: 10px; letter-spacing: -.02em; text-transform: uppercase }
.clip.social { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px } .clip .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ramp) } .clip .src { font-weight: 700; font-size: .84rem; margin-right: 150px; display: block }
.clip .q { font-size: 1.05rem; font-weight: 700 } .clip .m { color: var(--muted); font-size: .82rem }
.stage { position: fixed; inset: 0; z-index: 20; background: var(--paper); overflow: auto; padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px)) }
.stage-in { max-width: 1280px; margin: 0 auto } .stage-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 8px } .stage .lede { font-size: 1.2rem; color: var(--ink) } .stage h2 { font-size: 1.8rem; text-transform: uppercase }

/* sheets and toasts */
.sheet-wrap { position: fixed; inset: 0; z-index: 30; background: rgba(25, 30, 72, .6); display: flex; align-items: flex-end; justify-content: center; padding: calc(16px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)) }
.sheet { position: relative; background: var(--paper); color: var(--ink); width: 100%; max-width: 720px; max-height: 88vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3) }
@media (min-width: 760px) { .sheet-wrap { align-items: center; padding-bottom: 16px } .sheet { border-radius: 18px } }
.sheet .x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--soft); padding: 4px 8px }
#toasts { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)) }
.toast { background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: .86rem; box-shadow: var(--shadow); max-width: 560px } .toast.ok { background: var(--ramp-b) } .toast.bad { background: var(--bad) }
@media (max-width: 560px) { .brand-t { display: none } .brand { flex: none } .wm { height: 20px } .rolechip { max-width: 30vw } .panic-l, .panicm small { display: none } .panicm { grid-template-areas: "s b" } .clock { font-size: 1.15rem } .clockbox { padding: 3px 9px }
  .step { grid-template-columns: 26px minmax(0, 1fr) } .step-k { grid-column: 2; justify-self: start } .panel, .inject, .todo { padding: 16px 13px 13px } .truth::before { left: 62px } .truth li { grid-template-columns: 50px minmax(0, 1fr) } .truth li::before { left: 56px } .catbar { grid-template-columns: 1fr } }
@media (prefers-reduced-motion: reduce) { .tick-in, .eq i { animation: none } .tick-in { padding-left: 0 } .timebar i { transition: none } }

.deck .panel { padding: 28px 26px 24px; font-size: 1.05rem } .deck .panel h2 { font-size: 1.7rem; text-transform: uppercase; letter-spacing: -.01em } .deck .cover h1 { font-size: clamp(1.8rem, 1rem + 3.4vw, 3.2rem); margin-top: 16px } .deckbar { margin-bottom: 12px; position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 6px 0 }
.wrapr { flex-wrap: wrap }
.moves { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; margin-top: 8px }
.move { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "to b" "to s"; gap: 4px 10px; text-align: left; border: 1px solid var(--line); border-left: 5px solid var(--ic, var(--violet)); background: var(--paper); border-radius: 12px; padding: 9px 11px; min-width: 0 }
.mv-to { grid-area: to; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 9px; border-top: 4px solid var(--cc, var(--c0)); background: var(--mist); padding: 4px 2px; min-width: 0 } .mv-to b { font-size: .9rem } .mv-to small { font-size: .56rem; color: var(--muted); text-align: center; line-height: 1.15; overflow-wrap: anywhere }
.mv-b { grid-area: b; display: flex; flex-direction: column; gap: 2px; min-width: 0 } .mv-l { font-weight: 700; line-height: 1.22 } .mv-b small { color: var(--muted); font-size: .74rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.mv-s { grid-area: s; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ic, var(--violet)) }
.move.on { background: var(--ink); border-color: var(--ink); border-left-color: var(--magenta); color: #fff; box-shadow: 0 6px 18px -8px rgba(25, 30, 72, .6) } .move.on .mv-b small { color: #CFC6E8 } .move.on .mv-s { color: var(--blush) } .move.on .mv-to { background: rgba(255, 255, 255, .12) } .move.on .mv-to small { color: #CFC6E8 }

/* round feedback, the gap prompts and the what-if list */
.fbrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 12px }
.fbk { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); display: flex; flex-direction: column; gap: 2px }
.fbk b { font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums } .fbk span { font-size: .8rem; color: var(--muted) } .fbk.gapk { border-color: var(--r) } .fbk.gapk b { color: var(--r) }
details.more.redcta { border: 1.5px dashed var(--r); border-radius: 12px; padding: 0; margin-top: 12px } details.more.redcta summary { list-style: none; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; color: var(--r); cursor: pointer }
details.more.redcta summary::-webkit-details-marker { display: none } details.more.redcta summary b { font-size: .95rem } details.more.redcta summary span { font-size: .82rem; font-weight: 400; color: var(--muted) }
details.more.redcta[open] { padding: 0 12px 12px } details.more.redcta[open] summary { padding: 10px 0 }
.keyb { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--r); border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: middle }
.gapq { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px } .gapq li { border: 1px solid var(--line); border-left: 4px solid var(--r); border-radius: 10px; padding: 8px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px }
.gapq .gq-w { flex-basis: 100%; font-size: .8rem; color: var(--muted) } .gapq .gq-q { flex-basis: 100%; font-size: .88rem }
.wif { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px }
.wif li { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(150px, 230px); gap: 6px 12px; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--paper) }
.wif li.miss, .wif li.unnamed { border-left-color: var(--r) } .wif li.late { border-left-color: var(--a) } .wif li.done, .wif li.named { border-left-color: var(--g) } .wif li.mine { background: #F6F0FF; border-color: var(--violet) }
.wif .wst { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) } .wif li.miss .wst, .wif li.unnamed .wst { color: var(--r) } .wif li.late .wst { color: var(--a) } .wif li.done .wst, .wif li.named .wst { color: var(--g) }
.wif .wt { display: flex; flex-direction: column; gap: 2px; min-width: 0 } .wif .wt b { font-size: .92rem; font-weight: 700 } .wif .wt .meta { font-size: .78rem; color: var(--muted) }
.wif .wv { display: flex; flex-direction: column; gap: 4px } .wbar { position: relative; display: block; height: 16px; background: #F1ECF9; border-radius: 5px; overflow: hidden }
.wbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px } .wbar i.m { background: var(--violet); opacity: .32 } .wbar i.p { background: var(--magenta); opacity: .32 }
.wbar em { position: relative; display: block; font-style: normal; font-size: .72rem; font-weight: 700; line-height: 16px; padding-left: 6px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap }
@media (max-width: 640px) { .wif li { grid-template-columns: 1fr } }
.chart .ln.future { stroke: var(--magenta); stroke-dasharray: 2 4; stroke-width: 2; fill: none } .chart .pt.future { fill: var(--magenta) } .chart .lb.future { fill: var(--magenta) }
.legend .lg.future::before { background: var(--magenta) }

/* root causes on the end-of-game map */
.mapbar { margin-bottom: 8px; gap: 8px 14px }
.sitmap .edge.e-c { stroke: var(--r); stroke-width: 3 } .sitmap .mk-c path { fill: var(--r) } .sitmap .edge.e-d { stroke: #D9D0EA; stroke-width: 1.2 } .sitmap .mk-d path { fill: #D9D0EA }
.sitmap .edge-t.cause { fill: var(--r) } .sitmap .edge-t.dim { fill: #B9AFD0; font-weight: 400 }
.sitmap .node.root rect:first-child { stroke: var(--r); stroke-width: 3 } .sitmap .node.root rect.rootn { fill: var(--r); stroke: #fff; stroke-width: 2 } .sitmap .node.root text.roott { font: 700 12px var(--sans); fill: #fff }
.mlg.rootl::before { background: var(--r); border-color: var(--r); width: 11px; height: 11px } .mlg.causel::before { border: 0; border-top: 3px solid var(--r); border-radius: 0; height: 0; background: none; vertical-align: 3px }
.ins.roots li { grid-template-columns: 28px minmax(0, 1fr) } .rootb { width: 24px; height: 24px; border-radius: 6px; background: var(--r); color: #fff; font-weight: 700; font-size: .82rem; display: flex; align-items: center; justify-content: center }
.rootg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 5px } .rootg em { font-style: normal; font-size: .76rem; color: var(--muted); margin-right: 2px } .insbox h3 { margin: 12px 0 2px }

/* the room's run against the perfect run */
.fall { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 10px; align-items: center; margin: 8px 0 }
.fall-l { font-size: .78rem; color: var(--muted); display: flex; flex-direction: column } .fall-l b { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums }
.fall-b { display: flex; height: 30px; border-radius: 8px; overflow: hidden; background: var(--mist-2) } .fall-b i { display: flex; align-items: center; justify-content: center; min-width: 0; border-right: 1.5px solid #fff } .fall-b i:last-child { border-right: 0 }
.fall-b em { font-style: normal; font-size: .74rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap }
.fall-b .c0, .fl.c0::before { background: #B9B3D3 } .fall-b .c1, .fl.c1::before { background: var(--violet) } .fall-b .c2, .fl.c2::before { background: #C0309F } .fall-b .c3, .fl.c3::before { background: var(--ink) } .fall-b .c4 { background: var(--soft) }
.lensgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 14px }
.lens { border: 1px solid var(--line); border-top: 5px solid var(--violet); border-radius: 12px; padding: 12px 14px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; min-width: 0 } .lens.c2 { border-top-color: #C0309F } .lens.c3 { border-top-color: var(--ink) }
.lens-n { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap } .lens-n b { font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums } .lens-n span { color: var(--muted); font-size: .86rem }
.lens .cb-b { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--mist-2) } .lens-c { font-size: .88rem; margin: 0 } .lens .hint { margin: 0 }
.lens-h { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px }
.lens-t { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px } .lens-t li { border-left: 3px solid var(--r); padding: 2px 0 2px 9px; display: flex; flex-direction: column; gap: 1px } .lens-t li.late { border-left-color: var(--a) } .lens-t li.mine { background: #F6F0FF }
.lens-t b { font-size: .86rem } .lens-t .meta { font-size: .74rem }
.bench { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; margin: 26px 0 8px } .bench-l { font-size: .78rem; font-weight: 700; color: var(--muted); padding-top: 2px }
.bench-g { position: relative; display: flex; flex-direction: column; gap: 5px } .brow { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; align-items: center } .brow .bn { font-size: .74rem; color: var(--muted); white-space: nowrap }
.bt { position: relative; height: 12px; border-radius: 6px; background: var(--mist-2) } .bt i { position: absolute; top: 0; bottom: 0 } .bt .rng { border-radius: 6px; background: var(--violet); opacity: .28 } .bt .med { width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--violet) }
.byou { position: absolute; left: 126px; right: 0; top: -6px; bottom: -4px; pointer-events: none } .byou i { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #C0309F }
.byou em { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .72rem; font-weight: 700; color: #C0309F; white-space: nowrap; padding-bottom: 2px }
@media (max-width: 640px) { .fall { grid-template-columns: 1fr } }

.keyb.imp { background: var(--a) } .keyb.sup { background: var(--soft) } .wif.gaps li { grid-template-columns: 92px minmax(0, 1fr) 110px } .wif.gaps .wv { align-items: flex-end }
@media (max-width: 640px) { .wif.gaps li { grid-template-columns: 1fr } .wif.gaps .wv { align-items: flex-start } }

/* root-cause table, status pills, harm by harm, the planned ladder and the way forward */
.rct { display: grid; grid-template-columns: 28px minmax(0, 1.5fr) minmax(0, 1fr) minmax(120px, .7fr); gap: 6px 14px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line) }
.rct-h { border-top: 0; padding: 8px 0 4px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.rc-m { display: flex; flex-direction: column; gap: 2px; min-width: 0 } .rc-m b { font-size: .92rem } .rc-m .from { font-size: .8rem; color: var(--muted) }
.rc-d { margin-top: 3px } .rc-d summary { cursor: pointer; font-size: .76rem; font-weight: 700; color: var(--violet) } .rc-f { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0 } .rc-f .meta { font-size: .8rem }
.rc-s, .plc { display: flex; flex-direction: column; gap: 3px; align-items: flex-start } .rc-s small, .plc small { font-size: .74rem; color: var(--muted); line-height: 1.25 }
.stp { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 2px 9px; white-space: nowrap; color: #fff; background: var(--r) }
.stp.planned { background: var(--g) } .stp.part { background: var(--a) } .stp.na { background: var(--soft) } .wif.gaps .wv { flex-direction: column; gap: 4px; align-items: flex-end }
@media (max-width: 720px) { .rct { grid-template-columns: 28px minmax(0, 1fr) } .rct-h { display: none } .rc-f, .rc-s { grid-column: 2 } .wif.gaps .wv { align-items: flex-start; flex-direction: row } }
table.harm td { vertical-align: middle } .hb { position: relative; display: block; height: 18px; min-width: 150px; background: var(--mist-2); border-radius: 5px }
.hb i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 5px } .hb .hn { background: #D9D0EA } .hb .hy { background: var(--violet) } .hb .hi { width: 3px; margin-left: -1.5px; top: -3px; bottom: -3px; border-radius: 2px; background: var(--ink) }
.hb em { position: absolute; right: 6px; top: 0; font-style: normal; font-size: .74rem; font-weight: 700; line-height: 18px; color: var(--ink); font-variant-numeric: tabular-nums }
.ladgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 22px; margin: 10px 0 12px } .ladder { display: flex; flex-direction: column; gap: 7px }
.lad { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px } .lad-l { display: flex; flex-direction: column } .lad-l b { font-size: .86rem } .lad-l small { font-size: .74rem; color: var(--muted) }
.lad-b { position: relative; display: block; height: 20px; background: var(--mist-2); border-radius: 6px; overflow: hidden } .lad-b i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: #B9B3D3 }
.lad.l1 .lad-b i { background: #C0309F } .lad.l2 .lad-b i { background: var(--violet) } .lad.l3 .lad-b i { background: var(--g); opacity: .85 } .lad.l3 .lad-b i.rngl { background: var(--g); opacity: .35 }
.lad-b em { position: absolute; right: 8px; top: 0; font-style: normal; font-size: .76rem; font-weight: 700; line-height: 20px; color: var(--ink); font-variant-numeric: tabular-nums }
table.plans td, table.fwd td { vertical-align: top } table.plans .rootg { margin-top: 4px } .openg { display: flex; flex-direction: column; gap: 4px }
.vsum { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 4px 0 8px } .vp { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 99px; padding: 3px 10px; background: var(--mist-2); color: var(--ink); white-space: nowrap }
.vp.ok { background: var(--ok-soft); color: var(--ok) } .vp.bad { background: var(--bad-soft); color: var(--bad) } .vp.warn { background: var(--warn-soft); color: var(--warn) }
table.fwd tr.v-bad td:first-child { box-shadow: inset 4px 0 0 var(--r) } table.fwd tr.v-ok td:first-child { box-shadow: inset 4px 0 0 var(--g) } table.fwd tr.v-warn td:first-child { box-shadow: inset 4px 0 0 var(--a) }
table.model td, table.model th { text-align: center; font-variant-numeric: tabular-nums } table.model td:first-child, table.model th:first-child { text-align: left } table.model td.nil { color: var(--soft) }

table.plans tr.sub td { background: var(--mist-2); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }

/* sound status on the bulletin */
.tv-ctl .hint.snd-off { color: var(--ink); background: color-mix(in srgb, #f0b429 22%, transparent); border-left: 3px solid #d9930d; padding: 6px 10px; border-radius: 6px; font-weight: 600; }

/* ---------- v9: one step at a time. The to-do list holds the actions; one step is open; the stage bar says where the room is. ---------- */
.wrap.pl { gap: 12px; padding-top: 14px }
.phasehead { display: flex; flex-direction: column; gap: 6px } .phasehead .eyebrow { align-self: flex-start }
.ph-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.phasehead h1 { margin-top: 4px; font-size: clamp(1.35rem, 1rem + 1.6vw, 1.9rem) }
.ph-stage { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); white-space: nowrap }
.stagebar { list-style: none; display: flex; gap: 4px; padding: 0; margin: 4px 0 0 } .stagebar li { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px }
.stagebar i { display: block; height: 5px; border-radius: 3px; background: var(--line) } .stagebar .past i { background: var(--violet); opacity: .45 } .stagebar .cur i { background: var(--ramp-b) }
.stagebar span { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .stagebar .cur span { color: var(--violet) }
.phasehead .lede { font-size: .95rem; margin-top: 2px }
.todo { padding: 16px 14px 14px } .todo-h h2 { font-size: 1.05rem }
.todo-bar { height: 6px; border-radius: 3px; background: var(--mist-2); margin-top: 10px; overflow: hidden } .todo-bar i { display: block; height: 100%; background: var(--ramp-b); border-radius: 3px; transition: width .3s }
.todo-ok { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .9rem }
.sxl { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px }
.sx { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); scroll-margin-top: 78px; overflow: hidden; min-width: 0 }
.sx.open { border-color: var(--violet); box-shadow: 0 12px 28px -22px rgba(117, 67, 192, .9) } .sx.done:not(.open) { background: var(--mist) }
.sx-h { display: flex; align-items: center; gap: 8px; padding-right: 12px }
.sx-hb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 12px 4px 12px 12px; min-height: 56px }
.sx-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--mist-2); color: var(--violet) }
.sx.open .sx-n { background: var(--ink); color: #fff } .sx.done .sx-n { background: var(--ok-soft); color: var(--ok) } .sx.done.open .sx-n { background: var(--ok); color: #fff }
.sx-t { min-width: 0; display: flex; flex-direction: column; gap: 2px } .sx-t b { font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere }
.sx-t small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet) } .sx.opt .sx-t small { color: var(--soft) }
.sx.done .sx-t small { color: var(--ok); text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 400; overflow-wrap: anywhere }
.sx.done:not(.open) .sx-t b, .sx.opt:not(.open):not(.done) .sx-t b { font-weight: 400 } .sx.done:not(.open) .sx-t b { color: var(--muted) }
.sx .tickbox { width: 28px; height: 28px } .sx .tickbox[data-on="1"]::after, .sx .tickbox.on::after { left: 9px; top: 4px }
.sx-b { padding: 2px 14px 14px; border-top: 1px solid var(--line); min-width: 0 } .sx-b > :first-child { margin-top: 12px } .sx-b h3.first { margin-top: 12px }
.sx-f { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 14px } p.sx-f { display: block; text-align: right; max-width: none }
.sx-b > .panel { border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; background: none } .sx-b > .panel::before { display: none } .sx-b > .panel > h2, .sx-b > .panel .row > h2 { font-size: 1rem }
.sx-b .mapbox { margin-inline: 0 }
.opl { display: flex; flex-direction: column; gap: 6px; margin-top: 14px }
.op-l { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px } .opl > .op-l { margin-top: 0 }
.op { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 9px 12px; min-height: 48px } .op:hover:not(:disabled) { border-color: var(--violet) }
.op-n { flex: none; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; display: grid; place-items: center; background: var(--mist-2); color: var(--violet); font-size: .86rem }
.op-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; align-self: center } .op-t b { font-weight: 700; line-height: 1.3 } .op-t small { color: var(--muted); font-size: .84rem; line-height: 1.35 }
.op.on { border-color: var(--ink); background: var(--ink); color: #fff } .op.on .op-n { background: var(--ramp-b); color: #fff } .op.on .op-t small { color: #CFC6E8 }
.injcard { border: 1px solid var(--line); border-left: 5px solid var(--violet); border-radius: 12px; padding: 12px 14px; background: var(--mist); margin-top: 10px } .injcard header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.injcard .injtext { font-size: 1.04rem; line-height: 1.55 } .injq { margin-top: 6px } .injq ol { margin-top: 4px }
.injref { font-size: .86rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: none }
.injpick { margin-top: 10px }
.newsbox { border-radius: 14px; background: var(--ink); color: #fff; padding: 14px 16px 16px; position: relative; overflow: hidden } .newsbox::before { content: ""; position: absolute; inset: 0; background: var(--ramp); opacity: .22 } .newsbox > * { position: relative }
.news-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap } .newsbox .bug { font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; color: #fff; background: none; padding: 0 } .newsbox .bug i { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); display: block }
.newsbox .pill.ex { color: #CFC6E8; border-color: rgba(255, 255, 255, .4) } .newsbox h3 { color: #fff; font-size: 1.15rem; line-height: 1.25; margin-top: 10px } .newsbox p { color: #EDE7FA; max-width: none } .newsbox .op-l { color: #CFC6E8 } .newspts { margin-top: 4px; color: #EDE7FA }
.stagecap { margin-top: 10px }
.tray.red { margin-top: 8px } .rcat { border: 1px solid var(--line); border-radius: 12px; margin-top: 6px; overflow: hidden } .rcat.has { border-color: var(--r) }
.rcat-h { width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; background: var(--paper); border: 0; padding: 10px 12px; min-height: 44px } .rcat-h b { font-size: .92rem } .rcat-h span { font-size: .78rem; color: var(--muted); margin-left: auto; text-align: right }
.rcat-h::after { content: "+"; font-weight: 700; color: var(--soft); width: 14px; text-align: center; flex: none } .rcat.open .rcat-h::after { content: "–" } .rcat .tgrid { padding: 0 10px 10px; margin-top: 0 }
.pcheck { list-style: none; padding: 0; margin-top: 10px; border-top: 1px solid var(--line) } .pcheck li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #F1EBF9 }
.pcheck i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--mist-2); position: relative } .pcheck .yes i { background: var(--ok) } .pcheck .yes i::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) }
.pcheck span { display: flex; flex-direction: column; min-width: 0 } .pcheck small { color: var(--muted) } .pcheck em { font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft) } .pcheck .yes em { color: var(--ok) }
.timerset { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); flex-wrap: wrap } .timerset .btn { padding: 7px 11px }
.tm-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 8px } .tm-quick { margin-top: 10px } .tm-row { margin-top: 10px; gap: 6px }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 8px }
.tv-text { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line) } .tv-text p { max-width: none; font-size: 1.05rem }
.saynow { margin: 12px 0 } .saynow p { margin-top: 4px; font-weight: 700 }
@media (max-width: 640px) {
  .stagebar span { display: none }
  .tabs.pl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 0; gap: 0; overflow: visible; padding: 0 max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(12px, env(safe-area-inset-left, 0px)); box-shadow: 0 -10px 26px -20px rgba(25, 30, 72, .55) }
  .tabs.pl .tab { flex: 1; min-width: 0; padding: 11px 2px 10px; font-size: .66rem; letter-spacing: .03em; border-bottom: 0; border-top: 3px solid transparent; text-align: center; min-height: 48px }
  .tabs.pl .tab.on { border-image: var(--ramp-b) 1; border-top: 3px solid; border-bottom: 0 }
  .wrap.pl { padding-bottom: 104px }
  .tm-set { grid-template-columns: 1fr 1fr } .tm-set .btn { grid-column: 1 / -1 }
}
@media (prefers-reduced-motion: reduce) { .todo-bar i { transition: none } }
/* v9 refinements */
.sx-hb .tickbox.auto { margin-left: auto; flex: none; border-style: dashed; border-color: var(--line); background: none } .sx-hb .tickbox.auto.on { border-style: solid; border-color: transparent; background: var(--ramp-b) }
.tcard .tc-h b { color: #fff; padding: 2px 7px; border-radius: 6px; font-size: .74rem; letter-spacing: .02em } .tcard.on .tc-h b { color: #fff }
.sx-b > .composer > h2, .sx-b > .inboxp > h2 { display: none } .sx-b > .composer > h2 + .hint { margin-top: 12px }
.mv-n, .rk i { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-right: 7px; border-radius: 6px; background: var(--mist-2); color: var(--violet); font: 700 .72rem/1 var(--sans); font-style: normal; vertical-align: 1px }
.move.on .mv-n, .rk.on i { background: rgba(255, 255, 255, .22); color: #fff }
.rolechip b { font-weight: 700 }
@media (max-width: 640px) {
  #toasts { bottom: calc(62px + env(safe-area-inset-bottom, 0px)) }
  .pp { padding: 10px 2px } .pp span { font-size: .62rem; overflow-wrap: normal; letter-spacing: -.01em }
  .rolechip span { display: none } .rolechip { padding: 5px 10px }
}
.phasehead .eyebrow { flex-wrap: nowrap; align-items: flex-start; border-radius: 14px } .phasehead .eyebrow::before { margin-top: -1px }
.sx-chev { margin-left: auto; flex: none; width: 28px; height: 28px; position: relative } .sx-chev::after { content: ""; position: absolute; left: 9px; top: 7px; width: 8px; height: 8px; border: solid var(--soft); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .15s }
.sx.open .sx-chev::after { transform: rotate(-135deg); top: 11px }
.sx-hb .tickbox.auto.on { margin-left: auto; flex: none }
.newsbox .op-l { margin-top: 12px } .newsbox .newspts li { font-weight: 700 }
@media (max-width: 640px) {
  .top-in { gap: 8px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)) } .brand { flex: 1 1 auto; min-width: 0 } .wm { height: auto; max-height: 18px; max-width: 100%; min-width: 0 } .top-r { flex: none; gap: 6px }
  .rolechip { max-width: none; flex: none }
}
@media (prefers-reduced-motion: reduce) { .sx-chev::after { transition: none } }
.howto { margin-top: 8px; padding-left: 22px } .howto li { margin-top: 4px } .howto li::marker { font-weight: 700; color: var(--violet) }
.talkq { font-size: 1.04rem; line-height: 1.5; border-left: 4px solid var(--violet); padding-left: 12px; max-width: none }

/* ---------- v10: steps unlock in order, a bar that always says which step is current, and a mark for slow links ---------- */
.todo { overflow: visible } .todo::before { border-radius: 16px 16px 0 0 }
.todo-top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--top-h, 56px)); z-index: 6; background: var(--paper); margin: -8px -14px 0; padding: 10px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: end; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; box-shadow: 0 10px 14px -14px rgba(25, 30, 72, .35) }
.nowb { text-align: left; background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ink) }
.nowb-k { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--magt) } .nowb.done .nowb-k { color: var(--ok) }
.nowb b { font-size: 1.04rem; line-height: 1.2; overflow-wrap: anywhere }
.todo-top .prog { white-space: nowrap; padding-bottom: 2px } .todo-top .todo-bar { grid-column: 1 / -1; margin-top: 4px }
.sx { scroll-margin-top: calc(var(--top-h, 56px) + 96px) }
.sx.cur:not(.done) { border: 2px solid var(--violet) } .sx.cur:not(.done) .sx-t small { color: var(--magt) }
.sx.done:not(.open) .sx-hb { min-height: 44px; padding-block: 7px }
.sx.locked { background: var(--mist); border-style: dashed; box-shadow: none } .sx.locked .sx-hb { cursor: not-allowed; min-height: 44px; padding-block: 7px }
.sx.locked .sx-t b { font-weight: 400; color: var(--muted) } .sx.locked .sx-t small { color: var(--soft); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .76rem }
.sx.locked .sx-n { background: none; border: 1px dashed var(--soft); color: var(--soft) }
.sx-lock { margin: 7px 7px 0 auto; flex: none; width: 14px; height: 11px; border-radius: 3px; background: var(--soft); position: relative }
.sx-lock::before { content: ""; position: absolute; left: 3px; top: -7px; width: 8px; height: 9px; border: 2px solid var(--soft); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box }
.note.prole { background: var(--warn-soft); border-color: var(--a) } .prolelist li { padding: 5px 0 }
.netchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 700; white-space: nowrap; flex: none }
.netchip i { width: 8px; height: 8px; border-radius: 50%; background: #FFD27A } .netchip.off i { background: #FF8E86 }
@media (max-width: 560px) { .netchip span { display: none } .netchip { padding: 6px } .todo-top { margin-inline: -13px; padding-inline: 13px } }
/* the step bar stays slim: step number and progress on one line, the step's name on the next */
.todo-top { display: block; padding: 9px 14px 10px } .todo-top .prog { position: absolute; right: 14px; top: 9px; padding: 0 }
.nowb { width: 100% } .nowb b { display: block; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.todo-top .todo-bar { margin-top: 7px } .sx { scroll-margin-top: calc(var(--top-h, 56px) + 86px) }
@media (max-width: 560px) { .todo-top .prog { right: 13px } }

/* ---------- v11: incident tags, agency tag, gap types, evaluator notes ---------- */
.pill.inc { background: var(--ink); color: #fff; letter-spacing: .04em } .pill.incB { background: var(--magt) } .pill.incX { background: var(--mist-2); color: var(--muted); border: 1px dashed var(--soft) }
.injref .pill.inc { font-size: .66rem; padding: 1px 8px; vertical-align: 1px }
.orgrow { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line) } .orgrow small { flex-basis: 100%; color: var(--muted); font-size: .76rem }
.gtrow { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 0 2px } .gtrow .segb { font-size: .74rem; padding: 4px 9px; font-weight: 700 } .gtrow .segb.on { background: var(--r); border-color: var(--r) }
.gt-set { flex-basis: 100%; font-size: .82rem; color: var(--bad); font-weight: 700 }
.note.evnote { background: var(--warn-soft); border-color: var(--a) }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px } .roles legend { grid-column: 1 / -1 }
.obs .seg { margin-top: 10px } .obs .segb, .obs-t .segb { font-size: .78rem } .obslist li { padding: 9px 0 } .obslist p { margin: 4px 0 2px; max-width: 80ch }
.note.savernd { border-color: var(--violet); margin-bottom: 4px; gap: 12px } .note.savernd.ok { border-color: var(--ok) }
