/* NLL Quest Board. One look by choice: a pixel board game in the No Luck Leads colors (black, white, brand orange), with
   the game art inside (map, characters, ranks) in its own colors. Pixel font for the chrome, a plain face for anything
   you read. Shared by the live site (sites/nll-map) and the static page scripts/render-workflows.sh writes. */
:root { --night: #0a0520; --card: #12082e; --pink: #ff3ea5; --cyan: #22e6ff; --yellow: #ffe24a; --green: #4dff9a; --purple: #9d6bff; --orange: #ff8a3c;   /* Workflow City neon palette (Andrew, 2026-11-15); the tokens below carry it to every tab */
  --sky: #0a0520; --sky2: #150a35; --ground: #1d0f45; --panel: #150a35; --panel2: #0f0828; --ink: #000; --fg: #f4efff; --muted: #b9aee0; --dim: #9c8fc4;
  --gold: #ff3ea5; --orange-light: #ff8ac4;   /* --gold is the accent: neon pink (the name predates the theme) */
  --brand: #f26522; --brand-glow: #f2652266;   /* No Luck Leads orange. The frame every tab sits in (top bar, tab bar, sign-in, page background) is black, white and this orange (Andrew, 2026-11-16); the game colors above stay inside the tabs */
  --bot: #4dff9a; --person: #ff6fb9; --build: #ff8a3c; --road: #8b5a2b; --client: #22e6ff;
  --bronze: #cd7f32; --silver: #c9ccd6; --rgold: #ffd700; --platinum: #9fe3ff; --locked: #3a3936;
  --pixel: "Press Start 2P", "Courier New", monospace; --num: "VT323", "Courier New", monospace; --body: "Inter", "Segoe UI", system-ui, sans-serif; --display: "Montserrat", "Segoe UI", system-ui, sans-serif; color-scheme: dark }
* { box-sizing: border-box }
body { margin: 0; background: var(--sky); color: var(--fg); font: 16px/1.5 var(--body); background-image: url(mark-tile.svg), radial-gradient(#ffffff22 1px, transparent 1px), radial-gradient(#ffffff14 1px, transparent 1px); background-size: 176px 176px, 90px 90px, 150px 150px; background-position: 0 0, 0 0, 40px 60px; background-repeat: repeat, repeat, repeat; background-attachment: fixed, scroll, scroll }   /* mark-tile.svg: small NLL marks stepping down the page on a diagonal, as on the agreements and the Growth Diagnostic; the single big mark it replaced is still here as mark-wm.svg */
.wrap { max-width: 1120px; margin: 0 auto; padding-block: 22px 70px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.px { display: inline-block; position: relative }
h1, h2, h3 { font-family: var(--pixel); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.5 }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.04; letter-spacing: -1.2px; color: #fff; text-shadow: none }
/* The website's look: an orange eyebrow with a short dash, white Montserrat headlines with an orange accent, the mark as a
   faint watermark. The pixel font stays for the game: tiles, scores, the map, characters, tabs and buttons. */
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-weight: 400; font-size: 9px; line-height: 1.4; letter-spacing: 0; color: var(--gold); text-transform: uppercase; margin-bottom: 12px }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 3px; background: var(--gold) }
.acc { color: var(--gold) }
a { color: var(--gold) }
/* BIG NUMBERS strip: six flat button tiles above the score HUD; a click opens the d-numbers dialog. */
.money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px }
.mtile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; text-align: left; font: inherit; color: var(--fg); background: var(--panel); border: 4px solid var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px; cursor: pointer; -webkit-appearance: none; appearance: none; transition: transform .08s steps(2) }
.mtile:hover, .mtile:focus-visible { transform: translateY(-2px) }
.mtile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.mtile .k { font-family: var(--pixel); font-size: 9px; line-height: 1.5; color: var(--muted); letter-spacing: .04em }
.mtile .v { font-family: var(--num); font-size: clamp(26px, 8vw, 34px); line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); overflow-wrap: anywhere }
.mtile .v.none { color: var(--dim) }
.mtile .two { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100% }
.mtile .two .c { display: flex; flex-direction: column; gap: 3px; min-width: 0 }
.mtile .two .n { font-family: var(--pixel); font-size: 8px; color: var(--muted) }
.mtile .two .v { font-size: clamp(24px, 7vw, 30px) }
.mtile .sub { font-family: var(--body); font-size: 14px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere }
.mtile .warn { font-family: var(--body); font-size: 9px; line-height: 1.2; color: var(--build) }
.est { display: inline-block; vertical-align: middle; margin-left: 4px; font-family: var(--pixel); font-size: 7px; line-height: 1; color: var(--build); border: 2px solid var(--build); padding: 2px 3px; text-shadow: none }
.dlg.wide { width: min(980px, calc(100vw - 32px)) }
h3.dk { font-family: var(--pixel); font-size: 10px; color: var(--gold); margin-top: 20px }
.tbl { overflow-x: auto; margin-top: 8px; border: 2px solid var(--ink); background: var(--panel2) }
.tbl table { border-collapse: collapse; width: 100%; font-family: var(--body); font-size: 14px }
.tbl th { font-family: var(--pixel); font-size: 8px; font-weight: 400; color: var(--muted); text-align: left; padding: 8px 10px; white-space: nowrap; border-bottom: 2px solid var(--ink) }
.tbl td { padding: 6px 10px; white-space: nowrap; border-bottom: 1px solid var(--ink) }
.tbl td.r { text-align: right; font-family: var(--num); font-size: 18px }
.dlg ul.notes { margin: 8px 0 0; padding-left: 20px } .dlg ul.notes li { margin-top: 4px }
@media (max-width: 900px) { .money { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .money { grid-template-columns: minmax(0, 1fr) } }
.hud { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center; background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; margin-top: 14px }
.hud .lvl { font-family: var(--pixel); font-size: 12px; color: var(--muted) } .hud .lvl b { color: var(--gold); font-size: 20px; margin-left: 8px; text-shadow: 2px 2px 0 var(--ink) }
.xpbar { margin-top: 10px; height: 18px; border: 3px solid var(--ink); background: var(--panel2); position: relative; image-rendering: pixelated } .xpbar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--bot) 0 6px, #43b86a 6px 8px) } .xpbar em { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink) }
.xpnum { font-family: var(--num); font-size: 22px; color: var(--fg); margin-top: 6px; letter-spacing: .5px } .xpnum small { color: var(--muted); font-size: 18px }
.hud .right { font-family: var(--num); font-size: 20px; color: var(--muted); display: grid; gap: 2px; text-align: right } .hud .right b { color: var(--fg); font-weight: 400 }
.next { margin-top: 18px; background: var(--card); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: start; cursor: pointer; text-align: left; color: var(--fg); width: 100%; font: inherit }
.next:hover, .next:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.mtruth { display: block; cursor: default; margin-top: 0; margin-bottom: 18px } .mtruth:hover { outline: none } .mtruth .plain { display: block; margin-top: 8px; color: var(--fg) } .mtruth h3.dk { margin-top: 14px }
.next .plus { font-family: var(--pixel); font-size: 18px; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); line-height: 1.3 } .next .plus small { display: block; font-size: 9px; color: var(--muted); margin-top: 6px }
.next .k { font-family: var(--pixel); font-size: 10px; color: var(--build); letter-spacing: .04em } .next b.t { display: block; font-family: var(--pixel); font-size: 12px; line-height: 1.6; margin-top: 6px } .next .plain { display: block; margin-top: 6px; color: var(--muted); font-size: 15px } .next .where { display: block; font-family: var(--num); font-size: 18px; color: var(--muted); margin-top: 4px }
.then { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--num); font-size: 19px; color: var(--muted) } .then button { font: inherit; color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px } .then button:hover { color: var(--gold) } .then b { color: var(--gold); font-weight: 400 }
.world { margin-top: 34px; padding: 18px 18px 22px; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--ground); position: relative }
.world.sky { background: var(--sky2) } .world.base { background: #161616 }
.world h2 { font-size: 11px; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline } .world h2 small { font-family: var(--num); font-size: 19px; color: var(--fg); text-shadow: none; font-weight: 400; text-transform: none; letter-spacing: 0 }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px }
.road { display: inline-flex; align-items: center; justify-content: center; width: 26px; flex: 0 0 auto }
.lanes { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; margin-top: 16px }
.tile { position: relative; width: 176px; min-height: 196px; background: var(--panel); color: var(--fg); border: 4px solid var(--silver); box-shadow: 0 0 0 3px var(--ink), 5px 5px 0 3px var(--ink); padding: 10px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font: inherit; text-align: center; flex: 0 0 auto; transition: transform .08s steps(2) }
.tile:hover, .tile:focus-visible { transform: translate(-2px, -2px); outline: none; box-shadow: 0 0 0 3px var(--ink), 7px 7px 0 3px var(--ink), 0 0 0 7px var(--gold) }
.lanes .tile { width: auto } .row .tile { width: auto; flex: 1 1 140px; max-width: 200px; min-width: 140px }
.tile.r-locked { border-color: var(--locked); background: #121212; color: var(--dim) } .tile.r-bronze { border-color: var(--bronze) } .tile.r-silver { border-color: var(--silver) } .tile.r-gold { border-color: var(--rgold) } .tile.r-platinum { border-color: var(--platinum) } .tile.r-person-run { border-color: var(--person) }
.tile .tile-top { display: flex; justify-content: space-between; width: 100%; font-family: var(--pixel); font-size: 8px } .tile .rank { color: var(--muted) } .r-bronze .rank { color: var(--bronze) } .r-silver .rank { color: var(--silver) } .r-gold .rank { color: var(--rgold) } .r-platinum .rank { color: var(--platinum) } .r-locked .rank { color: var(--dim) } .tile .soon { color: var(--build) }
.tile .art { position: relative; height: 52px; width: 100%; display: flex; align-items: center; justify-content: center; margin-top: 4px }
.tile .lockmark { position: absolute; right: 14px; bottom: -2px } .tile .flagmark { position: absolute; right: 12px; top: -4px }
.tile .name { font-family: var(--pixel); font-size: 9px; line-height: 1.6; margin-top: 4px; min-height: 30px; display: flex; align-items: center; text-wrap: balance }
.tile .sub { font-family: var(--num); font-size: 17px; color: var(--muted) } .r-locked .sub { color: var(--dim) }
.pips { display: inline-flex; gap: 2px } .pips i { width: 10px; height: 10px; background: var(--panel2); border: 2px solid var(--ink) } .pips i.on { background: var(--bot) } .pips.none { font-family: var(--num); font-size: 16px; color: var(--person) }
.worker { position: absolute; left: 14px; bottom: -4px; width: 16px; height: 24px } .worker span { position: absolute; inset: 0 } .worker .f2 { opacity: 0 }
@media (prefers-reduced-motion: no-preference) { .worker .f1 { animation: f1 .9s steps(1) infinite } .worker .f2 { animation: f2 .9s steps(1) infinite } @keyframes f1 { 50% { opacity: 0 } } @keyframes f2 { 50% { opacity: 1 } } }
.gate { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 9px; color: var(--gold); background: var(--ink); padding: 8px 12px; margin-top: 14px; border: 2px solid var(--gold) }
.loop { font-family: var(--num); font-size: 19px; color: #e5e3dd; display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap }
.foot { margin-top: 36px; display: grid; gap: 10px }
details { background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 0 } summary { cursor: pointer; font-family: var(--pixel); font-size: 10px; padding: 14px 16px; color: var(--gold); list-style: none } summary::before { content: "> "; color: var(--muted) } details[open] summary::before { content: "v " } summary::-webkit-details-marker { display: none }
details .in { padding: 0 16px 16px; font-size: 15px } details .in ul { margin: 0; padding-left: 18px } details .in li { margin-top: 6px } details .in .plain b { font-weight: 600 }
.keeper .keeper-row { margin-top: 8px; padding: 8px 10px; background: var(--panel2); border: 2px solid var(--ink); font-size: 14px } .keeper .keeper-row b { font-weight: 600 } .keeper .muted { color: var(--muted) }
.keeper .keeper-row.site, .keeper .keeper-row.incident { border-color: var(--gold) } .keeper .keeper-row a { color: var(--gold) }
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px } .crew div { background: var(--panel2); border: 2px solid var(--ink); padding: 10px 12px } .crew b { font-family: var(--pixel); font-size: 9px; color: var(--gold); display: block; line-height: 1.6 } .crew .who { font-family: var(--num); font-size: 19px } .crew .plain { color: var(--muted); font-size: 14px; margin-top: 4px }
.queue { display: grid; gap: 12px } .queue > div { background: var(--panel2); border: 2px solid var(--ink); padding: 10px 12px } .queue b.who { font-family: var(--pixel); font-size: 9px; color: var(--gold); line-height: 1.6 } .queue .n { font-family: var(--num); font-size: 19px; color: var(--muted); margin-left: 10px }
.queue ul { margin: 6px 0 0 } .queue li { font-size: 14px } .queue li small, .dlg .wait li small, .dlg .here li small, .pop li small { color: var(--muted) }
.meta { font-family: var(--num); font-size: 17px; color: var(--muted); margin-top: 22px; max-width: 80ch; line-height: 1.3 }
.stamp { font-family: var(--num); font-size: 18px; color: var(--muted) }
/* dialogs */
.dlg { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--panel); color: var(--fg); padding: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px) } .dlg::backdrop { background: rgba(5, 6, 20, .78) }
.dlg-in { margin: 0; padding: 18px 20px 22px; overflow: auto; max-height: calc(100dvh - 40px) }
.dlg-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap } .dlg-head h2 { font-size: 12px; line-height: 1.6; flex: 1; min-width: 0 } .dlg-head .rank { font-family: var(--pixel); font-size: 9px; padding: 4px 8px; border: 2px solid currentColor } .dlg-head .x { font-family: var(--pixel); font-size: 10px; background: var(--ink); color: var(--fg); border: 2px solid var(--gold); padding: 8px 10px; cursor: pointer } .dlg-head .x:hover { background: var(--gold); color: var(--ink) }
.rank.r-bronze { color: var(--bronze) } .rank.r-silver { color: var(--silver) } .rank.r-gold { color: var(--rgold) } .rank.r-platinum { color: var(--platinum) } .rank.r-locked { color: var(--dim) } .rank.r-person-run { color: var(--person) }
.dlg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 12px; font-family: var(--num); font-size: 19px } .dlg-meta .seat { color: var(--muted) }
.plain { font-family: var(--body); font-size: 15px; line-height: 1.45; color: #e5e3dd } .plain b { font-weight: 600; color: var(--fg) } .plain em { color: var(--muted) } p.plain { margin: 12px 0 0 }
.next-in { margin-top: 14px; background: var(--card); border: 3px solid var(--ink); padding: 10px 12px } .next-in .k { font-family: var(--pixel); font-size: 8px; color: var(--build) } .next-in b { font-family: var(--pixel); font-size: 10px; display: block; margin-top: 6px; line-height: 1.6 } .next-in .plus { font-family: var(--pixel); font-size: 10px; color: var(--gold) } .next-in .plain { margin-top: 4px; color: var(--muted) }
.dlg .wait, .dlg .here { margin-top: 14px; background: var(--panel2); border: 3px solid var(--ink); padding: 10px 12px } .dlg .wait .k, .dlg .here .k { font-family: var(--pixel); font-size: 8px; color: var(--person) } .dlg .here .k { color: var(--client) } .dlg .wait ul, .dlg .here ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px } .dlg .wait li, .dlg .here li { margin-top: 4px } .dlg .wait .more, .dlg .here .more { font-family: var(--num); font-size: 16px; color: var(--muted); margin-top: 4px }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px } .steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 8px 10px; background: var(--panel2); border: 2px solid var(--ink) } .steps li.is-next { outline: 2px solid var(--gold) } .steps .mark { position: relative; height: 24px } .steps .mark .worker { position: static; display: inline-block }
.steps .line { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline } .steps .line b { font-weight: 600 } .steps .st { font-family: var(--pixel); font-size: 7px; letter-spacing: .04em } .s-done .st { color: var(--bot) } .s-building .st { color: var(--build) } .s-todo .st { color: var(--dim) } .s-person .st { color: var(--person) } .steps .xps { font-family: var(--num); font-size: 16px; color: var(--muted) } .steps .body .plain { display: block; margin-top: 2px; font-size: 14px; color: var(--muted) }
/* the crew, the people and the client pieces */
.board { position: relative }
.crewline { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; font-family: var(--num); font-size: 19px; color: var(--muted); border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 4px } .crewline b { color: var(--fg); font-weight: 400 } .crewline .btns { display: flex; gap: 8px; flex-wrap: wrap }
.pxbtn { font-family: var(--pixel); font-size: 9px; background: var(--ink); color: var(--gold); border: 2px solid var(--gold); padding: 8px 12px; cursor: pointer } .pxbtn:hover, .pxbtn[aria-pressed="true"] { background: var(--gold); color: var(--ink) }
.char { position: absolute; left: 0; top: 0; width: 24px; height: 32px; z-index: 5; pointer-events: auto; cursor: help; will-change: transform; transform: translate(0, 0); outline: none }
.char:focus-visible .body { outline: 2px solid var(--gold); outline-offset: 2px }
.char .body { position: absolute; inset: 0; transform-origin: 50% 50% } .char.flip .body { transform: scaleX(-1) }
.char .fr { position: absolute; inset: 0; opacity: 0 } .char .fr.on { opacity: 1 }
.char.ghost { opacity: .72 } @media (prefers-reduced-motion: no-preference) { .char.ghost .body { animation: hover 2.4s ease-in-out infinite } @keyframes hover { 50% { translate: 0 -4px } } .char.idle .body { animation: bob 1.6s steps(2) infinite } @keyframes bob { 50% { translate: 0 1px } } }
.char.working::after { content: ""; position: absolute; left: 18px; top: 2px; width: 6px; height: 6px; background: #ffd166; box-shadow: 2px -6px 0 #ffd166, -4px -5px 0 #ff9f43; animation: spark .5s steps(2) infinite } @keyframes spark { 50% { opacity: 0 } }
.char .n { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; line-height: 1; color: var(--ink); background: var(--person); border: 2px solid var(--ink); padding: 3px 4px; pointer-events: none }
.bubble { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); background: var(--fg); color: var(--ink); font-family: var(--pixel); font-size: 7px; line-height: 1.5; padding: 5px 7px; border: 2px solid var(--ink); white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); pointer-events: none; z-index: 6 } .bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; background: var(--fg); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg) }
.piece { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 4; cursor: help; background: var(--client); color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font-family: var(--pixel); font-size: 6px; line-height: 18px; text-align: center; transform: translate(0, 0); outline: none }
.piece:focus-visible, .piece:hover { outline: 2px solid var(--gold); outline-offset: 1px } .piece.new { background: #ffd166 } .piece.unknown { background: var(--silver) }
.board[data-clients="off"] .piece { display: none }
.pop { position: absolute; z-index: 20; width: min(340px, calc(100vw - 40px)); background: var(--panel); color: var(--fg); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 10px 12px; font-family: var(--body); font-size: 14px; line-height: 1.4; pointer-events: auto }
.pop b.t { font-family: var(--pixel); font-size: 8px; line-height: 1.6; color: var(--gold); display: block } .pop .sub { font-family: var(--num); font-size: 17px; color: var(--muted); display: block } .pop ul { margin: 6px 0 0; padding-left: 16px } .pop li { margin-top: 3px } .pop .more { font-family: var(--num); font-size: 16px; color: var(--muted); margin-top: 4px }
.pop a { color: var(--fg); text-decoration: underline dotted; text-underline-offset: 2px } .pop a:hover { color: var(--gold) }
/* the live site's chrome: top bar, sign-in, notices */
.topbar { background: var(--ink); border-bottom: 4px solid var(--brand); box-shadow: 0 2px 16px var(--brand-glow); position: relative; z-index: 2 } .topbar .inner { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.topbar .brand { font-family: var(--pixel); font-size: 10px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px } .brand-mark { width: 24px; height: 24px; image-rendering: pixelated; box-shadow: 0 0 0 2px var(--ink) } .signin-mark { display: block; width: 72px; height: 72px; image-rendering: pixelated; margin-bottom: 14px; box-shadow: 4px 4px 0 var(--ink) } .topbar .fill { flex: 1 } .topbar .user { font-family: var(--num); font-size: 17px; color: #fff } .topbar .brand .bl { color: var(--brand) }
.btn { font-family: var(--pixel); font-size: 8px; background: var(--ink); color: var(--gold); border: 2px solid var(--gold); padding: 8px 10px; cursor: pointer } .btn:hover { background: var(--gold); color: var(--ink) } .btn.primary { background: var(--gold); color: var(--ink) } .btn.primary:hover { background: var(--fg) } .btn[disabled] { opacity: .5; cursor: wait }
.topbar .btn, .signin .btn { color: var(--brand); border-color: var(--brand) } .topbar .btn:hover, .signin .btn:hover { background: var(--brand); color: var(--ink) } .topbar .btn.primary, .signin .btn.primary { background: var(--brand); color: var(--ink) } .topbar .btn.primary:hover, .signin .btn.primary:hover { background: #fff } .signin .textbtn { color: var(--brand) } .signin .eyebrow, .signin .acc, #view > h1 .eyebrow, #view > h1 .acc { color: var(--brand) } .signin .eyebrow::before, #view > h1 .eyebrow::before { background: var(--brand) }
.signin { max-width: 440px; margin: 48px auto 0; background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 22px 24px } .signin p { color: var(--muted); font-size: 15px }
.signin form { display: grid; gap: 10px; margin-top: 14px } .signin label { font-family: var(--pixel); font-size: 8px; color: var(--muted) } .signin input { font: 18px var(--num); padding: 10px 12px; background: var(--panel2); color: var(--fg); border: 3px solid var(--ink) } .signin .or { text-align: center; font-family: var(--num); font-size: 17px; color: var(--muted); margin: 12px 0 }
.signin .sent { margin: 12px 0 0; font-size: 14px } .signin .sent b { color: var(--fg); font-weight: 600; overflow-wrap: anywhere }
.textbtn { font: 14px var(--body); background: none; color: var(--gold); border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left } .textbtn:hover { color: var(--fg) }
.notice { margin-top: 12px; padding: 10px 12px; border: 3px solid var(--ink); background: var(--panel2); font-size: 14px } .notice.err { border-color: var(--st-red); color: var(--st-red) }
.loading { font-family: var(--num); font-size: 22px; color: var(--muted); padding: 40px 0; text-align: center }
@media (max-width: 640px) { .hud { grid-template-columns: 1fr } .hud .right { text-align: left } .next { grid-template-columns: 1fr } .tile { width: 100% } .row { flex-direction: column; align-items: stretch } .road { width: auto; height: 26px } .lanes { grid-template-columns: 1fr 1fr } }

/* ---- the four tabs: HEALTH, SALES, WORKFLOWS, TEAM (was DOCKET) */
.tabbar { display: contents } .tabmore { display: none }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px }
.tabs .tab { font-family: var(--pixel); font-size: 10px; background: var(--ink); color: var(--brand); border: 3px solid var(--brand); padding: 10px 14px; cursor: pointer }
.tabs .tab .ti, .tabs .tab .ts { display: none }
.tabs .tab:hover { background: var(--panel) }
.tabs .tab[aria-selected="true"] { background: var(--brand); color: var(--ink); box-shadow: 0 0 14px var(--brand-glow) }
.tabpanel[hidden] { display: none }
.tabh { font-family: var(--display); font-weight: 900; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.15; letter-spacing: -.4px; color: #fff; text-shadow: none; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline }
.tabh small { font-family: var(--body); font-size: 15px; letter-spacing: 0; color: var(--muted); text-shadow: none; font-weight: 400 }
.health { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px }
.htile { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; border-left-width: 10px }
.htile.s-green { border-left-color: var(--bot) } .htile.s-yellow { border-left-color: var(--build) } .htile.s-red { border-left-color: var(--st-red) }
.htile .k { font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted) }
.htile .v { font-family: var(--num); font-size: 30px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink) }
.htile .sub { font-family: var(--num); font-size: 16px; color: var(--muted) }
.hbar { height: 10px; border: 2px solid var(--ink); background: var(--panel2) } .hbar i { display: block; height: 100%; background: var(--bot) }
.target { margin-top: 16px; background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; font-family: var(--pixel); font-size: 10px; color: var(--gold); line-height: 1.6 } .target .hbar { margin-top: 8px }
.leak { margin-top: 18px; background: var(--card); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 18px; display: grid; gap: 6px }
.leak .k { font-family: var(--pixel); font-size: 10px; color: var(--build); letter-spacing: .04em } .leak b.t { font-family: var(--pixel); font-size: 12px; line-height: 1.6 } .leak .plain { color: var(--muted) }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px }
.stage { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; border-top-width: 10px }
.stage.s-green { border-top-color: var(--bot) } .stage.s-yellow { border-top-color: var(--build) } .stage.s-red { border-top-color: var(--st-red) } .stage.total { background: var(--panel2) }
.stage .k { font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted) }
.stage .v { font-family: var(--num); font-size: 34px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink) }
.stage .cnt { font-family: var(--num); font-size: 17px; color: var(--muted) }
.fbar { position: relative; height: 14px; border: 3px solid var(--ink); background: var(--panel2); margin-top: 4px } .fbar i { display: block; height: 100%; background: var(--bot) }
.s-yellow .fbar i { background: var(--build) } .s-red .fbar i { background: var(--st-red) }
.fbar em { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--fg) } .fbar em.g { background: var(--gold) }
.stage .trio { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--pixel); font-size: 7px; color: var(--muted); line-height: 1.6 } .stage .trio b { color: var(--fg); font-weight: 400 }
@media (max-width: 900px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)) } .stage.total { grid-column: 1 / -1 } }
@media (max-width: 640px) { .stages { grid-template-columns: minmax(0, 1fr) } .tabs .tab { flex: 1 1 40%; text-align: center } }
@media (max-width: 900px) { .stages.top5 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .stages.top5 .stage:last-child { grid-column: 1 / -1 } }
/* SALES tab SHOW RATE: the tile beside its table; the section rows are labels, the weakest gap row is marked. */
.showrate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; margin-top: 8px; align-items: start } .showrate .tbl { margin-top: 0 }
.showrate .stage .plain { font-size: 13px; color: var(--muted) }
.tbl tr.sec td { font-family: var(--pixel); font-size: 8px; color: var(--gold); padding-top: 12px } .tbl tr.worst td { color: var(--st-red) }
@media (max-width: 900px) { .showrate { grid-template-columns: minmax(0, 1fr) } }
/* HEALTH, THE MONEY QUEST (decision 1550): dials, the path to the north star, step-ups, clients in and out, ads, worth and margin bars. Every rule sits
   under #tab-health and starts with hx-. The period block (#hx-box and the two chart boxes) is swapped by wire(). The resting state (no animation) is the
   final state: dials filled, bars full, lines drawn; all motion is in the no-preference block below. Chart text is 11px or more at phone width. */
#tab-health .hx { margin-top: 8px } #tab-health .hx > * { min-width: 0 } #tab-health .hx > * + * { margin-top: 12px }
#tab-health .hx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px } #tab-health .hx-bar .tabh { margin: 0 } #tab-health .hx-quest { color: var(--green) }
#tab-health .hx-chips { display: flex; flex-wrap: wrap; gap: 8px }
#tab-health .hx-per { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; cursor: pointer }
#tab-health .hx-per:hover { color: #fff } #tab-health .hx-per[aria-pressed="true"] { background: var(--green); color: #000 }
#tab-health .hx-cmp { font-size: 13px; color: var(--muted); margin-left: auto }
#tab-health .hx-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative }
#tab-health .hx-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-health .hx-say { font-size: 13.5px; color: var(--fg); margin: 8px 0 0 } #tab-health .hx-say::before { content: "\25B8  "; color: var(--green) }
#tab-health .hx-dim { color: var(--dim); font-size: 13px }
#tab-health .hx-nm { margin: 12px 0 0 } #tab-health .hx-nm-big { font-size: 64px } #tab-health .hx-nm-big.neg { color: var(--st-red, #ff4d6d) } #tab-health .hx-nm-cmp { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px } #tab-health .hx-nm .hx-say, #tab-health .hx-nm .hx-nm-part, #tab-health .hx-nm .hx-nm-pct { margin: 8px 0 0; font-size: 14px } #tab-health .hx-nm .hx-nm-part { color: var(--dim) } #tab-health .hx-nm-wait .hx-big { font-size: 22px; color: var(--dim) } #tab-health .hx-nm .growth { margin-top: 10px } #tab-health .hx-nm .pchart { box-shadow: none; margin-top: 8px }
/* NET INCOME BY MONTH (render.js netChartHtml): bars up or down from a zero line; a loss month is a red bar below zero with its value on it */
.nmc { position: relative; display: flex; gap: 6px; height: 140px; margin: 14px 0 12px } .nmc-c { position: relative; flex: 1 1 0; min-width: 0; height: 100% }
.nmc-c i { position: absolute; left: 0; right: 0; display: block; min-height: 2px; background: var(--gold); border: 2px solid var(--ink) }
.nmc-c.neg i { background: var(--st-red, #ff4d6d) } .nmc-c.part i { background: var(--dim) } .nmc-c.proj i { background: transparent; border-style: dashed; box-shadow: inset 0 0 0 2px var(--gold) }
.nmc-v { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--pixel); font-size: 7px; line-height: 1.6; color: var(--fg); font-weight: 400; padding: 1px 0; z-index: 2 } .nmc-c.neg .nmc-v { color: var(--st-red, #ff4d6d) }
.nmc-z { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--fg); pointer-events: none }
.nmc-t { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none } .nmc-t polyline { fill: none; stroke: var(--fg); stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke }
.nmc-m span { font-size: 6px } .glegend .nmc-lneg i { background: var(--st-red, #ff4d6d) } .glegend .nmc-lpart i { background: var(--dim) }
@media (max-width: 480px) { .nmc { gap: 2px } .nmc-c i { border-width: 1px } .nmc-v { font-size: 6px } }
#tab-health .hx-cash { margin: 10px 0 0; font-size: 15px; overflow-wrap: anywhere } #tab-health .hx-cash .hx-k { display: inline; margin-right: 6px } #tab-health .hx-cash-warn { background: var(--st-amber) }
#tab-health .hx-goals { margin: 8px 0 0; font-size: 14px } #tab-health .hx-goals .hx-k { display: inline-block; margin-bottom: 4px }
#tab-health .hx-goals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-health .hx-goals li { display: grid; grid-template-columns: minmax(120px, 1.4fr) minmax(110px, 1fr) minmax(70px, 1fr) minmax(110px, 1.2fr); gap: 8px; align-items: center; overflow-wrap: anywhere }
#tab-health .hx-gbar { display: block; height: 6px; background: var(--panel2) } #tab-health .hx-gbar i { display: block; height: 100%; background: var(--st-green) }
#tab-health .hx-bp { margin: 8px 0 0; font-size: 14px } #tab-health .hx-bp .hx-k { display: inline-block; margin-bottom: 4px }
#tab-health .hx-bp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-health .hx-bp-c { display: grid; gap: 2px; margin-bottom: 6px } #tab-health .hx-bp-n { font-weight: 700 }
#tab-health .hx-bp-r { display: grid; grid-template-columns: minmax(160px, 1.4fr) minmax(110px, 1fr) minmax(80px, 0.6fr) minmax(120px, 1.6fr); gap: 8px; align-items: baseline; overflow-wrap: anywhere }
#tab-health .hx-gs.up { color: var(--st-yellow, var(--muted)) }
@media (max-width: 640px) { #tab-health .hx-bp-r { grid-template-columns: 1fr 1fr } #tab-health .hx-bp-t { grid-column: 1 / -1 } }
#tab-health .hx-gs.ok { color: var(--st-green) } #tab-health .hx-gs.bad { color: var(--st-red) } #tab-health .hx-gs.dim { color: var(--muted) }
@media (max-width: 640px) { #tab-health .hx-goals li { grid-template-columns: 1fr 1fr } #tab-health .hx-gbar { grid-column: 1 / -1 } }
#tab-health .hx-top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 14px }
#tab-health .hx-mrr { border-top: 8px solid var(--green); text-align: left }
#tab-health .hx-top.hx-solo { grid-template-columns: minmax(0, 1fr) }
#tab-health .hx-big { font-family: var(--num); font-size: 58px; line-height: .85; color: var(--green); text-shadow: 3px 3px 0 var(--ink); margin-top: 8px } #tab-health .hx-big.hx-nov { font-size: 22px; color: var(--dim); line-height: 1.2 }
#tab-health .hx-of { display: block; font-family: var(--num); font-size: 17px; line-height: 1.1; color: var(--muted) }
#tab-health .hx-xp { height: 16px; border: 3px solid var(--ink); background: var(--panel2); margin-top: 8px } #tab-health .hx-xp i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--green) 0 8px, #2bd47a 8px 10px); box-shadow: 0 0 10px var(--green) }
#tab-health .hx-sm { font-size: 12px; color: var(--muted); margin-top: 6px } #tab-health .hx-sm b { color: var(--fg) }
#tab-health .hx-badge { display: inline-block; font-family: var(--pixel); font-size: 7px; line-height: 1; color: #000; background: var(--cyan); padding: 3px 5px; margin-left: 4px; vertical-align: 2px }
#tab-health .hx-dial { display: flex; flex-direction: column; align-items: stretch; text-align: center; font: inherit; color: inherit; cursor: pointer; padding: 10px 6px 9px; border-top-width: 8px; min-height: 44px }
#tab-health .hx-dial .hx-k { min-height: 24px }
#tab-health .hx-dial:hover, #tab-health .hx-dial[aria-expanded="true"] { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px #4dff9a40 }
#tab-health .hx-dial:focus-visible, #tab-health .hx-per:focus-visible { outline: 3px solid var(--green); outline-offset: 2px }
#tab-health .hx-dial.hx-green { border-top-color: var(--green) } #tab-health .hx-dial.hx-yellow { border-top-color: var(--yellow) } #tab-health .hx-dial.hx-red { border-top-color: var(--st-red) } #tab-health .hx-dial.hx-none { border-top-color: var(--dim) }
#tab-health .hx-dial svg { display: block; width: 100%; max-width: 150px; margin: 2px auto 0 }
#tab-health .hx-track { fill: none; stroke: #2a1a5c; stroke-width: 10 } #tab-health .hx-fill { fill: none; stroke-width: 10; filter: drop-shadow(0 0 5px currentColor) }
#tab-health .hx-green .hx-fill { stroke: var(--green); color: var(--green) } #tab-health .hx-yellow .hx-fill { stroke: var(--yellow); color: var(--yellow) } #tab-health .hx-red .hx-fill { stroke: var(--st-red); color: var(--st-red) } #tab-health .hx-none .hx-fill { stroke: var(--dim) }
#tab-health .hx-v { display: block; font-family: var(--num); font-size: 36px; line-height: .9; margin-top: -22px; text-shadow: 2px 2px 0 var(--ink) }
#tab-health .hx-green .hx-v { color: var(--green) } #tab-health .hx-yellow .hx-v { color: var(--yellow) } #tab-health .hx-red .hx-v { color: var(--st-red) } #tab-health .hx-none .hx-v { color: var(--dim) }
#tab-health .hx-v.hx-nov { font-size: 15px; line-height: 2.2 }
#tab-health .hx-mg { display: block; font-size: 11px; color: var(--muted); margin-top: 3px } #tab-health .hx-mg b { color: var(--fg); font-weight: 600 }
#tab-health .hx-delta { display: inline-block; align-self: center; font: 600 11px/1.2 var(--body); padding: 3px 6px; margin-top: 5px; border-radius: 2px; background: #ffffff12; color: var(--muted) }
#tab-health .hx-delta.up { color: var(--green) } #tab-health .hx-delta.down { color: var(--st-red) }
#tab-health .hx-leaktag { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; line-height: 1; background: var(--st-red); color: #000; padding: 4px 6px; white-space: nowrap }
#tab-health .hx-drawer { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; margin-top: 10px } #tab-health .hx-drawer[hidden] { display: none }
#tab-health .hx-h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.5; color: var(--green); margin: 0 0 6px }
#tab-health .hx-drawer p { margin: 4px 0; font-size: 13.5px; color: var(--muted) } #tab-health .hx-drawer p b { color: var(--fg) } #tab-health .hx-chn { font-family: var(--pixel); font-size: 9px; font-weight: 400 }
#tab-health .hx-mini { display: flex; align-items: flex-end; gap: 8px; height: 90px; border-bottom: 2px solid var(--dim); position: relative; margin: 22px 0 24px }
#tab-health .hx-mini > div { flex: 1; position: relative; min-height: 2px; background: #4dff9a55 } #tab-health .hx-mini > div.on { background: var(--green) }
#tab-health .hx-mini > div span { position: absolute; top: -17px; left: -4px; right: -4px; text-align: center; font-family: var(--num); font-size: 15px; line-height: 1; white-space: nowrap }
#tab-health .hx-mini > div em { position: absolute; bottom: -19px; left: 0; right: 0; text-align: center; font: normal 11px/1 var(--body); color: var(--muted) }
#tab-health .hx-mini > i { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--green) } #tab-health .hx-mini > i b { position: absolute; right: 0; top: -15px; font: 400 10px var(--body); color: var(--green) }
#tab-health .hx-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px } #tab-health .hx-row2 > * { margin-top: 0 }
#tab-health .hx-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px } #tab-health .hx-chead .hx-k { font-size: 9px; color: #fff; margin-right: auto } #tab-health .hx-chead small { font-size: 12px; color: var(--muted) }
#tab-health svg.hx-ch, #tab-health svg.hx-sv { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible }
#tab-health svg.hx-ch text, #tab-health svg.hx-sv text { font: 11px var(--body); fill: var(--muted) }
#tab-health svg text.hx-vt { font: 16px var(--num) } #tab-health svg text.hx-px { font: 9px var(--pixel) } #tab-health svg text.hx-star { font-size: 18px }
#tab-health svg .hx-grid { stroke: #ffffff14 } #tab-health svg .hx-s { fill: none; stroke-width: 3.5; stroke-linejoin: round; filter: drop-shadow(0 0 5px currentColor) }
#tab-health svg .hx-p { fill: none; stroke-width: 2.5; stroke-dasharray: 6 6 } #tab-health svg .hx-hit { outline: none } #tab-health svg .hx-hit:focus-visible { stroke: var(--green); stroke-width: 2 }
#tab-health svg.hx-phone { display: none }
#tab-health .hx-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin-top: 6px } #tab-health .hx-lg i { display: inline-block; width: 14px; height: 4px; margin-right: 5px; vertical-align: 3px }
#tab-health .hx-lg i.dash { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 7px) } #tab-health .hx-lg i.dot { background: repeating-linear-gradient(90deg, var(--c) 0 2px, transparent 2px 5px) }
#tab-health .hx-tip { position: fixed; z-index: 60; pointer-events: none; background: #000; border: 2px solid var(--green); padding: 6px 9px; font-size: 12px; line-height: 1.5; white-space: nowrap } #tab-health .hx-tip[hidden] { display: none } #tab-health .hx-tip-h { font-weight: 600; color: #fff }
#tab-health .hx-st { margin: 4px 0 6px } #tab-health .hx-sg { margin: 4px 0 12px }
#tab-health .hx-sm2 { display: flex; align-items: baseline; gap: 10px } #tab-health .hx-sm2 b { font: 400 10px var(--pixel); color: var(--orange); width: 38px } #tab-health .hx-sm2 span { font: 400 26px/1 var(--num); color: var(--fg) } #tab-health .hx-sm2 em { margin-left: auto; font: normal 12px var(--body); color: var(--muted) }
#tab-health .hx-sb { height: 12px; background: var(--panel2); margin: 4px 0 4px 48px } #tab-health .hx-sb i { display: block; height: 100%; background: var(--orange); box-shadow: 0 0 10px var(--orange) }
#tab-health .hx-who2 { font-size: 12.5px; color: var(--muted); margin-left: 48px } #tab-health .hx-who2 b { color: var(--fg); font-weight: 600 }
#tab-health .hx-held { font: 400 7px/1 var(--pixel); color: #000; background: var(--yellow); padding: 2px 4px; vertical-align: 1px }
#tab-health .hx-worth { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; align-items: center }
#tab-health .hx-ltv { display: flex; align-items: flex-end; gap: 16px; height: 150px; margin: 24px 6px 34px; border-bottom: 2px solid var(--dim) }
#tab-health .hx-ltv > div { flex: 1; position: relative; min-height: 3px; box-shadow: 0 0 12px currentColor }
#tab-health .hx-ltv > div span { position: absolute; top: -24px; left: -10px; right: -10px; text-align: center; font: 400 22px/1 var(--num); color: var(--fg); white-space: nowrap }
#tab-health .hx-ltv > div em { position: absolute; top: calc(100% + 6px); left: -14px; right: -14px; text-align: center; font: normal 11px/1.2 var(--body); color: var(--muted) }
#tab-health .hx-ratio { font: 400 52px/.9 var(--num); color: var(--green); text-shadow: 2px 2px 0 var(--ink); text-align: center } #tab-health .hx-ratio small { display: block; font: 400 8px/1.6 var(--pixel); color: var(--muted); text-shadow: none }
#tab-health .hx-hb { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 8px; align-items: center; width: 100%; font: 12px var(--body); color: var(--muted); margin: 5px 0; padding: 2px 0; background: none; border: 0; text-align: left; cursor: pointer; min-height: 28px }
#tab-health .hx-hb > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis } #tab-health .hx-hb:hover { color: #fff } #tab-health .hx-hb:focus-visible { outline: 3px solid var(--green); outline-offset: 2px }
#tab-health .hx-tr { position: relative; height: 14px; background: var(--panel2); display: block } #tab-health .hx-tr i { display: block; height: 100% } #tab-health .hx-tr u { position: absolute; top: -3px; bottom: -3px; border-left: 2px dashed var(--green); text-decoration: none }
#tab-health .hx-hb b { font: 400 18px/1 var(--num); color: var(--fg); text-align: right }
#tab-health .hx-why { font-size: 12.5px; color: var(--fg); min-height: 36px; margin-top: 6px; border-left: 3px solid var(--green); padding-left: 8px } #tab-health .hx-why b { color: #fff }
#tab-health .hx-folds { display: flex; flex-direction: column; gap: 10px; margin-top: 18px } #tab-health .hx-folds details { margin: 0 }
#tab-health .hx-how { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px }
@media (max-width: 900px) {
  #tab-health .hx-top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px } #tab-health .hx-mrr { grid-column: 1 / -1 }
  #tab-health .hx-row2, #tab-health .hx-drawer { grid-template-columns: minmax(0, 1fr) } #tab-health .hx-cmp { margin-left: 0 }
}
@media (max-width: 700px) {
  #tab-health .hx-per { min-height: 44px; padding-left: 12px; padding-right: 12px }
  #tab-health svg.hx-wide { display: none } #tab-health svg.hx-phone { display: block }
  #tab-health svg.hx-phone text { font-size: 12px } #tab-health svg.hx-phone text.hx-vt { font-size: 19px } #tab-health svg.hx-phone text.hx-px { font-size: 11px }
  #tab-health .hx-folds summary { min-height: 44px; display: flex; align-items: center }
}
@media (max-width: 520px) {
  #tab-health svg.hx-sv text { font-size: 14px } #tab-health svg.hx-sv text.hx-vt { font-size: 20px }
  #tab-health .hx-hb { grid-template-columns: 96px minmax(0, 1fr) 44px } #tab-health .hx-worth { grid-template-columns: minmax(0, 1fr) } #tab-health .hx-ltv span { font-size: 19px }
}
@media (max-width: 480px) { #tab-health .hx-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } #tab-health .hx-v { font-size: 32px } #tab-health .hx-big { font-size: 52px } }
@media (prefers-reduced-motion: no-preference) {
  #tab-health .hx-dial { transition: transform .12s, box-shadow .12s } #tab-health .hx-per:hover { transform: translateY(-1px) }
  @keyframes hx-dial { from { stroke-dasharray: 0 150.8 } } #tab-health .hx-fill { animation: hx-dial .9s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes hx-growh { from { height: 0 } } #tab-health .hx-mini > div, #tab-health .hx-ltv > div { animation: hx-growh .7s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes hx-growx { from { width: 0 } } #tab-health .hx-tr i, #tab-health .hx-sb i, #tab-health .hx-xp i { animation: hx-growx 1s ease-out both }
  @keyframes hx-growy { from { transform: scaleY(0) } } #tab-health .hx-gb { transform-box: fill-box; transform-origin: 50% 100%; animation: hx-growy .7s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes hx-draw { from { stroke-dashoffset: 3000 } to { stroke-dashoffset: 0 } } #tab-health svg .hx-s { stroke-dasharray: 3000; animation: hx-draw 1.3s ease-out both }
  @keyframes hx-fade { from { opacity: 0 } } #tab-health svg .hx-area { animation: hx-fade 1s .6s both }
  @keyframes hx-twinkle { 50% { opacity: .4 } } #tab-health svg .hx-star { animation: hx-twinkle 1.2s steps(2) infinite }
  @keyframes hx-pulse { 50% { background: var(--yellow) } } #tab-health .hx-leaktag { animation: hx-pulse 1.1s steps(2) infinite }
  @keyframes hx-drop { from { opacity: 0; transform: translateY(-8px) } } #tab-health .hx-drawer:not([hidden]) { animation: hx-drop .25s ease-out }
}
/* SALES scoreboard (decision 1544): dials, charts and two right-now cards. Every rule sits under #tab-sales and starts with sx-.
   The period block (#sx-box) is display: contents, so its cards join the section's grid and the gap card shares a row with the two right-now cards.
   Resting state (no animation) is the final state: dials filled, bars full, lines drawn. All motion is in the no-preference block at the end. */
#tab-sales .sx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-top: 8px; align-items: start }
#tab-sales .sx > * { min-width: 0 }
#tab-sales #sx-box, #tab-sales #sx-box2 { display: contents }
#tab-sales .sx-bar, #tab-sales .sx-top, #tab-sales .sx-row2, #tab-sales .sx-drawer, #tab-sales .sx-how { grid-column: 1 / -1 }
#tab-sales .sx-wide { grid-column: span 2 }
#tab-sales .sx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px }
#tab-sales .sx-bar .tabh { margin: 0 }
#tab-sales .sx-chips { display: flex; flex-wrap: wrap; gap: 8px }
#tab-sales .sx-per { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; cursor: pointer }
#tab-sales .sx-per:hover { color: #fff } #tab-sales .sx-per[aria-pressed="true"] { background: var(--gold); color: #000 }
#tab-sales .sx-cmp { font-size: 13px; color: var(--muted); margin-left: auto }
#tab-sales .sx-dial { margin: 8px 0 0; font-family: var(--num); font-size: 20px; color: var(--platinum) }
#tab-sales .sx-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative }
#tab-sales .sx-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-sales .sx-k2 { margin-top: 14px }
#tab-sales .sx-say { font-size: 13.5px; color: var(--fg); margin: 8px 0 0 } #tab-sales .sx-say::before { content: "\25B8  "; color: var(--gold) }
#tab-sales .sx-dim { color: var(--dim); font-size: 13px }
#tab-sales .sx-top { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 14px }
#tab-sales .sx-leads { border-top: 8px solid var(--gold); text-align: left; padding: 12px 14px }
#tab-sales .sx-big { font-family: var(--num); font-size: 64px; line-height: .85; color: var(--gold); text-shadow: 3px 3px 0 var(--ink); margin-top: 8px }
#tab-sales .sx-of { display: block; font-family: var(--num); font-size: 17px; line-height: 1.1; color: var(--muted) }
#tab-sales .sx-spark { display: block; width: 100%; height: 34px; margin-top: 6px }
#tab-sales .sx-dial { display: flex; flex-direction: column; align-items: stretch; text-align: center; font: inherit; color: inherit; cursor: pointer; padding: 10px 6px 9px; border-top-width: 8px; min-height: 44px }
#tab-sales .sx-dial .sx-k { min-height: 24px }
#tab-sales .sx-dial:hover, #tab-sales .sx-dial[aria-expanded="true"] { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px #ff3ea540 }
#tab-sales .sx-dial:focus-visible, #tab-sales .sx-per:focus-visible, #tab-sales .sx-tog:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
#tab-sales .sx-dial.sx-green { border-top-color: var(--green) } #tab-sales .sx-dial.sx-yellow { border-top-color: var(--yellow) } #tab-sales .sx-dial.sx-red { border-top-color: var(--st-red) } #tab-sales .sx-dial.sx-none { border-top-color: var(--dim) }
#tab-sales .sx-dial svg { display: block; width: 100%; max-width: 150px; margin: 2px auto 0 }
#tab-sales .sx-track { fill: none; stroke: #2a1a5c; stroke-width: 10 }
#tab-sales .sx-fill { fill: none; stroke-width: 10; filter: drop-shadow(0 0 5px currentColor) }
#tab-sales .sx-green .sx-fill { stroke: var(--green); color: var(--green) } #tab-sales .sx-yellow .sx-fill { stroke: var(--yellow); color: var(--yellow) } #tab-sales .sx-red .sx-fill { stroke: var(--st-red); color: var(--st-red) } #tab-sales .sx-none .sx-fill { stroke: var(--dim); color: var(--dim) }
#tab-sales .sx-v { display: block; font-family: var(--num); font-size: 38px; line-height: .9; margin-top: -22px; text-shadow: 2px 2px 0 var(--ink) }
#tab-sales .sx-green .sx-v { color: var(--green) } #tab-sales .sx-yellow .sx-v { color: var(--yellow) } #tab-sales .sx-red .sx-v { color: var(--st-red) } #tab-sales .sx-none .sx-v { color: var(--dim) }
#tab-sales .sx-v.sx-nov { font-size: 15px; line-height: 2.2 }
#tab-sales .sx-mg { display: block; font-size: 11px; color: var(--muted); margin-top: 3px } #tab-sales .sx-mg b { color: var(--fg); font-weight: 600 } #tab-sales .sx-mg b.g { color: var(--gold) }
#tab-sales .sx-delta { display: inline-block; align-self: center; font: 600 11px/1.2 var(--body); padding: 3px 6px; margin-top: 5px; border-radius: 2px; background: #ffffff12; color: var(--muted) }
#tab-sales .sx-delta.up { color: var(--green) } #tab-sales .sx-delta.down { color: var(--st-red) }
#tab-sales .sx-leads .sx-delta { align-self: flex-start; display: inline-block }
#tab-sales .sx-leaktag { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; line-height: 1; background: var(--st-red); color: #000; padding: 4px 6px; white-space: nowrap }
#tab-sales .sx-drawer { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px } #tab-sales .sx-drawer[hidden] { display: none }
#tab-sales .sx-h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.5; color: var(--gold); margin: 0 0 6px }
#tab-sales .sx-drawer p { margin: 4px 0; font-size: 13.5px; color: var(--muted) } #tab-sales .sx-drawer p b { color: var(--fg) }
#tab-sales .sx-mini { display: flex; align-items: flex-end; gap: 8px; height: 90px; border-bottom: 2px solid var(--dim); position: relative; margin: 22px 0 24px }
#tab-sales .sx-mini > div { flex: 1; position: relative; min-height: 2px; background: #22e6ff55 } #tab-sales .sx-mini > div.on { background: var(--cyan) }
#tab-sales .sx-mini > div span { position: absolute; top: -17px; left: 0; right: 0; text-align: center; font-family: var(--num); font-size: 15px; line-height: 1 }
#tab-sales .sx-mini > div em { position: absolute; bottom: -19px; left: 0; right: 0; text-align: center; font: normal 11px/1 var(--body); color: var(--muted) }
#tab-sales .sx-mini > i { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--gold) } #tab-sales .sx-mini > i b { position: absolute; right: 0; top: -15px; font: 400 10px var(--body); color: var(--gold) }
#tab-sales .sx-row2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px }
#tab-sales .sx-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px } #tab-sales .sx-chead .sx-k { font-size: 9px; color: #fff; margin-right: auto }
#tab-sales .sx-now { font-size: 12px; color: var(--muted) }
#tab-sales .sx-togs { display: inline-flex; flex-wrap: wrap; gap: 6px }
#tab-sales .sx-tog { font: 600 11px/1 var(--body); padding: 6px 9px; border: 2px solid currentColor; background: none; cursor: pointer; border-radius: 2px; opacity: .4 } #tab-sales .sx-tog[aria-pressed="true"] { opacity: 1 }
#tab-sales .sx-tog.sm { color: var(--muted) } #tab-sales .sx-tog.sm[aria-pressed="true"] { color: #000; background: var(--fg); border-color: var(--fg) }
#tab-sales .sx-line { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible } #tab-sales .sx-line[hidden] { display: none }
#tab-sales .sx-line .sx-grid { stroke: #ffffff14 } #tab-sales .sx-line text { font: 11px var(--body); fill: var(--muted) }
#tab-sales .sx-line .sx-s { fill: none; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 4px currentColor) }
#tab-sales .sx-line .sx-stub { fill: none; stroke-width: 2.5; stroke-dasharray: 6 6; opacity: .45 } #tab-sales .sx-line .sx-trend { fill: none; stroke-width: 2.5; stroke-dasharray: 6 6; opacity: .8 }
#tab-sales .sx-line .sx-band { fill: #ff3ea514; stroke: #ff3ea555; stroke-dasharray: 3 4 }
#tab-sales .sx-line .sx-hit { outline: none } #tab-sales .sx-line .sx-hit:focus-visible { stroke: var(--gold); stroke-width: 2 }
#tab-sales .sx-off-leads [data-s="leads"], #tab-sales .sx-off-booked [data-s="booked"], #tab-sales .sx-off-held [data-s="held"], #tab-sales .sx-off-qual [data-s="qual"], #tab-sales .sx-off-closed [data-s="closed"] { display: none }
#tab-sales .sx-tip { position: fixed; z-index: 60; pointer-events: none; background: #000; border: 2px solid var(--gold); padding: 6px 9px; font-size: 12px; line-height: 1.5; white-space: nowrap } #tab-sales .sx-tip[hidden] { display: none }
#tab-sales .sx-tip-h { font-weight: 600; color: #fff }
#tab-sales .sx-nm { font-family: var(--pixel); font-size: 9px; margin: 12px 0 5px }
#tab-sales .sx-hb { display: grid; grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin: 3px 0 }
#tab-sales .sx-hbar { display: block; background: var(--panel2) } #tab-sales .sx-hbar i { display: block; height: 12px; min-width: 2px }
#tab-sales .sx-hb b { font-family: var(--num); font-size: 17px; line-height: 1; color: var(--fg); text-align: right; font-weight: 400 }
#tab-sales .sx-vbars { display: flex; align-items: flex-end; gap: 12px; height: 150px; position: relative; margin: 26px 0 42px; border-bottom: 2px solid var(--dim) }
#tab-sales .sx-vb { flex: 1; position: relative; min-height: 3px; box-shadow: 0 0 12px currentColor }
#tab-sales .sx-vb span { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-family: var(--num); font-size: 22px; line-height: 1; color: var(--fg); white-space: nowrap }
#tab-sales .sx-vb em { position: absolute; top: calc(100% + 6px); left: -6px; right: -6px; text-align: center; font: normal 11px/1.2 var(--body); color: var(--muted) }
#tab-sales .sx-goal { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--gold) } #tab-sales .sx-goal b { position: absolute; right: 0; top: -16px; font: 400 11px var(--body); color: var(--gold) }
#tab-sales .sx-big2 { font-family: var(--num); font-size: 44px; line-height: .9; color: var(--green); margin-top: 8px; text-shadow: 2px 2px 0 var(--ink) } #tab-sales .sx-big2 small { font-size: 20px; color: var(--muted); text-shadow: none }
#tab-sales .sx-hp { height: 22px; border: 3px solid var(--ink); background: var(--panel2); display: flex; margin-top: 8px } #tab-sales .sx-hp i { display: block; height: 100% }
#tab-sales .sx-hp .won { background: var(--green) } #tab-sales .sx-hp .pipe { background: repeating-linear-gradient(45deg, var(--cyan) 0 6px, #0b5d6b 6px 12px) }
#tab-sales .sx-lg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 6px } #tab-sales .sx-lg i { display: inline-block; width: 9px; height: 9px; margin-right: 4px }
#tab-sales .sx-pipsrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px }
#tab-sales .sx-pips { display: inline-flex; flex-wrap: wrap; gap: 5px } #tab-sales .sx-pips i { width: 16px; height: 16px; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink) } #tab-sales .sx-pips b { font-family: var(--num); font-size: 17px; color: var(--yellow); line-height: 1 }
#tab-sales .sx-pipn { font-size: 12px; color: var(--muted) }
#tab-sales .sx-rsvg { width: 100%; max-width: 250px; display: block; margin: 6px auto 0 }
#tab-sales .sx-ring { fill: none; stroke: #22e6ff30 } #tab-sales .sx-sweep { transform-origin: 150px 150px }
#tab-sales .sx-blip { cursor: pointer } #tab-sales .sx-blip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
#tab-sales .sx-who { font-size: 13px; min-height: 52px; margin-top: 6px; color: var(--muted); overflow-wrap: anywhere } #tab-sales .sx-who b { color: var(--fg); font-size: 14px } #tab-sales .sx-who .sx-next { color: var(--gold) }
#tab-sales .sx-more { box-shadow: none; border-width: 3px; margin-top: 12px } #tab-sales .sx-list { grid-column: 1 / -1; margin-top: 0 } #tab-sales .sx-more summary, #tab-sales .sx-list summary { font-size: 8px; padding: 10px 12px }
#tab-sales .sx-list .in { padding: 0 8px 10px } #tab-sales .sx-list .reach { margin-top: 4px }
/* THE FORECAST and DIAGNOSTIC TO MONTHLY (decision 1582): lanes of sold, expected and extra-at-goal bars, the chain, the days strip, the cohort bars, in between. */
#tab-sales .sx-zone { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 9px; line-height: 1.4; color: var(--cyan); margin: 14px 0 0 }
#tab-sales .sx-zone small { font: 400 12px var(--body); color: var(--muted); order: 2 } #tab-sales .sx-zone::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); order: 3 }
#tab-sales .sx-fcard { grid-column: 1 / -1; border-top: 8px solid var(--green) }
#tab-sales .sx-fc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px }
#tab-sales .sx-fc > div { min-width: 0 }
#tab-sales .sx-fgrid { display: grid; grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; align-items: center; margin-top: 12px }
#tab-sales .sx-fgrid > div { min-width: 0 }
#tab-sales .sx-hd { font-family: var(--pixel); font-size: 9px; line-height: 1.4; color: var(--muted) } #tab-sales .sx-hd small { display: block; font: 400 12px var(--body); color: var(--dim); margin-top: 3px }
#tab-sales .sx-lab { font-family: var(--pixel); font-size: 8px; line-height: 1.6; color: #fff } #tab-sales .sx-lab small { display: block; font: 400 11px/1.3 var(--body); color: var(--muted); margin-top: 3px }
#tab-sales .sx-fbar { position: relative; height: 30px; border: 3px solid var(--ink); background: var(--panel2); box-shadow: 3px 3px 0 var(--ink) }
#tab-sales .sx-fbar i { position: absolute; top: 0; bottom: 0; left: 0 }
#tab-sales .sx-fsold { background: var(--green); box-shadow: 0 0 12px #4dff9a88 } #tab-sales .sx-dxl .sx-fsold { background: var(--cyan); box-shadow: 0 0 12px #22e6ff88 }
#tab-sales .sx-fexp { background: repeating-linear-gradient(45deg, #4dff9a 0 6px, #145c3a 6px 12px); background-size: 17px 17px } #tab-sales .sx-dxl .sx-fexp { background: repeating-linear-gradient(45deg, #22e6ff 0 6px, #0b5d6b 6px 12px); background-size: 17px 17px }
#tab-sales .sx-fext { background: #4dff9a22; border: 2px dashed #4dff9a99; border-left: 0 } #tab-sales .sx-dxl .sx-fext { background: #22e6ff22; border-color: #22e6ff99 }
#tab-sales .sx-fgl { position: absolute; top: -8px; bottom: -8px; width: 0; border-left: 3px solid var(--gold); filter: drop-shadow(0 0 4px var(--gold)) } #tab-sales .sx-fgl b { position: absolute; top: 8px; right: 6px; text-align: right; font: 400 11px var(--body); color: var(--gold); white-space: nowrap }
#tab-sales .sx-fnd { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 3px dashed var(--yellow) } #tab-sales .sx-fnd b { position: absolute; top: 8px; right: 6px; white-space: nowrap; text-align: right; font: 400 11px var(--body); color: var(--yellow) }
#tab-sales .sx-fnum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 4px; font-size: 12px; color: var(--muted) } #tab-sales .sx-fnum b { font: 400 26px/1 var(--num); color: #fff } #tab-sales .sx-fnum em { font-style: normal; color: var(--fg) }
#tab-sales .sx-fmoney { font-size: 12px; color: var(--yellow); margin-top: 2px }
#tab-sales .sx-chain { display: flex; flex-direction: column; gap: 7px; margin-top: 10px }
#tab-sales .sx-lnk, #tab-sales .sx-lnkh { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px 44px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted) }
#tab-sales .sx-lnkh { font-family: var(--pixel); font-size: 7px; line-height: 1; color: var(--dim) } #tab-sales .sx-lnkh span:nth-child(3), #tab-sales .sx-lnkh span:nth-child(4) { text-align: right }
#tab-sales .sx-tr { position: relative; height: 14px; background: var(--panel2); border: 2px solid var(--ink) } #tab-sales .sx-tr i { position: absolute; left: 0; top: 0; bottom: 0 }
#tab-sales .sx-lneed { background: #ffe24a33; border-right: 2px dashed var(--yellow) } #tab-sales .sx-lnow { background: var(--gold); box-shadow: 0 0 8px var(--gold) }
#tab-sales .sx-lnk b { font: 400 20px/1 var(--num); text-align: right } #tab-sales .sx-lnk b.n { color: var(--gold) } #tab-sales .sx-lnk b.y { color: var(--yellow) }
#tab-sales .sx-more2 { margin-top: 8px; font-size: 12px } #tab-sales .sx-more2 summary { cursor: pointer; color: var(--cyan) } #tab-sales .sx-more2 .in { padding: 0 8px 8px }
#tab-sales .sx-row4 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1.15fr); gap: 12px } #tab-sales .sx-row4.sx-one { grid-template-columns: minmax(0, 1fr) }
#tab-sales .sx-row3 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px } #tab-sales .sx-row3.sx-one { grid-template-columns: minmax(0, 1fr) }
#tab-sales .sx-row3 > .sx-card { min-width: 0 }
#tab-sales .sx-d2m { text-align: center; border-top: 8px solid var(--cyan) } #tab-sales .sx-d2m svg { display: block; width: 100%; max-width: 170px; margin: 6px auto 0 }
#tab-sales .sx-d2m .sx-fill { stroke: var(--cyan); color: var(--cyan) } #tab-sales .sx-d2m .sx-v { color: var(--cyan) } #tab-sales .sx-d2m .sx-v.sx-nov { color: var(--dim) }
#tab-sales .sx-big3 { font: 400 46px/.9 var(--num); color: var(--gold); text-shadow: 2px 2px 0 var(--ink); margin-top: 8px } #tab-sales .sx-big3 small { font-size: 18px; color: var(--muted) }
#tab-sales .sx-strip { position: relative; height: 96px; margin: 14px 4px 22px; border-bottom: 2px solid var(--dim) }
#tab-sales .sx-sdot { position: absolute; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--green); border: 2px solid #000; box-shadow: 0 0 8px #4dff9a }
#tab-sales .sx-sdot.sx-dimdot { opacity: .25; filter: grayscale(1); box-shadow: none }
#tab-sales .sx-smed { position: absolute; top: -4px; bottom: 0; border-left: 2px dashed var(--gold) } #tab-sales .sx-smed b { position: absolute; top: -16px; left: 4px; font: 400 11px var(--body); color: var(--gold); white-space: nowrap }
#tab-sales .sx-strip em { position: absolute; bottom: -18px; font: normal 11px var(--body); color: var(--muted); transform: translateX(-50%) }
#tab-sales .sx-cohort { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin: 28px 0 26px; border-bottom: 2px solid var(--dim); position: relative }
#tab-sales .sx-col { flex: 1; display: flex; flex-direction: column-reverse; position: relative; min-width: 0 } #tab-sales .sx-col.sx-off { opacity: .35 }
#tab-sales .sx-col i { display: block; border-top: 2px solid #000 } #tab-sales .sx-col .g { background: var(--green); box-shadow: 0 0 8px #4dff9a66 } #tab-sales .sx-col .y { background: var(--yellow) } #tab-sales .sx-col .r { background: #ff4d6d99 }
#tab-sales .sx-col span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font: 400 18px/1 var(--num) } #tab-sales .sx-col em { position: absolute; bottom: -19px; left: -4px; right: -4px; text-align: center; font: normal 11px var(--body); color: var(--muted) }
#tab-sales .sx-p { display: grid; gap: 3px; margin-top: 10px }
#tab-sales .sx-nmx { display: flex; justify-content: space-between; gap: 8px; font-size: 13px } #tab-sales .sx-nmx b { font-weight: 600; overflow-wrap: anywhere } #tab-sales .sx-nmx span { color: var(--muted); font-size: 12px; white-space: nowrap }
#tab-sales .sx-trk { position: relative; height: 12px; background: var(--panel2); border: 2px solid var(--ink) } #tab-sales .sx-trk i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--yellow) } #tab-sales .sx-trk i.sx-late { background: var(--st-red) }
#tab-sales .sx-trk u { position: absolute; top: -3px; bottom: -3px; border-left: 2px dashed var(--gold); text-decoration: none }
#tab-sales .sx-tag { font-family: var(--pixel); font-size: 7px; line-height: 1; padding: 3px 5px; background: var(--yellow); color: #000; margin-left: 6px; vertical-align: middle } #tab-sales .sx-tag.sx-r { background: var(--st-red) }
#tab-sales .sx-sub { font-size: 11.5px; color: var(--muted) }
#tab-sales .sx-gone { margin-top: 10px; font-size: 12px } #tab-sales .sx-gone summary { cursor: pointer; color: var(--cyan) } #tab-sales .sx-gone .in { padding: 0 8px 8px }
#tab-sales .sx-gone p { margin: 4px 0 }
@media (max-width: 900px) {
  #tab-sales .sx { grid-template-columns: minmax(0, 1fr) }
  #tab-sales .sx-wide { grid-column: 1 / -1 }
  #tab-sales .sx-top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px } #tab-sales .sx-leads { grid-column: 1 / -1 }
  #tab-sales .sx-row2, #tab-sales .sx-drawer { grid-template-columns: minmax(0, 1fr) } #tab-sales .sx-cmp { margin-left: 0 }
  #tab-sales .sx-row3, #tab-sales .sx-row4, #tab-sales .sx-fc { grid-template-columns: minmax(0, 1fr) }
  #tab-sales .sx-fgrid { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) }
}
@media (max-width: 700px) {
  #tab-sales .sx-per, #tab-sales .sx-tog { min-height: 44px; padding-left: 12px; padding-right: 12px }
  #tab-sales .sx-more summary, #tab-sales .sx-list summary { min-height: 44px; display: flex; align-items: center }
}
@media (max-width: 480px) {
  #tab-sales .sx-fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) } #tab-sales .sx-lab { grid-column: 1 / -1 } #tab-sales .sx-corner { display: none }
  #tab-sales .sx-lnk, #tab-sales .sx-lnkh { grid-template-columns: 78px minmax(0, 1fr) 36px 36px }
  #tab-sales .sx-cohort { gap: 5px } #tab-sales .sx-col em { font-size: 9px }
}
@media (max-width: 480px) { #tab-sales .sx-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } #tab-sales .sx-v { font-size: 34px } #tab-sales .sx-big { font-size: 56px } }
@media (pointer: coarse) { #tab-sales .sx-blip:not(.sx-due) { stroke: transparent; stroke-width: 22px } }
@media (prefers-reduced-motion: no-preference) {
  #tab-sales .sx-dial { transition: transform .12s, box-shadow .12s } #tab-sales .sx-per:hover { transform: translateY(-1px) }
  @keyframes sx-dial { from { stroke-dasharray: 0 150.8 } }
  #tab-sales .sx-fill { animation: sx-dial .9s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes sx-growh { from { height: 0 } }
  #tab-sales .sx-mini > div, #tab-sales .sx-vb { animation: sx-growh .7s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes sx-growx { from { width: 0 } }
  #tab-sales .sx-hbar i, #tab-sales .sx-hp i { animation: sx-growx 1s ease-out both }
  @keyframes sx-growy { from { transform: scaleY(0) } }
  #tab-sales .sx-spark rect { transform-box: fill-box; transform-origin: 50% 100%; animation: sx-growy .7s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes sx-draw { from { stroke-dashoffset: 3000 } to { stroke-dashoffset: 0 } }
  #tab-sales .sx-line .sx-s { stroke-dasharray: 3000; animation: sx-draw 1.1s ease-out both }
  @keyframes sx-pulse { 50% { background: var(--yellow) } }
  #tab-sales .sx-leaktag { animation: sx-pulse 1.1s steps(2) infinite }
  @keyframes sx-bob { 50% { transform: translateY(-3px) } }
  #tab-sales .sx-pips i { animation: sx-bob 1.4s ease-in-out infinite } #tab-sales .sx-pips i:nth-child(2n) { animation-delay: .2s } #tab-sales .sx-pips i:nth-child(3n) { animation-delay: .4s }
  @keyframes sx-drop { from { opacity: 0; transform: translateY(-8px) } }
  #tab-sales .sx-drawer:not([hidden]) { animation: sx-drop .25s ease-out }
  @keyframes sx-spin { to { transform: rotate(360deg) } }
  #tab-sales .sx-sweep { animation: sx-spin 5s linear infinite }
  @keyframes sx-blink { 50% { opacity: .45 } }
  #tab-sales .sx-blip { animation: sx-blink 1.6s ease-in-out infinite }
  @keyframes sx-slide { to { background-position: 17px 0 } }
  #tab-sales .sx-fbar i, #tab-sales .sx-tr i, #tab-sales .sx-trk i { animation: sx-growx 1.1s cubic-bezier(.2, .9, .2, 1) both }
  #tab-sales .sx-fbar i.sx-fext { animation-delay: 1.2s } #tab-sales .sx-fbar i.sx-fexp { animation: sx-growx 1.1s cubic-bezier(.2, .9, .2, 1) .65s both, sx-slide 1.2s linear infinite }
  @keyframes sx-dropdot { from { opacity: 0; transform: translateY(-90px) } }
  #tab-sales .sx-sdot { animation: sx-dropdot .7s cubic-bezier(.3, 1.5, .5, 1) both }
  #tab-sales .sx-col { animation: sx-growh .8s cubic-bezier(.2, .9, .2, 1) both }
  #tab-sales .sx-trk i.sx-late { animation: sx-growx 1s ease-out both, sx-blink 1.2s steps(2) 1s infinite }
}
/* money in front of us, the coach lines, the spend signal and the MARKETING tab (migration 20261106006000) */
.coach { margin-top: 18px; background: var(--card); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 18px; display: grid; gap: 6px }
.coach .k { font-family: var(--pixel); font-size: 10px; color: var(--build); letter-spacing: .04em } .coach .plain { font-size: 16px; line-height: 1.5 }
.goalbar { position: relative; height: 12px; margin-top: 4px; display: flex } .goalbar i { display: block; height: 100% } .goalbar i.won { background: var(--bot) } .goalbar i.pipe { background: var(--build); opacity: .75 }
.verdict .v { font-size: clamp(22px, 5.5vw, 34px) } .verdict.v-on_track { border-left: 12px solid var(--bot) } .verdict.v-spend_test { border-left: 12px solid var(--build) } .verdict.v-thin { border-left: 12px solid var(--st-red) }
.verdict.v-on_track .v { color: var(--bot) } .verdict.v-thin .v { color: var(--st-red) }
/* MARKETING tab (mx-) */
/* WHAT EACH LEAD COSTS (migration 20261116020000). Every rule sits under #tab-marketing and starts with mx-.
   Resting state (no animation) is the final state: dials filled, bars full, lines drawn. All motion is in the no-preference block at the end. */
#tab-marketing .mx { margin-top: 8px }
#tab-marketing .mx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px }
#tab-marketing .mx-bar .tabh { margin: 0 }
#tab-marketing .mx-chips { display: flex; flex-wrap: wrap; gap: 8px }
#tab-marketing .mx-per { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; cursor: pointer }
#tab-marketing .mx-per:hover { color: #fff } #tab-marketing .mx-per[aria-pressed="true"] { background: var(--cyan); color: #000 }
#tab-marketing .mx-per:focus-visible, #tab-marketing .mx-tog:focus-visible, #tab-marketing .mx-dial:focus-visible, #tab-marketing .mx-src:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px }
#tab-marketing .mx-cmp { font-size: 13px; color: var(--muted); margin-left: auto }
#tab-marketing .mx-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative }
#tab-marketing .mx-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-marketing .mx-say { font-size: 13.5px; color: var(--fg); margin: 8px 0 0 } #tab-marketing .mx-say::before { content: "\25B8  "; color: var(--cyan) }
#tab-marketing .mx-dim { color: var(--dim); font-size: 13px }
#tab-marketing .mx-tiny { font-size: 11px; color: var(--muted); margin: 2px 0 0 }
#tab-marketing .mx-zone { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); font-size: 9px; line-height: 1.4; color: var(--cyan); margin: 26px 0 12px }
#tab-marketing .mx-zone::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent) }
#tab-marketing .mx-zone small { font: 400 12px var(--body); color: var(--muted) }
#tab-marketing .mx-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 14px }
#tab-marketing .mx-spend { border-top: 8px solid var(--cyan); text-align: left; padding: 12px 14px }
#tab-marketing .mx-big { font-family: var(--num); font-size: 58px; line-height: .85; color: var(--cyan); text-shadow: 3px 3px 0 var(--ink); margin-top: 8px }
#tab-marketing .mx-of { display: block; font-family: var(--num); font-size: 18px; line-height: 1.1; color: var(--muted) }
#tab-marketing .mx-spark { display: block; width: 100%; height: 34px; margin-top: 6px }
#tab-marketing .mx-dial { display: flex; flex-direction: column; align-items: stretch; text-align: center; font: inherit; color: inherit; cursor: pointer; padding: 10px 6px 9px; border-top-width: 8px; min-height: 44px }
#tab-marketing .mx-dial .mx-k { min-height: 24px }
#tab-marketing .mx-dial:hover, #tab-marketing .mx-dial[aria-expanded="true"] { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px #22e6ff40 }
#tab-marketing .mx-dial.mx-green { border-top-color: var(--green) } #tab-marketing .mx-dial.mx-yellow { border-top-color: var(--yellow) } #tab-marketing .mx-dial.mx-red { border-top-color: var(--st-red) } #tab-marketing .mx-dial.mx-none { border-top-color: var(--dim) }
#tab-marketing .mx-dial svg { display: block; width: 100%; max-width: 150px; margin: 2px auto 0 }
#tab-marketing .mx-track { fill: none; stroke: #2a1a5c; stroke-width: 10 }
#tab-marketing .mx-fill { fill: none; stroke-width: 10; filter: drop-shadow(0 0 5px currentColor) }
#tab-marketing .mx-green .mx-fill { stroke: var(--green); color: var(--green) } #tab-marketing .mx-yellow .mx-fill { stroke: var(--yellow); color: var(--yellow) } #tab-marketing .mx-red .mx-fill { stroke: var(--st-red); color: var(--st-red) } #tab-marketing .mx-none .mx-fill { stroke: var(--dim); color: var(--dim) }
#tab-marketing .mx-v { display: block; font-family: var(--num); font-size: 36px; line-height: .9; margin-top: -22px; text-shadow: 2px 2px 0 var(--ink) }
#tab-marketing .mx-green .mx-v { color: var(--green) } #tab-marketing .mx-yellow .mx-v { color: var(--yellow) } #tab-marketing .mx-red .mx-v { color: var(--st-red) } #tab-marketing .mx-none .mx-v { color: var(--dim) }
#tab-marketing .mx-v.mx-nov { font-size: 15px; line-height: 2.2 }
#tab-marketing .mx-ofl { display: block; font-family: var(--num); font-size: 17px; line-height: 1.1; color: var(--muted) }
#tab-marketing .mx-mg { display: block; font-size: 11px; color: var(--muted); margin-top: 3px } #tab-marketing .mx-mg b { color: var(--fg); font-weight: 600 }
#tab-marketing .mx-delta { display: inline-block; align-self: center; font: 600 11px/1.2 var(--body); padding: 3px 6px; margin-top: 5px; border-radius: 2px; background: #ffffff12; color: var(--muted) }
#tab-marketing .mx-delta.good { color: var(--green) } #tab-marketing .mx-delta.bad { color: var(--st-red) }
#tab-marketing .mx-spend .mx-delta { align-self: flex-start }
#tab-marketing .mx-leaktag { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; line-height: 1; background: var(--st-red); color: #000; padding: 4px 6px; white-space: nowrap; z-index: 2 }
#tab-marketing .mx-drawer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 10px } #tab-marketing .mx-drawer[hidden] { display: none }
#tab-marketing .mx-sdraw { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 10px; border-top: 4px solid var(--c, var(--cyan)) } #tab-marketing .mx-sdraw[hidden] { display: none }
#tab-marketing .mx-h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.5; color: var(--cyan); margin: 0 0 6px }
#tab-marketing .mx-drawer p, #tab-marketing .mx-sdraw p { margin: 4px 0; font-size: 13.5px; color: var(--muted) } #tab-marketing .mx-drawer p b, #tab-marketing .mx-sdraw p b { color: var(--fg) }
#tab-marketing .mx-mini { display: flex; align-items: flex-end; gap: 8px; height: 90px; border-bottom: 2px solid var(--dim); position: relative; margin: 22px 0 24px }
#tab-marketing .mx-mini > div { flex: 1; position: relative; min-height: 2px; background: #22e6ff55 } #tab-marketing .mx-mini > div.on { background: var(--cyan); box-shadow: 0 0 10px var(--cyan) }
#tab-marketing .mx-mini > div span { position: absolute; top: -17px; left: -4px; right: -4px; text-align: center; font-family: var(--num); font-size: 15px; line-height: 1; white-space: nowrap }
#tab-marketing .mx-mini > div em { position: absolute; bottom: -19px; left: 0; right: 0; text-align: center; font: normal 11px/1 var(--body); color: var(--muted) }
#tab-marketing .mx-mini > i { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--pink) } #tab-marketing .mx-mini > i b { position: absolute; right: 0; top: -15px; font: 400 10px var(--body); color: var(--pink) }
/* source showdown */
#tab-marketing .mx-show { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 12px; padding-top: 6px }
#tab-marketing .mx-src { display: block; cursor: pointer; text-align: left; font: inherit; color: inherit; border-top: 8px solid var(--c) }
#tab-marketing .mx-src:hover, #tab-marketing .mx-src[aria-expanded="true"] { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px color-mix(in srgb, var(--c) 40%, transparent) }
#tab-marketing .mx-nm { display: block; font-family: var(--pixel); font-size: 11px; line-height: 1.3; color: var(--c) }
#tab-marketing .mx-badge { position: absolute; top: -14px; right: 10px; font-family: var(--pixel); font-size: 7px; line-height: 1; padding: 4px 6px; color: #000; box-shadow: 2px 2px 0 var(--ink) }
#tab-marketing .mx-badge.best { background: var(--green) } #tab-marketing .mx-badge.worst { background: var(--st-red) } #tab-marketing .mx-badge.gift { background: var(--purple); color: #fff }
#tab-marketing .mx-sbig { display: block; font-family: var(--num); font-size: 46px; line-height: .9; color: var(--fg); margin-top: 10px; text-shadow: 2px 2px 0 var(--ink) } #tab-marketing .mx-sbig small { font-size: 18px; color: var(--muted); text-shadow: none }
#tab-marketing .mx-cap { display: block; font-size: 12px; color: var(--muted) }
#tab-marketing .mx-cnt { display: block; font-size: 11.5px; line-height: 1.4; color: var(--muted); margin-top: 8px }
#tab-marketing .mx-free { display: block; font-family: var(--num); font-size: 30px; line-height: 1; color: var(--purple); margin-top: 12px }
#tab-marketing .mx-ladder { margin-top: 10px } #tab-marketing .mx-rung { display: grid; grid-template-columns: 78px minmax(0, 1fr) 52px; gap: 6px; align-items: center; font-size: 11.5px; color: var(--muted); margin: 4px 0 }
#tab-marketing .mx-rung .mx-t { display: block; height: 11px; background: #ffffff0d; position: relative } #tab-marketing .mx-rung .mx-t i { display: block; height: 100%; background: var(--c); box-shadow: 0 0 8px var(--c) } #tab-marketing .mx-rung .mx-t u { position: absolute; top: -3px; bottom: -3px; border-left: 2px dashed var(--pink); text-decoration: none }
#tab-marketing .mx-rung b { font-family: var(--num); font-size: 17px; line-height: 1; font-weight: 400; color: var(--fg); text-align: right; white-space: nowrap }
#tab-marketing .mx-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px }
#tab-marketing .mx-meter .mx-k { font-size: 7px } #tab-marketing .mx-mv { font-family: var(--num); font-size: 24px; line-height: 1 } #tab-marketing .mx-mv.t { font: 400 12px/1.6 var(--body) }
#tab-marketing .mx-mt { height: 6px; background: #ffffff12; margin-top: 3px } #tab-marketing .mx-mt i { display: block; height: 100% }
#tab-marketing .mx-signs { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted) } #tab-marketing .mx-signs b { color: var(--green); font-weight: 600 }
/* trend, pace, quality */
#tab-marketing .mx-row2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; margin-top: 14px; align-items: start }
#tab-marketing .mx-col { display: grid; gap: 12px; min-width: 0 }
#tab-marketing .mx-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px } #tab-marketing .mx-chead .mx-k { font-size: 9px; color: #fff; margin-right: auto }
#tab-marketing .mx-now { font: 600 10px var(--body); color: #000; background: var(--yellow); padding: 2px 6px; border-radius: 2px }
#tab-marketing .mx-togs { display: inline-flex; flex-wrap: wrap; gap: 6px }
#tab-marketing .mx-tog { font: 600 11px/1 var(--body); padding: 6px 9px; border: 2px solid currentColor; background: none; cursor: pointer; border-radius: 2px; opacity: .4 } #tab-marketing .mx-tog[aria-pressed="true"] { opacity: 1 }
#tab-marketing .mx-lv[hidden] { display: none }
#tab-marketing .mx-line { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible }
#tab-marketing .mx-line .mx-grid { stroke: #ffffff14 } #tab-marketing .mx-line text { font: 11px var(--body); fill: var(--muted) }
#tab-marketing .mx-line .mx-ln { fill: none; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 5px currentColor) }
#tab-marketing .mx-line .mx-band { fill: #22e6ff12; stroke: #22e6ff55; stroke-dasharray: 3 4 }
#tab-marketing .mx-line .mx-goal { stroke: var(--pink); stroke-dasharray: 5 5; stroke-width: 1.5 }
#tab-marketing .mx-line .mx-hit { outline: none } #tab-marketing .mx-line .mx-hit:focus-visible { stroke: var(--cyan); stroke-width: 2 }
#tab-marketing .mx-tip { position: fixed; z-index: 60; pointer-events: none; background: #000; border: 2px solid var(--cyan); padding: 6px 9px; font-size: 12px; line-height: 1.5; white-space: nowrap } #tab-marketing .mx-tip[hidden] { display: none }
#tab-marketing .mx-tip-h { font-weight: 600; color: #fff }
#tab-marketing .mx-lg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 6px } #tab-marketing .mx-lg i { display: inline-block; width: 9px; height: 9px; margin-right: 4px }
/* SEASONAL DEMAND card (decision 3958): two small line charts side by side, stacked on a phone. Restoration brand orange, plumbing and HVAC muted greys; text in text tokens. */
#tab-marketing .sd { margin-top: 22px }
#tab-marketing .sd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px }
@media (max-width: 760px) { #tab-marketing .sd-grid { grid-template-columns: minmax(0, 1fr) } }
#tab-marketing .sd-svg { width: 100%; max-width: 520px; height: auto; display: block; margin-top: 8px; overflow: visible }
#tab-marketing .sd-svg text { font: 11.5px var(--body); fill: var(--muted) }
#tab-marketing .sd-svg .sd-ax { font-size: 10.5px } #tab-marketing .sd-svg .sd-end { fill: var(--fg) } #tab-marketing .sd-svg .sd-hl { fill: var(--fg) }
#tab-marketing .sd-svg .sd-gl, #tab-marketing .sd-svg .sd-base, #tab-marketing .sd-svg .sd-strip { stroke: #ffffff1f; stroke-width: 1; fill: none }
#tab-marketing .sd-svg .sd-guide { stroke: #ffffff14; stroke-width: 1 }
#tab-marketing .sd-svg .sd-hd { fill: var(--dim); stroke: var(--panel); stroke-width: 2 }
#tab-marketing .sd-svg .sd-ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round }
#tab-marketing .sd-svg .sd-dash { stroke-dasharray: 6 5 }
#tab-marketing .sd-svg .sd-now { fill: #f26522; stroke: var(--panel); stroke-width: 2 }
#tab-marketing .sd-svg .sd-hit { outline: none } #tab-marketing .sd-svg .sd-hit:focus-visible { stroke: var(--cyan); stroke-width: 2 }
#tab-marketing .sd-lg { margin-top: 8px } #tab-marketing .sd-lg .sd-dsw { background: none; height: 0; width: 14px; border-top: 2px dashed #f26522; vertical-align: middle }
#tab-marketing .sd-foot { margin: 8px 0 0; font-size: 12px } #tab-marketing .sd-thin { color: var(--dim) }
#tab-marketing .sd-more { margin-top: 10px } #tab-marketing .sd-tab { border-collapse: collapse; font-size: 12.5px; margin: 6px 0 12px; width: 100% } #tab-marketing .sd-tab caption { text-align: left; color: var(--fg); padding: 4px 0 } #tab-marketing .sd-tab th, #tab-marketing .sd-tab td { padding: 2px 8px; text-align: right; color: var(--muted); border-bottom: 1px solid #ffffff14 } #tab-marketing .sd-tab th:first-child, #tab-marketing .sd-tab thead th { text-align: left }
#tab-marketing .mx-pg { margin-top: 14px; padding-bottom: 12px } #tab-marketing .mx-pg .mx-lbl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 12.5px; color: var(--muted) } #tab-marketing .mx-pg .mx-lbl b { font-family: var(--num); font-size: 22px; line-height: 1; font-weight: 400; color: var(--fg) }
#tab-marketing .mx-pg .mx-tr { height: 18px; border: 3px solid var(--ink); background: var(--panel2); position: relative; margin-top: 4px } #tab-marketing .mx-pg .mx-tr i { display: block; height: 100% } #tab-marketing .mx-pg .mx-tr u { position: absolute; top: -6px; bottom: -6px; border-left: 3px solid var(--fg); text-decoration: none }
#tab-marketing .mx-pg .mx-tr u::after { content: "plan"; position: absolute; bottom: -20px; left: -12px; font: 10px var(--body); color: var(--fg) }
#tab-marketing .mx-qrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) 54px; gap: 8px; align-items: center; margin: 9px 0; font-size: 12.5px; color: var(--muted) }
#tab-marketing .mx-qrow .mx-t { display: block; height: 14px; background: #ffffff0d; position: relative } #tab-marketing .mx-qrow .mx-t i { display: block; height: 100% } #tab-marketing .mx-qrow .mx-t u { position: absolute; top: -4px; bottom: -4px; border-left: 2px dashed var(--pink); text-decoration: none }
#tab-marketing .mx-qrow b { font-family: var(--num); font-size: 18px; line-height: 1; font-weight: 400; color: var(--fg); text-align: right }
#tab-marketing .mx-how { margin-top: 18px }
/* OUR SEARCH AND WEBSITE (top of MARKETING) */
#tab-marketing .ns-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-top: 14px; align-items: start }
#tab-marketing .ns-col { display: grid; gap: 12px; min-width: 0 }
#tab-marketing .ns .mx-k { font-size: 9px; color: #fff }
#tab-marketing .ns-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 6px } #tab-marketing .ns-chips span { font-size: 12px; color: var(--muted); background: var(--panel2); border: 2px solid var(--ink); padding: 3px 8px } #tab-marketing .ns-chips b { font-family: var(--num); font-size: 17px; font-weight: 400; color: var(--cyan); margin-left: 2px }
#tab-marketing .ns-list { list-style: none; margin: 6px 0 0; padding: 0 }
#tab-marketing .ns-kr { display: grid; grid-template-columns: minmax(0, 1fr) 62px 96px 50px 50px; gap: 6px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid #ffffff10; font-size: 13px }
#tab-marketing .ns-kr .ns-kw small { display: block; font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
#tab-marketing .ns-vol, #tab-marketing .ns-d, #tab-marketing .ns-qr span:nth-child(n+2), #tab-marketing .ns-cr span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums }
#tab-marketing .ns-pos { text-align: right; font-family: var(--num); font-size: 18px; color: var(--green) } #tab-marketing .ns-pos.ns-off { font: 400 11px var(--body); color: var(--dim) }
#tab-marketing .ns-nv .ns-kr { grid-template-columns: minmax(0, 1fr) 96px 50px 50px }
#tab-marketing .ns-un .ns-kw { color: var(--muted) }
#tab-marketing .ns-hd { font-family: var(--pixel); font-size: 7px; color: var(--dim); border-bottom: 2px solid var(--ink) } #tab-marketing .ns-hd .ns-pos { font: inherit; color: inherit }
#tab-marketing .ns-d.ns-up { color: var(--green) } #tab-marketing .ns-d.ns-down { color: var(--yellow) } #tab-marketing .ns-d.ns-in { color: var(--cyan) } #tab-marketing .ns-d.ns-none, #tab-marketing .ns-d.ns-same, #tab-marketing .ns-d.ns-out { color: var(--dim) }
#tab-marketing .ns-new { font: 700 9px var(--body); font-style: normal; background: var(--yellow); color: #000; padding: 1px 5px; border-radius: 2px; margin-left: 4px; vertical-align: 1px }
#tab-marketing .ns-qr { display: grid; grid-template-columns: minmax(0, 1fr) 50px 54px 58px; gap: 6px; padding: 4px 0; border-bottom: 1px solid #ffffff10; font-size: 13px }
#tab-marketing .ns-cr { display: grid; grid-template-columns: minmax(0, 1fr) 54px 60px 70px 74px; gap: 6px; padding: 4px 0; border-bottom: 1px solid #ffffff10; font-size: 13px }
#tab-marketing .ns-q { overflow-wrap: anywhere }
#tab-marketing .ns-qr.ns-hd, #tab-marketing .ns-cr.ns-hd { font-size: 7px }
#tab-marketing .ns-dim { color: var(--dim) } #tab-marketing .ns-cr span, #tab-marketing .ns-d { white-space: nowrap }
#tab-marketing .ns-tot { font-size: 13px; color: var(--fg); margin: 8px 0 0 } #tab-marketing .ns-tot b { font-family: var(--num); font-size: 17px; font-weight: 400; color: var(--cyan) }
#tab-marketing .ns-note, #tab-marketing .ns-grey { font-size: 11.5px; color: var(--dim); margin: 6px 0 0 } #tab-marketing .ns-grey { color: var(--muted) }
#tab-marketing .ns-more { margin-top: 6px } #tab-marketing .ns-more summary { cursor: pointer; font-size: 12.5px; color: var(--cyan); padding: 6px 0; min-height: 32px }
#tab-marketing .ns-none { font-size: 13px; color: var(--dim); margin: 8px 0 0 }
#tab-marketing .ns-lr { padding: 5px 0; border-bottom: 1px solid #ffffff10; font-size: 13px } #tab-marketing .ns-lh { display: block } #tab-marketing .ns-lh b { color: var(--cyan); font-weight: 600 }
#tab-marketing .ns-why { display: block; font-size: 11.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden } #tab-marketing .ns-why.ns-dim { color: var(--dim) }
/* SEO climb, momentum and channel bars (2026-11-23). Resting state is the final state; motion is in the no-preference block below. */
#tab-marketing .ns-grid.ns-g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 12px } #tab-marketing .ns-seo { margin-top: 22px } #tab-marketing .ns-seo .mx-bar { margin-bottom: 0 }
#tab-marketing .ns-climb, #tab-marketing .ns-mom { display: block; width: 100%; height: auto; max-width: 440px; margin: 8px auto 0; overflow: visible; touch-action: manipulation }
#tab-marketing .ns .ns-rl { font: 10px var(--body); fill: var(--dim) } #tab-marketing .ns .ns-bc { fill: var(--muted); font-size: 10.5px } #tab-marketing .ns .ns-t10 { fill: var(--green); font: 7px var(--pixel) }
#tab-marketing .ns .ns-rung, #tab-marketing .ns .ns-gl { stroke: #ffffff1c; stroke-dasharray: 2 5 } #tab-marketing .ns .ns-ground { stroke: var(--cyan); stroke-width: 2; opacity: .7 } #tab-marketing .ns .ns-band { fill: #4dff9a14 }
#tab-marketing .ns .ns-mk { cursor: pointer; outline: none } #tab-marketing .ns .ns-mkc { transform-box: fill-box }
#tab-marketing .ns .ns-dot { stroke: var(--ink); stroke-width: 2 } #tab-marketing .ns .ns-m-up .ns-dot { fill: var(--green); filter: drop-shadow(0 0 5px var(--green)) } #tab-marketing .ns .ns-m-new .ns-dot { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)) } #tab-marketing .ns .ns-m-down .ns-dot { fill: var(--yellow); filter: drop-shadow(0 0 5px var(--yellow)) } #tab-marketing .ns .ns-m-same .ns-dot { fill: var(--green); filter: drop-shadow(0 0 4px var(--green)) }
#tab-marketing .ns .ns-m-camp .ns-dot { fill: #ffffff2e; stroke: #ffffff40 } #tab-marketing .ns .ns-m-out .ns-dot { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-dasharray: 3 2 }
#tab-marketing .ns .ns-mk:hover .ns-dot, #tab-marketing .ns .ns-mk:focus-visible .ns-dot { stroke: #fff; stroke-width: 2.5 }
#tab-marketing .ns .ns-pulse { fill: none; stroke: var(--cyan); stroke-width: 2; opacity: .8 } #tab-marketing .ns .ns-ml { font: 600 11px var(--body); fill: var(--fg) }
#tab-marketing .ns-key { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px } #tab-marketing .ns-key span { white-space: nowrap } #tab-marketing .ns-kd { margin-right: 4px } #tab-marketing .ns-kd { display: inline-block; width: 9px; height: 9px; border-radius: 50%; } #tab-marketing .ns-kd.ns-m-up, #tab-marketing .ns-kd.ns-m-same { background: var(--green) } #tab-marketing .ns-kd.ns-m-new { background: var(--cyan) } #tab-marketing .ns-kd.ns-m-down { background: var(--yellow) }
#tab-marketing .ns-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px } #tab-marketing .ns-hn { font-family: var(--num); font-size: 58px; line-height: .85; color: var(--cyan); text-shadow: 3px 3px 0 var(--ink) }
#tab-marketing .ns-hl { font-size: 13px; color: var(--fg); flex: 1 1 140px; min-width: 0 } #tab-marketing .ns-hx { flex-basis: 100%; font: 700 12px var(--body); color: var(--green) } #tab-marketing .ns-hx.ns-down { color: var(--yellow) } #tab-marketing .ns-hx.ns-same { color: var(--dim) }
#tab-marketing .ns .ns-ar { fill: #22e6ff24 } #tab-marketing .ns .ns-ln { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--cyan)) }
#tab-marketing .ns .ns-cb { fill: var(--pink) } #tab-marketing .ns .ns-cb.ns-cur { fill: var(--yellow) } #tab-marketing .ns .ns-cl { fill: var(--pink) }
#tab-marketing .ns .ns-halo { fill: none; stroke: var(--yellow); stroke-width: 2; opacity: .7 } #tab-marketing .ns .ns-last { fill: var(--yellow); stroke: var(--ink); stroke-width: 2 } #tab-marketing .ns .ns-lastv { font: 700 12px var(--body); fill: var(--yellow) }
#tab-marketing .ns .ns-hit { fill: transparent; cursor: crosshair }
#tab-marketing .ns-bars { margin-top: 10px } #tab-marketing .ns-br { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "l n d" "t t t" "s s s"; gap: 3px 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid #ffffff10 }
#tab-marketing .ns-bl { grid-area: l; font-size: 13.5px; color: var(--fg) } #tab-marketing .ns-bn { grid-area: n; font-family: var(--num); font-size: 24px; line-height: 1; color: var(--cyan); text-align: right } #tab-marketing .ns-bd { grid-area: d; font: 700 11.5px var(--body); min-width: 52px; text-align: right; white-space: nowrap; color: var(--dim) } #tab-marketing .ns-bd.ns-up { color: var(--green) } #tab-marketing .ns-bd.ns-down { color: var(--yellow) }
#tab-marketing .ns-bt { grid-area: t; display: block; height: 10px; background: #ffffff0d; overflow: hidden } #tab-marketing .ns-bt i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--cyan)); box-shadow: 0 0 8px #22e6ff80 } #tab-marketing .ns-bs { grid-area: s; font-size: 11px; color: var(--dim) }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ns-climb { from { transform: translateY(var(--dy)) } } #tab-marketing .ns .ns-mkc { animation: ns-climb 1.5s cubic-bezier(.2, .9, .25, 1) .15s both }
  @keyframes ns-ping { from { transform: scale(1); opacity: .9 } to { transform: scale(2.6); opacity: 0 } } #tab-marketing .ns .ns-pulse { transform-box: fill-box; transform-origin: center; animation: ns-ping 1.6s ease-out 1.2s infinite }
  @keyframes ns-draw { from { stroke-dashoffset: 1 } to { stroke-dashoffset: 0 } } #tab-marketing .ns .ns-ln { stroke-dasharray: 1; animation: ns-draw 1.4s ease-out both }
  @keyframes ns-fade { from { opacity: 0 } } #tab-marketing .ns .ns-ar { animation: ns-fade 1s .7s both } #tab-marketing .ns .ns-cb { animation: ns-fade .6s 1s both }
  @keyframes ns-beat { 50% { transform: scale(1.7); opacity: .2 } } #tab-marketing .ns .ns-halo { transform-box: fill-box; transform-origin: center; animation: ns-beat 1.5s ease-in-out 1.4s infinite }
  @keyframes ns-growx { from { width: 0 } } #tab-marketing .ns-bt i { animation: ns-growx 1s ease-out both }
}
/* OUR META ADS scoreboard (2026-11-30): thumbnail, name, counts; the two window chips swap the panes */
#tab-marketing .ns-grid.ns-g1 { grid-template-columns: minmax(0, 1fr) }
#tab-marketing .ns-wins { display: flex; gap: 6px; margin: 8px 0 4px } #tab-marketing .ns-win { font-size: 12px; color: var(--muted); background: var(--panel2); border: 2px solid var(--ink); padding: 5px 10px; cursor: pointer; min-height: 32px } #tab-marketing .ns-win[aria-pressed="true"] { background: var(--cyan); color: #000 }
#tab-marketing .ns-adr { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid #ffffff10; font-size: 13px }
#tab-marketing .ns-adimg { flex: 0 0 40px; width: 40px; height: 40px; object-fit: cover; background: var(--panel2) } #tab-marketing .ns-adh .ns-adimg { height: 0; background: none }
#tab-marketing .ns-adnm { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
#tab-marketing .ns-adn { flex: 0 0 62px; text-align: right; font-variant-numeric: tabular-nums } #tab-marketing .ns-adh { font-size: 10.5px; color: var(--dim); letter-spacing: .04em }
/* phone: the name gets its own line beside the thumbnail, the numbers share the line under it */
@media (max-width: 600px) { #tab-marketing .ns-adr { flex-wrap: wrap; row-gap: 2px } #tab-marketing .ns-adnm { flex: 1 1 calc(100% - 48px); white-space: normal; overflow-wrap: anywhere } #tab-marketing .ns-adn { flex: 1 1 0; min-width: 0 } #tab-marketing .ns-adh .ns-adn { font-size: 9px } #tab-marketing .ns-adh .ns-adnm, #tab-marketing .ns-adh .ns-adimg { display: none } }
@media (max-width: 900px) { #tab-marketing .ns-grid, #tab-marketing .ns-grid.ns-g2 { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 520px) {
  #tab-marketing .ns-kr { grid-template-columns: minmax(0, 1fr) 46px 78px 44px 44px; font-size: 12.5px } #tab-marketing .ns-nv .ns-kr { grid-template-columns: minmax(0, 1fr) 78px 42px 42px } #tab-marketing .ns-cr { grid-template-columns: minmax(0, 1fr) 46px 52px 54px 66px }
  #tab-marketing .ns-kr.ns-hd, #tab-marketing .ns-qr.ns-hd, #tab-marketing .ns-cr.ns-hd { font-size: 6px } #tab-marketing .ns-kr .ns-kw small { white-space: normal }
}
@media (max-width: 900px) {
  #tab-marketing .mx-top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px } #tab-marketing .mx-spend { grid-column: 1 / -1 }
  #tab-marketing .mx-show { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  #tab-marketing .mx-row2, #tab-marketing .mx-drawer, #tab-marketing .mx-sdraw { grid-template-columns: minmax(0, 1fr) } #tab-marketing .mx-cmp { margin-left: 0 }
}
@media (max-width: 700px) {
  #tab-marketing .mx-per, #tab-marketing .mx-tog { min-height: 44px; padding-left: 12px; padding-right: 12px }
}
@media (max-width: 520px) {
  #tab-marketing .mx-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } #tab-marketing .mx-show { grid-template-columns: minmax(0, 1fr) } #tab-marketing .mx-v { font-size: 30px } #tab-marketing .mx-big { font-size: 50px }
  #tab-marketing .mx-qrow { grid-template-columns: 78px minmax(0, 1fr) 46px }
}
@media (prefers-reduced-motion: no-preference) {
  #tab-marketing .mx-dial, #tab-marketing .mx-src { transition: transform .12s, box-shadow .12s } #tab-marketing .mx-per:hover { transform: translateY(-1px) }
  @keyframes mx-dial { from { stroke-dasharray: 0 150.8 } }
  #tab-marketing .mx-fill { animation: mx-dial .9s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes mx-growh { from { height: 0 } }
  #tab-marketing .mx-mini > div { animation: mx-growh .7s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes mx-growx { from { width: 0 } }
  #tab-marketing .mx-rung .mx-t i, #tab-marketing .mx-mt i, #tab-marketing .mx-pg .mx-tr i, #tab-marketing .mx-qrow .mx-t i { animation: mx-growx .9s ease-out both }
  @keyframes mx-growy { from { transform: scaleY(0) } }
  #tab-marketing .mx-spark rect, #tab-marketing .mx-line .mx-sb { transform-box: fill-box; transform-origin: 50% 100%; animation: mx-growy .8s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes mx-draw { from { stroke-dashoffset: 3000 } to { stroke-dashoffset: 0 } }
  #tab-marketing .mx-line .mx-ln { stroke-dasharray: 3000; animation: mx-draw 1.2s .3s ease-out both }
  @keyframes mx-pulse { 50% { background: var(--yellow) } }
  #tab-marketing .mx-leaktag, #tab-marketing .mx-badge.worst { animation: mx-pulse 1.1s steps(2) infinite }
  @keyframes mx-drop { from { opacity: 0; transform: translateY(-8px) } }
  #tab-marketing .mx-drawer:not([hidden]), #tab-marketing .mx-sdraw:not([hidden]) { animation: mx-drop .25s ease-out }
}
.allnums { margin-top: 18px } .allnums .in { padding-top: 0 }
/* HEALTH, EXPECTED REVENUE: a chip row picks the ad spend, one block per spend (four plain tiles, a line, a 12-bar chart). */
.projection { margin-top: 14px }
.proj-chips { display: flex; flex-wrap: wrap; gap: 6px }
.proj-chips button { font-family: var(--pixel); font-size: 8px; background: var(--ink); color: var(--gold); border: 3px solid var(--gold); padding: 6px 8px; cursor: pointer }
.proj-chips button:hover { background: var(--panel) }
.proj-chips button[aria-pressed="true"] { background: var(--gold); color: var(--ink) }
.proj-chips button:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.proj[hidden] { display: none }
.proj-slide { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; margin-top: 14px; background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 8px 14px }
.proj-slide .k { font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted) }
.proj-slide input[type="range"] { width: 100%; min-width: 0; height: 32px; margin: 0; accent-color: var(--gold); cursor: pointer }
.proj-slide input[type="range"]:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.proj-slide output { font-family: var(--num); font-size: 24px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); white-space: nowrap }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px }
.ptile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px }
.ptile .k { font-family: var(--pixel); font-size: 9px; line-height: 1.5; color: var(--muted); letter-spacing: .04em }
.ptile .v { font-family: var(--num); font-size: clamp(26px, 8vw, 34px); line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink); overflow-wrap: anywhere }
.ptile .v.none { color: var(--dim) }
.ptile .sub { font-family: var(--body); font-size: 14px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere }
.ptile .hbar { width: 100% }
.pchart { margin-top: 14px; background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px 10px }
.pbars { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 120px; border-bottom: 2px solid var(--dim) }
.pbars i { display: block; flex: 1 1 0; min-width: 0; background: var(--gold); border: 2px solid var(--ink); border-bottom: 0 }
.pline { position: absolute; left: 0; right: 0; height: 0; margin: 0; border-top: 2px dashed var(--fg); font-weight: 400; pointer-events: none }
.pline em { position: absolute; right: 0; bottom: 2px; font-style: normal; font-family: var(--pixel); font-size: 7px; line-height: 1.4; color: var(--fg); background: var(--panel); padding: 0 3px }
.pmon { display: flex; gap: 6px; margin-top: 6px }
.pmon span { flex: 1 1 0; min-width: 0; text-align: center; font-family: var(--pixel); font-size: 7px; color: var(--muted) }
/* GROWTH charts (board_growth): grouped bars per month, dashed outline = projected, faded = the month so far (2026-11-08) */
.growth { margin-top: 14px }
.pbars .gm { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; gap: 2px; height: 100% }
.pbars .gm i { flex: 1 1 0; min-width: 0; display: block; border: 2px solid var(--ink); border-bottom: 0 }
.pbars .gm i.s0 { background: var(--gold) } .pbars .gm i.s1 { background: var(--fg) } .pbars .gm i.s2 { background: var(--bot) }
.pbars .gm.projected i { background: transparent; border-style: dashed }
.pbars .gm.projected i.s0 { box-shadow: inset 0 0 0 2px var(--gold) } .pbars .gm.projected i.s1 { box-shadow: inset 0 0 0 2px var(--fg) } .pbars .gm.projected i.s2 { box-shadow: inset 0 0 0 2px var(--bot) }
.pbars .gm.partial i { opacity: .6 }
.pbars .gm i.none { border: 0; height: 0 }
.pmon .proj { color: var(--dim) }
.glegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-family: var(--pixel); font-size: 7px; color: var(--muted) }
.glegend span { display: inline-flex; align-items: center; gap: 5px } .glegend i { width: 10px; height: 10px; border: 2px solid var(--ink); display: inline-block }
.glegend .s0 i { background: var(--gold) } .glegend .s1 i { background: var(--fg) } .glegend .s2 i { background: var(--bot) } .glegend .proj i { background: transparent; border-style: dashed }
.gline { margin: 10px 0 0; font-family: var(--body); font-size: 15px; line-height: 1.5 }
.stage .last { display: block; font-family: var(--body); font-size: 12px; color: var(--muted); margin-top: 4px }
@media (max-width: 480px) { .pbars .gm { gap: 1px } .pbars .gm i { border-width: 1px } }
/* HEALTH, IN THE PIPELINE: one big tile (the next 30 days), then a compact row per open stage with a thin bar. */
.pipeline { margin-top: 14px }
.proof { margin-top: 14px }
.proof-top { margin-top: 10px }
.proof-acts { display: inline-flex; gap: 6px; margin-left: auto }
.proof-btn { font-family: var(--pixel); font-size: 8px; padding: 4px 8px; border: 2px solid var(--ink); background: var(--panel); color: var(--ink); cursor: pointer }
.proof-btn:disabled { opacity: .5; cursor: default }
.ptile.big { width: 100% }
.ptile.big .v { font-size: clamp(34px, 9vw, 48px) }
.prows { display: grid; gap: 10px; margin-top: 14px }
.prow { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 14px; display: grid; gap: 4px }
.prow.cal { border-style: dashed; border-color: var(--dim) }
.pr-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px }
.pr-top b { font-family: var(--body); font-weight: 600; font-size: 15px }
.pr-m { font-family: var(--num); font-size: 26px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink) }
.pr-sub { font-family: var(--body); font-size: 13px; color: var(--muted); overflow-wrap: anywhere }
.prow .hbar { height: 6px }
.pstamp { display: inline-block; margin-top: 10px; font-family: var(--num); font-size: 18px; color: var(--muted) }
.pstamp.stale { color: var(--build) }
/* SALES, REACH OUT: who Andrew should talk to; due-today group first, then top picks. Lines wrap at phone width. */
.reach { margin-top: 10px; display: grid; gap: 10px }
.reach .plain { margin: 0 }
.rr-h { margin: 6px 0 0; font-family: var(--pixel); font-size: 9px; font-weight: 400; color: var(--muted) }
.rrow { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 14px; display: grid; gap: 4px; min-width: 0 }
.rr-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0 }
.rr-top b { font-family: var(--body); font-weight: 600; font-size: 15px; overflow-wrap: anywhere }
.rr-n { font-family: var(--num); font-size: 22px; line-height: 1; color: var(--gold); min-width: 1.4em }
.rr-co, .rr-bucket { font-family: var(--body); font-size: 13px; color: var(--muted); overflow-wrap: anywhere }
.chip-status { font-family: var(--pixel); font-size: 8px; padding: 3px 6px; border: 2px solid var(--dim); color: var(--muted); text-transform: uppercase }
.chip-status.st-to_find { border-color: var(--muted); color: var(--muted) }
.chip-status.st-reached_out { border-color: var(--client); color: var(--client) }
.chip-status.st-replied { border-color: var(--build); color: var(--build) }
.chip-status.st-talking { border-color: var(--gold); color: var(--gold) }
.chip-status.st-booked { border-color: var(--bot); color: var(--bot) }
.chip-status.st-parked { border-color: var(--dim); color: var(--dim) }
.rr-why, .rr-next { font-family: var(--body); font-size: 13px; color: var(--muted); overflow-wrap: anywhere }
.rr-next { color: var(--fg) }
.rr-more { display: grid; gap: 10px }
.rr-more summary { cursor: pointer; font-family: var(--body); font-size: 13px; color: var(--gold); margin-bottom: 10px }
@media (max-width: 700px) { .rrow { box-shadow: 3px 3px 0 var(--ink); padding: 8px 12px } }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 420px) { .pgrid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 700px) { .proj-slide { grid-template-columns: minmax(0, 1fr) auto } .proj-slide .k { grid-column: 1 / -1 } .proj-slide input[type="range"] { height: 44px } .prow { box-shadow: 3px 3px 0 var(--ink); padding: 8px 12px } }

/* ---- Phase 1 (2026-11-02): BY HAND tiles, my-lanes dimming, the TEAM tab (was AGENDA) */
.tile.r-by-hand { border-color: var(--person) } .r-by-hand .rank { color: var(--person) } .rank.r-by-hand { color: var(--person) }
.tile.other { opacity: .5 } .tile.other:hover, .tile.other:focus-visible { opacity: 1 }
.hud .lanes-line { grid-column: 1 / -1; font-family: var(--body); font-size: 14px; color: var(--muted) }
.agenda-people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px }
.agenda-people button { font-family: var(--pixel); font-size: 8px; background: var(--ink); color: var(--gold); border: 3px solid var(--gold); padding: 6px 8px; cursor: pointer }
.agenda-people button:hover { background: var(--panel) }
.agenda-people button[aria-pressed="true"] { background: var(--gold); color: var(--ink) }
.agenda-people.sort { margin-top: 8px } .agenda-people .lbl { font-family: var(--pixel); font-size: 8px; color: var(--muted); align-self: center; padding-right: 2px }
.agenda-people.sort button { color: var(--muted); border-color: var(--dim) } .agenda-people.sort button[aria-pressed="true"] { background: var(--muted); color: var(--ink); border-color: var(--muted) }
.agenda { display: grid; gap: 10px; margin-top: 14px }
.arow { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 12px; color: inherit; text-decoration: none }
.arow[hidden] { display: none }
.arow:hover, .arow:focus-visible { outline: 3px solid var(--gold) }
.arow .days { font-family: var(--num); font-size: 34px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 var(--ink) } .arow .days.late { color: #ff6b6b } .arow .days small { display: block; font-family: var(--pixel); font-size: 7px; color: var(--muted); margin-top: 4px; text-shadow: none }
.arow .what { font-family: var(--body); min-width: 0 } .arow .what b { display: block } .arow .who { color: var(--muted); font-size: 14px }
.push { font-family: var(--pixel); font-size: 7px; border: 2px solid var(--muted); color: var(--muted); padding: 4px 6px; white-space: nowrap } .push.hot { border-color: #ff6b6b; color: #ff6b6b }
.arow .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 230px }
#agenda-more { margin-top: 14px }

/* ---- CALENDAR (2026-11-03): the signed-in person's next 8 days. NOW / NEXT card on top, then one block per day. */
.cal-people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px }
.cal-people button { font-family: var(--pixel); font-size: 8px; background: var(--ink); color: var(--gold); border: 3px solid var(--gold); padding: 6px 8px; cursor: pointer }
.cal-people button:hover { background: var(--panel) }
.cal-people button[aria-pressed="true"] { background: var(--gold); color: var(--ink) }
.cal-person[hidden] { display: none }
.cnow { margin-top: 18px; background: var(--panel); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; align-items: center }
.cnow.is-now { border-color: var(--gold) }
.cnow .eyebrow { grid-column: 1 / -1 }
.cnow.idle { display: block } .cnow.idle .plain { margin: 0 }
.cnow-body { display: grid; gap: 4px; min-width: 0 }
.cnow .ctitle { font-family: var(--body); font-weight: 700; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere }
.cnow .cmeta { font-family: var(--num); font-size: 22px; line-height: 1.1; color: var(--muted) }
.cnow .cjoin.big { font-size: 12px; padding: 14px 22px }
.crow .cjoin { font-size: 10px; padding: 12px 18px }
.cjoin { display: inline-block; text-align: center; text-decoration: none; white-space: nowrap; line-height: 1.2 }
.cday { margin-top: 22px }
.cdayh { margin-bottom: 8px }
.cdayh small { font-family: var(--num); font-size: 20px; color: var(--muted); text-transform: none; letter-spacing: 0 }
.cfree { margin: 0; font-family: var(--num); font-size: 20px; color: var(--dim) }
.cchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px }
.cchip { font-family: var(--body); font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--fg); background: var(--panel2); border: 2px solid var(--gold); padding: 4px 10px; text-decoration: none; overflow-wrap: anywhere }
a.cchip:hover, a.cchip:focus-visible { background: var(--gold); color: var(--ink); outline: none }
.cchip.declined, .crow.declined { opacity: .5 } .cchip.declined { text-decoration: line-through }
.cchip.busy, .crow.busy .ctitle { color: var(--muted) }
.crow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 10px 12px; margin-bottom: 10px }
.crow .cmain { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2px 14px; align-items: baseline; color: inherit; text-decoration: none; min-width: 0 }
a.cmain:hover .ctitle, a.cmain:focus-visible .ctitle { color: var(--gold) }
a.cmain:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px }
.crow .ctime { font-family: var(--num); font-size: 24px; line-height: 1.1; color: var(--gold); white-space: nowrap }
.crow .ctitle { font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere }
.crow .cmeta { grid-column: 2; font-family: var(--body); font-size: 13px; color: var(--muted); overflow-wrap: anywhere }
.cfoot { color: var(--muted); max-width: 80ch; margin-top: 26px }

/* ---- GOALS: the party cards, the picker and the battle windows (the tower itself is the gt- block further down). */
.pcard { background: linear-gradient(180deg, #1f1f1f, #0e0e0e); border: 3px solid var(--gold); border-radius: 6px; box-shadow: 0 0 0 2px #000, 4px 4px 0 2px rgba(0, 0, 0, .6); color: #fff }
.pcard { border-color: #3a3936 }
.hero { display: inline-block; position: relative; flex: 0 0 auto; vertical-align: top }
.h-king { filter: drop-shadow(0 0 3px #ffd166) drop-shadow(0 0 7px #ffd16688) }
.spark { position: absolute; width: 3px; height: 3px; background: #ffd166; opacity: .9; pointer-events: none }
.h-king .spark:nth-of-type(2) { left: -5px; top: 8px } .h-king .spark:nth-of-type(3) { right: -6px; top: 24px }
.party-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin: 22px 4px 0 }
.pcard { padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0 }
.pcard.lead { border-color: var(--gold) }
.pcard .pc-art { display: block; margin-bottom: 4px }
.pcard .pc-name { font-family: var(--pixel); font-size: 9px; line-height: 1.5; color: #fff; overflow-wrap: anywhere }
.pcard.lead .pc-name { color: var(--gold) }
.pcard .pc-class { font-family: var(--num); font-size: 20px; line-height: 1; color: var(--gold) }
.pcard .pc-line { font-family: var(--body); font-size: 13px; line-height: 1.3; color: #e5e3dd }
/* team HP and levels (2026-11-03): a card with status is a button that opens the unit's status window */
button.pcard { font: inherit; cursor: pointer; width: 100%; -webkit-appearance: none; appearance: none }
button.pcard:hover { border-color: var(--gold) } button.pcard:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.pcard .pc-lv, .pcard .pc-hp { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; width: 100%; margin-top: 4px }
.pcard .pc-lv { margin-top: auto; padding-top: 6px }
.pcard .pc-hp { grid-template-columns: 1fr; gap: 3px }
.pcard .pc-lvn { font-family: var(--num); font-size: 22px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 #000; white-space: nowrap; text-align: left }
.pcard .pc-hpn { font-family: var(--num); font-size: 20px; line-height: 1; color: #fff; text-align: left; white-space: nowrap }
.pcard .pc-stat { font-family: var(--body); font-size: 12px; line-height: 1.35; color: #c9c7c0; margin-top: 4px }
.uxp { display: block; flex: 1; height: 8px; margin: 0; background: #2b2410; border: 2px solid #000; box-shadow: 0 0 0 1px #3a3936 }
.uxp i { display: block; height: 100%; background: var(--gold) }
.pcard .hpbar { display: block; height: 10px; width: 100%; flex: none }
.fu-class { margin: -4px 0 10px; font-family: var(--num); font-size: 20px; line-height: 1; color: var(--gold) }
.fe-unit .fb-hp + .fb-hp { margin-top: 10px }
.fe-unit .fb-hp .hpn { min-width: 74px }
.fe-unit .fb-hp .uxp { height: 10px }
.fu-list { margin: 6px 0 0; padding-left: 18px; font-family: var(--body); font-size: 15px; line-height: 1.45; color: #f5f4f0 }
.fu-list li { margin: 2px 0 }
.picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px }
.pick { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--panel2); color: var(--fg); border: 3px solid var(--ink); padding: 8px 10px 6px; cursor: pointer; font: inherit; min-width: 78px }
.pick span { font-family: var(--pixel); font-size: 7px; line-height: 1.4 }
.pick:hover:not([disabled]), .pick:focus-visible { outline: 3px solid var(--gold) }
.pick[aria-pressed="true"] { border-color: var(--gold); background: var(--card) }
.pick[disabled] { opacity: .6; cursor: wait }
.pick-note { display: block; min-height: 20px; margin-top: 8px; font-family: var(--num); font-size: 19px; color: var(--person) }
.goal-foot { margin-top: 18px; color: var(--muted); max-width: 80ch }
/* monsters (2026-11-03): the battle window each one opens (the monsters on the tower are svg groups, see the gt- block) */
.m-ghost .mon-bob { opacity: .85 }
.dlg.fe-battle { width: min(600px, calc(100vw - 32px)); background: linear-gradient(180deg, #1f1f1f, #0e0e0e); border: 3px solid var(--gold); border-radius: 6px; box-shadow: 0 0 0 2px #000, 6px 6px 0 2px rgba(0, 0, 0, .6) }
.fe-battle .dlg-in { position: relative; padding: 24px 22px 26px }
.fe-battle .fb-head { position: absolute; top: 10px; right: 10px; z-index: 1 }
.fb-body { display: flex; gap: 22px; align-items: flex-start }
.fb-art { flex: 0 0 auto; display: flex; align-items: flex-end; justify-content: center; min-width: 118px; min-height: 126px; padding: 14px; background: #0a0520; border: 3px solid #000; border-radius: 4px; box-shadow: inset 0 0 0 2px #3a3936 }
.fb-art svg { display: block }
.fb-info { flex: 1; min-width: 0 }
.fb-info .eyebrow { margin-bottom: 0; padding-right: 44px }
.fb-name { font-family: var(--display); font-weight: 900; font-size: clamp(22px, 4.4vw, 30px); line-height: 1.05; letter-spacing: -.5px; color: #fff; margin: 8px 0 10px; text-wrap: balance; overflow-wrap: anywhere }
.fb-hp { display: flex; align-items: center; gap: 12px }
.fb-hp .hpn { font-family: var(--num); font-size: 30px; line-height: 1; color: var(--gold); text-shadow: 2px 2px 0 #000; white-space: nowrap }
.hpbar { flex: 1; height: 14px; background: #3a1c20; border: 2px solid #000; box-shadow: 0 0 0 1px #3a3936 }
.hpbar i { display: block; height: 100% } .hpbar i.hp-g { background: #5fe08a } .hpbar i.hp-o { background: #ff9f43 } .hpbar i.hp-r { background: #d7263d }
.fe-battle h3.dk { margin-top: 16px }
.fe-battle p.plain { margin-top: 6px }
.fb-go { margin-top: 20px; min-height: 44px; padding: 0 18px; font-size: 10px }
@media (prefers-reduced-motion: no-preference) {
  .mon .mon-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: qbob .9s steps(2) infinite; animation-delay: calc(var(--i, 0) * .15s + .45s) }
  .m-slime .mon-bob, .m-glitch .mon-bob { animation-name: qsquash }
  .m-ghost .mon-bob { animation-name: qfloat; animation-duration: 1.6s }
  .m-dragon .fire { animation: qflicker .5s steps(1) infinite }
  .mon .mon-glow { animation: qglow 1.8s ease-in-out infinite }
  .h-king .spark { animation: qspark 1.6s steps(2) infinite } .h-king .spark:nth-of-type(3) { animation-delay: .8s }
  @keyframes qbob { 50% { transform: translateY(-1px) } }
  @keyframes qsquash { 50% { transform: scaleY(.9) } }
  @keyframes qfloat { 50% { transform: translateY(-1px) } }
  @keyframes qflicker { 50% { opacity: 0 } }
  @keyframes qspark { 50% { opacity: 0 } }
  @keyframes qglow { 50% { opacity: .55 } }
}
@media (prefers-reduced-motion: reduce) { .fb-art * { animation: none !important } }
@media (max-width: 640px) {
  .party-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .picks { gap: 8px } .pick { min-width: 70px }
}

/* ---- GOALS: THE CLIMB TO $100K (decision 1564, 2026-11-16; the in-house board keeps the neon game look, decision 1545).
   A HUD of three boxes, one stage (two svgs of the same tower, .gt-desk and .gt-phone, the phone one shown at 700px and below in the PHONE block),
   one sentence, the month bars and the party. The scene is drawn finished and still. Everything that moves is under .gt-life (put on the stage and on
   #tab-goals by wire(); with LIFE: OFF, reduced motion or no script it is absent), the intro under .gt-run, a win under .gt-win, a level up under .gt-lvl. */
#tab-goals { --red: #ff4d6d }
.gt-bar { display: flex; justify-content: flex-end; margin: 14px 0 8px }
.gt-lifebtn { font-family: var(--pixel); font-size: 8px; line-height: 1.4; color: var(--cyan); background: rgba(0, 0, 0, .5); border: 2px solid var(--cyan); padding: 6px 8px; cursor: pointer }
.gt-lifebtn:hover { color: #fff } .gt-lifebtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
.gt-hud { display: grid; grid-template-columns: 1.1fr 1.3fr 1.2fr; gap: 10px; margin-bottom: 10px }
.gt-box { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 10px 14px; min-width: 0; position: relative }
.gt-k { display: block; font: 400 8px/1.5 var(--pixel); color: var(--muted); letter-spacing: .03em }
.gt-kw { color: #fff }
.gt-big { display: inline-block; font: 400 52px/.95 var(--num); color: var(--pink); text-shadow: 0 0 14px #ff3ea588, 2px 2px 0 #000 }
.gt-big.gt-nobig { font-size: 30px; line-height: 1.1; color: var(--muted); text-shadow: none }
.gt-u { font-size: 13px; color: var(--muted); margin-left: 4px }
.gt-none { font: 400 24px/1.2 var(--num); color: var(--muted) }
.gt-nx { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; margin-top: 2px }
.gt-nx b { font: 400 12px/1.4 var(--pixel); color: var(--yellow); overflow-wrap: anywhere }
.gt-nx span { font: 400 26px/1 var(--num); color: #fff }
.gt-prog { position: relative; height: 16px; background: #000; border: 2px solid #000; margin-top: 8px; box-shadow: inset 0 0 0 1px #2c1c66 }
.gt-prog i { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, #ffb800 8px 10px); box-shadow: 0 0 10px var(--yellow) }
.gt-prog em { position: absolute; right: 4px; top: 1px; font: 400 14px/1 var(--num); color: #fff; font-style: normal; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000 }
.gt-clock { display: flex; align-items: center; gap: 12px }
.gt-days { font: 400 52px/.95 var(--num); color: var(--cyan); text-shadow: 0 0 14px #22e6ff88, 2px 2px 0 #000 }
.gt-pill { display: inline-block; font: 400 8px/1.3 var(--pixel); padding: 6px 7px; border: 2px solid currentColor; margin-top: 6px }
.gt-pill.bad { color: var(--red) } .gt-pill.good { color: var(--green) } .gt-pill.dim { color: var(--muted) }
.gt-speed { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px 8px; align-items: center; margin-top: 7px; font: 400 7px/1 var(--pixel); color: var(--muted) }
.gt-speed .gt-t { position: relative; min-width: 0; height: 9px; background: #000 }
.gt-speed .gt-t i { position: absolute; left: 0; top: 0; bottom: 0 }
.gt-speed b { min-width: 0; font: 400 16px/1 var(--num); color: #fff; text-align: right }
/* the stage */
.gt-stage { position: relative; border: 2px solid var(--purple); border-radius: 4px; overflow: hidden; box-shadow: 0 0 22px #9d6bff55; background: #05020f }
.gt-stage svg { display: block; width: 100%; height: auto }
.gt-stage .gt-phone { display: none }
/* The sky: the same five times of day and the same weather as the WORKFLOWS city (decisions 1707 and 1715). wire() paints the stage with gt-sky--dawn|day|sunset|dusk|night, gt-sky--timed,
   gt-body--sun|moon, gt-season--*, gt-wx--* and gt-snowy from the same driver as the city; with no script the stage shows the sunset sky it always did. Only the clouds, rain, snow and
   lightning move (under .gt-life, below); the weather layers are decorative: aria-hidden, no clicks, hidden unless their weather is on. */
.gt-skyg, .gt-moon, .gt-stars, .gt-sun-day, .gt-sk-grey, .gt-cloud, .gt-rain, .gt-snow, .gt-wflash, .gt-haze, .gt-cap { display: none }
.gt-sk-sunset { display: inline }
.gt-sky--dawn .gt-sk-sunset, .gt-sky--day .gt-sk-sunset, .gt-sky--dusk .gt-sk-sunset, .gt-sky--night .gt-sk-sunset { display: none }
.gt-sky--dawn .gt-sk-dawn, .gt-sky--day .gt-sk-day, .gt-sky--dusk .gt-sk-dusk, .gt-sky--night .gt-sk-night { display: inline }
.gt-sky--day.gt-season--winter .gt-sk-day { display: none } .gt-sky--day.gt-season--winter .gt-sk-dayw { display: inline }
.gt-sky--day.gt-wx--rain .gt-sk-grey, .gt-sky--day.gt-wx--storm .gt-sk-grey, .gt-sky--day.gt-wx--snow .gt-sk-grey, .gt-sky--day.gt-wx--fog .gt-sk-grey { display: inline }
.gt-sky--dawn.gt-wx--rain .gt-sk-grey, .gt-sky--dawn.gt-wx--storm .gt-sk-grey, .gt-sky--dawn.gt-wx--snow .gt-sk-grey, .gt-sky--dawn.gt-wx--fog .gt-sk-grey,
.gt-sky--sunset.gt-wx--rain .gt-sk-grey, .gt-sky--sunset.gt-wx--storm .gt-sk-grey, .gt-sky--sunset.gt-wx--snow .gt-sk-grey, .gt-sky--sunset.gt-wx--fog .gt-sk-grey { display: inline; opacity: .3 }
.gt-sky--night .gt-stars { display: inline } .gt-sky--dusk .gt-stars { display: inline; opacity: .55 } .gt-sky--dawn .gt-stars { display: inline; opacity: .25 }
/* the sun and the moon: the fixed spots are the old look; with .gt-sky--timed the shown one rides its arc across the open sky to the right of the tower (x 0 is the east edge, the left of that strip), so the noon sun never sits behind the roof boss */
.gt-sky--night:not(.gt-sky--timed) .gt-moon { display: inline } .gt-sky--night:not(.gt-sky--timed) .gt-sun { display: none }
.gt-sky--timed.gt-body--moon .gt-moon { display: inline } .gt-sky--timed.gt-body--moon .gt-sun { display: none }
.gt-sky--timed .gt-desk .gt-orb { transform: translate(calc(610px + var(--arc-x, .9) * 330px), calc(330px - var(--arc-h, .1) * 210px)) }
.gt-sky--timed .gt-phone .gt-orb { transform: translate(calc(285px + var(--arc-x, .9) * 90px), calc(360px - var(--arc-h, .1) * 220px)) }
.gt-sky--day .gt-sunband { display: none } .gt-sky--day .gt-sun-day { display: inline }
.gt-wx--rain .gt-sun, .gt-wx--storm .gt-sun, .gt-wx--snow .gt-sun, .gt-wx--fog .gt-sun { opacity: .6 }   /* real rain, snow or fog: the sun shows through, softer, never hidden */
/* clouds: a clear sky has one band, a fair one two, rain, storm, snow and fog three; the colors follow the time of day and the weather */
.gt-cloud { fill: var(--gtcloud, #fff) }
.gt-wx--clear .gt-cloud.k1, .gt-wx--fair .gt-cloud.k1, .gt-wx--rain .gt-cloud.k1, .gt-wx--storm .gt-cloud.k1, .gt-wx--snow .gt-cloud.k1, .gt-wx--fog .gt-cloud.k1,
.gt-wx--fair .gt-cloud.k2, .gt-wx--rain .gt-cloud.k2, .gt-wx--storm .gt-cloud.k2, .gt-wx--snow .gt-cloud.k2, .gt-wx--fog .gt-cloud.k2,
.gt-wx--rain .gt-cloud.k3, .gt-wx--storm .gt-cloud.k3, .gt-wx--snow .gt-cloud.k3, .gt-wx--fog .gt-cloud.k3 { display: inline }
.gt-sky--day .gt-cloud { --gtcloud: #ffffff; opacity: .92 }
.gt-sky--dawn .gt-cloud, .gt-sky--sunset .gt-cloud { --gtcloud: #ffd0e0; opacity: .85 }
.gt-sky--dusk .gt-cloud, .gt-sky--night .gt-cloud { --gtcloud: #8a86c0; opacity: .45 }
.gt-sky--day.gt-wx--rain .gt-cloud, .gt-sky--day.gt-wx--snow .gt-cloud { --gtcloud: #e4ecf5 }
.gt-sky--day.gt-wx--storm .gt-cloud { --gtcloud: #9aa8bd }
.gt-sky--day.gt-wx--fog .gt-cloud { --gtcloud: #f2f5fa; opacity: .7 }
.gt-wx--rain .gt-rain, .gt-wx--storm .gt-rain, .gt-wx--snow .gt-snow, .gt-wx--storm .gt-wflash, .gt-wx--fog .gt-haze { display: inline }
.gt-wl, .gt-w, .gt-cloud { pointer-events: none }
/* snow on the ground (winter, or snow in the air): caps on the buildings, the far towers, the roof and the street edge */
.gt-snowy .gt-cap { display: inline }
.gt-car, .gt-blimp { transform: translateX(var(--x0, 0px)) }
.gt-click { cursor: pointer; outline: none }
.gt-click:hover { filter: drop-shadow(0 0 2px #fff) }
.gt-click:focus-visible { filter: drop-shadow(0 0 2px var(--yellow)) drop-shadow(0 0 3px var(--yellow)) }
.gt-hand { transform-box: fill-box; transform-origin: 50% 100% }
.gt-thr { transform-box: fill-box; transform-origin: 50% 0 }
.gt-dmg, .gt-spark { opacity: 0 }
.gt-spark { transform-box: fill-box; transform-origin: center }
.gt-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none }
.gt-banner { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; text-align: center; font: 400 clamp(16px, 3.4vw, 30px)/1.3 var(--pixel); color: var(--yellow); text-shadow: 0 0 18px var(--yellow), 3px 3px 0 #000; white-space: nowrap }
.gt-banner b { display: block; font-weight: 400 }
.gt-banner small { display: block; font: 400 clamp(20px, 3.6vw, 34px)/1 var(--num); color: #fff; text-shadow: 0 0 10px var(--pink), 2px 2px 0 #000; margin-top: 8px }
.gt-say { font-size: 14px; margin: 10px 2px 0 }
.gt-say::before { content: "\25B8  "; color: var(--pink) }
/* the month bars and the party */
.gt-row2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 12px }
.gt-row2 .party-cards { margin: 8px 0 0 }
.gt-months { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 8px }
.gt-mcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0 }
.gt-mv { font: 400 15px/1 var(--num); color: #fff; margin-bottom: 3px; white-space: nowrap }
.gt-mb { position: relative; width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--cyan), #1077a0); box-shadow: 0 0 10px #22e6ff66 }
.gt-mcol.last .gt-mb { background: linear-gradient(180deg, var(--pink), #9b1561); box-shadow: 0 0 12px #ff3ea588 }
.gt-mm { font: 400 7px/1 var(--pixel); color: var(--muted); margin-top: 6px }
.gt-lvup { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); font: 400 6px/1 var(--pixel); color: #000; background: var(--yellow); padding: 3px; white-space: nowrap; box-shadow: 0 0 8px var(--yellow) }
.gt-dlg .plain { margin-top: 8px }
/* motion: only with .gt-life */
.gt-stage.gt-life .gt-tw { animation: gt-tw 3s ease-in-out infinite }
.gt-stage.gt-life .gt-twk { animation: gt-tw 1.6s steps(2) infinite } .gt-stage.gt-life .gt-twk2 { animation-delay: .8s }
.gt-stage.gt-life .gt-flk { animation: gt-flick 5s infinite }
.gt-stage.gt-life .gt-sunb { animation: gt-sunband 2s linear infinite }
.gt-stage.gt-life .gt-fog { animation: gt-drift 14s ease-in-out infinite alternate }
.gt-stage.gt-life .gt-carr { animation: gt-drive var(--dur, 10s) linear var(--del, 0s) infinite }
.gt-stage.gt-life .gt-carl { animation: gt-driveL var(--dur, 10s) linear var(--del, 0s) infinite }
.gt-stage.gt-life .gt-phone .gt-carr { animation-name: gt-drive-p } .gt-stage.gt-life .gt-phone .gt-carl { animation-name: gt-driveL-p }
.gt-stage.gt-life .gt-blimp { animation: gt-blimp 70s linear -20s infinite } .gt-stage.gt-life .gt-phone .gt-blimp { animation-name: gt-blimp-p }
.gt-stage.gt-life .gt-hand.gt-m { animation: gt-spin 3s linear infinite } .gt-stage.gt-life .gt-hand.gt-h { animation: gt-spin 36s linear infinite }
.gt-stage.gt-life .gt-bobs { animation: gt-bob 1.2s steps(2) infinite }
.gt-stage.gt-life .gt-mnr { animation: gt-bob .9s steps(2) infinite }
.gt-stage.gt-life .gt-gh { animation: gt-ghost 2.6s ease-in-out infinite }
.gt-stage.gt-life .gt-thr { animation: gt-thrust .25s steps(2) infinite }
.gt-stage.gt-life .gt-blink { animation: gt-blink 1s steps(2) infinite }
#tab-goals.gt-life .gt-pill.bad { animation: gt-blink 1.1s steps(2) infinite }
#tab-goals.gt-life .gt-lvup { animation: gt-pop 1.6s ease-in-out infinite }
/* the intro, each time the tab is shown: the lit floors come on, the party and the ghost rise to their floors, the bars grow */
.gt-life.gt-run .gt-fl { animation: gt-flon .45s ease-out var(--d, 0s) both }
.gt-life.gt-run .gt-lift, .gt-life.gt-run .gt-rise { animation: gt-up 2.6s cubic-bezier(.2, .8, .2, 1) both }
#tab-goals.gt-life.gt-run .gt-mb { animation: gt-grow 1s cubic-bezier(.2, .8, .2, 1) both }
/* a win: banner, flash, sparks, the boss shakes and the damage floats up; a level up: banner, flash and sparks */
.gt-life.gt-win .gt-banner, .gt-life.gt-lvl .gt-banner { animation: gt-bannerin 2.4s ease-out forwards }
.gt-life.gt-win .gt-flash, .gt-life.gt-lvl .gt-flash { animation: gt-flash .5s ease-out }
.gt-life.gt-win .gt-spark, .gt-life.gt-lvl .gt-spark { animation: gt-burst 1.1s ease-out var(--sd, 0s) forwards }
.gt-life.gt-win .gt-boss { animation: gt-shake .45s linear .5s 2 }
.gt-life.gt-win .gt-dmg { animation: gt-dmg 1.4s ease-out .5s forwards }
.gt-paused * { animation-play-state: paused !important }
@keyframes gt-blink { 50% { opacity: .25 } }
@keyframes gt-bob { 50% { transform: translateY(-2px) } }
@keyframes gt-tw { 0%, 100% { opacity: .25 } 50% { opacity: 1 } }
@keyframes gt-flick { 0%, 92%, 100% { opacity: 1 } 94% { opacity: .2 } 96% { opacity: .9 } 97% { opacity: .3 } }
@keyframes gt-drive { from { transform: translateX(-80px) } to { transform: translateX(1100px) } }
@keyframes gt-driveL { from { transform: translateX(1100px) } to { transform: translateX(-80px) } }
@keyframes gt-drive-p { from { transform: translateX(-80px) } to { transform: translateX(460px) } }
@keyframes gt-driveL-p { from { transform: translateX(460px) } to { transform: translateX(-80px) } }
@keyframes gt-blimp { from { transform: translateX(-260px) } to { transform: translateX(1120px) } }
@keyframes gt-blimp-p { from { transform: translateX(-260px) } to { transform: translateX(480px) } }
@keyframes gt-drift { from { transform: translateX(-120px) } to { transform: translateX(120px) } }
@keyframes gt-spin { to { transform: rotate(360deg) } }
@keyframes gt-ghost { 0%, 100% { opacity: .75; transform: translateY(0) } 50% { opacity: .4; transform: translateY(-3px) } }
@keyframes gt-thrust { 0%, 100% { opacity: 1; transform: scaleY(1) } 50% { opacity: .6; transform: scaleY(.6) } }
@keyframes gt-sunband { from { transform: translateY(0) } to { transform: translateY(12px) } }
@keyframes gt-pop { 0%, 100% { transform: translateX(-50%) translateY(0) } 50% { transform: translateX(-50%) translateY(-3px) } }
@keyframes gt-flon { from { opacity: 0 } }
@keyframes gt-up { from { transform: translateY(var(--rise, 0px)) } to { transform: none } }
@keyframes gt-grow { from { height: 0 } }
@keyframes gt-bannerin { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) } 20% { transform: translate(-50%, -50%) scale(1) } 80% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1) } }
@keyframes gt-flash { 0% { opacity: .55 } 100% { opacity: 0 } }
@keyframes gt-burst { 0% { opacity: 1; transform: translate(0, 0) scale(1) } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) } }
@keyframes gt-shake { 0%, 100% { transform: translate(0, 0) } 20% { transform: translate(-4px, 1px) } 40% { transform: translate(4px, -1px) } 60% { transform: translate(-3px, 0) } 80% { transform: translate(3px, 1px) } }
@keyframes gt-dmg { 0% { opacity: 1; transform: translateY(0) } 100% { opacity: 0; transform: translateY(-38px) } }
/* the sky in motion (clouds drift, rain and snow fall, a storm flashes) and the boss's halo and aura; every keyframe moves transform or opacity only */
.gt-stage.gt-life .gt-cloud { will-change: transform }
.gt-stage.gt-life .gt-cloud.k1 { animation: gt-cloud 140s linear infinite } .gt-stage.gt-life .gt-cloud.k2 { animation: gt-cloud 95s linear infinite } .gt-stage.gt-life .gt-cloud.k3 { animation: gt-cloud 200s linear infinite }
.gt-stage.gt-life .gt-rain.r1 { animation: gt-fall .55s linear infinite } .gt-stage.gt-life .gt-rain.r2 { animation: gt-fall .45s linear infinite }
.gt-stage.gt-life .gt-snow.s1 { animation: gt-fall 7s linear infinite } .gt-stage.gt-life .gt-snow.s2 { animation: gt-fall 5s linear infinite }
.gt-stage.gt-life.gt-wx--storm .gt-wflash { animation: gt-wflash 9s infinite }
.gt-stage.gt-life .gt-halo { transform-box: fill-box; transform-origin: 50% 50%; animation: gt-spin 24s linear infinite }
.gt-stage.gt-life .gt-aura { animation: gt-aura 2.4s ease-in-out infinite }
.gt-stage.gt-life .gt-mglow { animation: gt-mglow 1.8s ease-in-out infinite }
/* the fight in the party's room: one 16 second cycle shared by every piece (see the beats in gt-ft-*, gt-bolt, gt-foe, gt-hit, gt-pop1, gt-pop2, gt-shock) */
.gt-bolt, .gt-hit, .gt-pop1, .gt-pop2, .gt-shock, .gt-waura { pointer-events: none }
.gt-stage.gt-life .gt-ft-m1 { animation: gt-ftm1 16s linear infinite } .gt-stage.gt-life .gt-ft-m2 { animation: gt-ftm2 16s linear infinite } .gt-stage.gt-life .gt-ft-r { animation: gt-ftr 16s linear infinite }
.gt-stage.gt-life .gt-bolt { animation: gt-bolt 16s linear calc(var(--k, 0) * .12s) infinite }
.gt-stage.gt-life .gt-foe { animation: gt-foe 16s linear infinite }
.gt-stage.gt-life .gt-foeflash { animation: gt-foeflash 16s linear infinite }
.gt-stage.gt-life .gt-hit { animation: gt-hit 16s linear infinite }
.gt-stage.gt-life .gt-pop1 { animation: gt-pop1 16s linear infinite } .gt-stage.gt-life .gt-pop2 { animation: gt-pop2 16s linear infinite }
.gt-stage.gt-life .gt-shock { animation: gt-shock 16s linear infinite }
.gt-stage.gt-life .gt-waura { animation: gt-waura 16s linear infinite }
.gt-stage.gt-life .gt-wd .gt-mglow { animation: gt-wglow 16s linear infinite }
@keyframes gt-ftm1 { 0% { transform: translate(0, 0) } 10% { transform: translate(0, 0) } 14.5% { transform: translate(var(--dash), 0) } 15.5% { transform: translate(var(--dash), 0) } 18% { transform: translate(0, 0) } 46% { transform: translate(0, 0) } 48% { transform: translate(-4px, 0) } 50% { transform: translate(0, 0) } 87% { transform: translate(0, 0) } 88% { transform: translate(0, -10px) } 90.5% { transform: translate(0, -10px) } 91.5% { transform: translate(0, 0) } 92% { transform: translate(0, 0) } 95.5% { transform: translate(var(--dash), 0) } 96.5% { transform: translate(var(--dash), 0) } 99% { transform: translate(0, 0) } 100% { transform: translate(0, 0) } }
@keyframes gt-ftm2 { 0% { transform: translate(0, 0) } 46% { transform: translate(0, 0) } 48% { transform: translate(-4px, 0) } 50% { transform: translate(0, 0) } 60% { transform: translate(0, 0) } 63.5% { transform: translate(var(--dash), 0) } 64.5% { transform: translate(calc(var(--dash) * .8), 0) } 66.5% { transform: translate(var(--dash), 0) } 67.5% { transform: translate(var(--dash), 0) } 70% { transform: translate(0, 0) } 87% { transform: translate(0, 0) } 88% { transform: translate(0, -10px) } 90.5% { transform: translate(0, -10px) } 91.5% { transform: translate(0, 0) } 92% { transform: translate(0, 0) } 95.5% { transform: translate(var(--dash), 0) } 96.5% { transform: translate(var(--dash), 0) } 99% { transform: translate(0, 0) } 100% { transform: translate(0, 0) } }
@keyframes gt-ftr { 0% { transform: translate(0, 0) } 25% { transform: translate(0, 0) } 26.5% { transform: translate(-2px, 0) } 28% { transform: translate(0, 0) } 46% { transform: translate(0, 0) } 48% { transform: translate(-4px, 0) } 50% { transform: translate(0, 0) } 87% { transform: translate(0, 0) } 88% { transform: translate(0, -10px) } 90.5% { transform: translate(0, -10px) } 91.5% { transform: translate(0, 0) } 92% { transform: translate(0, 0) } 93.5% { transform: translate(-2px, 0) } 95% { transform: translate(0, 0) } 100% { transform: translate(0, 0) } }
@keyframes gt-bolt { 0% { opacity: 0; transform: translate(0, 0) } 24.9% { opacity: 0; transform: translate(0, 0) } 25% { opacity: 1; transform: translate(0, 0) } 32% { opacity: 1; transform: translate(var(--dash), 0) } 32.5% { opacity: 0; transform: translate(var(--dash), 0) } 33% { opacity: 0; transform: translate(0, 0) } 91.9% { opacity: 0; transform: translate(0, 0) } 92% { opacity: 1; transform: translate(0, 0) } 96% { opacity: 1; transform: translate(var(--dash), 0) } 96.5% { opacity: 0; transform: translate(var(--dash), 0) } 97% { opacity: 0; transform: translate(0, 0) } 100% { opacity: 0; transform: translate(0, 0) } }
@keyframes gt-foe { 0% { transform: translate(0, 0) } 14.8% { transform: translate(0, 0) } 15.2% { transform: translate(4px, 0) } 17% { transform: translate(0, 0) } 31.8% { transform: translate(0, 0) } 32.2% { transform: translate(4px, 0) } 34% { transform: translate(0, 0) } 42% { transform: translate(0, 0) } 46% { transform: translate(calc(var(--lunge) * -1), 0) } 48% { transform: translate(calc(var(--lunge) * -1), 0) } 52% { transform: translate(0, 0) } 63.8% { transform: translate(0, 0) } 64.2% { transform: translate(4px, 0) } 66.2% { transform: translate(0, 0) } 66.8% { transform: translate(0, 0) } 67.2% { transform: translate(4px, 0) } 69% { transform: translate(0, 0) } 95.8% { transform: translate(0, 0) } 96.2% { transform: translate(7px, 0) } 98.5% { transform: translate(0, 0) } 100% { transform: translate(0, 0) } }
@keyframes gt-foeflash { 0% { opacity: 0 } 14.8% { opacity: 0 } 15% { opacity: .9 } 17% { opacity: 0 } 31.8% { opacity: 0 } 32% { opacity: .9 } 34% { opacity: 0 } 63.8% { opacity: 0 } 64% { opacity: .9 } 65.5% { opacity: 0 } 66.8% { opacity: 0 } 67% { opacity: .9 } 68.5% { opacity: 0 } 95.8% { opacity: 0 } 96% { opacity: 1 } 98% { opacity: 0 } 100% { opacity: 0 } }
@keyframes gt-hit { 0% { opacity: 0; transform: translate(0, 0) } 14.8% { opacity: 0; transform: translate(0, 0) } 15% { opacity: 1; transform: translate(0, 0) } 17.5% { opacity: 0; transform: translate(var(--dx), var(--dy)) } 31.8% { opacity: 0; transform: translate(0, 0) } 32% { opacity: 1; transform: translate(0, 0) } 34.5% { opacity: 0; transform: translate(var(--dx), var(--dy)) } 63.8% { opacity: 0; transform: translate(0, 0) } 64% { opacity: 1; transform: translate(0, 0) } 66.5% { opacity: 0; transform: translate(var(--dx), var(--dy)) } 66.8% { opacity: 0; transform: translate(0, 0) } 67% { opacity: 1; transform: translate(0, 0) } 69.5% { opacity: 0; transform: translate(var(--dx), var(--dy)) } 95.8% { opacity: 0; transform: translate(0, 0) } 96% { opacity: 1; transform: translate(0, 0) } 98.5% { opacity: 0; transform: translate(var(--dx), var(--dy)) } 100% { opacity: 0; transform: translate(0, 0) } }
@keyframes gt-pop1 { 0% { opacity: 0; transform: translate(0, 0) } 14.8% { opacity: 0; transform: translate(0, 0) } 15.3% { opacity: 1; transform: translate(0, -4px) } 17.6% { opacity: 0; transform: translate(0, -14px) } 31.8% { opacity: 0; transform: translate(0, 0) } 32.3% { opacity: 1; transform: translate(0, -4px) } 34.6% { opacity: 0; transform: translate(0, -14px) } 63.8% { opacity: 0; transform: translate(0, 0) } 64.3% { opacity: 1; transform: translate(0, -4px) } 66.6% { opacity: 0; transform: translate(0, -14px) } 66.8% { opacity: 0; transform: translate(0, 0) } 67.3% { opacity: 1; transform: translate(0, -4px) } 69.6% { opacity: 0; transform: translate(0, -14px) } 100% { opacity: 0; transform: translate(0, 0) } }
@keyframes gt-pop2 { 0% { opacity: 0; transform: translate(0, 0) } 95.8% { opacity: 0; transform: translate(0, 0) } 96.3% { opacity: 1; transform: translate(0, -4px) } 99% { opacity: 0; transform: translate(0, -16px) } 100% { opacity: 0; transform: translate(0, 0) } }
@keyframes gt-shock { 0% { opacity: 0; transform: translate(0, 0) } 86.9% { opacity: 0; transform: translate(0, 0) } 87% { opacity: 0.9; transform: translate(0, 0) } 90.5% { opacity: 0.9; transform: translate(calc(var(--sd) * -1), 0) } 91% { opacity: 0; transform: translate(calc(var(--sd) * -1), 0) } 91.1% { opacity: 0; transform: translate(0, 0) } 100% { opacity: 0; transform: translate(0, 0) } }
@keyframes gt-waura { 0% { opacity: 0 } 78% { opacity: 0 } 86% { opacity: .6 } 90.5% { opacity: .6 } 92% { opacity: 0 } 100% { opacity: 0 } }
@keyframes gt-wglow { 0% { opacity: .65 } 78% { opacity: .65 } 85% { opacity: 1 } 90.5% { opacity: 1 } 92% { opacity: .65 } 100% { opacity: .65 } }
@keyframes gt-mglow { 0%, 100% { opacity: 1 } 50% { opacity: .55 } }
@keyframes gt-aura { 0%, 100% { opacity: .25 } 50% { opacity: .6 } }
@keyframes gt-cloud { to { transform: translateX(calc(var(--cw) * -1)) } }
@keyframes gt-fall { to { transform: translateY(var(--t)) } }
@keyframes gt-wflash { 0%, 94%, 100% { opacity: 0 } 95% { opacity: .35 } 96% { opacity: 0 } 97% { opacity: .22 } }
@media (prefers-reduced-motion: reduce) { .gt-stage, .gt-stage *, #tab-goals .gt-pill, #tab-goals .gt-lvup, #tab-goals .gt-mb { animation: none !important; transition: none !important } }

/* ---- MY WEEK and CLIENTS (2026-11-03): each person's own week, and one card per client. Red / amber / green are the only status colors. */
:root { --st-red: #ff5a5f; --st-amber: #ff9f43; --st-green: #5fe08a }
/* MY WEEK v2 (2026-11-16, Andrew approved the mockup): next step, today's run, one prep card per meeting, the week, the hit list, three count tiles. Every class is my-; nothing here touches another tab. */
#tab-mine { --my-red: #ff4d6d; --my-coin: #ffd166 }
#tab-mine [hidden] { display: none !important }
.my-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 30px } .my-bar .tabh { margin: 0 } .my-bar .tabh b { color: var(--pink); font-weight: inherit }
.my-unit { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap }
.my-lv { font-family: var(--pixel); font-size: 9px; line-height: 1; background: var(--purple); color: #000; padding: 6px 7px; border: 3px solid var(--ink) }
.my-hp { display: flex; align-items: center; gap: 6px; font-family: var(--num); font-size: 17px; color: var(--muted) } .my-hp .hpbar { flex: 0 0 110px; height: 14px }
.my-streak { display: flex; align-items: center; gap: 4px; font-family: var(--num); font-size: 20px; line-height: 1; color: var(--orange); cursor: help } .my-streak svg { width: 18px; height: 22px }
.my-streak.my-cold { color: var(--dim) } .my-streak.my-cold svg { filter: grayscale(1); opacity: .5 }
.my-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative; margin-top: 12px }
.my-k { font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
.my-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px } .my-head .my-k { font-size: 9px; color: #fff; margin-right: auto }
.my-sub { font-family: var(--body); font-size: 12px; color: var(--muted) }
.my-say { font-family: var(--body); font-size: 13.5px; color: var(--fg); margin: 8px 0 0 } .my-say::before { content: "\25B8  "; color: var(--pink) }
.my-msg { font-family: var(--body); font-size: 15px; color: var(--muted); margin: 8px 0 0 }
#tab-mine .btn { display: inline-block; text-decoration: none; text-align: center; font-size: 9px; line-height: 1; padding: 11px 12px; border-width: 3px; box-shadow: 3px 3px 0 var(--ink) }
#tab-mine .btn.primary { background: var(--cyan); border-color: var(--ink); color: #000 } #tab-mine .btn.primary:hover { background: var(--fg) }
#tab-mine .btn:not(.primary) { background: var(--panel2); border-color: var(--ink); color: var(--muted) } #tab-mine .btn:not(.primary):hover { background: var(--panel2); color: #fff }
/* NEXT UP */
.my-hero { border-top: 8px solid var(--pink); padding: 14px 18px; overflow: hidden }
.my-hero.my-meet { border-top-color: var(--cyan) } .my-hero .my-k { color: var(--pink); font-size: 10px } .my-hero.my-meet .my-k { color: var(--cyan) }
.my-nx { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center }
.my-what { font-family: var(--body); font-weight: 600; font-size: 22px; line-height: 1.25; margin: 6px 0 4px; overflow-wrap: anywhere }
.my-why { font-family: var(--body); font-size: 14px; color: var(--muted) } .my-why b { color: var(--yellow); font-weight: 600 } .my-why .my-late { color: var(--my-red) }
.my-q { font-family: var(--body); font-size: 12px; color: var(--dim); margin-top: 4px }
.my-acts { display: flex; flex-direction: column; gap: 8px }
.my-hero.my-clear { border-top-color: var(--green); text-align: center } .my-big { font-family: var(--pixel); font-size: 26px; line-height: 1.3; color: var(--green); margin-top: 6px }
.my-conf { position: absolute; width: 8px; height: 8px; top: -10px }
/* TODAY'S RUN */
.my-runscroll { overflow-x: auto; overflow-y: hidden; margin-top: 4px }
.my-roadbox { position: relative }
.my-svg { width: 100%; height: auto; display: block; overflow: visible }
.my-svg .my-road { fill: none; stroke: #2a1a5c; stroke-width: 16; stroke-linecap: round } .my-svg .my-dash { fill: none; stroke: #ffffff26; stroke-width: 2; stroke-dasharray: 8 10 }
.my-svg .my-trail { fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--pink)) }
.my-svg .my-node { cursor: pointer; transform-box: fill-box; transform-origin: center } .my-svg .my-node:hover, .my-svg .my-node.my-sel { transform: scale(1.25) } .my-svg .my-node:focus-visible { outline: 2px solid #fff }
.my-svg .my-node.my-past { opacity: .45 }
.my-svg text { font: 12px var(--body); fill: var(--muted) } .my-svg text.my-t { font: 400 15px var(--num); fill: var(--fg) } .my-svg text.my-hr { font: 400 14px var(--num); fill: var(--dim) }
.my-sprite { position: absolute; width: 36px; height: 48px; transform: translateX(-50%); pointer-events: none }
.my-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--body); font-size: 12px; color: var(--muted); margin-top: 4px } .my-lg i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; border: 2px solid var(--ink) }
.my-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px } .my-chip { font-family: var(--body); font-size: 12px; color: #000; background: var(--yellow); border: 2px solid var(--ink); padding: 3px 8px; text-decoration: none }
.my-t-prospect { background: var(--pink) } .my-t-client { background: var(--green) } .my-t-team { background: var(--purple) } .my-t-focus { background: #3a2d6e; color: var(--muted) } .my-t-other { background: var(--yellow) }
/* PREP */
.my-prep { margin-top: 12px; border-top: 8px solid var(--cyan); padding-right: 40px }
.my-prep h3 { font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 4px 0 6px; letter-spacing: 0 }
.my-tag { font-family: var(--pixel); font-size: 8px; line-height: 1; padding: 4px 6px; color: #000; margin-right: 6px; display: inline-block }
.my-pg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px } .my-pg .my-wide { grid-column: span 2 }
.my-stat .my-v { font-family: var(--num); font-size: 38px; line-height: .9; color: var(--cyan) } .my-stat .my-v small { font-size: 18px; color: var(--muted) }
.my-stat p { margin: 4px 0 0; font-family: var(--body); font-size: 13px; color: var(--muted) } .my-stat p.my-fgp { color: var(--fg) }
.my-odds { height: 14px; border: 3px solid var(--ink); background: var(--panel2); margin-top: 6px } .my-odds i { display: block; height: 100% }
.my-coin { display: inline-flex; align-items: center; gap: 6px; font-family: var(--num); font-size: 20px; color: var(--my-coin) } .my-coin i { width: 14px; height: 14px; background: var(--my-coin); border: 2px solid #b07d00; border-radius: 50% }
.my-pcoin { font-size: 34px } .my-pcoin small { font-size: 16px; color: var(--muted) }
.my-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-family: var(--pixel); font-size: 10px; cursor: pointer } .my-close:hover { color: #fff }
.my-link { background: none; border: 0; padding: 0; font: inherit; font-family: var(--body); font-size: 13px; color: var(--cyan); cursor: pointer; text-decoration: underline }
/* THIS WEEK */
.my-wkhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px } .my-wkhead .my-k { font-size: 9px; color: #fff }
.my-ring { display: flex; align-items: center; gap: 8px; font-family: var(--num); font-size: 18px; color: var(--muted) } .my-ring svg { width: 38px; height: 38px; transform: rotate(-90deg) } .my-ring b { color: var(--green); font-size: 24px; font-weight: 400 }
.my-wscroll { overflow-x: auto; overflow-y: hidden; padding-bottom: 12px; margin-top: 10px }
.my-weekgrid { display: grid; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 0 6px; position: relative }
.my-col { position: relative; height: 330px; background: var(--panel2); border: 2px solid var(--ink) } .my-col.my-today { outline: 2px solid var(--pink); background: #ff3ea50f }
.my-colh { text-align: center; padding: 4px 0 6px } .my-colh .my-dw { font-family: var(--pixel); font-size: 8px; color: var(--muted) } .my-colh.my-today .my-dw { color: var(--pink) }
.my-pips { display: flex; justify-content: center; gap: 3px; margin-top: 5px; min-height: 9px } .my-pips i { width: 8px; height: 8px; border: 2px solid var(--cyan) } .my-pips i.my-dn { background: var(--green); border-color: var(--green) }
.my-hrs { position: relative; height: 330px } .my-hrs span { position: absolute; right: 2px; font-family: var(--num); font-size: 13px; color: var(--dim); transform: translateY(-50%) }
.my-gl { position: absolute; left: 0; right: 0; border-top: 1px solid #ffffff0d }
.my-blk { position: absolute; border: 2px solid var(--ink); padding: 1px 4px; font-family: var(--body); font-size: 10.5px; line-height: 1.2; overflow: hidden; color: #000; cursor: pointer; transform-origin: top; font-weight: 600; text-align: left }
.my-blk:hover, .my-blk.my-sel { filter: brightness(1.25); z-index: 2 } .my-blk.my-past { opacity: .4 } .my-blk:focus-visible { outline: 2px solid #fff; z-index: 2 }
.my-nowl { position: absolute; left: -2px; right: -2px; border-top: 3px solid var(--pink); box-shadow: 0 0 8px var(--pink); z-index: 3 } .my-nowl::before { content: ""; position: absolute; left: -5px; top: -6px; width: 9px; height: 9px; background: var(--pink) }
.my-wknote { font-family: var(--body); font-size: 12px; color: var(--dim); margin: 6px 0 0 }
/* HIT LIST */
.my-hits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px }
.my-hit { background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px; cursor: pointer; position: relative; text-align: left; color: var(--fg); font: inherit; display: block; width: 100% }
.my-hit:hover { transform: translateY(-3px) } .my-hit .my-rk { position: absolute; top: -10px; left: -8px; font-family: var(--pixel); font-size: 8px; background: var(--yellow); color: #000; padding: 4px 5px; border: 2px solid var(--ink) }
.my-hit .my-nm { display: block; font-family: var(--body); font-weight: 600; font-size: 14px; margin-top: 2px; text-transform: capitalize; overflow-wrap: anywhere }
.my-hit .my-bk { font-family: var(--pixel); font-size: 7px; line-height: 1.2; margin-top: 5px; display: inline-block; padding: 3px 4px; color: #000 }
.my-heat { height: 8px; background: #2a1a5c; margin-top: 8px } .my-heat i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--my-red)) }
.ta-bars { margin-top: 10px; display: grid; gap: 7px }
.ta-row { display: grid; grid-template-columns: minmax(110px, 190px) 1fr 44px; align-items: center; gap: 10px; font-family: var(--body); font-size: 12.5px; color: var(--fg) }
.ta-b { height: 10px; background: #2a1a5c; display: block } .ta-b i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)) }
.ta-h { text-align: right; color: var(--muted) } .ta-grey .ta-b i { background: #6b6786 } .ta-grey .ta-l { color: var(--muted) }
@media (max-width: 480px) { .ta-row { grid-template-columns: 1fr 44px; gap: 4px 8px } .ta-l { grid-column: 1 / -1 } .ta-b { grid-column: 1 } }
.ta-card { cursor: pointer } .ta-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.ta-hint { margin: 10px 0 0; font-family: var(--body); font-size: 11.5px; color: var(--muted) }
.tv-sec { margin-top: 14px } .tv-sec .dr-h3 { margin: 0 0 6px }
.tv-say { margin: 0 0 8px; font-size: 16px; line-height: 1.4; color: #fff; max-width: 60ch; overflow-wrap: anywhere }
.tv-msg { margin: 0; font-size: 14px; color: var(--muted) }
.tv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--body); font-size: 13px; color: var(--fg) }
.tv-list li { overflow-wrap: anywhere } .tv-gap { color: var(--muted) } .tv-fix { margin: 2px 0 0; color: var(--fg) }
.tv-chip { display: inline-block; font-family: var(--pixel); font-size: 7px; line-height: 1; padding: 4px 5px; border: 2px solid var(--ink); background: var(--panel2); color: var(--muted); vertical-align: middle }
.tv-ready { background: var(--green); color: #000 } .tv-time_only, .tv-money_only { background: var(--gold); color: #000 }
.tv-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px }
.tv-pers { display: grid; gap: 10px } .tv-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--body); font-size: 13px; color: var(--fg) }
.tv-bar { display: flex; height: 14px; background: #2a1a5c; overflow: hidden } .tv-bar i { display: block; height: 100% }
.tv-rev { margin: 3px 0 0; font-family: var(--body); font-size: 12px; color: var(--muted) }
.tv-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-family: var(--body); font-size: 11.5px; color: var(--muted) }
.tv-key i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: baseline }
.tv-foot { margin: 10px 0 0; font-family: var(--body); font-size: 11.5px; color: var(--muted) }
.my-hit .my-nxt { display: block; font-family: var(--body); font-size: 12px; color: var(--muted); margin-top: 6px } .my-hit .my-nxt b { color: var(--cyan); font-weight: 600 }
.my-hit .my-wy { display: none; font-family: var(--body); font-size: 12px; color: var(--fg); margin-top: 6px } .my-hit.my-open .my-wy { display: block }
.my-hit.my-today { border-color: var(--pink); box-shadow: 3px 3px 0 var(--ink), 0 0 14px #ff3ea570 }
/* TILES */
.my-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px }
.my-tile { cursor: pointer; text-align: left; font: inherit; color: inherit; border-top-width: 8px; padding: 10px 14px; margin-top: 0; display: block; width: 100%; appearance: none; -webkit-appearance: none }
.my-tile:hover, .my-tile[aria-expanded="true"] { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px #ff3ea540 }
.my-tile .my-row1 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap } .my-tile .my-v { font-family: var(--num); font-size: 46px; line-height: .9; margin-top: 4px }
.my-tile.my-red { border-top-color: var(--my-red) } .my-tile.my-red .my-v { color: var(--my-red) } .my-tile.my-cyan { border-top-color: var(--cyan) } .my-tile.my-cyan .my-v { color: var(--cyan) }
.my-tile.my-yel { border-top-color: var(--yellow) } .my-tile.my-yel .my-v { color: var(--yellow) } .my-tile.my-grn { border-top-color: var(--green) } .my-tile.my-grn .my-v { color: var(--green) } .my-tile.my-dim .my-v { color: var(--dim) }
.my-boss { display: block; height: 10px; border: 3px solid var(--ink); background: var(--panel2); margin-top: 6px } .my-boss i { display: block; height: 100%; background: var(--my-red) }
.my-drawer h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.5; color: var(--pink); margin: 0 0 8px }
.my-ll { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px } .my-ll li { break-inside: avoid; padding: 6px 0; border-top: 1px solid #ffffff10; font-family: var(--body); font-size: 13.5px; overflow-wrap: anywhere }
.my-ll a { color: var(--fg); text-decoration-color: var(--pink) } .my-ll a:hover { color: var(--pink) }
.my-ll .my-m { display: block; font-size: 12px; color: var(--muted) } .my-ll .my-m b { color: var(--my-red); font-weight: 600 } .my-ll .my-m .my-dw { color: var(--cyan) }
.my-more { font-family: var(--body); font-size: 12px; color: var(--dim); margin: 8px 0 0 }
@media (max-width: 980px) { .my-hits { grid-template-columns: repeat(3, minmax(0, 1fr)) } .my-pg { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) {
  .my-unit { margin-left: 0 } .my-nx { grid-template-columns: minmax(0, 1fr) } .my-acts { flex-direction: row } .my-acts .btn { flex: 1 } .my-what { font-size: 19px }
  .my-roadbox { min-width: 640px } .my-sprite { transform: translateX(-50%) scale(.7); transform-origin: bottom center }
  .my-pg { grid-template-columns: minmax(0, 1fr) } .my-pg .my-wide { grid-column: auto }
  .my-weekgrid { min-width: 620px } .my-hits { grid-template-columns: repeat(2, minmax(0, 1fr)) } .my-ll { columns: 1 }
  .my-tiles { gap: 8px } .my-tile { padding: 9px } .my-tile .my-v { font-size: 38px } .my-tile .my-k { font-size: 7px } .my-card { box-shadow: 4px 4px 0 var(--ink) }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes my-flick { 50% { transform: scaleY(.9) translateY(1px) } } .my-streak:not(.my-cold) svg { animation: my-flick .5s steps(2) infinite }
  @keyframes my-growx { from { width: 0 } } .my-hp .hpbar i, .my-odds i, .my-heat i, .my-boss i { animation: my-growx 1s cubic-bezier(.2, .9, .2, 1) both }
  @keyframes my-in { from { opacity: 0; transform: translateX(16px) } } .my-nx:not([hidden]) .my-what { animation: my-in .35s ease-out }
  @keyframes my-glow { 50% { text-shadow: 0 0 18px var(--green) } } .my-big { animation: my-glow 1.2s ease-in-out infinite }
  @keyframes my-fall { to { transform: translateY(220px) rotate(300deg); opacity: 0 } } .my-conf { animation: my-fall 2.2s linear infinite }
  @keyframes my-draw { to { stroke-dashoffset: 0 } } .my-svg .my-trail { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: my-draw 1.4s ease-out .2s forwards }
  @keyframes my-pop { from { transform: scale(.7); opacity: 0 } } .my-svg .my-node, .my-hit { animation: my-pop .4s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: var(--d, 0s) } .my-svg .my-node { transition: transform .15s } .my-hit { transition: transform .12s }
  @keyframes my-pulse { 50% { stroke-width: 7; stroke: #fff } } .my-svg .my-node.my-next circle.my-n { animation: my-pulse 1s ease-in-out infinite }
  @keyframes my-bob { 50% { translate: 0 -3px } } .my-sprite { animation: my-bob .6s steps(2) infinite }
  @keyframes my-drop { from { opacity: 0; transform: translateY(-8px) } } .my-prepc:not([hidden]), .my-drawer:not([hidden]) { animation: my-drop .25s ease-out }
  @keyframes my-grow { from { transform: scaleY(0) } } .my-blk { animation: my-grow .5s cubic-bezier(.2, .9, .2, 1) both; animation-delay: var(--d, 0s) }
  @keyframes my-spin { 50% { transform: scaleX(.2) } } .my-coin i { animation: my-spin 1.6s linear infinite }
  @keyframes my-ringg { from { stroke-dasharray: 0 100 } } .my-ring circle.my-f { animation: my-ringg 1s ease-out both } .my-tile { transition: transform .12s, box-shadow .12s }
}

/* STAY RISK (board_client_health): the badge on each card and the block at the top of a client view */
.cl-stay { display: inline-block; align-self: flex-start; max-width: 100%; font-family: var(--pixel); font-size: 8px; line-height: 1.5; letter-spacing: .04em; padding: 4px 8px; border: 3px solid currentColor; background: var(--ink); overflow-wrap: anywhere }
.cl-stay.stay-red { color: var(--st-red) } .cl-stay.stay-amber { color: var(--st-amber) } .cl-stay.stay-green { color: var(--st-green) }
.hl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px }
.hl-pts { font-family: var(--num); font-size: 22px; color: #fff }
.hl-next { margin: 0 0 8px }
.hl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.hl-sig { display: grid; gap: 4px; min-width: 0; padding: 8px 10px; background: var(--panel2); border-left: 6px solid var(--st-amber); font-family: var(--body); font-size: 15px; overflow-wrap: anywhere }
.hl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px }
.hl-w { font-family: var(--num); font-size: 20px; color: var(--st-amber); white-space: nowrap } .hl-w.zero { font-family: var(--body); font-size: 13px; color: var(--muted) }
.hl-ev small { color: var(--muted) } .hl-trk { color: var(--muted); font-size: 14px } .hl-play { font-size: 14px }
.hl-dismiss { justify-self: start; min-height: 44px }
.hl-note { color: var(--st-red); margin: 6px 0 0 } .hl-note:empty { display: none }
.hl-how { margin-top: 8px; font-family: var(--body); font-size: 14px } .hl-how summary { cursor: pointer; color: var(--gold); min-height: 44px; display: flex; align-items: center }

.neg { color: var(--st-red) } 

.cl-whys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.cl-whys li { display: grid; gap: 2px; padding: 8px 10px; background: var(--panel2); border-left: 6px solid var(--st-amber); font-family: var(--body); font-size: 14px }
.cl-whys li.red { border-left-color: var(--st-red) }
.cl-whys li span { color: var(--muted) }
.cl-work-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-family: var(--body); font-size: 15px }
.cl-work-list li { overflow-wrap: anywhere } .cl-work-list small { color: var(--muted); font-size: 13px }
.cl-src { color: var(--muted) }
/* ---- CLIENTS with the client portal preview (decision 1545). Everything is cp- and lives under #tab-clients. One body, two skins:
   .cp-team is the board's Workflow City look (pixel font, neon); .cp-client is the No Luck Leads brand look that a client would
   see: black, white and one orange (#f26522), Montserrat headings, no pixel font. In the client skin orange is the client's own
   numbers and main lines, white the second series, grey the period before; green and red only mark good and bad ("watch" and
   "behind" are red there, as in the approved mockup; there is no third status color). Only the tokens and a few shapes differ between the skins. Motion runs only under
   prefers-reduced-motion: no-preference, and the resting state is always the final state. */
#tab-clients .cp-team { --cp-panel: var(--panel); --cp-panel2: var(--panel2); --cp-fg: var(--fg); --cp-muted: var(--muted); --cp-dim: #6f63a0; --cp-main: var(--pink); --cp-second: var(--green); --cp-grey: #7d72ad; --cp-good: var(--green); --cp-watch: var(--yellow); --cp-bad: #ff4d6d; --cp-flat: var(--cyan); --cp-track: #2a1a5c; --cp-line: var(--ink); --cp-zone: var(--cyan); --cp-star: var(--yellow);
  --cp-head: var(--pixel); --cp-numf: var(--num); --cp-bw: 4px; --cp-radius: 0; --cp-shadow: 5px 5px 0 var(--ink); --cp-k: 400 8px/1.5 var(--pixel); --cp-kls: .03em; --cp-chipf: 400 9px/1 var(--pixel); --cp-zonef: 400 9px/1.4 var(--pixel); --cp-vf: 400 38px/.9 var(--num); --cp-leadf: 400 64px/.85 var(--num); --cp-bigf: 400 54px/.85 var(--num); --cp-midf: 400 34px/.9 var(--num); --cp-smallnum: 400 19px/1 var(--num); --cp-cntf: 400 34px/.9 var(--num); --cp-nums: 2px 2px 0 var(--ink) }
#tab-clients .cp-client { --cp-panel: #111; --cp-panel2: #0d0d0d; --cp-fg: #fff; --cp-muted: #b5b5b5; --cp-dim: #6b6b6b; --cp-main: #f26522; --cp-second: #fff; --cp-grey: #8a8a8a; --cp-good: #3ddc84; --cp-watch: #ff5a5a; --cp-bad: #ff5a5a; --cp-flat: #555; --cp-track: #262626; --cp-line: #2a2a2a; --cp-zone: #fff; --cp-star: #f26522;
  --cp-head: "Montserrat", "Inter", "Segoe UI", sans-serif; --cp-numf: "Montserrat", "Inter", "Segoe UI", sans-serif; --cp-bw: 1px; --cp-radius: 6px; --cp-shadow: none; --cp-k: 800 10.5px/1.5 var(--cp-head); --cp-kls: .08em; --cp-chipf: 800 11px/1 var(--cp-head); --cp-zonef: 900 15px/1.3 var(--cp-head); --cp-vf: 800 30px/1 var(--cp-head); --cp-leadf: 900 58px/.95 var(--cp-head); --cp-bigf: 900 38px/1.05 var(--cp-head); --cp-midf: 800 26px/1.1 var(--cp-head); --cp-smallnum: 800 14px/1 var(--cp-head); --cp-cntf: 800 28px/1 var(--cp-head); --cp-nums: none;
  background: #000; color: #fff; padding: 16px; border-radius: 8px; font-variant-numeric: tabular-nums }
#tab-clients .cp { font: 15px/1.45 var(--body); color: var(--cp-fg); min-width: 0; margin-top: 14px }
#tab-clients .cp [hidden] { display: none !important }
#tab-clients .cp-client .cp-teamonly, #tab-clients .cp-team .cp-banner { display: none }
#tab-clients .cp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px }
#tab-clients .cp-title { font: 400 16px/1.4 var(--pixel); margin: 0; color: #fff; letter-spacing: 0 } #tab-clients .cp-title b { color: var(--cp-main); font-weight: inherit }
#tab-clients .cp-client .cp-title { font: 900 22px/1.2 var(--cp-head); letter-spacing: .02em }
#tab-clients .cp-seg, #tab-clients .cp-periods, #tab-clients .cp-folds { display: flex; flex-wrap: wrap; gap: 6px }
#tab-clients .cp-chip { font: var(--cp-chipf); letter-spacing: var(--cp-kls); color: var(--cp-muted); background: var(--cp-panel2); border: 3px solid var(--cp-line); border-radius: 0; box-shadow: 3px 3px 0 var(--ink); padding: 9px 10px; cursor: pointer; -webkit-appearance: none; appearance: none }
#tab-clients .cp-chip:hover { color: #fff } #tab-clients .cp-chip:focus-visible, #tab-clients .cp-pick:focus-visible, #tab-clients .cp-dial:focus-visible, #tab-clients .cp-leads:focus-visible, #tab-clients .cp-more summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
#tab-clients .cp-chip[aria-pressed="true"], #tab-clients .cp-chip[aria-expanded="true"] { background: var(--cp-main); color: #000 }
#tab-clients .cp-team .cp-seg .cp-chip[aria-pressed="true"] { background: var(--cyan) }
#tab-clients .cp-chip small { font: 600 10px var(--body); letter-spacing: 0; margin-left: 6px; opacity: .85 }
#tab-clients .cp-chip.cp-lock { color: var(--yellow) } #tab-clients .cp-chip.cp-lock[aria-expanded="true"] { background: var(--yellow); color: #000 }
#tab-clients .cp-client .cp-chip { border: 1px solid var(--cp-line); box-shadow: none; border-radius: 4px } #tab-clients .cp-client .cp-chip[aria-pressed="true"] { border-color: var(--cp-main) }
#tab-clients .cp-pick { font: 600 13px var(--body); color: var(--cp-fg); background: var(--cp-panel2); border: 3px solid var(--cp-line); box-shadow: 3px 3px 0 var(--ink); padding: 6px 8px; max-width: 100%; min-width: 0; flex: 1 1 320px }
#tab-clients .cp-client .cp-pick { border: 1px solid var(--cp-line); box-shadow: none; border-radius: 4px }
#tab-clients .cp-cmp { font-size: 13px; color: var(--cp-muted); flex-basis: 100%; margin: 0 }
#tab-clients .cp-banner { font: 800 11px/1.5 var(--cp-head); letter-spacing: .06em; color: var(--cp-main); background: #0d0d0d; border: 1px solid var(--cp-main); border-radius: 4px; padding: 7px 10px; margin: 0 0 12px }
#tab-clients .cp-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: var(--cp-zonef); letter-spacing: .06em; color: var(--cp-zone); margin: 22px 0 10px; text-shadow: none }
#tab-clients .cp-zone::after { content: ""; flex: 1 1 40px; height: 2px; background: linear-gradient(90deg, var(--cp-zone), transparent) } #tab-clients .cp-client .cp-zone::after { background: linear-gradient(90deg, var(--cp-main), transparent) }
#tab-clients .cp-zone small { font: 400 12px var(--body); letter-spacing: 0; color: var(--cp-muted) }
#tab-clients .cp-card { display: block; background: var(--cp-panel); border: var(--cp-bw) solid var(--cp-line); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); padding: 12px 14px; min-width: 0; position: relative; color: var(--cp-fg); font: inherit; text-align: left }
#tab-clients .cp-k { display: block; font: var(--cp-k); letter-spacing: var(--cp-kls); color: var(--cp-muted); text-transform: uppercase } #tab-clients .cp-k2 { margin-top: 14px }
#tab-clients .cp-say { font-size: 13.5px; color: var(--cp-fg); margin: 8px 0 0 } #tab-clients .cp-say::before { content: "\25B8  "; color: var(--cp-main) }
#tab-clients .cp-sub { font-size: 12.5px; color: var(--cp-muted); margin: 6px 0 0 } #tab-clients .cp-sub b { color: var(--cp-fg) }
#tab-clients .cp-nil { font-size: 14px; color: var(--cp-dim); font-weight: 600 }
#tab-clients .cp-gate { border-style: dashed }
#tab-clients .cp-hello { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 4px 0 12px } #tab-clients .cp-hello h3 { font: 400 13px/1.5 var(--pixel); margin: 0; color: var(--yellow) } #tab-clients .cp-hello span { font-size: 13px; color: var(--cp-muted) }
#tab-clients .cp-client .cp-hello h3 { font: 900 24px/1.2 var(--cp-head); color: #fff }
#tab-clients .cp-note { border-left: 12px solid var(--cp-main) } #tab-clients .cp-team .cp-note { border-left-color: var(--yellow) } #tab-clients .cp-note .cp-k { color: var(--cp-main) } #tab-clients .cp-team .cp-note .cp-k { color: var(--yellow) } #tab-clients .cp-note p { margin: 6px 0 0; font-size: 14px }
#tab-clients .cp-row2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; margin-top: 12px } #tab-clients .cp-zone + .cp-row2 { margin-top: 0 }
#tab-clients .cp-row3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px }
#tab-clients .cp-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px } #tab-clients .cp-chead .cp-k { color: #fff; margin-right: auto } #tab-clients .cp-w { font-size: 12px; color: var(--cp-muted) }
#tab-clients .cp-client .cp-chead .cp-k { font-size: 11.5px }
#tab-clients .cp-kpis { display: grid; grid-template-columns: minmax(max-content, 1.5fr) 1fr; gap: 10px 14px; margin-top: 8px } #tab-clients .cp-big, #tab-clients .cp-mid { white-space: nowrap }
#tab-clients .cp-big { font: var(--cp-bigf); color: var(--cp-second); text-shadow: var(--cp-nums); overflow-wrap: anywhere } #tab-clients .cp-mid { font: var(--cp-midf); color: var(--cp-fg); text-shadow: var(--cp-nums); overflow-wrap: anywhere } #tab-clients .cp-mid.cp-acc { color: var(--cp-main) }
#tab-clients .cp-client .cp-big { color: #fff } #tab-clients .cp-d { font-size: 12px; color: var(--cp-muted); margin-top: 3px }
#tab-clients .cp-lc { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible }
#tab-clients .cp-lc .cp-grid { stroke: #ffffff14 } #tab-clients .cp-lc text { font: 11px var(--body); fill: var(--cp-muted) }
#tab-clients .cp-line { fill: none; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round } #tab-clients .cp-line.cp-l-second { stroke-width: 2.5 } #tab-clients .cp-line.cp-dash { stroke-width: 2.5; stroke-dasharray: 6 6; opacity: .55 }
#tab-clients .cp-l-main { stroke: var(--cp-main) } #tab-clients .cp-l-second { stroke: var(--cp-second) }
#tab-clients circle.cp-dot.cp-l-main { fill: var(--cp-main); stroke: none } #tab-clients circle.cp-dot.cp-l-second { fill: var(--cp-second); stroke: none } #tab-clients circle.cp-dot.cp-open { fill: var(--cp-panel); stroke-width: 2.5 } #tab-clients circle.cp-dot.cp-open.cp-l-main { stroke: var(--cp-main) } #tab-clients circle.cp-dot.cp-open.cp-l-second { stroke: var(--cp-second) }
#tab-clients .cp-area { fill: var(--cp-main); fill-opacity: .13; stroke: none } #tab-clients .cp-band { fill: #ffffff0a; stroke: #ffffff40; stroke-dasharray: 3 4 } #tab-clients .cp-team .cp-band { fill: #22e6ff10; stroke: #22e6ff55 } #tab-clients .cp-hit { fill: transparent }
#tab-clients .cp-lg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--cp-muted); margin-top: 6px } #tab-clients .cp-lg i { display: inline-block; width: 9px; height: 9px; margin-right: 4px } #tab-clients .cp-lgin { margin-top: 0 }
#tab-clients .cp-s-main { background: var(--cp-main) } #tab-clients .cp-s-second { background: var(--cp-second) } #tab-clients .cp-s-grey { background: var(--cp-grey) }
#tab-clients .cp-lg i.cp-ring { background: var(--cp-panel); border: 2px solid var(--cp-second); border-radius: 50% }
#tab-clients .cp-lg-st { width: 3px !important; background: var(--cp-fg) } #tab-clients .cp-lg-goal { background: color-mix(in srgb, var(--cp-main) 28%, transparent); border: 1px solid var(--cp-main) } #tab-clients .cp-lg-now { background: var(--cp-good) }
#tab-clients .cp-hb { display: grid; grid-template-columns: minmax(90px, 1.1fr) 1.4fr auto; gap: 8px; align-items: center; font-size: 12.5px; color: var(--cp-muted); margin: 7px 0 } #tab-clients .cp-hb small { display: block; font-size: 11px; color: var(--cp-dim) } #tab-clients .cp-hb b { font: var(--cp-smallnum); color: var(--cp-fg); text-align: right; white-space: nowrap }
#tab-clients .cp-hbt { display: block; min-width: 0 } #tab-clients .cp-bar { display: block; height: 12px; min-width: 2px; transform-origin: left center } #tab-clients .cp-client .cp-bar { border-radius: 2px } #tab-clients .cp-bar2 { height: 6px; margin-top: 3px } #tab-clients .cp-stack { display: flex } #tab-clients .cp-stack .cp-bar { min-width: 0 }
#tab-clients .cp-more { margin-top: 10px; background: none; border: 0; box-shadow: none; padding: 0 } #tab-clients .cp-more summary::before { content: none } #tab-clients .cp-more summary { display: inline-block; font: 700 11px/1 var(--body); padding: 6px 8px; border: 1px solid var(--cp-dim); border-radius: 4px; color: var(--cp-muted); cursor: pointer; list-style: none } #tab-clients .cp-more summary::-webkit-details-marker { display: none } #tab-clients .cp-team .cp-more summary { border-width: 2px; border-radius: 2px }
#tab-clients .cp-more summary:hover, #tab-clients .cp-more[open] summary { color: #fff; border-color: var(--cp-main) }
#tab-clients .cp-morein { margin-top: 12px; border-top: 2px dashed var(--cp-dim); padding-top: 10px } #tab-clients .cp-morein p { margin: 4px 0; font-size: 13px; color: var(--cp-muted) }
#tab-clients .cp h4 { font: var(--cp-k); font-size: 10px; letter-spacing: var(--cp-kls); color: var(--cp-main); margin: 0 0 6px; text-shadow: none } #tab-clients .cp-client h4 { font: 800 12.5px/1.4 var(--cp-head); color: #fff } #tab-clients .cp-morein h4 + .cp-tblw { margin-bottom: 12px }
#tab-clients .cp-top { display: grid; grid-template-columns: 1.25fr repeat(5, minmax(0, 1fr)); gap: 10px }
#tab-clients .cp-dial, #tab-clients .cp-leads { cursor: pointer; -webkit-appearance: none; appearance: none; border-top-width: 8px } #tab-clients .cp-client .cp-dial, #tab-clients .cp-client .cp-leads { border-top-width: 4px }
#tab-clients .cp-dial, #tab-clients .cp-leads { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch } #tab-clients .cp-dial { padding: 10px 6px 9px; text-align: center } #tab-clients .cp-dial > span, #tab-clients .cp-leads > span { display: block } #tab-clients .cp-dial .cp-delta, #tab-clients .cp-leads .cp-delta { align-self: center; margin-top: auto } #tab-clients .cp-leads .cp-delta { align-self: flex-start }
#tab-clients .cp-dial .cp-k { min-height: 32px } #tab-clients .cp-team .cp-dial .cp-k { min-height: 24px }
#tab-clients .cp-dial[aria-expanded="true"], #tab-clients .cp-leads[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--cp-main), 0 0 16px color-mix(in srgb, var(--cp-main) 30%, transparent) }
#tab-clients .cp-dial.cp-good { border-top-color: var(--cp-good) } #tab-clients .cp-dial.cp-watch { border-top-color: var(--cp-watch) } #tab-clients .cp-dial.cp-flat { border-top-color: var(--cp-flat) } #tab-clients .cp-dial.cp-nodata { border-top-color: var(--cp-dim) } #tab-clients .cp-leads { border-top-color: var(--cp-main); padding: 12px 14px }
#tab-clients .cp-dial svg { display: block; width: 100%; max-width: 150px; margin: 2px auto 0 } #tab-clients .cp-track { fill: none; stroke: var(--cp-track); stroke-width: 10 } #tab-clients .cp-fill { fill: none; stroke-width: 10; stroke: var(--cp-main) }
#tab-clients .cp-team .cp-good .cp-fill { stroke: var(--cp-good) } #tab-clients .cp-team .cp-watch .cp-fill { stroke: var(--cp-watch) } #tab-clients .cp-team .cp-flat .cp-fill { stroke: var(--cp-flat) }
#tab-clients .cp-tk-before { stroke: var(--cp-fg); stroke-width: 2 } #tab-clients .cp-tk-goal { stroke: var(--cp-main); stroke-width: 3 }
#tab-clients .cp-dial .cp-v { font: var(--cp-vf); margin-top: -20px; color: var(--cp-fg); text-shadow: var(--cp-nums) }
#tab-clients .cp-team .cp-good .cp-v { color: var(--cp-good) } #tab-clients .cp-team .cp-watch .cp-v { color: var(--cp-watch) } #tab-clients .cp-team .cp-flat .cp-v { color: var(--cp-flat) }
#tab-clients .cp .cp-vnone { font: 700 12px/1.4 var(--body) !important; color: var(--cp-dim) !important; text-shadow: none !important; margin-top: 2px !important; min-height: 34px }
#tab-clients .cp-of { font: 600 12px/1.3 var(--body); color: var(--cp-muted); margin-top: 4px } #tab-clients .cp-mg { font-size: 11px; color: var(--cp-muted); margin-top: 3px }
#tab-clients .cp-leads .cp-v { font: var(--cp-leadf); color: var(--cp-main); text-shadow: var(--cp-nums); margin-top: 8px } #tab-clients .cp-leads .cp-of { font-size: 13px }
#tab-clients .cp-strip { width: 100%; height: 34px; margin-top: 6px; display: block } #tab-clients .cp-strip .cp-on { fill: var(--cp-main) } #tab-clients .cp-strip .cp-off { fill: var(--cp-main); fill-opacity: .25 }
#tab-clients .cp-delta { display: inline-block; font: 600 11px/1.2 var(--body); padding: 3px 6px; margin-top: 5px; border-radius: 2px; background: #ffffff12; color: var(--cp-muted) } #tab-clients .cp-delta.cp-up { color: var(--cp-good) } #tab-clients .cp-delta.cp-down { color: var(--cp-bad) }
#tab-clients .cp-legend { font-size: 12px; color: var(--cp-dim); margin: 8px 0 0 } #tab-clients .cp-legend i { display: inline-block; width: 3px; height: 11px; vertical-align: -1px; margin: 0 5px 0 0 } #tab-clients .cp-legend i + i, #tab-clients .cp-legend i:nth-of-type(2) { margin-left: 12px }
#tab-clients .cp-drawer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; margin-top: 10px } #tab-clients .cp-drawer p { margin: 4px 0; font-size: 13.5px; color: var(--cp-muted) } #tab-clients .cp-drawer p b { color: var(--cp-fg) }
#tab-clients .cp-list { list-style: none; margin: 8px 0 0; padding: 0 } #tab-clients .cp-list li { font-size: 13px; color: var(--cp-muted); padding: 5px 0; border-top: 1px solid #ffffff12; overflow-wrap: anywhere } #tab-clients .cp-list li b { color: var(--cp-fg); font-weight: 600 } #tab-clients .cp-list li em { font-style: normal; color: var(--cp-dim); margin-right: 8px }
#tab-clients .cp-ladder { margin: 12px 0 4px } #tab-clients .cp-nm { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--cp-muted) } #tab-clients .cp-ladder .cp-nm b { font: var(--cp-smallnum); color: var(--cp-main) } #tab-clients .cp-team .cp-ladder .cp-nm b { color: var(--yellow) }
#tab-clients .cp-tr { position: relative; height: 14px; background: var(--cp-track); border: 1px solid var(--cp-line); margin-top: 4px } #tab-clients .cp-team .cp-tr { border-width: 2px }
#tab-clients .cp-ladder .cp-z { position: absolute; left: 0; top: 0; bottom: 0; width: 15%; background: color-mix(in srgb, var(--cp-good) 22%, transparent); border-right: 2px dashed var(--cp-good) }
#tab-clients .cp-pin { position: absolute; top: -4px; width: 13px; height: 20px; margin-left: -6px; background: var(--cp-main); box-shadow: 0 0 8px color-mix(in srgb, var(--cp-main) 60%, transparent) } #tab-clients .cp-team .cp-ladder .cp-pin { background: var(--yellow); box-shadow: 0 0 10px var(--yellow), 2px 2px 0 var(--ink) }
#tab-clients .cp-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--cp-dim); margin-top: 2px }
#tab-clients .cp-kwp { display: grid; grid-template-columns: repeat(35, 1fr); gap: 2px; margin-top: 10px } #tab-clients .cp-kwp i { display: block; aspect-ratio: 1; background: var(--cp-track) }
#tab-clients .cp-t3 { background: var(--cp-good) !important } #tab-clients .cp-t10 { background: var(--cp-main) !important } #tab-clients .cp-t100 { background: var(--cp-grey) !important } #tab-clients .cp-t0 { background: var(--cp-track) } #tab-clients .cp-team .cp-t10 { background: var(--cyan) !important } #tab-clients .cp-team .cp-t100 { background: var(--yellow) !important }
#tab-clients .cp-stars { display: flex; gap: 6px; margin: 10px 0 2px } #tab-clients .cp-stars svg { width: 30px; height: 30px } #tab-clients .cp-star-on polygon { fill: var(--cp-star); stroke: #000; stroke-width: 1.5 } #tab-clients .cp-star-off polygon { fill: var(--cp-track); stroke: #000; stroke-width: 1.5 }
#tab-clients .cp-revbig { font: var(--cp-leadf); color: var(--cp-star); text-shadow: var(--cp-nums); margin-top: 6px } #tab-clients .cp-revbig small { font: 600 13px var(--body); color: var(--cp-muted); text-shadow: none }
#tab-clients .cp-pips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px } #tab-clients .cp-pips i { width: 16px; height: 16px; background: var(--cp-main); border-radius: 2px } #tab-clients .cp-team .cp-pips i { background: var(--green); border-radius: 0; box-shadow: 2px 2px 0 var(--ink) }
#tab-clients .cp-quote { font-size: 13px; color: var(--cp-muted); border-left: 3px solid var(--cp-star); padding-left: 8px; margin: 8px 0; overflow-wrap: anywhere } #tab-clients .cp-quote b { color: var(--cp-fg) }
#tab-clients .cp-cnt { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; margin-top: 10px } #tab-clients .cp-cnt b { font: var(--cp-cntf); color: var(--cp-main); text-shadow: var(--cp-nums); text-align: right; min-width: 50px } #tab-clients .cp-cnt span { font-size: 12.5px; color: var(--cp-muted) }
#tab-clients .cp-goal { margin: 13px 0 0 } #tab-clients .cp-goal .cp-nm { justify-content: flex-start; font-size: 13px; color: var(--cp-fg) } #tab-clients .cp-goal .cp-nm b { font-weight: 600 } #tab-clients .cp-t { margin-left: auto; font-size: 12px; color: var(--cp-muted) }
#tab-clients .cp-pill { font: 700 10.5px/1 var(--body); padding: 3px 6px; border-radius: 2px; color: #000; white-space: nowrap } #tab-clients .cp-pill.cp-good { background: var(--cp-good) } #tab-clients .cp-pill.cp-watch { background: var(--cp-watch) } #tab-clients .cp-pill.cp-grey { background: var(--cp-dim); color: #fff }
#tab-clients .cp-goal .cp-tr { height: 12px } #tab-clients .cp-goal .cp-z { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--cp-main) 26%, transparent); border-left: 2px solid var(--cp-main); border-right: 2px solid var(--cp-main) } #tab-clients .cp-st { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--cp-fg) }
#tab-clients .cp-goal .cp-pin { top: -5px; width: 12px; height: 20px; background: var(--cp-dim); box-shadow: none } #tab-clients .cp-goal .cp-pin.cp-good { background: var(--cp-good) } #tab-clients .cp-goal .cp-pin.cp-watch { background: var(--cp-watch) }
#tab-clients .cp-tag { display: inline-block; font: 800 10px/1.5 var(--cp-head); letter-spacing: .06em; padding: 4px 6px; border: 1px dashed var(--cp-main); color: var(--cp-main); margin-top: 8px } #tab-clients .cp-team .cp-tag { font: 400 7px/1.5 var(--pixel); border: 2px dashed var(--yellow); color: var(--yellow) }
#tab-clients .cp-feeds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px } #tab-clients .cp-feeds span { font: 600 11px/1 var(--body); padding: 5px 7px; border: 1px solid var(--cp-good); color: var(--cp-good); border-radius: 2px } #tab-clients .cp-feeds span.cp-off { border-color: var(--cp-dim); color: var(--cp-muted); border-style: dashed }
#tab-clients .cp-tblw { overflow-x: auto } #tab-clients .cp-tblw table { border-collapse: collapse; width: 100%; font-size: 13px } #tab-clients .cp-tblw th { font: var(--cp-k); letter-spacing: var(--cp-kls); color: var(--cp-muted); text-align: left; padding: 4px 8px 6px 0 } #tab-clients .cp-tblw td { padding: 6px 8px 6px 0; border-top: 1px solid #ffffff14; color: var(--cp-muted); vertical-align: top } #tab-clients .cp-tblw td b { color: var(--cp-fg); font-weight: 600 }
/* team view only: the verdict and the buttons */
#tab-clients .cp-verdict { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 10px; border-left-width: 12px } #tab-clients .cp-verdict.cp-red { border-left-color: var(--cp-bad) } #tab-clients .cp-verdict.cp-amber { border-left-color: var(--yellow) } #tab-clients .cp-verdict.cp-green { border-left-color: var(--green) }
#tab-clients .cp-word { font: 400 13px/1.3 var(--pixel); padding: 8px 10px; color: #000; background: var(--green) } #tab-clients .cp-red .cp-word { background: var(--cp-bad) } #tab-clients .cp-amber .cp-word { background: var(--yellow) }
#tab-clients .cp-verdict p { margin: 0; font-size: 14px } #tab-clients .cp-verdict p small { display: block; color: var(--cp-muted); font-size: 12.5px; margin-top: 2px }
#tab-clients .cp-folds { margin-bottom: 10px } #tab-clients .cp-foldbox { margin-bottom: 12px; border-color: var(--cyan) } #tab-clients .cp-foldbox > .dk:first-child, #tab-clients .cp-foldbox .sr-box > .dk:first-child { margin-top: 0 }
#tab-clients .cp-mbig { font: 400 64px/.85 var(--num); color: var(--yellow); text-shadow: 3px 3px 0 var(--ink) }
@media (max-width: 900px) {
  #tab-clients .cp-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } #tab-clients .cp-leads { grid-column: 1 / -1 }
  #tab-clients .cp-row2, #tab-clients .cp-row3, #tab-clients .cp-drawer { grid-template-columns: minmax(0, 1fr) }
  #tab-clients .cp-kpis { grid-template-columns: 1fr 1fr } #tab-clients .cp-kpis > div:first-child { grid-column: 1 / -1 }
  #tab-clients .cp-verdict { grid-template-columns: 1fr } #tab-clients .cp-word { justify-self: start }
  #tab-clients .cp-chip { min-height: 40px } #tab-clients .cp-t { margin-left: 0; flex-basis: 100% }
}
@media (max-width: 480px) {
  #tab-clients .cp-client { padding: 12px 10px; margin-inline: -6px } #tab-clients .cp-client .cp-title { font-size: 18px } #tab-clients .cp-team .cp-title { font-size: 13px }
  #tab-clients .cp-client .cp-big { font-size: 36px } #tab-clients .cp-client .cp-dial .cp-v { font-size: 26px } #tab-clients .cp-client .cp-hello h3 { font-size: 20px } #tab-clients .cp-kwp { grid-template-columns: repeat(20, 1fr) }
}
@media (prefers-reduced-motion: no-preference) {
  #tab-clients .cp-fill { animation: cp-arc .9s cubic-bezier(.2, .9, .2, 1) backwards } @keyframes cp-arc { from { stroke-dasharray: 0 150.8 } }
  #tab-clients .cp-bar { animation: cp-grow .8s cubic-bezier(.2, .9, .2, 1) backwards } @keyframes cp-grow { from { transform: scaleX(0) } }
  #tab-clients .cp-line:not(.cp-dash) { stroke-dasharray: 1; animation: cp-draw 1.2s ease-out backwards } @keyframes cp-draw { from { stroke-dashoffset: 1 } }
  #tab-clients .cp-area, #tab-clients .cp-drawer, #tab-clients .cp-foldbox, #tab-clients .cp-morein { animation: cp-fade .5s ease-out backwards } @keyframes cp-fade { from { opacity: 0 } }
  #tab-clients .cp-stars svg { animation: cp-pop .5s cubic-bezier(.2, 1.6, .4, 1) backwards } #tab-clients .cp-stars svg:nth-child(2) { animation-delay: .12s } #tab-clients .cp-stars svg:nth-child(3) { animation-delay: .24s } #tab-clients .cp-stars svg:nth-child(4) { animation-delay: .36s } #tab-clients .cp-stars svg:nth-child(5) { animation-delay: .48s } @keyframes cp-pop { from { transform: scale(0) rotate(-40deg); opacity: 0 } }
  #tab-clients .cp-dial, #tab-clients .cp-leads { transition: transform .12s } #tab-clients .cp-dial:hover, #tab-clients .cp-leads:hover { transform: translateY(-3px) }
  #tab-clients .cp-team .cp-red .cp-word, #tab-clients .cp-team .cp-amber .cp-word { animation: cp-pulse 1.1s steps(2) infinite } @keyframes cp-pulse { 50% { filter: brightness(1.35) } }
}
.sr-box .dk { margin-top: 14px }
.sr-need { margin: 0 0 8px; padding: 8px 10px; background: #221214; border: 4px solid var(--ink); border-left: 10px solid var(--st-red); font-family: var(--body); font-size: 15px }
.sr-need b { display: block; font-family: var(--pixel); font-size: 9px; color: var(--st-red); margin-bottom: 6px }
.sr-need ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px } .sr-need small { color: var(--muted) }
.sr-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-family: var(--body); font-size: 15px }
.sr-lines li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 8px; padding: 4px 8px; background: var(--panel2) }
.sr-lines .k { color: var(--muted) } .sr-lines .v { overflow-wrap: anywhere }
@media (max-width: 700px) { .sr-lines li { grid-template-columns: minmax(0, 1fr); gap: 0 } }

/* PHONE (Phase 2b, 2026-11-02): every phone rule lives in this one block so the desktop rules above stay readable.
   The GOALS tower is two svgs (.gt-desk and .gt-phone); this block shows the phone one. */
@media (max-width: 700px) {
  body { touch-action: manipulation }
  button, .tile, .mtile, .next, .arow, .pick, .chip, .crow a { -webkit-tap-highlight-color: transparent }

  /* the shell: sticky top bar, no page title, room for the bottom tab bar */
  .topbar { position: sticky; top: 0; z-index: 20; padding-top: max(8px, env(safe-area-inset-top)) }
  .topbar .inner { padding: 0 12px 8px; gap: 8px; flex-wrap: nowrap }
  .topbar .brand { font-size: 12px } .topbar .brand .bl, .topbar .user { display: none }
  .btn { min-height: 44px; padding: 0 8px; font-size: 8px; white-space: nowrap }
  .signin .btn { white-space: normal }
  .wrap { padding-top: 12px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)) }
  #install-help { padding-bottom: 0 }
  #view > h1, .meta { display: none }

  /* the bottom tab bar */
  /* Andrew 2026-11-23: with up to 12 tabs the bar ran off the screen. Each tab keeps a readable 64px width and the bar scrolls sideways
     (swipe, snaps a tab to the middle); render.js slides the open tab to the middle and lights a fading arrow at whichever edge has more tabs. */
  .tabbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); border-top: 4px solid var(--brand); padding-bottom: env(safe-area-inset-bottom) }
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); gap: 0; margin: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch }
  .tabs::-webkit-scrollbar { display: none }
  .tabs .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 58px; padding: 6px 2px; border: 0; background: transparent; color: var(--muted); font-size: 7px; scroll-snap-align: center }
  .tabs .tab:hover { background: transparent }
  .tabs .tab[aria-selected="true"] { background: transparent; color: var(--brand); box-shadow: inset 0 4px 0 var(--brand) }
  .tabs .tab .tl { display: none }
  .tabs .tab .ti { display: block; width: 16px; height: 16px } .tabs .tab .ti .px { display: block }
  .tabs .tab .ts { display: block; font-size: 7px; line-height: 1; white-space: nowrap }
  .tabmore { display: flex; align-items: center; position: absolute; top: 0; bottom: env(safe-area-inset-bottom); width: 30px; padding: 0 4px; border: 0; color: var(--brand); font: 700 22px/1 var(--body); opacity: 0; pointer-events: none; transition: opacity .15s }
  .tabmore.l { left: 0; justify-content: flex-start; background: linear-gradient(to right, var(--ink) 40%, transparent) }
  .tabmore.r { right: 0; justify-content: flex-end; background: linear-gradient(to left, var(--ink) 40%, transparent) }
  .tabbar.more-l .tabmore.l, .tabbar.more-r .tabmore.r { opacity: 1; pointer-events: auto }

  /* dialogs slide up as bottom sheets */
  .dlg, .dlg.wide { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92vh; max-height: 92dvh; border-width: 4px 0 0; box-shadow: none }
  .dlg-in { max-height: calc(92vh - 8px); max-height: calc(92dvh - 8px); padding-bottom: calc(22px + env(safe-area-inset-bottom)) }
  .dlg-head .x { min-width: 44px; min-height: 44px }
  @media (prefers-reduced-motion: no-preference) {
    .dlg[open] { animation: sheet 180ms steps(4) }
    @keyframes sheet { from { transform: translateY(100%) } }
  }

  /* HEALTH */
  .money, .health { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .mtile, .htile { padding: 10px 12px }
  .mtile .v, .htile .v { font-size: clamp(22px, 7vw, 28px) }
  .mtile .two .v { font-size: clamp(20px, 6vw, 24px) }
  .pgrid { gap: 10px } .ptile { padding: 10px 12px; box-shadow: 4px 4px 0 var(--ink) } .ptile .v { font-size: clamp(22px, 7vw, 28px) }
  .pchart { padding: 10px 12px 8px; box-shadow: 4px 4px 0 var(--ink) } .pbars { gap: 4px } .pmon { gap: 4px }
  .proj-chips button { min-height: 44px; padding: 6px 12px }
  .next { grid-template-columns: 1fr }
  .then button { min-height: 44px; display: inline-flex; align-items: center }

  /* SALES */
  .stages { grid-template-columns: minmax(0, 1fr) }

  /* TEAM (the agenda list) */
  .agenda-people { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px }
  .agenda-people button { flex: 0 0 auto; min-height: 44px; padding: 6px 12px }
  .arow { grid-template-columns: 64px 1fr; align-items: start }
  .arow .days { font-size: 30px } .arow .days small { line-height: 1.5 } .arow .push, .arow .tags { grid-column: 2; justify-self: start } .arow .tags { justify-content: flex-start; max-width: none }

  /* CALENDAR: one column, time above the title, JOIN at least 44px tall */
  .cal-people { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px }
  .cal-people button { flex: 0 0 auto; min-height: 44px; padding: 6px 12px }
  .cnow { grid-template-columns: 1fr; gap: 10px } .cnow .cjoin.big { width: 100%; min-height: 52px }
  .cnow .ctitle { font-size: 18px } .cnow .cmeta { font-size: 20px }
  .crow { grid-template-columns: 1fr; gap: 10px; align-items: stretch }
  .crow .cmain { grid-template-columns: 1fr; gap: 2px } .crow .cmeta { grid-column: 1 }
  .crow .cjoin { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center }
  .cchip { min-height: 32px; display: inline-flex; align-items: center }

  /* WORKFLOWS */
  .hud { grid-template-columns: 1fr } .hud .right { text-align: left }
  .world { padding: 14px 12px 18px }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch }
  .row .road { display: none }
  .row .tile, .lanes .tile { width: auto; min-width: 0; max-width: none; min-height: 150px }
  .lanes { grid-template-columns: 1fr 1fr; gap: 10px }
  .tile .art { height: 40px } .tile .art > .px { transform: translate(4px, 4px) scale(.75); transform-origin: 0 0 }
  .tile .name { overflow-wrap: anywhere }
  .pxbtn { min-height: 44px }
  .char::before, .piece::before { content: ""; position: absolute; inset: -8px -10px }
  .piece::before { inset: -11px }

  /* TEAM, waiting on whom */
  .queue li, .queue .plain, .queue b.who, .queue .n, .queue .stamp { overflow-wrap: anywhere }

  /* GOALS: the phone scene, a two-column HUD with the MRR box across, one column under it */
  .gt-stage .gt-desk { display: none } .gt-stage .gt-phone { display: block }
  .gt-hud { grid-template-columns: repeat(2, minmax(0, 1fr)) } .gt-hud .gt-b1 { grid-column: 1 / -1 }
  .gt-big { font-size: 46px } .gt-days { font-size: 42px } .gt-row2 { grid-template-columns: minmax(0, 1fr) }
  .gt-banner { font-size: clamp(12px, 5vw, 20px) } .gt-banner small { font-size: clamp(18px, 6vw, 26px) }
  .gt-months { gap: 4px } .gt-mv { font-size: 13px } .gt-hud .gt-box { padding: 10px }
  .dlg.fe-battle { width: 100vw; max-width: 100vw; margin: auto 0 0; border-width: 3px 0 0; border-radius: 6px 6px 0 0; box-shadow: none }
  .fe-battle .dlg-in { padding: 22px 16px calc(24px + env(safe-area-inset-bottom)) }
  .fb-body { gap: 14px } .fb-art { min-width: 0; min-height: 0; padding: 8px }
  .fb-name { font-size: 24px; margin-top: 16px } .fb-hp .hpn { font-size: 26px }
  .fb-go { width: 100% }
  .party-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .picks { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px }
  .pick { flex: 0 0 auto; min-height: 64px }


  /* everything you can press is at least 44px tall */
  summary { display: flex; align-items: center; gap: 6px; min-height: 44px }
  #agenda-more { width: 100% }

  /* sign-in */
  .signin { margin-top: 24px; padding: 18px 16px }
  .signin input { font-size: 22px; min-height: 48px }
  .signin #token { font-size: 30px; letter-spacing: .4em; text-align: center }
  .textbtn { min-height: 44px; font-size: 16px }
}
@media (max-width: 359px) {
  .money, .health { grid-template-columns: minmax(0, 1fr) }
}
.story summary { cursor: pointer; list-style: none }
.story-spine { list-style: none; margin: 8px 0 0 6px; padding: 0 0 0 12px; border-left: 2px solid var(--ink) }
.story-ch { margin: 0 0 6px; font-size: 13px }
.story-date { opacity: .7; font-size: 12px }
.story-heat { margin-top: 6px; font-size: 12px }
.story-full { white-space: pre-wrap; margin-top: 8px }
.story-flags { color: #b3261e }
.story-hook .rr-h { margin: 2px 0 4px; font-family: var(--body); font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--fg); overflow-wrap: anywhere }
.story-md { margin-top: 8px; font-size: 13px; line-height: 1.5 }
.story-md p { margin: 0 0 8px }
.story-md ul { margin: 0 0 8px 18px; padding: 0 }
.story-more { margin-top: 8px }
/* PROOF tab, TO REVIEW: one list of cards. Closed = label, headline, status (the whole summary is the tap target); open = a readable article, then the action bar. */
.rv-section { max-width: 720px }
.rv-list { display: grid; gap: 12px; margin-top: 10px }
.rv-card { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); min-width: 0 }
.rv-sum { display: grid; gap: 4px; padding: 12px 14px; min-height: 56px; cursor: pointer; list-style: none; align-content: center }
.rv-sum::-webkit-details-marker { display: none }
.rv-sum::marker { content: "" }
.rv-card > .rv-sum::before, .rv-card[open] > .rv-sum::before { content: none }
.rv-bar { scroll-margin-bottom: 110px }
.rv-card[open] > .rv-sum { border-bottom: 2px solid var(--ink) }
.rv-type { font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .04em; text-transform: uppercase }
.rv-head { font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--fg); overflow-wrap: anywhere }
.rv-status { font-family: var(--body); font-size: 14px; color: var(--muted) }
.rv-status.bad { color: #ff8a80; font-weight: 700 }
.rv-body { padding: 14px; font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere }
.rv-title { margin: 0 0 10px; font-family: var(--body); font-size: 24px; line-height: 1.2; font-weight: 800; color: var(--fg) }
.rv-lead { margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--fg) }
.rv-kind { margin: 0 0 8px; font-size: 14px; color: var(--muted) }
.rv-md { font-size: 16px; line-height: 1.5; margin-top: 0 }
.rv-md p { margin: 0 0 12px }
.rv-md .rr-h { font-family: var(--body); font-size: 18px; margin: 14px 0 6px }
.rv-sub { margin: 14px 0 4px; font-family: var(--body); font-size: 16px; color: var(--muted) }
.rv-body .rr-why { font-size: 16px; margin-top: 8px }
.rv-flagged { margin: 8px 0; padding-left: 8px; border-left: 3px solid #b00020; color: #ff8a80; font-size: 16px; font-weight: 700 }
p.rv-flagged { grid-column: 1 / -1; margin: 0 }
.rv-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px }
.rv-btn { font-family: var(--body); font-size: 17px; font-weight: 700; min-height: 48px; padding: 8px 10px; width: 100%; color: var(--fg); border-color: var(--muted) }
.rv-btn.rv-primary { background: var(--gold); color: #000; border-color: var(--ink) }
.rv-bar > .rv-btn:only-of-type { grid-column: 1 / -1 }
.rv-cardnote { grid-column: 1 / -1; margin: 0; font-size: 15px; color: #ff8a80 }
.rv-cardnote:empty, .proof-note:empty { display: none }
.rv-section .proof-note { font-weight: 700; scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px)) }   /* the sticky top bar must not cover the result line after a redraw */
.rv-talk { margin: 0 0 12px; font-size: 16px; line-height: 1.5 }
.wd-now, .wd-new { margin: 0 0 6px; padding-left: 8px; border-left: 3px solid var(--muted) }
.wd-new { border-left-color: #2e7d32 }
.wd-same { color: var(--muted) }
.rv-body .story-ch, .rv-body .story-date { font-size: 16px }
.rv-body .story-heat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16px }
.rv-body .story-heat a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px }
.rv-lib { margin-top: 12px }
.rv-lib > summary { cursor: pointer; font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--gold); min-height: 44px; display: flex; align-items: center }
.story-more > summary { cursor: pointer; font-family: var(--pixel); font-size: 8px }
.fact-by { font-size: 12px; opacity: .8 }
.rm-box .plain { margin: 4px 0 }
.rm-next p { margin: 0 0 6px; font-size: 16px } .rm-next small { color: var(--muted) }
.rm-next { border-left-color: var(--st-green) } .rm-next b { color: var(--st-green) }
.rm-tbl td { white-space: normal; vertical-align: top } .rm-tbl td small { color: var(--muted) }
.rm-move td { font-size: 13px; color: var(--muted); background: var(--panel2) }
.rm-state { font-family: var(--pixel); font-size: 8px } .rm-state.pos { color: var(--st-green) } .rm-state.neg { color: var(--st-red) } .rm-state.warn { color: var(--st-amber) }
.rm-quote { border-left-color: var(--st-amber) } .rm-quote b { color: var(--st-amber) } .rm-quote blockquote { margin: 0; font-size: 16px }
.rm-call { color: var(--st-amber) }
.tbl td.hl, .tbl th.hl { color: var(--gold) } .tbl td.hl { font-weight: 600 } .price-fold .in ul { margin: 8px 0 0 18px; padding: 0 }
/* The workflow tree inside a workflow dialog: nested details (branch > step > what, who, playbook). Same pixel look, tree lines drawn with borders. */
.tree-sum { margin-top: 12px }
.wtree { margin-top: 14px; display: grid; gap: 10px; min-width: 0 }
.wtree details { background: var(--panel2); border: 2px solid var(--ink); box-shadow: none; min-width: 0 }
.wtree summary { font-family: var(--body); font-size: 15px; line-height: 1.35; color: var(--fg); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; overflow-wrap: anywhere }
.wtree summary::before { content: "+"; font-family: var(--pixel); font-size: 9px; color: var(--muted); flex: none; width: 12px }
.wtree details[open] > summary::before { content: "-" }
.wtree summary:focus-visible, .pbnode:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px }
.wtree details.tb > summary { font-family: var(--pixel); font-size: 10px; color: var(--gold); line-height: 1.6 }
.wtree details.tb > summary small { font-family: var(--num); font-size: 18px; color: var(--muted) }
.tb-in { margin-left: 12px; padding: 4px 0 10px 12px; border-left: 2px solid var(--muted); display: grid; gap: 8px; min-width: 0 }
.tn-list { display: grid; gap: 8px; min-width: 0 }
.wtree details.tn { border-color: var(--ink); border-left: 4px solid var(--dim); background: var(--panel) }
.wtree details.tn.s-done { border-left-color: var(--bot) } .wtree details.tn.s-building { border-left-color: var(--build) } .wtree details.tn.s-person { border-left-color: var(--person) }
.wtree details.tn.is-next { outline: 2px solid var(--gold) }
.tn .ic { display: inline-flex; gap: 6px; align-items: center; flex: none; min-width: 20px; height: 18px }
.tn .st, .tb-ul .st { font-family: var(--pixel); font-size: 7px; letter-spacing: .04em } .tn.s-done .st, .tb-ul .s-done { color: var(--bot) } .tn.s-building .st, .tb-ul .s-building { color: var(--build) } .tn.s-todo .st, .tb-ul .s-todo { color: var(--dim) } .tn.s-person .st, .tb-ul .s-person { color: var(--person) }
.tn .xps, .tb-ul .xps { font-family: var(--num); font-size: 16px; color: var(--muted) }
.alias { font-family: var(--pixel); font-size: 7px; color: var(--ink); background: var(--client); padding: 3px 5px }
.gapchip { font-family: var(--pixel); font-size: 7px; color: var(--muted); border: 1px dashed var(--muted); padding: 3px 5px }
.tn-in { margin-left: 12px; padding: 2px 12px 12px 12px; border-left: 2px solid var(--muted); display: grid; gap: 6px; min-width: 0 }
.tn-in p.plain { margin: 0; overflow-wrap: anywhere } .tn-in code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--panel2); border: 1px solid var(--ink); padding: 1px 5px; overflow-wrap: anywhere; white-space: pre-wrap }
.pb .k, .sg summary { font-family: var(--pixel); font-size: 8px; color: var(--client) }
.pb ul, .tb-ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px }
.tb-ul li { padding: 8px 10px; background: var(--panel); border: 2px solid var(--ink); overflow-wrap: anywhere }
.pbnode { display: block; width: 100%; text-align: left; font: inherit; font-size: 14px; line-height: 1.35; color: var(--fg); background: var(--panel); border: 2px solid var(--ink); border-left: 4px solid var(--client); padding: 8px 10px; cursor: pointer; overflow-wrap: anywhere }
.pbnode:hover { background: var(--panel2) } .pbnode small { color: var(--muted) } .pbnode .pbt { text-decoration: underline; text-decoration-color: var(--client); text-underline-offset: 3px }
.muted-gap { color: var(--muted); font-style: italic }
.sg { margin-top: 4px } .wtree details.sg { background: transparent; border: 0 } .sg summary { padding: 6px 0 } .sg-in { display: grid; gap: 8px; padding: 0 0 4px }
.sg-in label { display: grid; gap: 4px; font-size: 13px; color: var(--muted) }
.sg-in select, .sg-in textarea { font: inherit; font-size: 15px; color: var(--fg); background: var(--panel); border: 2px solid var(--ink); padding: 8px; width: 100%; max-width: 100% }
.sg-in .sg-send { justify-self: start } .sg-note { min-height: 1.2em; margin: 0 }
.mdtag { display: inline-block; font-family: var(--pixel); font-size: 7px; letter-spacing: .04em; padding: 3px 5px; border: 2px solid var(--ink); vertical-align: middle; color: var(--ink) }
.mdtag.bot { background: var(--cyan) } .mdtag.rev { background: var(--build) } .mdtag.hum { background: var(--person) }
.mdbox { display: inline-block; width: 14px; height: 14px; line-height: 11px; text-align: center; font-family: var(--pixel); font-size: 8px; border: 2px solid var(--muted); color: var(--bot); vertical-align: middle }
.pbbody { margin-top: 14px; font-family: var(--body); font-size: 15px; line-height: 1.5; color: #e5e3dd; overflow-wrap: anywhere; min-width: 0 }
.pbbody p { margin: 10px 0 0 } .pbbody ul, .pbbody ol { margin: 8px 0 0; padding-left: 22px } .pbbody li { margin-top: 4px } .pbbody h4.rr-h { margin-top: 18px; font-size: 10px; line-height: 1.7 }
.pbbody blockquote { margin: 10px 0 0; padding: 4px 12px; border-left: 4px solid var(--muted); color: var(--muted) } .pbbody hr { border: 0; border-top: 2px solid var(--ink); margin: 14px 0 }
.pbbody code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--panel2); padding: 1px 5px; overflow-wrap: anywhere }
.pbbody pre.mdpre { margin: 10px 0 0; padding: 10px; background: var(--panel2); border: 2px solid var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; font-size: 12px }
.pblink { text-decoration: none; display: inline-block }
@media (max-width: 480px) { .tb-in, .tn-in { margin-left: 6px; padding-left: 8px } .wtree summary { padding: 9px 8px } }
.sugbadge { font-family: var(--pixel); font-size: 8px; color: var(--ink); background: var(--build); border: 2px solid var(--ink); padding: 3px 5px; margin-left: auto }
.sg-act { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center }

/* ---- WORKFLOW CITY (the WORKFLOWS tab, Andrew 2026-11-15). Colors come from the neon tokens at the top; --c is the building's own color. */
.city { margin-top: 18px }
.c-kana { font-family: "DotGothic16", var(--body); color: var(--cyan); text-shadow: 0 0 8px var(--cyan); font-size: 17px; margin: 0 0 12px }
.c-sky { --sky-a: #1b0b4a; --sky-b: #3a0f63; --sky-c: #7a1c7a; --sky-d: #ff5a8a; position: relative; border: 2px solid var(--purple); border-radius: 4px; padding: 18px 12px 0; overflow: hidden; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 45%, var(--sky-c) 78%, var(--sky-d) 100%) }
.c-sky--night { --sky-a: #01010c; --sky-b: #050820; --sky-c: #0b0c2e; --sky-d: #2a1163 }   /* deep navy to near black, a faint purple glow at the skyline */
.c-moon, .c-stars { display: none } .c-sky--night .c-sun { display: none } .c-sky--night .c-moon, .c-sky--night .c-stars { display: block }
.c-moon { position: absolute; right: 6%; top: 14px; width: 110px; height: 110px; filter: drop-shadow(0 0 16px rgba(255, 243, 176, .7)); pointer-events: none } .c-moon svg { width: 100%; height: 100%; display: block }
/* The stars live in a band at the top of the sky, never taller than 460px: on a phone the sky is several screens tall (the buildings wrap), and stars spread over all of it left the top by the moon almost empty. */
.c-stars { position: absolute; inset: 0 0 auto 0; height: min(60%, 460px); pointer-events: none; z-index: 0 } .c-star { position: absolute; display: block; background: #fffbe8; opacity: 1; box-shadow: 0 0 6px rgba(255, 251, 232, .95) } .c-star.s2 { width: 2.5px; height: 2.5px } .c-star.s3 { width: 3px; height: 3px } .c-star.s4 { width: 3px; height: 3px }
/* The north star: one bigger star with a four-point flare. */
.c-north { position: absolute; display: block; width: 5px; height: 5px; margin: -2px 0 0 -2px; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 251, 232, .95), 0 0 22px 6px rgba(34, 230, 255, .35) }
.c-north::before, .c-north::after { content: ""; position: absolute; left: 50%; top: 50%; background: linear-gradient(90deg, transparent, #fffbe8 35%, #fff 50%, #fffbe8 65%, transparent); width: 27px; height: 1px; transform: translate(-50%, -50%) } .c-north::after { transform: translate(-50%, -50%) rotate(90deg) }
@media (prefers-reduced-motion: no-preference) { .c-north { animation: c-north 3.2s ease-in-out infinite } @keyframes c-north { 50% { opacity: .65; transform: scale(.8) } } }
@media (prefers-reduced-motion: no-preference) { .c-star.tw { animation: c-tw var(--t, 2.4s) ease-in-out infinite; animation-delay: var(--d, 0s) } @keyframes c-tw { 50% { opacity: .2 } } }
.c-sky--night .c-body, .c-sky--dusk .c-body { box-shadow: 0 0 18px var(--c), inset 0 0 14px rgba(0, 0, 0, .6) } .c-sky--night .c-sign, .c-sky--dusk .c-sign { text-shadow: 0 0 10px var(--c), 0 0 3px var(--c) } .c-sky--night .c-win i.lit, .c-sky--dusk .c-win i.lit { box-shadow: 0 0 11px var(--c) }
.c-skybtn { position: relative; z-index: 2; margin: -2px 0 12px; font-family: var(--pixel); font-size: 8px; line-height: 1.4; color: var(--cyan); background: rgba(0, 0, 0, .5); border: 2px solid var(--cyan); padding: 6px 8px; cursor: pointer } .c-skybtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
.c-sun { position: absolute; right: 6%; top: 14px; width: 110px; height: 110px; border-radius: 50%; background: repeating-linear-gradient(180deg, var(--yellow) 0 9px, var(--orange) 9px 14px, transparent 14px 18px); opacity: .85; filter: drop-shadow(0 0 18px var(--orange)); pointer-events: none }
.c-label { z-index: 2; font-family: var(--pixel); font-size: 9px; line-height: 1.6; color: var(--yellow); text-shadow: 0 0 6px var(--yellow); margin: 0 0 10px; position: relative }
.c-sky .c-label { padding-right: 84px }
.c-label.hq { color: var(--purple); text-shadow: 0 0 6px var(--purple); margin-top: 16px }
.c-street { z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; position: relative }
.c-bld { z-index: 1; flex: 1 1 112px; max-width: 150px; min-width: 104px; display: flex; flex-direction: column; align-items: stretch; background: none; border: 0; cursor: pointer; padding: 0; color: var(--fg); font: inherit; text-align: center; position: relative }
.c-body { display: block; background: #12082e; border: 2px solid var(--c); border-bottom: 0; padding: 8px 6px 0; position: relative; box-shadow: 0 0 10px var(--c), inset 0 0 14px rgba(0, 0, 0, .6) }
.c-body::before, .c-body::after { content: ""; position: absolute; top: -2px; width: 6px; height: calc(100% + 2px); background: var(--c); opacity: .28; pointer-events: none } .c-body::before { left: -2px } .c-body::after { right: -2px }   /* wall shading: an edge column down each side */
.c-bld:hover, .c-bld:focus-visible { outline: 0; transform: translateY(-3px) } .c-bld:hover .c-body, .c-bld:focus-visible .c-body { box-shadow: 0 0 22px var(--c), 0 0 4px #fff }
.c-bld:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
.c-sign { display: block; font-family: var(--pixel); font-size: 9px; line-height: 1.5; color: var(--c); text-shadow: 0 0 6px var(--c); border: 1px solid var(--c); padding: 5px 3px; margin-bottom: 6px; background: rgba(0, 0, 0, .45); overflow-wrap: normal; word-break: keep-all; hyphens: none }   /* a sign breaks only at spaces and the plus sign, never inside a word */
.c-street { container-type: inline-size }
@container (max-width: 1040px) { .c-street .c-sign { font-size: 7px } }   /* nine buildings on one row get narrow: step the sign down one notch so the longest word fits */
.c-jp { display: block; font-family: "DotGothic16", var(--body); font-size: 12px; color: var(--fg); opacity: .9; margin-bottom: 6px }
.c-tags { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 6px; min-height: 14px }
.c-watchtag { font-family: var(--pixel); font-size: 7px; line-height: 1.4; color: var(--yellow); border: 1px solid var(--yellow); padding: 2px 3px; background: rgba(0, 0, 0, .55); text-shadow: 0 0 6px var(--yellow); box-shadow: 0 0 8px var(--yellow); white-space: nowrap }
.c-tags .rank { font-family: var(--pixel); font-size: 7px; line-height: 1.4; border: 1px solid currentColor; padding: 2px 3px; background: rgba(0, 0, 0, .4) }
.c-tags .sugbadge { margin-left: 0; font-size: 7px; padding: 2px 4px }
.c-win { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 0 6px 8px }
.c-win i { display: block; height: 9px; background: #2a1a55 } .c-win i.lit { background: var(--c); box-shadow: 0 0 6px var(--c) }
.c-crew { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; padding: 6px 2px; border-top: 2px dashed rgba(255, 255, 255, .18); min-height: 34px }
.c-crew svg { width: 14px; height: 14px }
.c-count { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--dim); padding: 5px 0 7px; background: var(--night); margin: 0 -6px }
.c-count b { color: var(--cyan); font-weight: 400 } .c-count em { color: var(--pink); font-style: normal }
.c-road { position: relative; z-index: 1; overflow: hidden; container-type: inline-size; height: 44px; margin: 0 -12px; background: #07031a; border-top: 3px solid var(--cyan); box-shadow: 0 -2px 14px var(--cyan); background-image: repeating-linear-gradient(90deg, var(--yellow) 0 26px, transparent 26px 60px); background-size: auto 3px; background-repeat: repeat-x; background-position: 0 20px }   /* two lanes */
.c-hq { display: flex; flex-wrap: wrap; gap: 8px; position: relative }
.c-hq .c-bld { max-width: none; flex: 1 1 150px }
.c-hq .c-body { border-bottom: 2px solid var(--c); padding-bottom: 6px; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start }
.c-hq .c-count { margin: auto -6px -6px; padding-bottom: 8px }
/* every sign on one row; the count line sits at the bottom of each building */
.c-count.two b, .c-count.two em { display: block; text-align: center; white-space: nowrap }
.c-jumps { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 }
.c-jump { font-size: 13px; line-height: 1.3; padding: 4px 8px; cursor: pointer }
/* bots at buildings: a robot that works in several buildings stands (still city) in the crew row of its first building with a double arrow, or walks the sidewalk (LIFE on, below) */
.mv-still { position: relative; display: inline-flex } .mv-ar { position: absolute; right: -5px; top: -5px; font-style: normal; font-size: 9px; line-height: 1; color: var(--yellow); text-shadow: 0 0 4px var(--yellow) } .mv-ar::after { content: "\2194" }
.c-more { font-family: var(--pixel); font-size: 7px; line-height: 14px; color: var(--dim) }
.c-walk { display: none; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; pointer-events: none }
.c-mv { position: absolute; left: 0; top: 0; width: 16px; height: 16px; pointer-events: none; transform: translate(var(--x1, 0px), var(--y1, 0px)) }
.c-mv svg { width: 16px; height: 16px; display: block }
.c-lane .c-bld { margin-bottom: 20px }
.c-watchsec { margin: 10px 0 4px } .c-watchsec details { margin: 0 }
.c-botshere ul { margin: 6px 0 0; padding-left: 18px } .c-botshere li { font-size: 14px; line-height: 1.4 } .c-botshere small { color: var(--dim) }
.c-lifebtn.hq-life { display: inline-block; margin: 0 0 0 10px; vertical-align: middle }
/* WHO DOES THE WORK key (decision 3830): at the top of the city (.c-legend) and in every building window (.cd-key) */
.who-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 16px; line-height: 1.35; color: var(--fg) }
.who-key .wk-title { font-family: var(--pixel); font-size: 9px; letter-spacing: .04em; color: var(--muted); flex: 1 0 100% }
.who-key .wk { display: inline-flex; align-items: center; gap: 7px }
.who-key .wk-sw { flex: none; width: 16px; height: 16px; display: inline-block; border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 0 6px var(--c) }
.who-key .wk-bot { --c: var(--cyan) } .who-key .wk-rev { --c: var(--yellow) } .who-key .wk-hum { --c: var(--pink) } .who-key .wk-todo { --c: var(--pink) } .who-key .wk-todo .wk-sw { border-style: dashed; background: transparent }
.who-key .wk-n { font-family: var(--num); font-weight: 400; color: var(--muted) }
.c-legend.who-key { margin: 0 0 14px; padding: 10px 12px; background: var(--card); border: 2px solid var(--dim) }
.c-note { color: var(--dim); font-size: 14px; margin: 8px 0 0 }
/* the building's dialog: the tree, then the piece, then what the workflow dialog always had */
.dlg.city-dlg { width: min(980px, calc(100vw - 32px)); border-color: var(--c, var(--cyan)); box-shadow: 0 0 18px var(--c, var(--cyan)), 8px 8px 0 var(--ink) }
.c-jp-inline { font-family: "DotGothic16", var(--body); color: var(--c, var(--cyan)); font-size: 18px }
.c-hint { color: var(--muted); margin: 10px 0 0 }
.c-treebox { overflow-x: auto; margin-top: 10px; border: 1px solid var(--dim); background: var(--card); -webkit-overflow-scrolling: touch }
svg.tree { width: 100%; height: auto; display: block }
svg.tree text { font-family: var(--body); font-size: 13px; fill: var(--fg) }
svg.tree .lbl { font-family: var(--pixel); font-size: 8px }
svg.tree .node { cursor: pointer }
svg.tree .node:hover rect:first-of-type, svg.tree .node:focus rect:first-of-type, svg.tree .node.sel rect:first-of-type { stroke-width: 3; filter: drop-shadow(0 0 8px currentColor) }
svg.tree .node:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
svg.tree path { fill: none; stroke-width: 2; opacity: .75 }
.c-slot { margin-top: 12px }
.c-empty { color: var(--dim); margin: 0 }
.c-detail { border: 2px solid var(--pink); padding: 12px; background: var(--card); box-shadow: 0 0 12px rgba(255, 62, 165, .45) }
.c-detail h3 { font-family: var(--pixel); font-size: 11px; line-height: 1.6; margin: 0 0 8px; color: var(--pink) }
.c-detail .c-meta { margin: 0 0 8px; color: var(--muted) }
.c-detail .tn-in { margin: 0; padding: 0; border: 0 }
.c-wfs { margin-top: 16px; display: grid; gap: 10px }
@media (min-width: 1000px) { .c-street { flex-wrap: nowrap } .c-street .c-bld { flex: 1 1 0; min-width: 0; max-width: none } }   /* all nine service buildings on one row */
/* Phones: the buildings fill the width, so the street starts lower to leave a band of open sky for the stars, and the star band is shorter and denser. */
@media (max-width: 560px) { .c-sky > .c-street { margin-top: 130px } .c-stars { height: min(60%, 300px) } }
@media (max-width: 560px) { .c-sun, .c-moon { width: 70px; height: 70px } .c-bld { flex-basis: 104px } }
@media (prefers-reduced-motion: no-preference) { .c-bld { transition: transform .12s steps(2), box-shadow .12s } }

/* ---- Workflow City: real-looking buildings and a little city life (Andrew, 2026-11-15). Everything here is decorative: aria-hidden, no pointer events. The base rules draw the STILL city
   (static snapshot, LIFE: OFF, reduced motion): rooftops, rail, parked cars. Motion lives only under .c-life inside the no-preference media query, in transform and opacity keyframes. ---- */
.c-lifebtn { margin-left: 4px }
.c-street { margin-top: 64px }
.c-roof { display: flex; align-items: flex-end; justify-content: center; gap: 8px; position: relative; width: 100%; height: 52px; pointer-events: none }
.c-roof.rf-eave { height: 34px }
.c-roof i { display: block; font-style: normal; flex: none } .c-roof.rf-eave .c-eave { width: 106% }
.c-mast { width: 3px; background: var(--c); position: relative; box-shadow: 0 0 6px var(--c) }
.c-mast::before { content: ""; position: absolute; left: -3px; top: -6px; width: 9px; height: 6px; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b }
.c-mast::after { content: ""; position: absolute; left: -7px; top: 30%; width: 17px; height: 2px; background: var(--c); box-shadow: 0 9px 0 var(--c) }
.c-tank { width: 38px; height: 24px; border: 2px solid var(--c); border-radius: 5px 5px 2px 2px; background: #12082e; position: relative; margin-bottom: 8px; box-shadow: 0 0 6px var(--c) }
.c-tank::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -10px; height: 8px; border-left: 2px solid var(--c); border-right: 2px solid var(--c) }
.c-tier { display: flex; width: 62%; height: 30px; border: 2px solid var(--c); border-bottom: 0; background: #12082e; box-shadow: 0 0 8px var(--c); position: relative; justify-content: center; gap: 5px; padding-top: 8px }
.c-tier i { width: 9px; height: 9px; background: var(--c); box-shadow: 0 0 6px var(--c) }
.c-tier::before { content: ""; position: absolute; left: 50%; top: -18px; width: 3px; height: 18px; background: var(--c) }
.c-eave { width: 118%; height: 20px; background: var(--c); clip-path: polygon(0 0, 7% 55%, 93% 55%, 100% 0, 96% 100%, 4% 100%); filter: drop-shadow(0 0 6px var(--c)) }
.c-eave.small { width: 84%; height: 14px; position: absolute; bottom: 22px; opacity: .85 }
.c-board { min-width: 30px; border: 2px solid var(--c); padding: 6px 7px; font-family: var(--pixel); font-size: 9px; line-height: 1.2; color: var(--c); text-shadow: 0 0 8px var(--c); background: #0a0520; box-shadow: 0 0 10px var(--c); position: relative; margin-bottom: 9px }
.c-board::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -11px; height: 9px; border-left: 2px solid var(--c); border-right: 2px solid var(--c) }
.c-dish { width: 30px; height: 15px; border: 3px solid var(--c); border-top: 0; border-radius: 0 0 30px 30px; transform: rotate(-24deg); margin: 0 0 6px 6px; position: relative; box-shadow: 0 3px 8px -2px var(--c) }
.c-dish::after { content: ""; position: absolute; left: 12px; top: -12px; width: 2px; height: 14px; background: var(--c) }
.c-ac { width: 20px; height: 13px; border: 2px solid var(--c); background: repeating-linear-gradient(90deg, var(--c) 0 2px, transparent 2px 5px); opacity: .9 }
.c-awn { display: block; height: 9px; margin: 0 -6px; background: repeating-linear-gradient(90deg, var(--c) 0 9px, #12082e 9px 18px); box-shadow: 0 3px 8px -2px var(--c) }
.c-vsign { position: absolute; top: 34px; right: -11px; writing-mode: vertical-rl; font-family: "DotGothic16", var(--body); font-size: 11px; line-height: 1; padding: 5px 2px; background: #0a0520; border: 1px solid var(--c); color: var(--c); text-shadow: 0 0 6px var(--c); box-shadow: 0 0 8px var(--c); z-index: 2; pointer-events: none }
.c-lants { display: flex; justify-content: space-around; padding: 0 10px; height: 16px; margin-bottom: 6px }
.c-lants i { display: block; width: 9px; height: 13px; border-radius: 4px; background: #ff5a3c; box-shadow: 0 0 9px #ff5a3c; position: relative }
.c-lants i::before { content: ""; position: absolute; left: 3px; top: -4px; width: 3px; height: 4px; background: var(--yellow) }
.c-smoke { display: none; position: absolute; left: 0; right: 0; top: 8px; height: 0; z-index: 1; pointer-events: none }
.c-puff { position: absolute; top: 0; width: 7px; height: 7px; background: rgba(214, 196, 255, .5); opacity: 0; pointer-events: none }
/* the rail behind the buildings; trains ride it. Painted above the sky, sun, moon and stars and below the buildings and the label */
.c-rail { position: absolute; left: 0; right: 0; top: 168px; bottom: 47px; z-index: 0; pointer-events: none }
@media (max-width: 999px) { .c-rail { bottom: auto; height: 120px } }   /* wrapped rows: a thin band near the top row, not pillars down the whole sky */
.c-deck { position: absolute; left: 0; right: 0; top: 14px; height: 5px; background: #241450; border-top: 2px solid #5a3fb0 }
.c-pillars { position: absolute; left: 0; right: 0; top: 19px; bottom: 0; background: repeating-linear-gradient(90deg, #241450 0 6px, transparent 6px 84px); background-position: 30px 0 }
.c-train { position: absolute; left: 0; top: 0; display: none; gap: 2px; width: 156px; height: 14px; transform: translateX(-200px) }
.c-train.l { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) }
.c-train i { display: block; flex: 0 0 28px; height: 12px; margin-top: 2px; border: 1px solid #4a3a8c; background: linear-gradient(var(--tc), var(--tc)) 0 6px / 100% 2px no-repeat, repeating-linear-gradient(90deg, #ffe24a 0 3px, transparent 3px 6px) 1px 1px / 24px 3px no-repeat, #140a35 }
.c-hl { position: absolute; top: 6px; width: 3px; height: 3px; background: #fff7b0; box-shadow: 0 0 8px 2px rgba(255, 247, 176, .8) } .c-train.r .c-hl { right: -3px } .c-train.l .c-hl { left: -3px }
.c-blimp { position: absolute; left: 0; top: 140px; display: none; align-items: center; z-index: 0; pointer-events: none; transform: translateX(-190px) }
.c-blimp svg { width: 48px; height: 20px; display: block }
.c-banner { font-family: var(--pixel); font-size: 6px; line-height: 1; color: #ffe24a; background: rgba(10, 5, 32, .85); border: 1px solid #ffe24a; padding: 3px 4px; margin-right: 4px; white-space: nowrap }
/* Shooting stars, every once in a while at night (Andrew, 2026-11-17): two streaks on their own slow clocks (75 s and 130 s), each visible for about a second. They sit a fixed distance from the top, in the open sky, so a phone sees them too. */
.c-shoot { position: absolute; left: 14%; top: 64px; display: none; width: 110px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45) 60%, #fff); opacity: 0; transform: rotate(28deg); pointer-events: none }
.c-shoot::after { content: ""; position: absolute; right: -1px; top: -1px; width: 4px; height: 4px; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 251, 232, .9) }
.c-shoot.s2 { left: 60%; top: 34px; transform: rotate(152deg) }
@media (max-width: 560px) { .c-shoot { left: 4%; top: 104px } .c-shoot.s2 { left: 52%; top: 96px } }
/* cars: two lanes, parked at fixed spots until life is on */
.c-car { position: absolute; left: var(--x, 0%); display: block; width: 16px; height: 6px; --w: 16px; background: var(--col); pointer-events: none }
.c-car.l { top: 8px } .c-car.r { top: 28px }
.c-car::before { content: ""; position: absolute; left: 4px; top: -3px; width: 8px; height: 4px; background: #0a0520; border: 1px solid var(--col) }
.c-car::after { content: ""; position: absolute; top: 1px; right: -1px; width: 2px; height: 2px; background: #fff; box-shadow: calc(var(--w) * -1 - 1px) 0 0 #ff2a2a }
.c-car.l::after { right: auto; left: -1px; box-shadow: calc(var(--w) + 1px) 0 0 #ff2a2a }
.k-taxi::before { box-shadow: 0 -4px 0 -1px #ffe24a }
.k-truck { --w: 24px; width: 24px; height: 8px; margin-top: -2px; background: linear-gradient(90deg, var(--col) 0 70%, #0a0520 70%) }
.k-truck.l { background: linear-gradient(270deg, var(--col) 0 70%, #0a0520 70%) }
.k-truck::before { left: 19px; top: 1px; width: 3px; height: 3px; background: #bfefff; border: 0 } .k-truck.l::before { left: 2px }
.k-scooter { --w: 9px; width: 9px; height: 3px; margin-top: 3px }
.k-scooter::before { left: 3px; top: -5px; width: 3px; height: 5px; background: var(--col); border: 0 }
.k-scooter::after { top: 0 }
.c-beam { display: none; position: absolute; top: -1px; right: -26px; width: 26px; height: 8px; background: linear-gradient(90deg, rgba(255, 255, 190, .5), rgba(255, 255, 190, 0)); clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%) }
.c-car.l .c-beam { right: auto; left: -26px; transform: scaleX(-1) }
.c-sky--night .c-beam, .c-sky--dusk .c-beam { display: block }
.c-sky--night .c-car.r::after, .c-sky--dusk .c-car.r::after { box-shadow: calc(var(--w) * -1 - 1px) 0 0 #ff2a2a, 0 0 6px 2px rgba(255, 255, 190, .7) }
.c-sky--night .c-car.l::after, .c-sky--dusk .c-car.l::after { box-shadow: calc(var(--w) + 1px) 0 0 #ff2a2a, 0 0 6px 2px rgba(255, 255, 190, .7) }
/* ---- The sky follows the day and the weather (decision 1707). Everything here keys off classes wire() adds to #c-sky on the live page (c-sky--dawn|day|dusk, c-sky--timed, c-body--sun|moon,
   c-season--*, c-wx--*, c-snowy); the static snapshot has none of them and looks exactly as before. The weather layers are decorative: aria-hidden, no clicks, hidden unless their weather is on. ---- */
.c-sky { --arc-lo: 108px; --arc-hi: 2px; --orb: 110px }
@media (max-width: 560px) { .c-sky { --arc-lo: 170px; --arc-hi: 96px; --orb: 70px } }
.c-sky--dawn { --sky-a: #2b2a6b; --sky-b: #6b4c9a; --sky-c: #e9849a; --sky-d: #ffc48a }
.c-sky--day { --sky-a: #2f86e0; --sky-b: #4fa8f0; --sky-c: #86ccfa; --sky-d: #c6ecff }
.c-sky--dusk { --sky-a: #0b0930; --sky-b: #22185a; --sky-c: #4e2a78; --sky-d: #b8507a }
.c-sky--day.c-season--winter { --sky-a: #5d9bd6; --sky-b: #86b9e6; --sky-c: #b5d6f2; --sky-d: #e2f1fb }
.c-sky--day.c-season--summer { --sky-a: #1f7be0; --sky-b: #3c9df0; --sky-c: #74c4fb; --sky-d: #b6e8ff }
.c-sky--day.c-wx--rain, .c-sky--day.c-wx--storm { --sky-a: #3d6f9e; --sky-b: #5a8cb8; --sky-c: #86b0d4; --sky-d: #b9d4ea }
.c-sky--day.c-wx--snow, .c-sky--day.c-wx--fog { --sky-a: #7aa6cf; --sky-b: #9cbfe0; --sky-c: #c3dcf0; --sky-d: #e8f3fb }
.c-sky--timed .c-sun, .c-sky--timed .c-moon { display: none }
.c-sky--timed.c-body--sun .c-sun { display: block }
.c-sky--timed.c-body--moon .c-moon { display: block }
.c-sky--timed .c-sun, .c-sky--timed .c-moon { right: auto; left: calc(3% + var(--arc-x, .5) * (94% - var(--orb))); top: calc(var(--arc-lo) - var(--arc-h, 1) * (var(--arc-lo) - var(--arc-hi))) }
.c-sky--timed.c-sky--day .c-sun { background: radial-gradient(circle, #fffbe0 0 40%, var(--yellow) 41% 70%, #ffc23a 71%); opacity: 1; filter: drop-shadow(0 0 22px #ffe24a) }
.c-sky--timed.c-wx--rain .c-sun, .c-sky--timed.c-wx--storm .c-sun, .c-sky--timed.c-wx--snow .c-sun, .c-sky--timed.c-wx--fog .c-sun { opacity: .6 }   /* real rain, snow or fog: the sun shows through, softer, never hidden */
.c-sky--dusk .c-stars { display: block; opacity: .55 } .c-sky--dawn .c-stars { display: block; opacity: .25 }
.c-sky--day .c-label, .c-sky--dawn .c-label { text-shadow: 1px 1px 0 #0a0520, -1px 1px 0 #0a0520, 0 0 6px #0a0520 }
.c-wx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden }
.c-cloud { position: absolute; left: 0; display: none; width: calc(100% + var(--tile)); height: var(--ch); pointer-events: none; background-color: var(--cloud, #fff); -webkit-mask: var(--cm) 0 0 / var(--tile) var(--ch) repeat-x; mask: var(--cm) 0 0 / var(--tile) var(--ch) repeat-x }
.c-cloud.k1 { --tile: 520px; --ch: 60px; top: 18px; --cm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 12' preserveAspectRatio='none' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='6' y='5' width='20' height='3'/%3E%3Crect x='9' y='3' width='7' height='2'/%3E%3Crect x='14' y='1' width='8' height='4'/%3E%3Crect x='21' y='3' width='4' height='2'/%3E%3Crect x='49' y='8' width='14' height='3'/%3E%3Crect x='52' y='6' width='6' height='2'/%3E%3Crect x='56' y='5' width='4' height='3'/%3E%3Crect x='80' y='6' width='20' height='3'/%3E%3Crect x='83' y='4' width='7' height='2'/%3E%3Crect x='88' y='2' width='8' height='4'/%3E%3Crect x='95' y='4' width='4' height='2'/%3E%3C/g%3E%3C/svg%3E") }
.c-cloud.k2 { --tile: 380px; --ch: 44px; top: 64px; --cm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 95 11' preserveAspectRatio='none' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='11' y='5' width='14' height='3'/%3E%3Crect x='14' y='3' width='6' height='2'/%3E%3Crect x='18' y='2' width='4' height='3'/%3E%3Crect x='57' y='6' width='20' height='3'/%3E%3Crect x='60' y='4' width='7' height='2'/%3E%3Crect x='65' y='2' width='8' height='4'/%3E%3Crect x='72' y='4' width='4' height='2'/%3E%3C/g%3E%3C/svg%3E") }
.c-cloud.k3 { --tile: 700px; --ch: 80px; top: 0; --cm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 16' preserveAspectRatio='none' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='12' y='7' width='20' height='3'/%3E%3Crect x='15' y='5' width='7' height='2'/%3E%3Crect x='20' y='3' width='8' height='4'/%3E%3Crect x='27' y='5' width='4' height='2'/%3E%3Crect x='71' y='11' width='14' height='3'/%3E%3Crect x='74' y='9' width='6' height='2'/%3E%3Crect x='78' y='8' width='4' height='3'/%3E%3Crect x='107' y='8' width='20' height='3'/%3E%3Crect x='110' y='6' width='7' height='2'/%3E%3Crect x='115' y='4' width='8' height='4'/%3E%3Crect x='122' y='6' width='4' height='2'/%3E%3C/g%3E%3C/svg%3E") }
@media (max-width: 560px) { .c-cloud.k1 { top: 30px } .c-cloud.k2 { top: 96px } .c-cloud.k3 { top: 10px } }
.c-wx--clear .c-cloud.k1, .c-wx--fair .c-cloud.k1, .c-wx--rain .c-cloud.k1, .c-wx--storm .c-cloud.k1, .c-wx--snow .c-cloud.k1, .c-wx--fog .c-cloud.k1,
.c-wx--fair .c-cloud.k2, .c-wx--rain .c-cloud.k2, .c-wx--storm .c-cloud.k2, .c-wx--snow .c-cloud.k2, .c-wx--fog .c-cloud.k2,
.c-wx--rain .c-cloud.k3, .c-wx--storm .c-cloud.k3, .c-wx--snow .c-cloud.k3, .c-wx--fog .c-cloud.k3 { display: block }
.c-sky--day .c-cloud { --cloud: #ffffff; opacity: .92 }
.c-sky--dawn .c-cloud, .c-sky--sunset .c-cloud { --cloud: #ffd0e0; opacity: .85 }
.c-sky--dusk .c-cloud, .c-sky--night .c-cloud { --cloud: #8a86c0; opacity: .45 }
.c-sky--day.c-wx--rain .c-cloud, .c-sky--day.c-wx--snow .c-cloud { --cloud: #e4ecf5 }
.c-sky--day.c-wx--storm .c-cloud { --cloud: #9aa8bd }
.c-sky--day.c-wx--fog .c-cloud { --cloud: #f2f5fa; opacity: .7 }
.c-fall { position: absolute; left: 0; right: 0; top: calc(var(--ft) * -1); bottom: 0; display: none; pointer-events: none; background-color: var(--fc); -webkit-mask: var(--fm) 0 0 / var(--ft) var(--ft) repeat; mask: var(--fm) 0 0 / var(--ft) var(--ft) repeat }
.c-wx--rain .c-fall, .c-wx--storm .c-fall, .c-wx--snow .c-fall { display: block }
.c-wx--rain .c-fall.f1, .c-wx--storm .c-fall.f1 { --ft: 120px; --fc: rgba(200, 225, 255, .7); --fm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='10' y='8' width='1' height='6'/%3E%3Crect x='34' y='50' width='1' height='6'/%3E%3Crect x='58' y='20' width='1' height='6'/%3E%3Crect x='82' y='84' width='1' height='6'/%3E%3Crect x='100' y='40' width='1' height='6'/%3E%3Crect x='22' y='96' width='1' height='6'/%3E%3Crect x='70' y='66' width='1' height='6'/%3E%3Crect x='108' y='108' width='1' height='6'/%3E%3C/g%3E%3C/svg%3E") }
.c-wx--rain .c-fall.f2, .c-wx--storm .c-fall.f2 { --ft: 90px; --fc: rgba(200, 225, 255, .7); --fm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='6' y='10' width='1' height='6'/%3E%3Crect x='30' y='60' width='1' height='6'/%3E%3Crect x='52' y='30' width='1' height='6'/%3E%3Crect x='74' y='74' width='1' height='6'/%3E%3Crect x='18' y='40' width='1' height='6'/%3E%3Crect x='64' y='4' width='1' height='6'/%3E%3Crect x='84' y='48' width='1' height='6'/%3E%3Crect x='40' y='84' width='1' height='6'/%3E%3C/g%3E%3C/svg%3E") }
.c-wx--snow .c-fall.f1 { --ft: 140px; --fc: #fff; --fm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='8' y='10' width='2' height='2'/%3E%3Crect x='30' y='70' width='3' height='3'/%3E%3Crect x='55' y='30' width='2' height='2'/%3E%3Crect x='80' y='100' width='3' height='3'/%3E%3Crect x='105' y='15' width='2' height='2'/%3E%3Crect x='122' y='60' width='3' height='3'/%3E%3Crect x='70' y='125' width='2' height='2'/%3E%3Crect x='15' y='120' width='2' height='2'/%3E%3Crect x='95' y='50' width='2' height='2'/%3E%3Crect x='45' y='100' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E") }
.c-wx--snow .c-fall.f2 { --ft: 100px; --fc: #fff; --fm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' shape-rendering='crispEdges'%3E%3Cg fill='white'%3E%3Crect x='12' y='20' width='3' height='3'/%3E%3Crect x='40' y='60' width='2' height='2'/%3E%3Crect x='70' y='10' width='2' height='2'/%3E%3Crect x='85' y='75' width='3' height='3'/%3E%3Crect x='25' y='88' width='2' height='2'/%3E%3Crect x='55' y='40' width='2' height='2'/%3E%3Crect x='5' y='50' width='2' height='2'/%3E%3Crect x='92' y='35' width='3' height='3'/%3E%3Crect x='60' y='92' width='2' height='2'/%3E%3Crect x='35' y='5' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E") }
.c-flash { position: absolute; inset: 0; display: none; background: #eef4ff; opacity: 0; pointer-events: none }
.c-wx--storm .c-flash { display: block }
.c-haze { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; display: none; background: linear-gradient(180deg, transparent, rgba(235, 240, 250, .35)); pointer-events: none }
.c-wx--fog .c-haze { display: block }
/* snow on the ground (winter, or snow in the air): caps on the buildings, rail deck, rooftops and the road edge */
.c-snowy .c-body { box-shadow: inset 0 4px 0 #eef6ff, 0 0 10px var(--c), inset 0 0 14px rgba(0, 0, 0, .6) }
.c-snowy.c-sky--night .c-body, .c-snowy.c-sky--dusk .c-body { box-shadow: inset 0 4px 0 #eef6ff, 0 0 18px var(--c), inset 0 0 14px rgba(0, 0, 0, .6) }
.c-snowy .c-bld:hover .c-body, .c-snowy .c-bld:focus-visible .c-body { box-shadow: inset 0 4px 0 #eef6ff, 0 0 22px var(--c), 0 0 4px #fff }   /* hover and keyboard focus keep their glow on a snowy night */
.c-snowy .c-deck, .c-snowy .c-tank, .c-snowy .c-tier { border-top-color: #eef6ff }
.c-snowy .c-road { border-top-color: #eef6ff; box-shadow: 0 -2px 10px rgba(238, 246, 255, .7) }
.c-season--summer:not(.c-snowy) .c-road { border-top-color: #4dff9a; box-shadow: 0 -2px 14px #4dff9a }
.c-season--spring:not(.c-snowy) .c-road { border-top-color: #8dff7a; box-shadow: 0 -2px 14px #8dff7a }
.c-season--fall:not(.c-snowy) .c-road { border-top-color: #ff8a3c; box-shadow: 0 -2px 14px #ff8a3c }
@media (prefers-reduced-motion: no-preference) {
  .c-life .c-wk { animation: c-wk var(--p) ease-in-out var(--d) infinite }
  .c-life .c-blink::before { animation: c-blink 1.4s steps(2) infinite }
  .c-life .c-flick { animation: c-flick 3.7s infinite }
  .c-life .c-smoke { display: block }
  .c-life .c-walk { display: block } .c-life .c-crew .mv-still:not(.fixed) { display: none }
  .c-life .c-mv { will-change: transform; animation-duration: var(--cy); animation-delay: var(--dl); animation-timing-function: linear; animation-iteration-count: infinite }
  .c-life .c-puff { animation: c-puff var(--p) linear var(--d) infinite }
  .c-life .c-train { display: flex; will-change: transform } .c-life .c-train.t1 { animation: c-t1 45s linear 4s infinite } .c-life .c-train.t2 { animation: c-t2 70s linear 24s infinite }
  .c-life .c-blimp { display: flex; will-change: transform; animation: c-blimp 120s linear 9s infinite }
  .c-life .c-sky--night .c-shoot { display: block; animation: c-shoot 75s linear 20s infinite } .c-life .c-sky--night .c-shoot.s2 { animation: c-shoot2 130s linear 65s infinite }
  .c-life .c-car { left: 0; will-change: transform; transform: translateX(-40px); animation: c-drive-r var(--dur) linear var(--del) infinite }
  .c-life .c-car.l { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)); animation-name: c-drive-l }
  @keyframes c-wk { 0%, 35% { opacity: 1 } 45%, 80% { opacity: .08 } 90%, 100% { opacity: 1 } }
  @keyframes c-blink { 50% { opacity: .15 } }
  @keyframes c-flick { 0%, 91%, 95%, 100% { opacity: 1 } 93% { opacity: .35 } }
  @media (max-width: 999px) { .c-life .c-puff { animation-name: c-puff-s } }   /* wrapped rows: the smoke stays over its own roof, clear of the count line above */
  @keyframes c-puff-s { 0% { opacity: 0; transform: translate(0, 0) scale(.5) } 15% { opacity: .55 } 100% { opacity: 0; transform: translate(5px, -12px) scale(1.4) } }
  @keyframes c-puff { 0% { opacity: 0; transform: translate(0, 0) scale(.5) } 15% { opacity: .55 } 100% { opacity: 0; transform: translate(9px, -38px) scale(1.8) } }
  @keyframes c-t1 { 0% { transform: translateX(-200px) } 31% { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } 100% { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } }
  @keyframes c-t2 { 0% { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } 20% { transform: translateX(-200px) } 100% { transform: translateX(-200px) } }
  @keyframes c-blimp { 0% { transform: translateX(-190px) } 20% { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } 100% { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } }
  @keyframes c-shoot { 0% { opacity: 0; transform: rotate(28deg) translateX(0) } .4% { opacity: 1 } 1.6% { opacity: 0; transform: rotate(28deg) translateX(230px) } 100% { opacity: 0; transform: rotate(28deg) translateX(230px) } }
  @keyframes c-shoot2 { 0% { opacity: 0; transform: rotate(152deg) translateX(0) } .25% { opacity: 1 } .9% { opacity: 0; transform: rotate(152deg) translateX(210px) } 100% { opacity: 0; transform: rotate(152deg) translateX(210px) } }
  @keyframes c-drive-r { from { transform: translateX(-40px) } to { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } }
  @keyframes c-drive-l { from { transform: translateX(110vw); transform: translateX(calc(100cqw + 40px)) } to { transform: translateX(-40px) } }
  .c-life .c-cloud { will-change: transform }
  .c-life .c-cloud.k1 { animation: c-cloud1 140s linear infinite } .c-life .c-cloud.k2 { animation: c-cloud2 95s linear infinite } .c-life .c-cloud.k3 { animation: c-cloud3 200s linear infinite }
  .c-life .c-wx--rain .c-fall.f1, .c-life .c-wx--storm .c-fall.f1 { will-change: transform; animation: c-rain1 .55s linear infinite }
  .c-life .c-wx--rain .c-fall.f2, .c-life .c-wx--storm .c-fall.f2 { will-change: transform; animation: c-rain2 .45s linear infinite }
  .c-life .c-wx--snow .c-fall.f1 { will-change: transform; animation: c-snow1 7s linear infinite }
  .c-life .c-wx--snow .c-fall.f2 { will-change: transform; animation: c-snow2 5s linear infinite }
  .c-life .c-wx--storm .c-flash { animation: c-flash 9s infinite }
  @keyframes c-cloud1 { from { transform: translateX(0) } to { transform: translateX(-520px) } }
  @keyframes c-cloud2 { from { transform: translateX(0) } to { transform: translateX(-380px) } }
  @keyframes c-cloud3 { from { transform: translateX(0) } to { transform: translateX(-700px) } }
  @keyframes c-rain1 { to { transform: translateY(120px) } }
  @keyframes c-rain2 { to { transform: translateY(90px) } }
  @keyframes c-snow1 { to { transform: translateY(140px) } }
  @keyframes c-snow2 { 0% { transform: translate(0, 0) } 100% { transform: translate(0, 100px) } }
  @keyframes c-flash { 0%, 94%, 100% { opacity: 0 } 95% { opacity: .35 } 96% { opacity: 0 } 97% { opacity: .22 } }
  .c-paused * { animation-play-state: paused !important }
}
@media (max-width: 560px) { .c-street { margin-top: 56px } .c-road .c-car:nth-child(n+5) { display: none } }

/* TEAM tab redesign (2026-11-16): period control, talk-about cards, one card per person, four charts, then the list. Every rule starts with tm- and sits
   under #tab-team; the period chips, cards and tooltip follow the SALES scoreboard's look (sx-). Motion plays only under prefers-reduced-motion:
   no-preference; the html always holds the final numbers and heights. */
#tab-team .tm { --tmp: #ff3ea5; --tmr: #ff4d6d; --tmg: #4dff9a; --tmy: #ffe24a }
#tab-team .tm > * { min-width: 0 }
#tab-team .tm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px }
#tab-team .tm-bar .tabh { margin: 0 } #tab-team .tm-bar .tabh small { display: block; font-family: var(--body); font-size: 13px; color: var(--muted); margin-top: 4px }
#tab-team .tm-chips { display: flex; flex-wrap: wrap; gap: 8px }
#tab-team .tm-per { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; cursor: pointer }
#tab-team .tm-per:hover { color: #fff } #tab-team .tm-per[aria-pressed="true"] { background: var(--gold); color: #000 }
#tab-team .tm-per:focus-visible, #tab-team .tm-tog:focus-visible, #tab-team .tm-p:focus-visible, #tab-team .tm-talk:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
#tab-team .tm-cmp { font-size: 13px; color: var(--muted); margin-left: auto }
#tab-team .tm-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-team .tm-dim { color: var(--dim); font-size: 12px; margin: 6px 0 0 }
#tab-team .tm-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative }
#tab-team .tm-say { font-size: 13.5px; color: var(--fg); margin: 8px 0 0 } #tab-team .tm-say::before { content: "\25B8  "; color: var(--gold) } #tab-team .tm-say.sm { font-size: 12px }
#tab-team .tm-talks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px }
#tab-team .tm-talks .tm-talkh { grid-column: 1 / -1; color: #fff; font-size: 9px }
#tab-team .tm-talk { display: block; text-align: left; font: inherit; color: var(--fg); text-decoration: none; cursor: pointer; background: var(--panel2); border: 3px solid var(--ink); border-left: 6px solid var(--c, var(--gold)); box-shadow: 4px 4px 0 var(--ink); padding: 9px 12px; min-width: 0 }
#tab-team .tm-talk:hover { background: #1d0f48 } #tab-team .tm-talk b { display: block; font-weight: 600; font-size: 14px; margin: 3px 0 2px; overflow-wrap: anywhere }
#tab-team .tm-tl { display: block; font-size: 12px; color: var(--muted) }
#tab-team .tm-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding-top: 14px }
#tab-team .tm-totc { border-top: 8px solid var(--tmp) }
#tab-team .tm-v { font-family: var(--num); font-size: 46px; line-height: .9; color: var(--fg); text-shadow: 2px 2px 0 var(--ink); margin-top: 6px } #tab-team .tm-v small { font-size: 16px; color: var(--muted); margin-left: 4px }
#tab-team .tm-totc .tm-v { font-size: 64px; line-height: .85; color: var(--tmp); text-shadow: 3px 3px 0 var(--ink); margin-top: 8px }
#tab-team .tm-of { font-family: var(--num); font-size: 18px; line-height: 1.1; color: var(--muted) }
#tab-team .tm-delta { display: inline-block; font: 600 11px/1.2 var(--body); padding: 3px 6px; margin-top: 5px; border-radius: 2px; background: #ffffff12; color: var(--muted) }
#tab-team .tm-delta.up { color: var(--tmr) } #tab-team .tm-delta.down { color: var(--tmg) }
#tab-team .tm-spark { display: block; width: 100%; height: 26px; margin-top: 6px } #tab-team .tm-totc .tm-spark { height: 38px }
#tab-team .tm-nospark { margin-top: 8px }
#tab-team .tm-p { cursor: pointer; padding: 10px 10px 9px; border-top: 8px solid var(--c, var(--dim)); transition: transform .12s, box-shadow .12s }
#tab-team .tm-p:hover, #tab-team .tm-p.on { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--ink), 0 0 18px #ff3ea540 }
#tab-team .tm-p.on { outline: 2px solid var(--c); outline-offset: 2px }
#tab-team .tm-nm { font-family: var(--pixel); font-size: 10px; line-height: 1.3; color: var(--c) }
#tab-team .tm-clear .tm-v { color: var(--tmg); font-size: 30px; line-height: 1.2 }
#tab-team .tm-tag { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-family: var(--pixel); font-size: 7px; line-height: 1; background: var(--tmr); color: #000; padding: 4px 6px; white-space: nowrap }
#tab-team .tm-meter { margin-top: 7px } #tab-team .tm-mrow { display: grid; grid-template-columns: 56px minmax(0, 1fr) 34px; gap: 5px; align-items: center; font-size: 11px; color: var(--muted); margin: 3px 0 }
#tab-team .tm-mrow i { display: block; height: 8px; background: var(--panel2); position: relative } #tab-team .tm-mrow i b { position: absolute; inset: 0 auto 0 0; background: var(--c, var(--gold)); box-shadow: 0 0 8px var(--c, var(--gold)) }
#tab-team .tm-mrow em { font: normal 400 16px/1 var(--num); color: var(--fg); text-align: right }
#tab-team .tm-row2, #tab-team .tm-row3 { display: grid; gap: 12px; margin-top: 16px } #tab-team .tm-row2 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) } #tab-team .tm-row3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 12px }
#tab-team .tm-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px } #tab-team .tm-chead .tm-k { font-size: 9px; color: #fff; margin-right: auto } #tab-team .tm-chead .tm-now { font-family: var(--pixel); font-size: 8px; color: var(--muted) }
#tab-team .tm-togs { display: inline-flex; flex-wrap: wrap; gap: 6px }
#tab-team .tm-tog { font: 600 11px/1 var(--body); padding: 6px 9px; border: 2px solid currentColor; background: none; cursor: pointer; border-radius: 2px; opacity: .4 } #tab-team .tm-tog[aria-pressed="true"] { opacity: 1 }
#tab-team .tm-linewrap { position: relative } #tab-team .tm-line { width: 100%; height: auto; display: block; margin-top: 6px; overflow: visible }
#tab-team .tm-line .tm-grid { stroke: #ffffff14 } #tab-team .tm-line text { font: 11px var(--body); fill: var(--muted) }
#tab-team .tm-line .tm-s { fill: none; stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 4px currentColor) }
#tab-team .tm-line .tm-tt { stroke: #fff; stroke-width: 2; stroke-dasharray: 5 5; opacity: .6; filter: none }
#tab-team .tm-line .tm-mark { stroke: var(--tmy); stroke-dasharray: 3 4 } #tab-team .tm-line .tm-mk { fill: var(--tmy); font-size: 10px }
#tab-team .tm-tip { position: absolute; z-index: 5; pointer-events: none; background: #000; border: 2px solid var(--gold); padding: 6px 9px; font-size: 12px; line-height: 1.5; white-space: nowrap } #tab-team .tm-tip[hidden] { display: none } #tab-team .tm-tip-h { font-weight: 600; color: #fff }
#tab-team .tm-ages { display: flex; align-items: stretch; gap: 14px; height: 150px; margin: 26px 0 34px; border-bottom: 2px solid var(--dim) }
#tab-team .tm-col { flex: 1; position: relative; min-width: 0 } #tab-team .tm-stack { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column-reverse; transform-origin: bottom }
#tab-team .tm-stack i { display: block; width: 100%; box-shadow: inset 0 0 0 1px #0006 }
#tab-team .tm-ct { position: absolute; left: 0; right: 0; text-align: center; font: 400 22px/1 var(--num); color: var(--fg) }
#tab-team .tm-col em { position: absolute; top: calc(100% + 6px); left: -6px; right: -6px; text-align: center; font: normal 11px/1.2 var(--body); color: var(--muted) }
#tab-team .tm-lg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 6px } #tab-team .tm-lg i { display: inline-block; width: 9px; height: 9px; margin-right: 4px }
#tab-team .tm-hbs { margin-top: 8px } #tab-team .tm-hb { display: grid; grid-template-columns: 70px minmax(0, 1fr) 34px; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin: 6px 0 } #tab-team .tm-hb.dim { opacity: .35 }
#tab-team .tm-hbar { display: block; background: var(--panel2) } #tab-team .tm-hbar i { display: block; height: 14px; min-width: 2px; box-shadow: 0 0 8px currentColor }
#tab-team .tm-hb b { font: 400 17px/1 var(--num); color: var(--fg); text-align: right }
#tab-team .tm-donut { display: flex; align-items: center; gap: 16px; margin-top: 10px } #tab-team .tm-donut svg { width: 130px; flex: none }
#tab-team .tm-donut circle { fill: none; stroke-width: 16 } #tab-team .tm-donut text { font: 400 30px var(--num); fill: #22e6ff }
#tab-team .tm-big { font: 400 44px/.9 var(--num); color: #22e6ff } #tab-team .tm-donut p { margin: 3px 0; font-size: 13px; color: var(--muted) } #tab-team .tm-donut p b { color: var(--fg) }
#tab-team .tm-lsth { margin: 26px 0 8px } #tab-team .tm-lsth small { font-family: var(--body); font-size: 13px; color: var(--muted); margin-left: 8px }
#tab-team .arow { border-left: 6px solid var(--tmc, var(--ink)) }
@media (prefers-reduced-motion: no-preference) {
  #tab-team .tm-draw { stroke-dasharray: 1; stroke-dashoffset: 0; animation: tm-draw 1.2s ease-out both }
  #tab-team .tm-fade { animation: tm-fade 1.2s ease-out both }
  #tab-team .tm-mrow i b, #tab-team .tm-hbar i { animation: tm-grow-x .9s cubic-bezier(.2, .9, .2, 1) both }
  #tab-team .tm-stack { animation: tm-grow-y .8s cubic-bezier(.2, .9, .2, 1) both } #tab-team .tm-ct { animation: tm-fade .8s ease-out both }
  #tab-team .tm-arc { animation: tm-arc 1s cubic-bezier(.2, .9, .2, 1) both }
  #tab-team .tm-tag { animation: tm-pulse 1.1s steps(2) infinite }
  @keyframes tm-draw { from { stroke-dashoffset: 1 } to { stroke-dashoffset: 0 } }
  @keyframes tm-fade { from { opacity: 0 } }
  @keyframes tm-grow-x { from { width: 0 } }
  @keyframes tm-grow-y { from { transform: scaleY(0) } }
  @keyframes tm-arc { from { stroke-dasharray: 0 var(--C) } }
  @keyframes tm-pulse { 50% { background: var(--tmy) } }
}
@media (max-width: 900px) {
  #tab-team .tm-talks { grid-template-columns: minmax(0, 1fr) }
  #tab-team .tm-top { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px } #tab-team .tm-totc { grid-column: 1 / -1 }
  #tab-team .tm-row2, #tab-team .tm-row3 { grid-template-columns: minmax(0, 1fr) } #tab-team .tm-cmp { margin-left: 0 }
}
@media (max-width: 700px) { #tab-team .tm-per, #tab-team .tm-tog { min-height: 44px; padding-left: 12px; padding-right: 12px } }
@media (max-width: 520px) {
  #tab-team .tm-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } #tab-team .tm-totc .tm-v { font-size: 56px }
  #tab-team .tm-donut { flex-wrap: wrap } #tab-team .tm-ages { gap: 8px }
}
#tab-team .tm-linebox { min-width: 0 }
/* ---- PROOF tab, the proof wall (decisions 1552, 1551, 1545, 1544). Everything is pf- and lives under .proof.pf. The top row, the map and the folds are the board's
   neon; the cards, the dialog and SHARE SCREEN are the brand look (black, white, one orange #f26522, Montserrat). The resting state is always the final state:
   motion runs only under prefers-reduced-motion: no-preference. */
.proof.pf { --pf-or: #f26522; --pf-brand: "Montserrat", "Inter", "Segoe UI", sans-serif; min-width: 0 }
.proof.pf [hidden] { display: none !important }
.proof.pf .pf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px }
.proof.pf .pf-bar .tabh { margin: 30px 0 0 }
.proof.pf .pf-t-share, .proof.pf .pf-showline, .proof.pf .pf-s-off { display: none }
.proof.pf .pf-share { margin: 30px 0 0 auto; font: 800 12px/1 var(--pf-brand); letter-spacing: .06em; padding: 11px 14px; background: var(--pf-or); color: #000; border: 3px solid #000; box-shadow: 3px 3px 0 #000; cursor: pointer; min-height: 44px }
.proof.pf .pf-share:hover { transform: translateY(-1px) } .proof.pf .pf-share:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.proof.pf .pf-showline { font: 600 15px/1.5 var(--pf-brand); color: #ccc; margin: 6px 0 4px }
.proof.pf .pf-z { display: flex; align-items: center; gap: 10px; font: 400 9px/1.4 var(--pixel); color: var(--cyan); margin: 26px 0 10px }
.proof.pf .pf-z::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent) }
/* top row of five neon cards */
.proof.pf .pf-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 14px }
.proof.pf .pf-stat { background: var(--panel); border: 4px solid var(--ink); border-top-width: 8px; box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0 }
.proof.pf .pf-k { font: 400 8px/1.5 var(--pixel); color: var(--muted); letter-spacing: .03em }
.proof.pf .pf-v { font: 400 46px/.95 var(--num); margin-top: 8px; text-shadow: 3px 3px 0 var(--ink); overflow-wrap: anywhere }
.proof.pf .pf-v .pf-none { font: 400 20px/1.15 var(--num); color: var(--dim); text-shadow: none }
.proof.pf .pf-of { font-size: 13px; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere }
.proof.pf .pf-stat.s1 { border-top-color: var(--pf-or) } .proof.pf .s1 .pf-v { color: var(--pf-or) }
.proof.pf .pf-stat.s2 { border-top-color: var(--pink) } .proof.pf .s2 .pf-v { color: var(--pink) }
.proof.pf .pf-stat.s3 { border-top-color: var(--green) } .proof.pf .s3 .pf-v { color: var(--green) }
.proof.pf .pf-stat.s4 { border-top-color: var(--purple) } .proof.pf .s4 .pf-v { color: var(--fg) }
.proof.pf .pf-stat.s5 { border-top-color: var(--yellow); cursor: pointer } .proof.pf .s5 .pf-v { color: var(--yellow) }
.proof.pf .pf-stat.s5:hover { transform: translateY(-3px) } .proof.pf .pf-stat.s5:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
/* the proof map: job type by company size */
.proof.pf .pf-hm { display: grid; grid-template-columns: 84px repeat(6, minmax(0, 1fr)); gap: 5px; margin-top: 12px; max-width: 760px }
.proof.pf .pf-h { font: 600 11px/1.2 var(--body); color: var(--muted); text-align: center; align-self: end; padding-bottom: 4px; position: relative; min-width: 0 }
.proof.pf .pf-gaptag { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font: 400 7px/1 var(--pixel); font-style: normal; background: #ff4d6d; color: #000; padding: 4px 5px; white-space: nowrap }
.proof.pf .pf-r { font: 400 8px/1.3 var(--pixel); color: var(--fg); align-self: center; min-width: 0 }
.proof.pf .pf-cell { height: 46px; border: 2px solid #000; background: #1a0f3d; color: #3d3270; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; min-width: 0; font: inherit }
.proof.pf .pf-cell b { font: 400 22px/1 var(--num) }
.proof.pf .pf-cell.got { background: var(--pf-or); color: #000; box-shadow: 0 0 14px #f2652266 }
.proof.pf .pf-cell.wait { background: repeating-linear-gradient(45deg, #2a1d55, #2a1d55 5px, #3a2a10 5px, #3a2a10 10px); color: var(--yellow); border-color: var(--yellow) }
.proof.pf .pf-cell:hover { box-shadow: 0 0 0 2px var(--fg) } .proof.pf .pf-cell[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cyan) }
.proof.pf .pf-cell:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.proof.pf .pf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 10px }
.proof.pf .pf-legend i { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-right: 5px; border: 1px solid #000; background: #1a0f3d }
.proof.pf .pf-legend i.got { background: var(--pf-or) } .proof.pf .pf-legend i.wait { background: repeating-linear-gradient(45deg, #2a1d55, #2a1d55 3px, #6a5210 3px, #6a5210 6px) }
.proof.pf .pf-say { font-size: 14px; color: var(--fg); margin: 10px 0 0; max-width: 760px } .proof.pf .pf-say::before { content: "\25B8  "; color: var(--pink) }
.proof.pf .pf-l-short, .proof.pf .pf-l-tiny { display: none }
/* filters and the wall of brand cards */
.proof.pf .pf-filters { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 4px 0 14px }
.proof.pf .pf-chips { display: flex; flex-wrap: wrap; gap: 6px }
.proof.pf .pf-chip { font: 400 9px/1 var(--pixel); color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 9px 9px; cursor: pointer; min-height: 36px }
.proof.pf .pf-chip:hover { color: #fff } .proof.pf .pf-chip[aria-pressed="true"] { background: var(--pink); color: #000 } .proof.pf .pf-chip:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.proof.pf .pf-count { font-size: 13px; color: var(--muted); margin-left: auto }
.proof.pf .pf-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start }
.proof.pf .pf-card { background: #fff; color: #111; border-radius: 6px; padding: 16px 16px 12px; font-family: var(--pf-brand); position: relative; overflow: hidden; box-shadow: 0 6px 0 #000; min-width: 0 }
.proof.pf .pf-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pf-or) }
.proof.pf .pf-ch { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.proof.pf .pf-kind { font: 800 10px/1 var(--pf-brand); letter-spacing: .12em; color: var(--pf-or) }
.proof.pf .pf-score { font: 400 8px/1 var(--pixel); color: #000; background: var(--green); padding: 5px 6px; box-shadow: 0 0 8px #4dff9a88; white-space: nowrap }
.proof.pf .pf-big { font: 900 44px/1 var(--pf-brand); color: #000; margin: 10px 0 2px; letter-spacing: -.02em; overflow-wrap: anywhere }
.proof.pf .pf-big small { display: block; font: 700 13px/1.3 var(--pf-brand); color: #555; letter-spacing: 0; margin-top: 4px }
.proof.pf .pf-card h3 { font: 700 15.5px/1.3 var(--pf-brand); margin: 8px 0 10px; color: #111; letter-spacing: 0; text-wrap: pretty }
.proof.pf .pf-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px }
.proof.pf .tag { font: 700 10.5px/1 var(--pf-brand); padding: 5px 7px; border-radius: 3px; background: #111; color: #fff; text-transform: uppercase; letter-spacing: .05em }
.proof.pf .tag.sz { background: #fff; color: #111; border: 1.5px solid #111 } .proof.pf .tag.tf { background: #f3f3f3; color: #555 }
.proof.pf .pf-chart { margin: 4px 0 12px } .proof.pf .pf-nochart { font: 600 12px/1.4 var(--pf-brand); color: #777; margin: 4px 0 12px }
.proof.pf .pf-labs { position: relative; height: 26px } .proof.pf .pf-labs:empty { height: 4px }
.proof.pf .pf-lab { position: absolute; left: 0; transform: translateX(var(--tx, -50%)); font: 700 11px/1.2 var(--pf-brand); color: #333; white-space: nowrap; max-width: 100% }
.proof.pf .pf-labs.up .pf-lab { bottom: 2px } .proof.pf .pf-labs.dn .pf-lab { top: 4px } .proof.pf .pf-lab.big { color: #000; font-weight: 800 }
.proof.pf .pf-track { position: relative; height: 12px; background: #e6e6e6; border-radius: 2px; margin: 4px 0 }
.proof.pf .pf-fill { position: absolute; inset: 0; background: #111; border-radius: 2px }
.proof.pf .pf-mk { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--pf-or) }
.proof.pf .pf-mk.big { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--pf-or); border-color: #fff; box-shadow: 0 0 0 2px #111 }
.proof.pf .pf-ends { display: flex; justify-content: space-between; font: 600 10.5px/1.2 var(--pf-brand); color: #777 }
.proof.pf .pf-pair { margin-top: 12px } .proof.pf .pf-pr { display: grid; grid-template-columns: 112px minmax(0, 1fr) 58px; gap: 8px; align-items: center; margin: 4px 0; font: 600 11.5px/1.2 var(--pf-brand); color: #333 }
.proof.pf .pf-pt { height: 14px; background: #eee; border-radius: 2px; position: relative; overflow: hidden } .proof.pf .pf-pt i { position: absolute; inset: 0 auto 0 0; background: var(--pf-or) } .proof.pf .pf-pt i.gry { background: #aaa }
.proof.pf .pf-pr b { font: 800 13px/1 var(--pf-brand); text-align: right; color: #000 }
.proof.pf .pf-delta { font: 700 12px/1.3 var(--pf-brand); color: var(--pf-or); margin: 4px 0 0 }
.proof.pf .pf-ret { font: 600 13px/1.35 var(--pf-brand); color: #222; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #eee } .proof.pf .pf-ret b { font-weight: 900; color: var(--pf-or) } .proof.pf .pf-ret small { color: #777; font-size: 11.5px }
.proof.pf .pf-acts { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eee; padding-top: 10px }
.proof.pf .pf-btn { font: 800 11px/1 var(--pf-brand); letter-spacing: .06em; padding: 11px 12px; min-height: 44px; border-radius: 3px; border: 2px solid #111; background: #fff; color: #111; cursor: pointer }
.proof.pf .pf-btn.pri { background: var(--pf-or); border-color: var(--pf-or); color: #000 } .proof.pf .pf-btn:hover { filter: brightness(.95) } .proof.pf .pf-btn:focus-visible { outline: 3px solid #000; outline-offset: 2px }
.proof.pf .pf-btn.done { background: #111; color: #fff; border-color: #111 }
.proof.pf .pf-empty { grid-column: 1 / -1; background: var(--panel2); border: 3px dashed var(--dim); padding: 16px 18px; color: var(--muted); font-size: 14px }
.proof.pf .pf-empty b { color: var(--fg) } .proof.pf .pf-empty .pf-near { margin-top: 10px }
/* behind the scenes: folds, closed by default */
.proof.pf .pf-fold { background: var(--panel2); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); margin-top: 12px }
.proof.pf .pf-fold > summary { cursor: pointer; padding: 13px 14px; font: 400 10px/1.4 var(--pixel); color: var(--fg); list-style: none; display: flex; gap: 10px; align-items: center; min-height: 44px }
.proof.pf .pf-fold > summary::-webkit-details-marker { display: none } .proof.pf .pf-fold > summary::before { content: "\25B6"; color: var(--pink); font-size: 9px }
.proof.pf .pf-fold[open] > summary::before { content: "\25BC" }
.proof.pf .pf-fold-in { padding: 0 14px 14px } .proof.pf .pf-fold-in > .rv-section:first-child h3.dk { margin-top: 0 }
.proof.pf .pf-weak ul { margin: 6px 0 0; padding-left: 20px }
/* the full story dialog: brand look */
.pf-dlg { border: 0; border-top: 8px solid #f26522; border-radius: 6px; padding: 0; background: #fff; color: #111; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); font-family: "Montserrat", "Inter", "Segoe UI", sans-serif; box-shadow: 0 0 0 4px #000 }
.pf-dlg::backdrop { background: rgba(0, 0, 0, .82) }
.pf-dlg .pf-dlg-in { position: relative; padding: 22px 22px 18px; overflow: auto; max-height: calc(100dvh - 48px) }
.pf-dlg .pf-x { position: absolute; right: 10px; top: 8px; font: 800 18px/1 "Montserrat", sans-serif; background: none; border: 0; cursor: pointer; min-width: 44px; min-height: 44px; color: #111 }
.pf-dlg h2 { font: 900 22px/1.25 "Montserrat", sans-serif; margin: 6px 40px 12px 0; color: #111; letter-spacing: 0; text-shadow: none }
.pf-dlg .pf-dlg-body { font: 500 14.5px/1.6 "Montserrat", "Inter", sans-serif; color: #222 } .pf-dlg .pf-dlg-body p { margin: 0 0 10px } .pf-dlg .pf-dlg-body ul, .pf-dlg .pf-dlg-body ol { margin: 0 0 10px; padding-left: 22px }
.pf-dlg .pf-dlg-body h4 { font: 800 11px/1.2 "Montserrat", sans-serif; letter-spacing: .12em; color: #f26522; margin: 18px 0 6px; text-transform: uppercase }
.pf-dlg .pf-dlg-body blockquote { border-left: 4px solid #f26522; background: #f5f5f5; margin: 0 0 10px; padding: 10px 14px }
.pf-dlg .pf-acts { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #eee; padding-top: 12px; margin-top: 14px }
.pf-dlg .pf-btn { font: 800 11px/1 "Montserrat", sans-serif; letter-spacing: .06em; padding: 11px 12px; min-height: 44px; border-radius: 3px; border: 2px solid #111; background: #fff; color: #111; cursor: pointer }
.pf-dlg .pf-btn.pri { background: #f26522; border-color: #f26522; color: #000 } .pf-dlg .pf-btn.done { background: #111; color: #fff }
/* SHARE SCREEN: black, white and orange for the whole panel; the neon row, the score chips and everything behind the scenes are hidden */
.proof.pf.pf-share { background: #000; padding: 18px 18px 26px; border-radius: 8px; margin-top: 14px }
.proof.pf.pf-share .pf-team { display: none !important }
.proof.pf.pf-share .pf-t-team, .proof.pf.pf-share .pf-s-on { display: none } .proof.pf.pf-share .pf-t-share, .proof.pf.pf-share .pf-s-off { display: inline } .proof.pf.pf-share .pf-showline { display: block }
.proof.pf.pf-share .pf-bar .tabh { margin-top: 0; font: 900 24px/1.2 var(--pf-brand); color: #fff } .proof.pf.pf-share .pf-share { margin-top: 0; background: #fff }
.proof.pf.pf-share .pf-z { font: 800 12px/1.2 var(--pf-brand); letter-spacing: .12em; color: var(--pf-or); margin-top: 22px } .proof.pf.pf-share .pf-z::after { background: linear-gradient(90deg, var(--pf-or), transparent) }
.proof.pf.pf-share .pf-chip { font: 700 11px/1 var(--pf-brand); background: #111; color: #ddd; border: 2px solid #333; box-shadow: none; border-radius: 3px } .proof.pf.pf-share .pf-chip[aria-pressed="true"] { background: var(--pf-or); color: #000; border-color: var(--pf-or) }
.proof.pf.pf-share .pf-count { color: #aaa }
.proof.pf.pf-share .pf-h { color: #bbb; font-family: var(--pf-brand); font-weight: 700 } .proof.pf.pf-share .pf-r { font: 800 10px/1.3 var(--pf-brand); letter-spacing: .06em; color: #fff }
.proof.pf.pf-share .pf-cell { background: #111; border-color: #222; border-radius: 3px; color: #444; box-shadow: none } .proof.pf.pf-share .pf-cell b { font: 900 16px/1 var(--pf-brand) }
.proof.pf.pf-share .pf-cell.got { background: var(--pf-or); border-color: var(--pf-or); color: #000 } .proof.pf.pf-share .pf-cell.wait { background: #111; border-color: #222; color: #444 } .proof.pf.pf-share .pf-cell.wait b { visibility: hidden }
.proof.pf.pf-share .pf-cell[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff }
.proof.pf.pf-share .pf-legend { color: #aaa; font-family: var(--pf-brand) } .proof.pf.pf-share .pf-legend i { border-color: #333 } .proof.pf.pf-share .pf-say { display: none }
.proof.pf.pf-share .pf-empty { background: #111; border-color: #333; color: #ccc; font-family: var(--pf-brand) } .proof.pf.pf-share .pf-empty b { color: #fff }
.proof.pf.pf-share .pf-near, .proof.pf.pf-share .pf-empty .pf-waitnote { display: none }
@media (max-width: 900px) { .proof.pf .pf-hm { max-width: none } }
@media (max-width: 560px) {
  .proof.pf .pf-top { grid-template-columns: repeat(2, minmax(0, 1fr)) } .proof.pf .pf-top .pf-stat:first-child { grid-column: 1 / -1 } .proof.pf .pf-v { font-size: 40px }
  .proof.pf .pf-hm { grid-template-columns: 38px repeat(6, minmax(0, 1fr)); gap: 3px } .proof.pf .pf-h { font-size: 9px } .proof.pf .pf-r { font-size: 6.5px }
  .proof.pf .pf-cell { height: 38px } .proof.pf .pf-cell b { font-size: 17px }
  .proof.pf .pf-l-long { display: none } .proof.pf .pf-l-tiny { display: inline }
  .proof.pf .pf-gaptag { font-size: 6px; top: -18px }
  .proof.pf .pf-wall { grid-template-columns: minmax(0, 1fr) } .proof.pf .pf-big { font-size: 38px }
  .proof.pf .pf-pr { grid-template-columns: 92px minmax(0, 1fr) 54px } .proof.pf .pf-lab { font-size: 10px }
  .proof.pf .pf-count { margin-left: 0; width: 100% }
  .proof.pf.pf-share { padding: 14px 12px 22px }
  .pf-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: 0; inset: 0; border-radius: 0; box-shadow: none } .pf-dlg .pf-dlg-in { max-height: 100dvh; min-height: 100dvh }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes pf-rise { from { opacity: 0; transform: translateY(14px) } }
  @keyframes pf-pop { from { opacity: 0; transform: scale(.6) } }
  @keyframes pf-growx { from { transform: scaleX(0) } }
  @keyframes pf-fade { from { opacity: 0 } }
  @keyframes pf-pulse { 50% { background: var(--yellow) } }
  .proof.pf .pf-stat { animation: pf-rise .45s both } .proof.pf .pf-stat:nth-child(2) { animation-delay: .06s } .proof.pf .pf-stat:nth-child(3) { animation-delay: .12s } .proof.pf .pf-stat:nth-child(4) { animation-delay: .18s } .proof.pf .pf-stat:nth-child(5) { animation-delay: .24s }
  .proof.pf .pf-card { animation: pf-rise .5s both; animation-delay: calc(var(--i, 0) * 70ms); transition: transform .2s, box-shadow .2s } .proof.pf .pf-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #000 }
  .proof.pf .pf-cell { animation: pf-pop .35s both; animation-delay: calc(var(--ci, 0) * 14ms); transition: transform .15s } .proof.pf .pf-cell:hover { transform: scale(1.06) }
  .proof.pf .pf-fill { transform-origin: left; animation: pf-growx 1s cubic-bezier(.2, .9, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms + .15s) }
  .proof.pf .pf-mk, .proof.pf .pf-lab { animation: pf-pop .4s both; animation-delay: var(--d, .6s) } .proof.pf .pf-lab { animation-name: pf-fade }
  .proof.pf .pf-pt i { transform-origin: left; animation: pf-growx .9s cubic-bezier(.2, .9, .2, 1) both; animation-delay: .4s }
  .proof.pf .pf-gaptag { animation: pf-pulse 1.1s steps(2) infinite }
}
.proof.pf.pf-still, .proof.pf.pf-still * { animation: none !important }
.proof.pf .pf-fold { scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px)) }
.proof.pf .pf-vs { display: block; font: 400 22px/1.15 var(--num); margin-top: 4px; text-shadow: 2px 2px 0 var(--ink) }
.proof.pf .pf-asof { font: 600 11px/1.3 var(--pf-brand); color: #777; margin: -4px 0 10px }
.proof.pf.pf-share .pf-empty .pf-waitnote, .proof.pf.pf-share .pf-empty-wait { display: none !important }

/* ---- ONBOARDING tab (decision 1619): one grid, a row per active client and a column per service, one light per sold service. In-house
   game look. Every rule is prefixed ob- and scoped to the tab. The resting state is always the final state: the lights light up, the
   stuck ones throb and a panel drops in only under prefers-reduced-motion: no-preference. Colour is never the only signal: each light is
   a button whose label says the state, the grey one shows a ?, and the panel names it. */
#tab-onboarding .ob-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 30px 0 16px }
#tab-onboarding .ob-bar .tabh { margin: 0 } #tab-onboarding .ob-bar .tabh b { color: var(--pink); font-weight: inherit }
#tab-onboarding .ob-chips { display: flex; flex-wrap: wrap; gap: 8px }
#tab-onboarding .ob-chip { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); border-radius: 0; box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; min-height: 44px; cursor: pointer; -webkit-appearance: none; appearance: none }
#tab-onboarding .ob-chip:hover { color: #fff } #tab-onboarding .ob-chip[aria-pressed="true"], #tab-onboarding .ob-chip[aria-expanded="true"] { background: var(--gold); color: #000 } #tab-onboarding .ob-chip.ob-f[aria-pressed="true"] { background: var(--cyan) }
#tab-onboarding button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
#tab-onboarding .ob-cmp { font-size: 13px; color: var(--muted); margin-left: auto }
#tab-onboarding .ob-card { background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; min-width: 0; position: relative }
#tab-onboarding .ob-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-onboarding .ob-top { display: grid; grid-template-columns: repeat(3, 150px) minmax(0, 1fr); gap: 10px; margin-bottom: 12px }
#tab-onboarding .ob-cnt { border-top-width: 8px; padding: 10px 12px 8px } #tab-onboarding .ob-cnt .ob-v { font-family: var(--num); font-size: 56px; line-height: .85; text-shadow: 3px 3px 0 var(--ink); margin-top: 6px }
#tab-onboarding .ob-cnt.ob-green { border-top-color: var(--green) } #tab-onboarding .ob-cnt.ob-green .ob-v { color: var(--green) }
#tab-onboarding .ob-cnt.ob-yellow { border-top-color: var(--yellow) } #tab-onboarding .ob-cnt.ob-yellow .ob-v { color: var(--yellow) }
#tab-onboarding .ob-cnt.ob-red { border-top-color: var(--st-red) } #tab-onboarding .ob-cnt.ob-red .ob-v { color: var(--st-red) }
#tab-onboarding .ob-hold { border-top: 8px solid var(--pink); display: flex; flex-direction: column; justify-content: center; gap: 8px }
#tab-onboarding .ob-say { font-size: 14px; color: var(--fg); margin: 0 } #tab-onboarding .ob-say::before { content: "\25B8  "; color: var(--pink) } #tab-onboarding .ob-say b { color: var(--st-red); font-weight: 600 }
#tab-onboarding .ob-more { font-size: 12px; color: var(--muted) }
#tab-onboarding .ob-grid { padding: 8px 10px 10px }
#tab-onboarding .ob-hd, #tab-onboarding .ob-row { display: grid; grid-template-columns: minmax(170px, 1fr) repeat(var(--ob-cols, 13), 58px); align-items: center }
#tab-onboarding .ob-row[hidden], #tab-onboarding .ob-drawer[hidden], #tab-onboarding .ob-how[hidden] { display: none }
#tab-onboarding .ob-hd { border-bottom: 2px solid #ffffff1c; padding-bottom: 6px; margin-bottom: 2px }
#tab-onboarding .ob-hd span { font-family: var(--pixel); font-size: 7px; line-height: 1.45; color: var(--cyan); text-align: center; padding: 0 2px } #tab-onboarding .ob-hd span:first-child { text-align: left; color: var(--muted) }
#tab-onboarding .ob-row { border-bottom: 1px solid #ffffff10; min-height: 46px } #tab-onboarding .ob-row:hover { background: #ffffff08 }
#tab-onboarding .ob-nm { font: 600 13.5px/1.25 var(--body); color: var(--fg); background: none; border: 0; text-align: left; padding: 8px 8px 8px 2px; min-height: 44px; min-width: 0; overflow-wrap: anywhere }
#tab-onboarding button.ob-nm { cursor: pointer } #tab-onboarding button.ob-nm:hover, #tab-onboarding .ob-nm[aria-expanded="true"] { color: var(--pink) }
#tab-onboarding .ob-nm::before { content: "\25B8"; display: inline-block; width: 14px; flex: none; color: var(--dim) } #tab-onboarding .ob-nm[aria-expanded="true"]::before { content: "\25BE"; color: var(--pink) }
#tab-onboarding .ob-nm-off { display: flex; align-items: center }
#tab-onboarding .ob-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; padding: 6px 0; min-height: 44px; cursor: pointer; color: inherit; font: inherit }
#tab-onboarding .ob-cell.ob-off { cursor: default }
#tab-onboarding .ob-lb { display: none; font-family: var(--pixel); font-size: 6px; line-height: 1.3; color: var(--muted); text-align: center }
#tab-onboarding .ob-led { width: 26px; height: 26px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: block; position: relative; font-style: normal }
#tab-onboarding .ob-led::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 4px; background: #ffffff8c }
#tab-onboarding .ob-green .ob-led { background: var(--green); box-shadow: 3px 3px 0 var(--ink), 0 0 12px #4dff9a90 }
#tab-onboarding .ob-yellow .ob-led { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink), 0 0 12px #ffe24a90 }
#tab-onboarding .ob-red .ob-led { background: var(--st-red); box-shadow: 3px 3px 0 var(--ink), 0 0 14px #ff5a5fc0 }
#tab-onboarding .ob-grey .ob-led { background: #3a2f66; box-shadow: 3px 3px 0 var(--ink); font: 400 20px/20px var(--num); color: var(--muted); text-align: center } #tab-onboarding .ob-grey .ob-led::after { display: none }
#tab-onboarding .ob-off .ob-led { width: 8px; height: 8px; border: 0; background: #ffffff14; box-shadow: none } #tab-onboarding .ob-off .ob-led::after { display: none }
#tab-onboarding .ob-cell:not(.ob-off):hover .ob-led, #tab-onboarding .ob-cell[aria-expanded="true"] .ob-led { transform: translateY(-3px); outline: 2px solid var(--pink); outline-offset: 2px }
#tab-onboarding .ob-nopk { grid-column: 2 / -1; font-size: 12.5px; color: var(--dim); padding-left: 14px } #tab-onboarding .ob-nopk b { font: 400 7px var(--pixel); color: var(--orange); margin-right: 8px }
#tab-onboarding .ob-only .ob-cell.ob-green { visibility: hidden }
#tab-onboarding .ob-drawer { grid-column: 1 / -1; background: var(--panel2); border: 3px solid var(--ink); border-left: 6px solid var(--pink); margin: 4px 0 10px; padding: 12px 14px; min-width: 0 }
#tab-onboarding .ob-drawer h3 { font-family: var(--pixel); font-size: 10px; line-height: 1.6; color: var(--pink); margin: 0 0 4px; overflow-wrap: anywhere }
#tab-onboarding .ob-tag { font-style: normal; display: inline-block; margin-left: 8px; padding: 3px 6px; color: #000 }
#tab-onboarding .ob-tag.ob-green { background: var(--green) } #tab-onboarding .ob-tag.ob-yellow { background: var(--yellow) } #tab-onboarding .ob-tag.ob-red { background: var(--st-red) } #tab-onboarding .ob-tag.ob-grey { background: var(--dim); color: #000 }
#tab-onboarding .ob-drawer p { margin: 4px 0; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere } #tab-onboarding .ob-drawer p b { color: var(--fg) }
#tab-onboarding .ob-d3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 8px } #tab-onboarding .ob-d3 .ob-k + p + .ob-k { margin-top: 10px }
#tab-onboarding .ob-steps { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13.5px } #tab-onboarding .ob-steps li { padding: 3px 0 3px 22px; position: relative; color: var(--muted); overflow-wrap: anywhere }
#tab-onboarding .ob-steps li::before { position: absolute; left: 0; top: 2px; font: 400 18px/1 var(--num) }
#tab-onboarding .ob-steps .ob-s-done { color: var(--fg) } #tab-onboarding .ob-steps .ob-s-done::before { content: "\2714"; color: var(--green); font-size: 13px; top: 4px }
#tab-onboarding .ob-steps .ob-s-doing::before { content: "\25B8"; color: var(--yellow) } #tab-onboarding .ob-steps .ob-s-late::before { content: "!"; color: var(--st-red) } #tab-onboarding .ob-steps .ob-s-todo::before { content: "\25CB"; color: var(--dim) }
#tab-onboarding .ob-steps em { font-style: normal; font-size: 12px; color: var(--dim); margin-left: 6px } #tab-onboarding .ob-steps em.ob-late { color: #000; background: var(--st-red); padding: 1px 5px }
#tab-onboarding .ob-all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; margin-top: 8px }
#tab-onboarding .ob-all button { display: grid; grid-template-columns: 18px 150px minmax(0, 1fr); gap: 8px; align-items: start; background: none; border: 0; border-bottom: 1px solid #ffffff10; color: var(--muted); font: 13px/1.4 var(--body); text-align: left; padding: 6px 0; min-height: 44px; cursor: pointer }
#tab-onboarding .ob-all button:hover { color: #fff } #tab-onboarding .ob-all button b { color: var(--fg); font-weight: 600 } #tab-onboarding .ob-all button small { display: block; font-size: 11px; font-weight: 400; color: var(--dim) }
#tab-onboarding .ob-dot { width: 12px; height: 12px; border: 2px solid var(--ink); margin-top: 3px; display: block } #tab-onboarding .ob-dot.ob-green { background: var(--green) } #tab-onboarding .ob-dot.ob-yellow { background: var(--yellow) } #tab-onboarding .ob-dot.ob-red { background: var(--st-red) } #tab-onboarding .ob-dot.ob-grey { background: #3a2f66 }
#tab-onboarding .ob-lg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin-top: 14px; align-items: center }
#tab-onboarding .ob-lg i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border: 2px solid var(--ink); vertical-align: -1px } #tab-onboarding .ob-lg .ob-green { background: var(--green) } #tab-onboarding .ob-lg .ob-yellow { background: var(--yellow) } #tab-onboarding .ob-lg .ob-red { background: var(--st-red) } #tab-onboarding .ob-lg .ob-grey { background: #3a2f66 } #tab-onboarding .ob-lg .ob-off { background: #ffffff14; border-color: transparent }
#tab-onboarding .ob-folds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
#tab-onboarding .ob-how { margin-top: 10px; font-size: 13.5px; color: var(--muted) } #tab-onboarding .ob-how h3 { font-family: var(--pixel); font-size: 9px; line-height: 1.6; color: var(--cyan); margin: 12px 0 4px } #tab-onboarding .ob-how h3:first-child { margin-top: 0 }
#tab-onboarding .ob-how p { margin: 4px 0 } #tab-onboarding .ob-how b { color: var(--fg) } #tab-onboarding .ob-how ul { margin: 4px 0; padding-left: 18px } #tab-onboarding .ob-how li { margin: 3px 0 }
#tab-onboarding .ob-how .ob-t-red { color: var(--st-red) } #tab-onboarding .ob-how .ob-t-green { color: var(--green) } #tab-onboarding .ob-how .ob-t-yellow { color: var(--yellow) }
/* DIAGNOSTICS IN FLIGHT strip (decision 1695) */
#tab-onboarding .dx-quiet { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); margin: 24px 0 4px } #tab-onboarding .dx-quiet .ob-k { display: inline }
#tab-onboarding .dx-bar { margin: 30px 0 12px } #tab-onboarding .dx-bar .tabh { margin: 0 } #tab-onboarding .dx-bar .tabh b { color: var(--pink); font-weight: inherit }
#tab-onboarding .dx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px }
#tab-onboarding .dx-card { border-top: 8px solid var(--cyan); padding: 10px 14px 12px }
#tab-onboarding .dx-card.dx-over { border-top-color: var(--st-red) }
#tab-onboarding .dx-nm { font: 600 15px/1.25 var(--body); color: var(--fg); margin: 0; overflow-wrap: anywhere }
#tab-onboarding .dx-who, #tab-onboarding .dx-paid { margin: 2px 0 0; font-size: 12px; color: var(--muted); overflow-wrap: anywhere }
#tab-onboarding .dx-clock { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 10px 0 12px }
#tab-onboarding .dx-day { font-family: var(--num); font-weight: 400; font-size: 44px; line-height: .9; color: var(--cyan); text-shadow: 3px 3px 0 var(--ink); display: inline-block }
#tab-onboarding .dx-over .dx-day { color: var(--st-red) } #tab-onboarding .dx-unk .dx-day { color: var(--muted) }
#tab-onboarding .dx-of { font-family: var(--pixel); font-size: 7px; color: var(--muted) } #tab-onboarding .dx-of.dx-ovr { font-size: 9px; color: #000; background: var(--st-red); padding: 4px 6px; box-shadow: 2px 2px 0 var(--ink) }
#tab-onboarding .dx-pips { display: flex; gap: 4px; margin-left: auto }
#tab-onboarding .dx-pip { width: 12px; height: 12px; border: 3px solid var(--ink); background: #3a2f66; display: block } #tab-onboarding .dx-pip.on { background: var(--cyan) } #tab-onboarding .dx-over .dx-pip.on { background: var(--st-red) }
#tab-onboarding .dx-sts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px 4px }
#tab-onboarding .dx-st { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0 }
#tab-onboarding .dx-st .ob-led { width: 26px; height: 26px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: block; position: relative; font-style: normal }
#tab-onboarding .dx-st .ob-led::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 4px; background: #ffffff8c }
#tab-onboarding .dx-green .ob-led { background: var(--green); box-shadow: 3px 3px 0 var(--ink), 0 0 12px #4dff9a90 }
#tab-onboarding .dx-yellow .ob-led { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink), 0 0 12px #ffe24a90 }
#tab-onboarding .dx-red .ob-led { background: var(--st-red); box-shadow: 3px 3px 0 var(--ink), 0 0 14px #ff5a5fc0 }
#tab-onboarding .dx-grey .ob-led { background: #3a2f66; font: 400 20px/20px var(--num); color: var(--muted); text-align: center } #tab-onboarding .dx-grey .ob-led::after, #tab-onboarding .dx-todo .ob-led::after { display: none }
#tab-onboarding .dx-todo .ob-led { background: transparent; border: 3px dashed var(--dim); box-shadow: none }
#tab-onboarding .dx-lb { font-family: var(--pixel); font-size: 6px; line-height: 1.3; color: var(--muted); text-align: center; max-width: 100%; overflow-wrap: anywhere }
#tab-onboarding .dx-next { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere } #tab-onboarding .dx-next b { color: var(--fg); font-weight: 600 } #tab-onboarding .dx-next .ob-k { margin-bottom: 2px }
#tab-onboarding .dx-lg { margin-bottom: 4px } #tab-onboarding .dx-lg .dx-lg-todo { background: transparent; border: 2px dashed var(--dim) }
@media (max-width: 420px) {
  #tab-onboarding .dx-cards { grid-template-columns: minmax(0, 1fr) } #tab-onboarding .dx-sts { grid-template-columns: repeat(3, minmax(0, 1fr)) } #tab-onboarding .dx-lb { font-size: 7px }
}
/* under 1000px the grid stops being a table: each client is a card, its lights wrap in a row and each light carries its service name */
@media (max-width: 1000px) {
  #tab-onboarding .ob-top { grid-template-columns: repeat(3, minmax(0, 1fr)) } #tab-onboarding .ob-hold { grid-column: 1 / -1 } #tab-onboarding .ob-cnt .ob-v { font-size: 46px } #tab-onboarding .ob-cmp { margin-left: 0 }
  #tab-onboarding .ob-grid { background: none; border: 0; box-shadow: none; padding: 0 } #tab-onboarding .ob-hd { display: none }
  #tab-onboarding .ob-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 2px; background: var(--panel); border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 10px 10px 8px; margin-bottom: 12px }
  #tab-onboarding .ob-row[hidden] { display: none }
  #tab-onboarding .ob-nm { flex: 0 0 100%; padding: 0 0 4px; font-size: 14.5px }
  #tab-onboarding .ob-cell { width: 58px; padding: 4px 0 6px; justify-content: flex-start } #tab-onboarding .ob-cell.ob-off { display: none } #tab-onboarding .ob-lb { display: block; min-height: 16px; max-width: 56px; overflow-wrap: anywhere }
  #tab-onboarding .ob-only .ob-cell.ob-green { display: none }
  #tab-onboarding .ob-nopk { flex: 0 0 100%; padding: 0 } #tab-onboarding .ob-drawer { flex: 0 0 100%; margin: 6px 0 2px }
  #tab-onboarding .ob-d3, #tab-onboarding .ob-all { grid-template-columns: minmax(0, 1fr) } #tab-onboarding .ob-all button { grid-template-columns: 18px minmax(0, 1fr) } #tab-onboarding .ob-all button span:last-child { grid-column: 2 }
}
@media (max-width: 420px) { #tab-onboarding .ob-cnt { padding: 10px 8px 8px } #tab-onboarding .ob-cnt .ob-k { font-size: 7px } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ob-on { from { opacity: 0; transform: scale(.2) } }
  @keyframes ob-throb { 50% { box-shadow: 3px 3px 0 var(--ink), 0 0 3px #ff5a5f40; filter: brightness(.72) } }
  @keyframes ob-drop { from { opacity: 0; transform: translateY(-8px) } }
  #tab-onboarding .ob-cell .ob-led { animation: ob-on .35s backwards; animation-delay: var(--ob-d, 0s) }
  #tab-onboarding .ob-cell.ob-red .ob-led { animation: ob-on .35s backwards, ob-throb 1.7s ease-in-out infinite; animation-delay: var(--ob-d, 0s), calc(var(--ob-d, 0s) + .4s) }
  #tab-onboarding .ob-cell.ob-off .ob-led { animation: none }
  #tab-onboarding .ob-drawer, #tab-onboarding .ob-how { animation: ob-drop .25s ease-out }
  @keyframes dx-throb { 50% { filter: brightness(.7); transform: scale(1.06) } }
  @keyframes dx-glow { 50% { box-shadow: 3px 3px 0 var(--ink), 0 0 4px #ffe24a40 } }
  #tab-onboarding .dx-card { animation: ob-drop .3s backwards; animation-delay: calc(var(--dx-i, 0) * 80ms) }
  #tab-onboarding .dx-st .ob-led { animation: ob-on .35s backwards; animation-delay: calc(var(--dx-i, 0) * 80ms + .2s) }
  #tab-onboarding .dx-yellow .ob-led { animation: ob-on .35s backwards, dx-glow 2s ease-in-out infinite; animation-delay: calc(var(--dx-i, 0) * 80ms + .2s), calc(var(--dx-i, 0) * 80ms + .6s) }
  #tab-onboarding .dx-over .dx-day { animation: dx-throb 1.6s ease-in-out infinite; transform-origin: left center }
}

/* ---- LEARN tab (decision 812). Neon only on the HUD chips and tags; reading text is plain on calm panels. */
#tab-learn .ln-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 30px 0 14px } #tab-learn .ln-bar .tabh { margin: 0 }
#tab-learn .ln-bar .tabh small { display: block; font-size: 14px; margin-top: 4px }
#tab-learn .ln-hud { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto }
#tab-learn .ln-hud i { font: 400 9px/1 var(--pixel); font-style: normal; color: var(--green); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; text-shadow: 0 0 6px var(--green) }
#tab-learn .ln-hud .ln-hud-new { color: var(--yellow); text-shadow: 0 0 6px var(--yellow) }
#tab-learn .pod { margin: 0 0 18px } #tab-learn .pod-done { margin-top: 12px } #tab-learn .pod-done summary { cursor: pointer; min-height: 44px } .pod-acts { display: flex; gap: 10px; margin-top: 12px } .pod-status { min-height: 1.2em }
#tab-learn .ln-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px }
#tab-learn .ln-card { display: flex; flex-direction: column; gap: 8px; text-align: left; font: inherit; color: var(--fg); background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 13px; min-height: 44px; min-width: 0 }
#tab-learn button.ln-card { cursor: pointer } #tab-learn button.ln-card:hover, #tab-learn button.ln-card:focus-visible { border-color: var(--cyan); outline: none }
#tab-learn .ln-card:not(.is-ready) { opacity: .72 }
#tab-learn .ln-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px }
#tab-learn .ln-name { font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.2; flex: 1 1 auto; min-width: 0 }
.ln-tag, .ln-new { font: 400 8px/1 var(--pixel); font-style: normal; padding: 5px 6px; border: 2px solid currentColor; color: var(--muted); white-space: nowrap }
.ln-tag.ln-ready { color: var(--green) } .ln-new { color: var(--yellow); border-color: var(--yellow) }
#tab-learn .ln-say { font-size: 14px; line-height: 1.45; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden }
#tab-learn .ln-foot { font-size: 12px; color: var(--muted); margin-top: auto }
.ln-dlg .ln-answer { font-size: 17px; line-height: 1.5; margin: 14px 0 4px; color: var(--fg) }
.ln-dlg .ln-k { font: 400 9px/1.5 var(--pixel); color: var(--cyan); margin: 18px 0 6px }
.ln-dlg .ln-list { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5 } .ln-dlg .ln-list li { margin-top: 6px }
.ln-dlg .ln-call { color: #fff; font-weight: 700 }
.ln-dlg .ln-lessons { list-style: none; padding: 0 } .ln-dlg .ln-lessons li { background: var(--panel2); border: 2px solid var(--ink); padding: 8px 10px }
.ln-dlg .ln-lesson { display: block } .ln-dlg .ln-src { display: block; font-size: 12px; color: var(--muted); margin-top: 4px } .ln-dlg .ln-src a { color: var(--cyan) }
.ln-dlg .ln-experts { font-size: 14px; line-height: 1.5; margin: 0 } .ln-dlg .ln-meta { font-size: 12px; color: var(--muted); margin-top: 16px }
@media (max-width: 560px) { #tab-learn .ln-hud { margin-left: 0 } #tab-learn .ln-grid { grid-template-columns: 1fr } #tab-learn .ln-say { -webkit-line-clamp: 3 } }
.ln-dlg .ln-pr { display: block; margin-top: 2px }

/* RANK + RENT building (decision 2340): calm rows and site pages, pixel font only on chips and tags */
.c-watchsec .rr { display: grid; gap: 8px }
.c-watchsec .rr-hud { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.c-watchsec .rr-hud i { font: 400 9px/1 var(--pixel); font-style: normal; color: var(--green); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; text-shadow: 0 0 6px var(--green) }
.c-watchsec .rr-hud .pxbtn { margin-left: auto }
.c-watchsec .rr-stages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.c-watchsec .rr-st { font: 400 9px/1 var(--pixel); color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); padding: 9px 10px }
.c-watchsec .rr-st b { font-weight: 400; color: #fff; margin-right: 4px }
.c-watchsec .rr-st-live, .c-watchsec .rr-st-live b { color: var(--green) }
.c-watchsec .rr-stages em { font-style: normal; color: var(--muted); font-size: 14px }
.c-watchsec .rr-gap { flex: 1 1 12px; min-width: 12px }
.c-watchsec .rr-row { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--panel2); border: 3px solid var(--ink); padding: 10px 12px; -webkit-appearance: none; appearance: none }
.c-watchsec .rr-row:hover, .c-watchsec .rr-row:focus-visible { border-color: var(--orange) }
.c-watchsec .rr-top, .rr-dlg .rr-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-bottom: 4px }
.c-watchsec .rr-dom { font-size: 15px; word-break: break-all }
.rr-tag { font: 400 8px/1 var(--pixel); font-style: normal; color: var(--muted); border: 2px solid var(--muted); padding: 5px 6px }
.rr-tag.rr-live { color: var(--green); border-color: var(--green); text-shadow: 0 0 6px var(--green) }
.rr-where { font-size: 14px; color: var(--muted) }
.c-watchsec .rr-line { display: block; margin: 2px 0; font-size: 14px; line-height: 1.4 }
.c-watchsec .rr-rent { font-weight: 700 }
.rr-dlg .rr-who { font-size: 15px; margin: 4px 0 10px }
.rr-dlg .rr-open { color: var(--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 3px } .rr-dlg .rr-open:hover, .rr-dlg .rr-open:focus-visible { color: var(--gold) }
.rr-dlg .rr-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px }
.rr-dlg .rr-num { background: var(--panel2); border: 3px solid var(--ink); padding: 10px; min-width: 0 }
.rr-dlg .rr-num b { display: block; font: 400 20px/1.2 var(--pixel); color: var(--green); text-shadow: 0 0 6px var(--green) }
.rr-dlg .rr-k { display: block; font: 400 8px/1.3 var(--pixel); color: var(--muted); margin-bottom: 8px }
.rr-dlg .rr-nc { color: var(--muted); font-size: 13px }
.rr-dlg .rr-h { font: 400 10px/1 var(--pixel); color: var(--orange); margin: 18px 0 8px }
.rr-dlg .rr-chart { width: 100%; height: auto; display: block; background: var(--panel2); border: 3px solid var(--ink) }
.rr-dlg .rr-ax { fill: var(--muted); font-size: 11px }
.rr-dlg .rr-key { font-size: 13px; color: var(--muted); margin: 6px 0 0 }
.rr-dlg .rr-key i { display: inline-block; vertical-align: middle; margin: 0 4px 0 12px } .rr-dlg .rr-key i:first-child { margin-left: 0 }
.rr-dlg .rr-k-bar { width: 12px; height: 12px; background: var(--cyan); opacity: .55 } .rr-dlg .rr-k-line { width: 16px; height: 3px; background: var(--orange) } .rr-dlg .rr-k-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green) }
.rr-dlg .rr-scroll { max-height: 280px; overflow: auto; border: 3px solid var(--ink) }
.rr-dlg .rr-tbl { width: 100%; border-collapse: collapse; font-size: 14px }
.rr-dlg .rr-tbl th { position: sticky; top: 0; background: var(--panel2); text-align: left; font-weight: 700; color: var(--muted); padding: 6px 10px }
.rr-dlg .rr-tbl td { padding: 6px 10px; border-top: 1px solid var(--ink) }
.rr-dlg .rr-top10 td { background: rgba(80, 255, 140, .10); font-weight: 700 }
.rr-dlg .rr-up { color: var(--green) } .rr-dlg .rr-dn { color: var(--pink) } .rr-dlg .rr-same { color: var(--muted) }
.rr-dlg .rr-qs, .rr-dlg .rr-wk { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5 }
.rr-dlg .rr-qs span { display: block; color: var(--muted); font-size: 13px }
@media (max-width: 560px) { .c-watchsec .rr-hud .pxbtn { margin-left: 0 } .rr-dlg .rr-nums { grid-template-columns: repeat(2, 1fr) } }
.rr-dlg .rr-note { font-size: 13px; color: var(--muted); margin: 4px 0 8px }
.rr-dlg .rr-pos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px }
.rr-dlg .rr-pc { background: var(--panel2); border: 2px solid var(--ink); padding: 6px 2px; text-align: center; min-width: 0 }
.rr-dlg .rr-pc b { display: block; font: 400 12px/1.2 var(--pixel); color: var(--muted) }
.rr-dlg .rr-pc small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px }
.rr-dlg .rr-pc-top { border-color: var(--green) } .rr-dlg .rr-pc-top b { color: var(--green); text-shadow: 0 0 6px var(--green) }
@media (max-width: 560px) { .rr-dlg .rr-pos { grid-template-columns: repeat(6, 1fr) } }
/* IMPROVE tab (decision 2344): service improvements queue. Calm panels, plain text, neon only on the HUD chips and tags. */
#tab-improve [hidden] { display: none !important }
#tab-improve .imp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 30px 0 14px } #tab-improve .imp-bar .tabh { margin: 0 }
#tab-improve .imp-bar .tabh small { display: block; font-size: 14px; margin-top: 4px }
#tab-improve .imp-hud { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto }
#tab-improve .imp-hud i { font: 400 9px/1 var(--pixel); font-style: normal; color: var(--green); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; text-shadow: 0 0 6px var(--green) }
#tab-improve .imp-hud .imp-hud-wait { color: var(--yellow); text-shadow: 0 0 6px var(--yellow) }
#tab-improve .imp-status { margin: 0 0 12px; padding: 8px 12px; font-size: 14px; background: var(--panel2); border: 2px solid var(--cyan) }
#tab-improve .imp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px }
#tab-improve .imp-chip { font: 400 8px/1 var(--pixel); color: var(--muted); background: var(--panel2); border: 2px solid var(--ink); padding: 9px 10px; min-height: 36px; cursor: pointer }
#tab-improve .imp-chip[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan) }
#tab-improve .imp-h { font: 800 17px/1.2 var(--display); margin: 22px 0 10px; display: flex; align-items: center; gap: 10px }
#tab-improve .imp-h i { font: 400 9px/1 var(--pixel); font-style: normal; color: var(--muted); border: 2px solid currentColor; padding: 4px 6px }
#tab-improve .imp-wait { background: var(--panel); border: 3px solid var(--yellow); padding: 4px 14px 14px; margin-bottom: 8px }
#tab-improve .imp-from { margin: 12px 0 6px; font-size: 14px; color: var(--muted) }
#tab-improve .imp-item { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 10px }
#tab-improve .imp-item[open] { border-color: var(--cyan) }
#tab-improve .imp-item > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 14px; cursor: pointer; min-height: 44px; list-style: none }
#tab-improve .imp-item > summary::-webkit-details-marker { display: none }
#tab-improve .imp-t { font: 700 15px/1.3 var(--display); flex: 1 1 320px; min-width: 0 }
#tab-improve .imp-tag { font: 400 8px/1 var(--pixel); font-style: normal; padding: 5px 6px; border: 2px solid currentColor; color: var(--muted); white-space: nowrap }
#tab-improve .imp-i-high { color: var(--green) } #tab-improve .imp-i-medium { color: var(--yellow) } #tab-improve .imp-w { color: var(--cyan) }
#tab-improve .imp-st-wait { color: var(--yellow) } #tab-improve .imp-st-yes { color: var(--green) } #tab-improve .imp-st-no { color: var(--gold) }
#tab-improve .imp-body { padding: 0 14px 14px; max-width: 78ch }
#tab-improve .imp-body h4 { font: 400 9px/1.5 var(--pixel); color: var(--cyan); margin: 14px 0 4px }
#tab-improve .imp-body p { margin: 0; font-size: 15px; line-height: 1.5 }
#tab-improve .imp-body .imp-ev { margin-top: 12px; font-size: 13px; color: var(--muted) }
#tab-improve .imp-cms { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.5 } #tab-improve .imp-cms small { color: var(--muted) }
#tab-improve .imp-act, #tab-improve .imp-cm { display: flex; flex-direction: column; gap: 8px; margin-top: 14px }
#tab-improve .imp-cm { flex-direction: row; align-items: flex-end }
#tab-improve textarea { width: 100%; font: 400 14px/1.4 var(--body); color: var(--fg); background: var(--panel2); border: 2px solid var(--muted); padding: 8px; resize: vertical; box-sizing: border-box }
#tab-improve .imp-row { display: flex; gap: 8px; flex-wrap: wrap }
#tab-improve .imp-btn { font: 400 9px/1 var(--pixel); color: var(--fg); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 12px 14px; min-height: 40px; cursor: pointer; white-space: nowrap }
#tab-improve .imp-btn:hover:not(:disabled), #tab-improve .imp-btn:focus-visible { border-color: var(--cyan); outline: none }
#tab-improve .imp-yes { color: var(--green) } #tab-improve .imp-no { color: var(--gold) } #tab-improve .imp-btn:disabled { opacity: .4; cursor: not-allowed }
#tab-improve .imp-done { margin-top: 14px !important; font-size: 14px !important; color: var(--muted) } #tab-improve .imp-bad { color: var(--fg) }
#tab-improve .imp-dim { color: var(--muted) }
#tab-improve .imp-stall { margin: 8px 0 12px; font-size: 14px } #tab-improve .imp-stall ul { margin: 4px 0 0; padding-left: 18px } #tab-improve .imp-stall li { margin: 2px 0 } #tab-improve .imp-stall-h b { color: var(--yellow); text-shadow: 0 0 6px var(--yellow) } #tab-improve .imp-stall small { color: var(--muted) } #tab-improve .imp-stall-ok { color: var(--muted) }
#tab-improve .imp-screen { border-color: var(--green) }
#tab-improve .imp-passed > .imp-item { opacity: .85 }
.my-screen { margin: 10px 0 0 }
#tab-improve .imp-decided { margin-top: 12px } #tab-improve .imp-decided > summary { font: 400 9px/1 var(--pixel); color: var(--muted); cursor: pointer; padding: 8px 0 }
@media (max-width: 560px) { #tab-improve .imp-hud { margin-left: 0 } #tab-improve .imp-cm { flex-direction: column; align-items: stretch } }
/* IMPROVE: team suggestions (decision 2473). The form is the main action for a reader: on top, no scrolling. */
#tab-improve .imp-suggest { display: grid; gap: 10px; background: var(--panel); border: 3px solid var(--cyan); padding: 12px 14px 14px; margin: 0 0 14px; max-width: 100% }
#tab-improve .imp-suggest label { display: grid; gap: 4px; font-size: 13px; color: var(--muted) }
#tab-improve .imp-suggest select { font: inherit; font-size: 15px; color: var(--fg); background: var(--panel2); border: 2px solid var(--muted); padding: 8px; width: 100%; max-width: 100%; box-sizing: border-box }
#tab-improve .imp-suggest .pxbtn { justify-self: start; min-height: 44px }
#tab-improve .imp-sugd { margin: 0 0 14px } #tab-improve .imp-sugd > summary { font: 400 9px/1 var(--pixel); color: var(--cyan); cursor: pointer; padding: 10px 0; min-height: 44px; display: flex; align-items: center }
#tab-improve .imp-hud .imp-hud-team { color: var(--cyan); text-shadow: 0 0 6px var(--cyan) }
#tab-improve .imp-team-wait { border-color: var(--cyan) }
#tab-improve .imp-by { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--muted) }
#tab-improve .imp-tm { color: var(--cyan) }
#tab-improve .imp-w-yes { color: var(--green) } #tab-improve .imp-w-maybe { color: var(--yellow) } #tab-improve .imp-w-no { color: var(--gold) }
#tab-improve .imp-op { margin-top: 14px; background: var(--panel2); border: 2px solid var(--muted); padding: 4px 12px 12px }
#tab-improve .imp-op h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
#tab-improve .imp-op h5 { font: 400 8px/1.5 var(--pixel); color: var(--muted); margin: 12px 0 4px }
#tab-improve .imp-op ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.5 }
#tab-improve .imp-op .imp-touch { margin-top: 8px; font-size: 14px }
#tab-improve .imp-op-wait { color: var(--muted) }
#tab-improve .imp-later { color: var(--yellow) }
#tab-improve .imp-mine { margin-bottom: 8px }
#tab-improve .imp-my { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px }
#tab-improve .imp-my p, #tab-improve .imp-my .imp-cms { flex: 1 1 100%; margin: 4px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere }
#tab-improve .imp-mst { font: 400 8px/1 var(--pixel); color: var(--yellow); border: 2px solid currentColor; padding: 5px 6px }
/* WORKFLOWS: the NEW marker and WHAT CHANGED lines */
.wf-new { font-family: var(--pixel); font-size: 8px; color: var(--ink); background: var(--green); border: 2px solid var(--ink); padding: 3px 5px; margin-left: 8px; vertical-align: middle; white-space: nowrap }
.wf-changed { margin: 8px 0 } .wf-changed .k { font-family: var(--pixel); font-size: 8px; color: var(--green) } .wf-changed ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5 }
@media (max-width: 560px) { #tab-improve .imp-suggest { padding: 10px } #tab-improve .imp-my { padding: 10px } }
/* IMPROVE: change log, KEEP or BACK IT OUT, and the NEW marker on an exact step */
#tab-improve .imp-log { margin-top: 18px }
#tab-improve .imp-due { margin: 0 0 12px } #tab-improve .imp-due .pxbtn { min-height: 44px }
#tab-improve .chg { background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px; margin-bottom: 10px; max-width: 100% }
#tab-improve .chg p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere }
#tab-improve .chg-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 }
#tab-improve .chg-t b { flex: 1 1 200px; overflow-wrap: anywhere }
#tab-improve .chg-meta { color: var(--muted) }
#tab-improve .chg-st.chg-live { color: var(--green) } #tab-improve .chg-st.chg-kept { color: var(--cyan) } #tab-improve .chg-st.chg-backing_out { color: var(--yellow) } #tab-improve .chg-st.chg-backed_out { color: var(--muted) }
.chg-work { font-size: 14px; line-height: 1.5; margin-top: 4px } .chg-work b { font-family: var(--pixel); font-size: 8px; color: var(--green); margin-right: 6px }
#tab-improve .chg .imp-act { margin-top: 10px }
.wf-newtxt { font-family: var(--pixel); font-size: 8px; fill: var(--ink) }

/* SALES tab: SHOW ON A CALL strip (example client portal link) */
.show-call { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px }
.show-call-k { font-family: var(--pixel); font-size: 8px; color: var(--gold) }
.show-call a.btn { text-decoration: none; display: inline-block }
.show-call-d { font-size: 13px; opacity: .8 }

/* SERVICE HEALTH on CLIENTS, TEAM VIEW (decision 2866). Every class is sh-; the strip sits in .cp-teamonly so WHAT THE CLIENT SEES never shows it. Dots, not text walls. */
#tab-clients .sh { margin-top: 12px }
#tab-clients .sh-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 6px } #tab-clients .sh-head .cp-k { margin-right: auto }
#tab-clients .sh-legend { margin: 4px 0; font: 12px/1.6 var(--body); color: var(--muted) } #tab-clients .sh-meta { margin: 2px 0 8px; font: 12px/1.4 var(--body); color: var(--dim) }
#tab-clients .sh [hidden] { display: none !important }
.sh-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); vertical-align: -1px; margin-right: 2px; background: var(--dim) }
.sh-green { background: var(--green) } .sh-yellow { background: var(--yellow) } .sh-red { background: var(--pink) } .sh-stale { background: #6f6a80; border-style: dashed; border-color: var(--muted) } .sh-unknown { background: #6f6a80; border-style: dotted; border-color: var(--muted) }
.sh-checking { background: #6f6a80; border-style: double; border-width: 3px; border-color: var(--muted) } .sh-chknote { margin: 4px 0 0 2px; font: 12px/1.4 var(--body); color: var(--muted) }
.sh-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.sh-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100% }
.sh-grid { border-collapse: collapse; font: 13px/1.3 var(--body); min-width: 100%; width: max-content }
.sh-grid th, .sh-grid td { padding: 6px 10px; border-bottom: 1px solid #ffffff1a; text-align: center; white-space: nowrap; font-weight: 400 }
.sh-grid thead th { color: var(--muted); font-size: 11px; vertical-align: bottom }
.sh-grid tbody th { text-align: left; position: sticky; left: 0; background: var(--panel); z-index: 1 }
.sh-grid .sh-na { color: var(--dim) } .sh-grid .sh-sel th, .sh-grid .sh-sel td { background: #ffffff12 }
.sh-pick { font: inherit; color: var(--fg); background: none; border: 0; padding: 2px 0; cursor: pointer; text-align: left } .sh-pick:hover { text-decoration: underline } .sh-pick:focus-visible { outline: 3px solid #fff; outline-offset: 2px }
.sh-tag { font: 700 9px/1 var(--body); letter-spacing: .04em; background: var(--muted); color: #000; padding: 2px 5px; border-radius: 2px; white-space: nowrap }
.sh-svc { font: 700 13px/1.4 var(--body); color: #fff; margin: 14px 0 4px } .sh-svc small { font-weight: 400; color: var(--muted); margin-left: 6px }
.sh-list { list-style: none; margin: 0; padding: 0 } .sh-item { padding: 7px 0; border-bottom: 1px solid #ffffff14; font: 13px/1.4 var(--body) }
.sh-item .sh-what { color: var(--muted) } .sh-item .sh-fix { display: block; margin: 2px 0 2px 18px; color: #fff } .sh-item small { display: block; margin-left: 18px; color: var(--dim); font-size: 11.5px } .sh-item .sh-ev { display: block; margin-left: 18px; color: var(--dim); font-size: 12px }
.sh-held { opacity: .55 } .sh-stalenote { margin: 12px 0 0; font: 12px/1.4 var(--body); color: var(--muted) }
/* OPEN ASKS block (CLIENTS page above SERVICE HEALTH, and the TEAM tab; decision 3354 f): one compact line per ask, late ones first with a red edge. */
#tab-clients .oa-h, #tab-team .oa-h { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 6px; letter-spacing: .04em } .oa-h small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-clients .oa { margin: 10px 0 }
#tab-team .oa { margin: 10px 0 }
#tab-clients .oa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-team .oa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-clients .oa-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 5px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere }
#tab-team .oa-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 5px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere }
#tab-clients .oa-late { border-left-color: var(--pink) }
#tab-team .oa-late { border-left-color: var(--pink) }
#tab-clients .oa-who { color: #fff; font-weight: 700 } #tab-clients .oa-what { color: var(--fg) } #tab-clients .oa-link { color: var(--fg); text-decoration: underline; text-decoration-color: #ffffff55 }
#tab-team .oa-who { color: #fff; font-weight: 700 } #tab-team .oa-what { color: var(--fg) } #tab-team .oa-link { color: var(--fg); text-decoration: underline; text-decoration-color: #ffffff55 }
#tab-clients .oa-line small { color: var(--dim); font-size: 11.5px; margin-left: 6px } #tab-clients .oa-more { margin: 6px 0 0; font: 12px/1.4 var(--body); color: var(--muted) }
#tab-team .oa-line small { color: var(--dim); font-size: 11.5px; margin-left: 6px } #tab-team .oa-more { margin: 6px 0 0; font: 12px/1.4 var(--body); color: var(--muted) }
/* TURNED ON block (decision 3641): reuses the OPEN ASKS card; green edge = turned on and handled, yellow edge = needs a person (note waiting, held, wording needed). */
#tab-clients .tn-on, #tab-team .tn-on { border-left-color: var(--green) }
#tab-clients .tn-wait, #tab-team .tn-wait { border-left-color: var(--yellow) }
/* LINK OUTREACH block (TEAM tab and CLIENTS page; decision 3214): read-only list of backlink asks waiting on Andrew, the exact email in a fold. */
#tab-clients .lo-h, #tab-team .lo-h { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 4px; letter-spacing: .04em } .lo-h small, .lo-name small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-clients .lo, #tab-team .lo { margin: 10px 0 }
#tab-clients .lo-head, #tab-team .lo-head { margin: 0 0 8px; font: 13px/1.4 var(--body); color: var(--fg) }
#tab-clients .lo-name, #tab-team .lo-name { font: 700 12.5px/1.4 var(--body); color: #fff; margin: 8px 0 4px }
#tab-clients .lo-list, #tab-team .lo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-clients .lo-line, #tab-team .lo-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 5px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere }
#tab-clients .lo-place, #tab-team .lo-place, #tab-clients .lo-dom, #tab-team .lo-dom { color: #fff } #tab-clients .lo-why, #tab-team .lo-why { color: var(--fg) }
#tab-clients .lo-line small, #tab-team .lo-line small { display: block; color: var(--dim); font-size: 11.5px }
/* PORTAL LAUNCH card on the TEAM tab: one line per client, name and status word. */
#tab-team .pl { margin: 10px 0 }
#tab-team .pl-h { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 4px; letter-spacing: .04em } #tab-team .pl-h small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-team .pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-team .pl-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 5px 10px; font: 13px/1.4 var(--body); display: flex; justify-content: space-between; gap: 8px }
#tab-team .pl-who { color: #fff } #tab-team .pl-st { color: var(--fg) } #tab-team .pl-held { border-left-color: var(--pink) } #tab-team .pl-signed-in { border-left-color: #f26522 }
/* CLIENT VIEW card on a client's page: the portal in a frame, a feedback box, the latest open notes. */
#tab-clients .cv { margin: 10px 0 }
#tab-clients .cv-h { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 6px; letter-spacing: .04em } #tab-clients .cv-h small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-clients .cv-frame iframe { display: block; width: 100%; height: 78vh; min-height: 520px; border: 1px solid #ffffff22; border-radius: 6px; background: #0a0a0a; margin: 8px 0 }
#tab-clients .cv-text { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 6px; background: #ffffff0d; color: #fff; border: 1px solid #ffffff22; border-radius: 6px; padding: 8px; font: 13px/1.4 var(--body) }
#tab-clients .cv-status { margin: 4px 0; font: 12px/1.4 var(--body); color: var(--muted) }
#tab-clients .cv-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px }
#tab-clients .cv-note-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 5px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere } #tab-clients .cv-note-line small { color: var(--dim); margin: 0 4px }
#tab-clients .cv-btns { float: right; display: inline-flex; gap: 4px } #tab-clients .cv-set { padding: 2px 8px; font-size: 12px }
#tab-team .pl-n { color: #f26522; margin-left: 6px }
/* NEXT MOVES card on a client's page (Growth Lead planner): one status line, up to five moves, Taken / Done / Drop on each. */
#tab-clients .gm { margin: 10px 0 }
#tab-clients .gm-h { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 4px; letter-spacing: .04em } #tab-clients .gm-h small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-clients .gm-head { margin: 0 0 8px; font: 13px/1.4 var(--body); color: var(--fg) }
#tab-clients .gm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
#tab-clients .gm-line { border-left: 4px solid var(--muted); background: #ffffff0d; padding: 6px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere }
#tab-clients .gm-keep { border-left-color: var(--pink) } #tab-clients .gm-fix { border-left-color: #f26522 } #tab-clients .gm-is-taken { opacity: .7 }
#tab-clients .gm-who { color: #fff; font-weight: 700 } #tab-clients .gm-title { color: var(--fg) } #tab-clients .gm-usd { color: var(--muted); font-size: 12px; margin-left: 4px }
#tab-clients .gm-why { display: block; color: var(--dim); font-size: 11.5px }
#tab-clients .gm-btns { display: flex; gap: 6px; margin-top: 4px }
#tab-clients .gm-btn { font: 700 11.5px/1 var(--body); padding: 6px 10px; border: 1px solid #ffffff44; background: transparent; color: var(--fg); cursor: pointer }
#tab-clients .gm-taken { border-color: #f26522; color: #f26522 } #tab-clients .gm-btn:disabled { opacity: .5; cursor: default }
#tab-clients .gm-client { display: block; color: var(--muted); font-size: 11.5px } #tab-clients .gm-show { border-color: #ffffff88 } #tab-clients .gm-show.gm-on { border-color: #f26522; color: #f26522 }
#tab-clients .gm-note { margin: 6px 0 0; font: 12px/1.4 var(--body); color: var(--pink) } #tab-clients .gm-note:empty { display: none }
#tab-clients .lo-mail, #tab-team .lo-mail { margin-top: 4px } #tab-clients .lo-mail summary, #tab-team .lo-mail summary { cursor: pointer; color: var(--muted); font-size: 12px }
#tab-clients .lo-body, #tab-team .lo-body { white-space: pre-wrap; margin: 6px 0 0; font: 12.5px/1.5 var(--body); color: var(--fg) }
/* NOT RUNNING RIGHT block inside SERVICE HEALTH (decision 2914; each card carries its state word, 2026-11-22): red-edged cards, open rows only, one dim line for rows back on in the last 3 days. */
#tab-clients .sh-off { margin: 10px 0 12px }
#tab-clients .sh-offh { font: 700 13px/1.4 var(--body); color: #fff; margin: 0 0 6px; letter-spacing: .04em } #tab-clients .sh-offh small { font-weight: 400; color: var(--muted); margin-left: 6px }
#tab-clients .sh-offlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
#tab-clients .sh-offcard { border-left: 4px solid var(--pink); background: #ffffff0d; padding: 8px 10px; font: 13px/1.4 var(--body); overflow-wrap: anywhere }
#tab-clients .sh-offchk { border-left-color: var(--muted) } #tab-clients .sh-offcard.sh-held { opacity: .55 }
#tab-clients .sh-offtitle { display: block; color: #fff } #tab-clients .sh-offtitle .sh-pick { font-weight: 700; color: #fff }
#tab-clients .sh-offwhy, #tab-clients .sh-offnext { margin: 3px 0 0; color: var(--fg) } #tab-clients .sh-offwhy { color: var(--muted) }
#tab-clients .sh-offcard small { display: block; margin-top: 4px; color: var(--dim); font-size: 11.5px }
#tab-team .oa .sh-tag-andrew, #tab-clients .sh-tag-andrew { background: var(--pink); color: #000 }
#tab-clients .sh-tag-state { background: #ffffff26; color: #fff; text-transform: uppercase; margin-right: 4px }
#tab-clients .sh-offback { margin: 8px 0 0; font: 12px/1.4 var(--body); color: var(--dim) }
/* TEAM tab WORK BY PERSON fold (owner only, migration 20261122050000). */
#tab-team .wp-fold .tm-chips { margin-bottom: 8px }
#tab-team .wp-fold .hx-k { display: block; font-family: var(--pixel); font-size: 8px; line-height: 1.5; color: var(--muted); letter-spacing: .03em }
#tab-team .wp-fold .hx-dim { color: var(--dim); font-size: 12px }
#tab-team .wp-fold .wp-h { margin-top: 14px }
#tab-team .wp-days { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 12px }
#tab-team .wp-days li { background: var(--panel2); border: 2px solid var(--ink); padding: 6px; min-width: 0 }
#tab-team .wp-open { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px } #tab-team .wp-open li { padding: 4px 0; overflow-wrap: anywhere } #tab-team .wp-open .hx-k { display: inline-block; min-width: 54px }
#tab-team .wp-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: var(--dim) } #tab-team .wp-dot.s-green { background: var(--bot) } #tab-team .wp-dot.s-yellow { background: var(--build) } #tab-team .wp-dot.s-red { background: var(--st-red) }
@media (max-width: 640px) { #tab-team .wp-days { grid-template-columns: repeat(4, minmax(0, 1fr)) } }

/* HEALTH tab WATCH card (board_watch, decisions 3518 and 3559): one short line per open thing, needs-you first, no paragraphs. */
#tab-health .wc { background: var(--panel); border: 1px solid var(--purple); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px }
#tab-health .wc-h { display: flex; align-items: center; gap: 12px; margin: 0 0 6px }
#tab-health .wc-k { font-family: var(--pixel); font-size: 11px; color: var(--cyan) }
#tab-health .wc-n { font-size: 12px; color: var(--yellow) }
#tab-health .wc-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--fg) }
#tab-health .wc-i { overflow-wrap: anywhere }
#tab-health .wc-done { color: var(--dim) }
#tab-health .wc-you { font-size: 10px; letter-spacing: .06em; color: #000; background: var(--yellow); border-radius: 3px; padding: 1px 5px; margin-right: 4px }
#tab-health .wc-more, #tab-health .wc-none { color: var(--muted); font-size: 12px }
#tab-health .bs .bs-t { font-size: 13px; color: var(--fg) }
#tab-health .bs .bs-l { font-size: 13px; margin: 3px 0 0; overflow-wrap: anywhere }
#tab-health .bs .bs-done { color: var(--dim) }
#tab-health details.bs { margin-top: 12px }
#tab-health details.bs > summary { cursor: pointer; padding: 0; margin: 0 0 6px; border: 0; background: none; box-shadow: none; list-style: none }
#tab-health details.bs > summary::before, #tab-health details.bs > summary::marker { content: none; display: none }
#tab-health details.bs:not([open]) > summary { margin: 0 }
#tab-health .bs details.bs-l { border: 0; background: none; box-shadow: none; padding: 0; margin: 3px 0 0 }
#tab-health .bs details.bs-l summary { cursor: pointer; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; color: var(--fg); font: inherit; font-size: 13px }
#tab-health .bs details.bs-l summary::before { content: none }
#tab-health .bs details.bs-l div { color: var(--fg); font-size: 13px; padding-left: 12px }
#tab-health .wc-data { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line, rgba(255,255,255,.12)) }
#tab-health .wc-ok { color: var(--green); font-size: 13px }
#tab-health .wc-red { color: var(--red) }
#tab-health .wc-grey { color: var(--muted) }

.tscap { margin-top: 10px; max-width: 100%; overflow: hidden }
.tscap:empty { display: none }

/* ACCESS tab (decision 3620): one block per person, super admin only */
#tab-access .acx { display: grid; gap: 12px; margin-top: 12px }
#tab-access .acx-row { background: var(--panel2); border: 2px solid var(--ink); padding: 12px; display: grid; gap: 10px }
#tab-access .acx-super { border-color: var(--gold) }
#tab-access .acx-who b { font-size: 16px }
#tab-access .acx-seats { color: var(--muted); font-size: 13px }
#tab-access .acx-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px }
#tab-access .acx-sel { font: inherit; font-size: 15px; min-height: 40px; padding: 6px 8px; background: var(--ink); color: #fff; border: 2px solid var(--dim); max-width: 100% }
#tab-access .acx-g { display: grid; gap: 4px }
#tab-access .acx-gl { font: 400 8px/1 var(--pixel); color: var(--muted) }
#tab-access .acx-chips { display: flex; flex-wrap: wrap; gap: 6px }
#tab-access .acx-chip { font: 400 8px/1 var(--pixel); color: var(--muted); background: var(--ink); border: 2px solid var(--dim); padding: 9px 10px; min-height: 36px; cursor: pointer }
#tab-access .acx-chip[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan) }
#tab-access .acx-chip.acx-fixed { opacity: .55; cursor: default }
#tab-access .acx-chip.acx-locked { opacity: .5; cursor: default; display: inline-flex; align-items: center }
#tab-access .acx-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px }
#tab-access .acx-msg { font-size: 14px; color: var(--yellow) }
#tab-access .acx-when { color: var(--muted) }

/* ---- Workflows tab building window (decision 3830): sticky header with the key, filter chips and LIST | MAP; a readable list by default; full screen on phones ---- */
.dlg.city-dlg { width: min(1100px, calc(100vw - 32px)) }
.city-dlg .cd-sticky { position: sticky; top: -18px; z-index: 5; margin: -18px -20px 12px; padding: 18px 20px 10px; background: var(--panel); border-bottom: 3px solid var(--c, var(--cyan)); display: grid; gap: 8px }
.city-dlg .cd-key { font-size: 14px; gap: 4px 14px }
.city-dlg .cd-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px }
.cd-chips, .cd-view { display: flex; flex-wrap: wrap; gap: 6px }
.cd-chip, .cd-vb { font-family: var(--pixel); font-size: 8px; line-height: 1.4; letter-spacing: .03em; color: var(--fg); background: var(--card); border: 2px solid var(--dim); padding: 8px 10px; min-height: 36px; cursor: pointer }
.cd-chip b { font-weight: 400; font-family: var(--num); font-size: 15px; margin-left: 4px; color: var(--muted) }
.cd-chip[aria-pressed="true"], .cd-vb[aria-pressed="true"] { background: var(--c, var(--cyan)); color: var(--ink); border-color: var(--c, var(--cyan)) } .cd-chip[aria-pressed="true"] b { color: var(--ink) }
.cd-chip:focus-visible, .cd-vb:focus-visible, .cl-row summary:focus-visible, .c-treebox:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
.cl-grp[hidden], .cl-wf[hidden], .cl-row[hidden] { display: none }
.c-list { display: grid; gap: 14px }
.cl-wfh { font-size: 11px; line-height: 1.6; color: var(--c, var(--cyan)); margin: 8px 0 6px; border-bottom: 2px solid var(--c, var(--cyan)); padding-bottom: 4px } .cl-wfh small, .cl-grp > summary small { font-family: var(--num); font-size: 15px; color: var(--muted) }
.cl-grp > summary { cursor: pointer; padding: 6px 0; list-style: none } .cl-grp > summary::-webkit-details-marker { display: none }
.cl-grp > summary::before { content: "\25BE"; color: var(--muted); margin-right: 6px } .cl-grp:not([open]) > summary::before { content: "\25B8" }
.cl-gh { font-family: var(--pixel); font-size: 9px; letter-spacing: .04em; color: var(--muted) }
.cl-rows { display: grid; gap: 6px }
.cl-row { --k: var(--pink); border: 2px solid var(--ink); border-left: 6px solid var(--k); background: var(--card) }
.cl-row.k-bot { --k: var(--cyan) } .cl-row.k-rev { --k: var(--yellow) } .cl-row.k-hum { --k: var(--pink) }
.cl-row.k-todo { --k: var(--pink); border-left-style: dashed; border-color: var(--k) }
.cl-row.is-next { outline: 2px solid var(--gold) }
.cl-row > summary { cursor: pointer; padding: 10px 12px; list-style: none; min-height: 44px } .cl-row > summary::-webkit-details-marker { display: none }
.cl-main { display: grid; gap: 4px; min-width: 0 }
.cl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px }
.cl-name { font-size: 17px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere }
.cl-who { font-family: var(--pixel); font-size: 7px; line-height: 1.4; letter-spacing: .03em; padding: 3px 6px; border: 2px solid var(--k); color: var(--k) }
.cl-who.k-bot { --k: var(--cyan) } .cl-who.k-rev { --k: var(--yellow) } .cl-who.k-hum, .cl-who.k-todo { --k: var(--pink) } .cl-who.k-todo { border-style: dashed }
.cl-who { color: var(--k) }
.cl-sum { font-size: 15px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere }
.cl-row[open] > summary { border-bottom: 1px solid var(--dim) }
.cl-row .tn-in { margin: 8px 12px 12px }
/* the filter: chips set data-filter on the dialog; the list hides rows, the map dims pieces */
.city-dlg[data-filter="people"] .cl-row[data-who="bot"], .city-dlg[data-filter="people"] .cl-row[data-who="rev"],
.city-dlg[data-filter="bots"] .cl-row[data-who="hum"], .city-dlg[data-filter="bots"] .cl-row[data-who="todo"],
.city-dlg[data-filter="todo"] .cl-row:not([data-who="todo"]) { display: none }
.city-dlg[data-filter="people"] svg.tree .node[data-who="bot"], .city-dlg[data-filter="people"] svg.tree .node[data-who="rev"],
.city-dlg[data-filter="bots"] svg.tree .node[data-who="hum"], .city-dlg[data-filter="bots"] svg.tree .node[data-who="todo"],
.city-dlg[data-filter="todo"] svg.tree .node:not([data-who="todo"]) { opacity: .22 }
/* list or map */
.city-dlg[data-view="list"] .cd-map { display: none }
.city-dlg[data-view="map"] .c-list { display: none }
.cd-map { margin-top: 4px }
.cd-scroll { display: none; color: var(--dim); font-size: 14px; margin: 6px 0 0 }
.city-dlg .c-treebox { text-align: left }
.city-dlg svg.tree { display: block; margin: 0; max-width: none }
.cd-about { margin-top: 18px; border: 2px solid var(--dim); background: var(--card) }
.cd-about > summary { cursor: pointer; padding: 10px 12px; font-family: var(--pixel); font-size: 9px; letter-spacing: .04em; min-height: 44px; display: flex; align-items: center }
.cd-about > .c-wfs { margin: 0; padding: 0 12px 12px }
@media (max-width: 700px) {
  .cd-scroll { display: block }
  .dlg.city-dlg { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; border-width: 0; box-shadow: none }
  .city-dlg .dlg-in { height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; padding: 14px 14px calc(22px + env(safe-area-inset-bottom)) }
  .city-dlg .cd-sticky { top: -14px; margin: -14px -14px 12px; padding: 12px 14px 8px }
  .city-dlg .cd-key { font-size: 13px; gap: 3px 10px }
  .city-dlg .cd-key .wk { flex: 1 1 44% }
  .cd-chip, .cd-vb { min-height: 44px }
  .who-key { font-size: 15px }
}
.city-dlg .dlg-head .cd-view { margin-left: auto }
.city-dlg .dlg-head h2 { flex: 1 1 auto }
@media (max-width: 700px) {
  .city-dlg .cd-sticky { gap: 6px }
  .city-dlg .dlg-head { flex-wrap: nowrap; gap: 8px } .city-dlg .dlg-head h2 { font-size: 11px }
  .city-dlg .cd-key .wk-title { display: none }
  .city-dlg .cd-key { font-size: 12px; gap: 3px 8px } .city-dlg .cd-key .wk-sw { width: 12px; height: 12px; border-width: 2px }
  .cd-chip { min-height: 40px; padding: 6px 8px } .cd-chips { gap: 4px }
}
/* the list's own details and summaries override the board's global pixel-font summary look */
.city-dlg details.cl-grp, .city-dlg details.cl-row, .city-dlg details.cd-about { box-shadow: none }
.city-dlg details.cl-grp { border: 0; background: none }
.city-dlg details.cl-row { border-width: 2px; border-left-width: 6px }
.city-dlg .cl-row > summary, .city-dlg .cl-grp > summary, .city-dlg .cd-about > summary { color: var(--fg) }
.city-dlg .cl-row > summary::before, .city-dlg .cl-row > summary::after { content: none; display: none }
.city-dlg .cl-grp > summary { padding: 6px 0; font-family: var(--pixel) }
.city-dlg .cl-name { font-family: var(--body); font-size: 16px; font-weight: 700; color: var(--fg) }
.city-dlg .cl-sum { font-family: var(--body); font-size: 14px; font-weight: 400 }
.city-dlg .cl-wfh { font-size: 11px }
.city-dlg .cl-grp > summary::before { content: "\25BE "; color: var(--muted) } .city-dlg .cl-grp:not([open]) > summary::before { content: "\25B8 " }
/* CONTENT tab (decision 3896): phone first, one column, no tables, no sideways scroll at 360px. Cards are big tap targets; the detail view replaces the list in place. */
#tab-content [hidden] { display: none !important }
#tab-content .content { max-width: 720px; overflow-wrap: anywhere }
#tab-content .ct-status { margin: 0 0 12px; padding: 8px 12px; font-size: 14px; background: var(--panel2); border: 2px solid var(--cyan) }
#tab-content .ct-filters { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 10px 0; margin: 0 0 8px; background: var(--sky); -webkit-overflow-scrolling: touch }
#tab-content .ct-fchip { flex: none; font: 400 8px/1 var(--pixel); color: var(--muted); background: var(--panel2); border: 2px solid var(--ink); padding: 10px 12px; min-height: 44px; cursor: pointer; white-space: nowrap }
#tab-content .ct-fchip[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan) }
#tab-content .ct-cards { display: flex; flex-direction: column; gap: 10px }
#tab-content .ct-card { display: flex; flex-direction: column; gap: 8px; width: 100%; min-height: 64px; text-align: left; font: inherit; color: var(--fg); background: var(--panel); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px; cursor: pointer }
#tab-content .ct-card:hover, #tab-content .ct-card:focus-visible { border-color: var(--cyan); outline: none }
#tab-content .ct-title { font: 700 17px/1.3 var(--display); display: block }
#tab-content .ct-chips-row { display: flex; flex-wrap: wrap; gap: 6px }
#tab-content .ct-chip { font: 400 8px/1.2 var(--pixel); font-style: normal; padding: 5px 6px; border: 2px solid currentColor; color: var(--muted) }
#tab-content .ct-asked { color: var(--fg) } #tab-content .ct-rising { color: var(--green) } #tab-content .ct-covered { color: var(--cyan) } #tab-content .ct-gap { color: var(--yellow) } #tab-content .ct-pin, #tab-content .ct-hook { color: var(--gold) }
#tab-content .ct-k-question { color: var(--cyan) } #tab-content .ct-k-objection { color: var(--yellow) } #tab-content .ct-k-pain { color: var(--gold) }
#tab-content .ct-sub { font-size: 14px; color: var(--muted) }
#tab-content .ct-none { color: var(--muted); font-size: 15px }
#tab-content .ct-detail { padding-bottom: 24px }
#tab-content .ct-dtitle { font: 800 22px/1.25 var(--display); margin: 16px 0 8px }
#tab-content .ct-summary { margin: 0 0 12px; font-size: 16px; color: var(--muted) }
#tab-content .ct-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 }
#tab-content .ct-btn { display: inline-flex; align-items: center; justify-content: center; font: 400 9px/1.2 var(--pixel); color: var(--fg); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 12px 14px; min-height: 44px; cursor: pointer; text-decoration: none; text-align: center }
#tab-content .ct-btn:hover:not(:disabled), #tab-content .ct-btn:focus-visible { border-color: var(--cyan); outline: none }
#tab-content .ct-btn:disabled { opacity: .4; cursor: not-allowed }
#tab-content .ct-next { width: 100%; margin-top: 22px }
#tab-content .ct-h { font: 400 9px/1.5 var(--pixel); color: var(--cyan); margin: 20px 0 8px } #tab-content .ct-h i { font-style: normal; color: var(--muted) }
#tab-content .ct-cov { margin: 0; padding-left: 18px; font-size: 15px }
#tab-content .ct-cov-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px }
#tab-content .ct-cov-add select, #tab-content .ct-cov-add input { font: 400 16px/1.3 var(--body); color: var(--fg); background: var(--panel2); border: 2px solid var(--muted); padding: 10px; min-height: 44px; min-width: 0 }
#tab-content .ct-cov-add input { flex: 1 1 180px }
#tab-content .ct-quotes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px }
#tab-content .ct-quote { background: var(--panel); border: 3px solid var(--ink); padding: 14px }
#tab-content .ct-q { margin: 0; font: 500 19px/1.45 var(--body); color: #fff }
#tab-content .ct-meta { margin: 10px 0 0; font-size: 14px; color: var(--muted) }
@media (min-width: 720px) { #tab-content .ct-cards { display: grid; grid-template-columns: 1fr 1fr } #tab-content .ct-filters { flex-wrap: wrap; overflow: visible } }

/* CARD DRILL-INS on SALES, MARKETING and HEALTH (decision 3920): one shared dialog, neutral styling, never red (decision 2975); a material move is a quiet marker and a tag */
[data-drill] { cursor: pointer }
[data-drill]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
body.dr-open { overflow: hidden }
.dr-back { position: fixed; inset: 0; z-index: 90; background: rgba(8, 4, 24, .78); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 12px }
.dr-back[hidden] { display: none }
.dr { width: min(1040px, 100%); background: var(--panel); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 14px 16px 18px; color: var(--fg) }
.dr:focus { outline: none }
.dr-head { display: flex; align-items: center; gap: 12px; justify-content: space-between }
.dr-title { margin: 0; font-family: var(--pixel); font-size: 14px; line-height: 1.4; color: #fff }
.dr-def { margin: 6px 0 10px; font-size: 14px; color: var(--muted); max-width: 70ch }
.dr-pick, .dr-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 }
.dr-pickb, .dr-per, .dr-x, .dr-save { font-family: var(--pixel); font-size: 9px; line-height: 1; color: var(--muted); background: var(--panel2); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 11px; cursor: pointer }
.dr-pickb { font-size: 8px; padding: 8px 9px }
.dr-pickb:hover, .dr-per:hover, .dr-x:hover, .dr-save:hover { color: #fff }
.dr-pickb[aria-pressed="true"], .dr-per[aria-pressed="true"] { background: var(--gold); color: #000 }
.dr button:focus-visible, .dr-in:focus-visible, .dr [data-dr-row]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.dr-wrap { overflow-x: auto }
.dr-t { width: 100%; border-collapse: collapse; font-size: 13px }
.dr-t th, .dr-t td { padding: 7px 8px; text-align: right; border-bottom: 1px solid #2a1a5c; vertical-align: top; white-space: nowrap }
.dr-t thead th { font-family: var(--pixel); font-size: 8px; color: var(--muted); font-weight: 400; line-height: 1.4 }
.dr-t th:first-child, .dr-t td:first-child, .dr-t td.dr-mat, .dr-t thead th:last-child { text-align: left }
.dr-t tbody th { font-weight: 600; color: var(--fg) } .dr-t small { color: var(--dim); font-weight: 400; display: block }
.dr-t tbody tr[data-dr-row] { cursor: pointer } .dr-t tbody tr[data-dr-row]:hover { background: rgba(157, 107, 255, .08) }
.dr-t tr.dr-sel { background: rgba(255, 255, 255, .06); box-shadow: inset 3px 0 0 var(--gold) }
.dr-hol { background: rgba(157, 107, 255, .10) }
.dr-t td b { color: #fff; font-weight: 600 }
.dr-ch { display: block; color: var(--fg) } .dr-cmp { display: block; font-size: 10px; color: var(--dim) } .dr-na { color: var(--dim) }
.dr-t td.dr-mat { white-space: normal; min-width: 230px }
.dr-tag { display: inline-block; font-size: 11px; color: var(--fg); border: 1px solid var(--muted); padding: 1px 6px; margin-right: 6px }
.dr-rsn { display: block; color: var(--fg); white-space: normal } .dr-ly { display: block; margin-top: 3px; font-size: 11px; color: var(--dim); white-space: normal }
.dr-form { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px } .dr-in { min-width: 190px; padding: 6px 8px; background: var(--panel2); color: var(--fg); border: 2px solid var(--ink); font: inherit; font-size: 13px }
.dr-save, .dr-edit { padding: 8px 9px } .dr-edit { margin-left: 8px } .dr-wk { margin: 6px 0 4px; font-size: 14px; color: var(--fg) } .dr-err { color: var(--fg); font-size: 12px; text-decoration: underline }
.dr-note { margin: 8px 0 0; font-size: 12px; color: var(--dim) }
.dr-how, .dr-life { margin-top: 14px; border-top: 3px solid var(--ink); padding-top: 10px }
.dr-h3 { margin: 0 0 6px; font-family: var(--pixel); font-size: 10px; color: var(--muted); line-height: 1.5 } .dr-h4 { margin: 12px 0 4px; font-family: var(--pixel); font-size: 9px; color: var(--muted) }
.dr-formula { margin: 0 0 6px; font-size: 15px; color: #fff }
.dr-rows { margin: 0; padding: 0; list-style: none; font-size: 13px; columns: 2 380px; column-gap: 24px } .dr-rows li { padding: 2px 0; break-inside: avoid } .dr-rows li.dr-lh { color: var(--muted); font-weight: 600; margin-top: 6px }
.dr-all { padding: 6px 0 4px } .dr-big { font-family: var(--pixel); font-size: 26px; color: #fff; margin: 4px 0 }
.dr-line { margin: 4px 0; font-size: 14px }
.dr-lt th small { text-align: left }
@media (max-width: 640px) { .dr-back { padding: 0 } .dr { box-shadow: none; border-width: 0; min-height: 100% } .dr-rows { columns: 1 } .dr-in { min-width: 130px } }

/* READABLE PANELS (decision 3930): headline, three big numbers, chart, churn cards. Never red; green is a met goal, amber a missed one. */
.dr-trustslot { min-height: 22px; margin: 2px 0 6px }
.dr-trust { display: inline-block; font-size: 12px; padding: 2px 8px; border: 1px solid var(--muted); color: var(--muted) }
.dr-trust-ok { color: #8fe3b0; border-color: #8fe3b0 } .dr-trust-warn { color: #ffc266; border-color: #ffc266 } .dr-trust-grey { color: var(--dim); border-color: var(--dim) }
.dr-trust-cons { color: #9fc8b0; border-style: dashed }
.dr-headline { margin: 8px 0 12px; font-size: 21px; line-height: 1.4; color: #fff; max-width: 60ch }
.dr-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px }
.dr-stat { flex: 1 1 150px; border: 3px solid var(--ink); background: var(--panel2); padding: 8px 12px; border-left-width: 8px; border-left-color: var(--dim) }
.dr-stat.dr-ok { border-left-color: #4fd18b } .dr-stat.dr-warn { border-left-color: #f2a93b }
.dr-sl { display: block; font-size: 12px; color: var(--muted) } .dr-sv { display: block; font-size: 30px; font-weight: 700; color: #fff; line-height: 1.2 }
.dr-why { margin: 4px 0; font-size: 14px; color: var(--fg); max-width: 70ch }
.dr-chartbox { margin: 12px 0 4px } .dr-chart { width: 100%; height: auto; max-height: 240px; display: block }
.dr-bar { fill: #7a67c9; transform-box: fill-box; transform-origin: bottom; animation: drgrow .55s ease-out both; animation-delay: calc(var(--i, 0) * 45ms) }
.dr-bar-sel { fill: #b9aee0 } .dr-bar-run { fill: none; stroke: #b9aee0; stroke-width: 2; stroke-dasharray: 4 3 }
.dr-goal { stroke: #f2a93b; stroke-width: 2; stroke-dasharray: 6 4 } .dr-gl { fill: #f2a93b; font-size: 11px } .dr-axis { stroke: #3a2a7a; stroke-width: 1 }
.dr-bv { fill: #fff; font-size: 11px } .dr-bl { fill: var(--muted); font-size: 11px }
@keyframes drgrow { from { transform: scaleY(0); opacity: 0 } to { transform: scaleY(1); opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .dr-bar { animation: none } }
.dr-formula { font-size: 17px }
.dr-roll { margin-bottom: 10px } .dr-rbars { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px }
.dr-rb { display: grid; grid-template-columns: minmax(150px, 220px) 1fr minmax(160px, auto); gap: 10px; align-items: center; font-size: 13px }
.dr-rbt { background: var(--panel2); height: 14px; display: block } .dr-rbt i { display: block; height: 100%; background: #7a67c9 }
.dr-cards { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px }
.dr-card { border: 3px solid var(--ink); background: var(--panel2); padding: 10px 12px }
.dr-ch1 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline } .dr-cn { color: #fff; font-size: 15px }
.dr-ctag { font-size: 11px; padding: 1px 6px; border: 1px solid #f2a93b; color: #f2a93b; white-space: nowrap } .dr-ctag-ok { border-color: #4fd18b; color: #4fd18b }
.dr-cnums { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0; font-size: 13px; color: var(--muted) } .dr-cnums b { color: #fff; font-size: 17px }
.dr-cwhy { margin: 4px 0; font-size: 14px } .dr-cev { margin: 2px 0; font-size: 11px; color: var(--dim) }
.dr-cact { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px } .dr-cform { display: flex; flex-wrap: wrap; gap: 6px; width: 100% } .dr-cform .dr-in { min-width: 140px; flex: 1 1 140px }
.dr-bar-neg { transform-origin: top }
.dr-ch { font-size: 13px } .dr-cmp { font-size: 12px }
@media (max-width: 640px) {
  .dr-rb { grid-template-columns: 1fr; gap: 3px }
  .dr-headline { font-size: 18px }
  .dr-bl, .dr-gl { font-size: 17px } .dr-bv { font-size: 16px }
}
@media (max-width: 480px) { .dr-bv { display: none } }
