/* Layout of the page over the dot scene, and every hover, press, focus and motion state.
   The markup itself comes from the design (screens/*.html) with its styles inline, so rules that must win use !important. */

:root {
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fast: 160ms;
  --mid: 240ms;
  --accent: #8fb8ff;
  --line: #e8eef81f;
  --text-dim: #e8eef8ad;
  --text-faint: #e8eef86b;
  --ok: #5cd08a;
}

html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
canvas#c { position: fixed; inset: 0; width: 100vw; height: 100vh; }

#shade {
  position: fixed; left: 0; right: 0; top: 0; pointer-events: none; transition: opacity 0.5s;
  background:
    linear-gradient(180deg, #000 0, #0000 14%, #0000 86%, #000 100%),
    linear-gradient(180deg, #0000 22%, #000000d6 35%, #000000e0 70%, #0000 84%);
}

#bar { position: fixed; left: 0; right: 0; top: 0; height: 64px; z-index: 3; }
#bar > [data-pencil-name="Top bar"] { transform-origin: 0 0; }

#stage { position: absolute; left: 50%; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
#ui { position: absolute; inset: 0; transition: opacity 0.5s, filter 0.5s; }
#ui > .home-col { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 64px; }

#track, :is(#gdv, #mpv, #ghv, #rpv, #bdv) {
  position: fixed; inset: 0; overflow-y: auto; scrollbar-width: none; z-index: 1;
  opacity: 0; filter: blur(8px); pointer-events: none; transition: opacity 0.26s, filter 0.26s;     /* leaving: the page gets out of the way fast, so its dots are seen lifting off */
}
#track::-webkit-scrollbar, :is(#gdv, #mpv, #ghv, #rpv, #bdv)::-webkit-scrollbar { display: none; }
#track.on, :is(#gdv, #mpv, #ghv, #rpv, #bdv).on { opacity: 1; filter: none; pointer-events: auto; transition: opacity 0.6s, filter 0.6s; }
#trackIn, #gdIn, #mpIn, #ghIn, #rpIn, #bdIn { position: relative; }
#trackScale, #gdScale, #mpScale, #ghScale, #rpScale, #bdScale { position: absolute; top: 0; width: 1440px; transform-origin: 0 0; }
#trackScale > .t-bg, :is(#gdScale, #mpScale, #ghScale) > .t-bg { position: absolute !important; left: 0; top: 0; background: none !important; }
#trackScale > .t-body, :is(#gdScale, #mpScale, #ghScale) > .t-body { position: relative; margin-top: 64px; }

/* Go-Direct: its header's own dots */
.gd-dots { position: absolute; left: 0; top: 0; width: 1440px; height: 340px; z-index: 0; }

.out { opacity: 0 !important; filter: blur(8px); pointer-events: none; }
.instant * { transition: none !important; animation: none !important; }

/* ---------- anything you can click ---------- */
.ia { cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.ia:focus { outline: none; }
.ia:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 3px !important; }
.is-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.gone { display: none !important; }

/* buttons: outlined ones fill a little, the white one glows, all of them press in */
.btn { transition: transform var(--fast) var(--ease), background-color var(--fast), box-shadow var(--fast), opacity var(--fast); }
.btn:hover { background-color: #e8eef814 !important; box-shadow: inset 0 0 0 1px #e8eef866; }
.btn-primary:hover { background-color: #e9eef8 !important; box-shadow: 0 6px 22px #8fb8ff40; }
.btn:active { transform: scale(0.97); }
.btn.is-busy { opacity: 0.6; pointer-events: none; }

/* text links: brighten, an underline draws in, an arrow nudges the way it points */
.link { position: relative; transition: color var(--fast); }
.link:hover { color: #fff !important; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; opacity: 0.55;
  transform: scaleX(0); transform-origin: left; transition: transform var(--mid) var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.arrow { display: inline-block; transition: transform var(--mid) var(--ease); }
.link:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
.link:hover .arrow.back { transform: translateX(-4px); }
.link.is-done, .copy.is-done * { color: var(--ok) !important; }

.copy { transition: opacity var(--fast); border-radius: 6px; }
.copy * { transition: color var(--fast); }
.copy:hover * { color: #fff !important; }
.copy:active { opacity: 0.7; }

/* ---------- top bar ---------- */
.nav-item { color: var(--text-dim); transition: background-color 180ms, color 180ms; }
.nav-item svg { color: var(--text-faint); transition: color 180ms; }
.nav-item:hover { background-color: #e8eef80d; color: #fff; }
.nav-item.is-active { background-color: #e8eef814; color: #fff; }
.nav-item.is-active svg { color: var(--accent); }
.nav-item.is-locked { color: var(--text-faint); }
.nav-item.is-locked:hover { color: var(--text-dim); }

.company { transition: background-color 180ms, box-shadow 180ms; }
.company:hover { background-color: #e8eef81a !important; box-shadow: inset 0 0 0 1px #e8eef84d; }
.avatar { transition: box-shadow 180ms, transform var(--fast) var(--ease); }
.avatar:hover { box-shadow: 0 0 0 2px #8fb8ff59; }
.avatar:active { transform: scale(0.94); }
.avatar[aria-expanded="true"] { box-shadow: 0 0 0 1.5px var(--accent); }

#menu {
  position: fixed; z-index: 5; transform-origin: top right; opacity: 0; pointer-events: none;
  transform: translateY(-6px) scale(calc(var(--bs, 1) * 0.98));
  transition: opacity 180ms, transform var(--mid) var(--ease);
}
#menu.is-open { opacity: 1; pointer-events: auto; transform: scale(var(--bs, 1)); }
#menu > * { position: static !important; }
.menu-item { transition: background-color 140ms; }
.menu-item:hover, .menu-item:focus-visible { background-color: #e8eef80f !important; }
.menu-item:active { background-color: #e8eef81a !important; }

/* ---------- Tracking: tabs, panes, filters, rows ---------- */
.tabs { position: relative; }
.tab { color: var(--text-dim); border: 0 !important; margin: 0 !important; transition: color 180ms; }
.tab:hover, .tab.is-on { color: #fff; }
.tab-ink { position: absolute; height: 2px; background: #fff; transform-origin: left; pointer-events: none; }

.pane { display: none; flex-direction: column; gap: 40px; width: 100%; }
.pane.is-on { display: flex; animation: pane-in 300ms var(--ease); }
.pane.no-anim { animation: none; }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.segs { position: relative; }
.seg { position: relative; z-index: 1; color: var(--text-dim); transition: color 200ms; }
.seg:hover { color: #fff; }
.seg.is-on { color: #000; }
.seg-thumb { position: absolute; z-index: 0; background: #fff; border-radius: 999px; transform-origin: left; pointer-events: none; }

.row-link { transition: background-color var(--fast), box-shadow var(--fast); }
.row-link:hover, .row-link:focus-visible { background-color: #e8eef80a; box-shadow: -12px 0 0 #e8eef80a, 12px 0 0 #e8eef80a; }
.row-link:active { background-color: #e8eef814; box-shadow: -12px 0 0 #e8eef814, 12px 0 0 #e8eef814; }

/* Go-Direct rows lift a little under the pointer */
:is(#gdScale, #mpScale, #ghScale) :is([data-pencil-name="Finding Row"], [data-pencil-name="Task Row"], [data-pencil-name="Feed Row"], [data-pencil-name="Area Row"], [data-pencil-name="Report Row"], [data-pencil-name="Fix Row"], [data-pencil-name="Fix Item"], [data-pencil-name="All Fix Row"], [data-pencil-name="Study Row Item"]) { transition: background-color var(--fast), box-shadow var(--fast); }
:is(#gdScale, #mpScale, #ghScale) :is([data-pencil-name="Finding Row"], [data-pencil-name="Task Row"], [data-pencil-name="Feed Row"], [data-pencil-name="Area Row"], [data-pencil-name="Report Row"], [data-pencil-name="Fix Row"], [data-pencil-name="Fix Item"], [data-pencil-name="All Fix Row"], [data-pencil-name="Study Row Item"]):hover { background-color: #e8eef808; box-shadow: -12px 0 0 #e8eef808, 12px 0 0 #e8eef808; }
/* bars grow in when their tab opens */
:is(#gdScale, #mpScale, #ghScale) .pane.is-on :is([data-pencil-name="Bar Fill"], [data-pencil-name="Bar Range"], [data-pencil-name="Area Fill"], [data-pencil-name="Progress Fill"]) { transform-origin: left; animation: bar-in 520ms var(--ease) backwards; }
:is(#gdScale, #mpScale, #ghScale) .pane.no-anim :is([data-pencil-name="Bar Fill"], [data-pencil-name="Bar Range"], [data-pencil-name="Area Fill"], [data-pencil-name="Progress Fill"]) { animation: none; }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- Setup: help opens under its row ---------- */
.help-wrap { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows 320ms var(--ease); }
.help-in { overflow: hidden; min-height: 0; padding-left: 32px; opacity: 0; transform: translateY(-6px); transition: opacity var(--mid), transform 320ms var(--ease); }
.help-in > * { margin: 4px 0 24px; }
.help-wrap.is-open { grid-template-rows: 1fr; }
.help-wrap.is-open > .help-in { opacity: 1; transform: none; }
.progress-fill { width: 100% !important; transform-origin: left; transition: transform 420ms var(--ease); }
.state-pop { animation: state-pop 360ms var(--ease); }
@keyframes state-pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Go-Direct above the studies: the header keeps its map and drops the study's route */
:is(#gdScale, #mpScale, #ghScale) [data-pencil-name="Route Layer"] { transition: opacity 300ms; }
:is(#gdScale, #mpScale, #ghScale).is-home [data-pencil-name="Route Layer"] { opacity: 0; pointer-events: none; }
:is(#gdScale, #mpScale, #ghScale) [data-pencil-name="Sign In Layer"] { position: absolute !important; left: 0; top: 0; opacity: 0; pointer-events: none; transition: opacity 300ms; }
:is(#gdScale, #mpScale, #ghScale).is-signin [data-pencil-name="Sign In Layer"] { opacity: 1; }
[data-pencil-name="Door Halo"] { transition: transform 600ms var(--ease), opacity 600ms; }
[data-pencil-name="Product Label"] > div, [data-pencil-name="Product Pin"] { transition: color 400ms 200ms, outline-color 400ms 200ms, border-color 400ms 200ms; }
:is(#gdScale, #mpScale, #ghScale).is-open [data-pencil-name="Door Halo"] { transform: scale(2.4); opacity: 0; }
:is(#gdScale, #mpScale, #ghScale).is-open [data-pencil-name="Product Label"] > div { color: #fff !important; }
:is(#gdScale, #mpScale, #ghScale).is-open [data-pencil-name="Product Pin"] { outline-color: #8fb8ff !important; border-color: #8fb8ff !important; }
.nav-pill { transition: background-color 180ms, box-shadow 180ms; }
.nav-pill:hover { background-color: #1a1f2be6 !important; box-shadow: inset 0 0 0 1px #e8eef84d; }
.nav-pill:active { transform: scale(0.98); }
.gd-docs { all: unset; flex: 1; min-width: 0; font: 400 17px Figtree, system-ui, sans-serif; color: #fff; }
.gd-docs::placeholder { color: var(--text-faint); }
/* ---------- the client's read-only copy, and sign in ---------- */
body.is-shared .ro { display: none !important; }
body.is-shared .nav-pill { pointer-events: none; }
.gd-field { all: unset; flex: 1; min-width: 0; font: 400 15px Figtree, system-ui, sans-serif; color: #fff; }
.gd-field::placeholder { color: var(--text-faint); }
.gd-field[type="password"] { letter-spacing: 2px; }
[data-pencil-name="Input"]:has(.gd-field) { transition: outline-color 160ms, background-color 160ms; }
[data-pencil-name="Input"]:has(.gd-field):focus-within { outline-color: #8fb8ff !important; background-color: #e8eef812 !important; }
[data-pencil-name="Input"].is-wrong { outline-color: #ff7a7a !important; animation: nudge 280ms var(--ease); }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 65% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { [data-pencil-name="Input"].is-wrong { animation: none; } }
[data-pencil-name="Docs Field"] { transition: box-shadow 160ms; }
[data-pencil-name="Docs Field"]:focus-within { box-shadow: 0 0 0 2px var(--accent); }

/* after the handoff: the team's to-dos tick like a checklist */
.todo-item { border-radius: 8px; transition: background-color 140ms; }
.todo-item:hover { background-color: #e8eef80a; box-shadow: -8px 0 0 #e8eef80a, 8px 0 0 #e8eef80a; }
.todo-item [data-pencil-name="Tick"] { position: relative; transition: background-color 160ms, outline-color 160ms; }
.todo-item [data-pencil-name="Tick"]::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px/1 Figtree, system-ui, sans-serif; color: #05070c; opacity: 0; transform: scale(0.6); transition: opacity 120ms, transform 160ms var(--ease); }
.todo-item.is-on [data-pencil-name="Tick"] { background-color: var(--accent); outline-color: transparent !important; }
.todo-item.is-on [data-pencil-name="Tick"]::after { opacity: 1; transform: none; }
.todo-item.is-on [data-pencil-name="Todo Name"] { color: var(--text-dim) !important; text-decoration: line-through; text-decoration-color: #e8eef84d; }

/* ---------- pop-ups ---------- */
.chip { transition: background-color 140ms, box-shadow 140ms; }
.chip::after { display: none; }
.chip:hover { background-color: #e8eef814; box-shadow: inset 0 0 0 1px #e8eef866; }
#modal {
  position: fixed; inset: 0; z-index: 8; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto;
  padding: 72px 24px; background: #000000b3; opacity: 0; pointer-events: none; transition: opacity 200ms;
}
#modal.is-open { opacity: 1; pointer-events: auto; }
.dialog { position: relative !important; flex-shrink: 0; zoom: var(--ds, 1); transform: translateY(14px) scale(0.98); transition: transform 280ms var(--ease); }
#modal.is-open .dialog { transform: none; }
.dialog[hidden] { display: none !important; }
.send-item { border-radius: 8px; transition: background-color 140ms, opacity 140ms; }
.send-item:hover { background-color: #e8eef80a; box-shadow: -8px 0 0 #e8eef80a, 8px 0 0 #e8eef80a; }
.send-item [data-pencil-name="Tick"] { transition: background-color 160ms, box-shadow 160ms; }
.send-item [data-pencil-name="Tick"] svg { transition: opacity 120ms, transform 160ms var(--ease); }
.send-item.is-off [data-pencil-name="Tick"] { background-color: transparent !important; box-shadow: inset 0 0 0 1.5px #e8eef866; }
.send-item.is-off [data-pencil-name="Tick"] svg { opacity: 0; transform: scale(0.6); }
.send-item.is-off [data-pencil-name="Send Name"] { color: var(--text-faint) !important; }

.gd-search { all: unset; flex: 1; min-width: 0; font: 400 14px Figtree, system-ui, sans-serif; color: #fff; }
.gd-search::placeholder { color: var(--text-faint); }
.gd-search::-webkit-search-cancel-button { display: none; }
[data-pencil-name="Search"] { transition: box-shadow 160ms; }
[data-pencil-name="Search"]:focus-within { box-shadow: 0 0 0 2px var(--accent); }

.gd-ask { all: unset; display: block; width: 100%; height: 100%; box-sizing: border-box; resize: none; font: 400 14px/1.5 Figtree, system-ui, sans-serif; color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.gd-ask::placeholder { color: var(--text-faint); }
[data-pencil-name="Ask Box"] { transition: box-shadow 160ms; }
[data-pencil-name="Ask Box"]:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.gd-applying { display: flex; gap: 10px; align-items: flex-start; font: 500 17px/1.4 Figtree, system-ui, sans-serif; color: #fff; animation: pane-in 300ms var(--ease); }
.gd-live-dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
/* anything that is "live" breathes */
.gd-live-dot, :is(#gdScale, #mpScale, #ghScale) :is([data-pencil-name="Live Dot"], [data-pencil-name="Now Dot"]) { animation: live 1.6s ease-in-out infinite; }
/* a run is going: a live dot sits before the Run tab's label, in the gap, so no tab moves */
:is(#gdScale, #mpScale, #ghScale) .tab:is([data-gd-tab="run"], [data-mp-tab="run"]) { position: relative; }
:is(#gdScale, #mpScale, #ghScale).is-live .tab:is([data-gd-tab="run"], [data-mp-tab="run"])::before { content: ""; position: absolute; left: -13px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }

/* ---------- small messages ---------- */
#toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 6; max-width: min(560px, calc(100vw - 48px));
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: #111318; color: #fff; border: 1px solid #e8eef826; border-radius: 999px; padding: 10px 18px;
  font: 500 14px/1.4 Figtree, system-ui, sans-serif; box-shadow: 0 16px 40px #00000099;
  transition: opacity 200ms, transform 260ms var(--ease);
}
#toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Multiplier: the timeline's two bars move when the stage changes */
#mpScale .mp-bar { transition: top 420ms var(--ease), height 420ms var(--ease), background-color 300ms; }

/* Show as table: a chart's rows as plain lines, in the chart's place */
.q-table { display: flex; flex-direction: column; width: 100%; animation: pane-in 300ms var(--ease); }
.q-row { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-bottom: 1px solid #e8eef81f; font: 500 14px/1.4 Figtree, system-ui, sans-serif; color: #e8eef8d9; }
.q-row:first-child { border-top: 1px solid #e8eef81f; }
.q-row > :last-child:not(:first-child) { color: #fff; text-align: right; white-space: nowrap; }
.is-table > :is([data-pencil-name="Bars"], [data-pencil-name="Legend"], [data-pencil-name="Stack Bar"], [data-pencil-name="Checks"], [data-pencil-name="Two Lists"]) { display: none !important; }

/* More options (New study): the choices open in place, under the line that says what is set */
.opt-wrap { display: grid; grid-template-rows: 0fr; margin-top: -20px; transition: grid-template-rows 320ms var(--ease), margin-top 320ms var(--ease); }
.opt-in { overflow: hidden; min-height: 0; opacity: 0; transition: opacity var(--mid); }
.opt-wrap.is-open { grid-template-rows: 1fr; margin-top: 0; }
.opt-wrap.is-open > .opt-in { opacity: 1; }
.opt-field { all: unset; flex: 1; min-width: 0; font: 400 15px Figtree, system-ui, sans-serif; color: #fff; }
.opt-field::placeholder { color: var(--text-faint); }
[data-pencil-name="Option Field"] { transition: outline-color 160ms, background-color 160ms; outline: 1.5px solid transparent; }
[data-pencil-name="Option Field"]:focus-within { outline-color: #8fb8ff; background-color: #e8eef812 !important; }

/* Growth Hub: bars follow the list, steps and the explainer open in place, small menus, sliders and ticks */
#ghScale :is([data-pencil-name="Bar Fill"], [data-pencil-name="Bar Progress"]) { transition: width 420ms var(--ease), background-color 300ms; }
#ghScale .pane.is-on [data-pencil-name="Day Bar"] { transform-origin: bottom; animation: bar-up 520ms var(--ease) backwards; }
#ghScale .pane.is-on :is([data-pencil-name="Measured Band"], [data-pencil-name="Modelled Band"]) { transform-origin: left; animation: bar-in 620ms var(--ease) backwards; }
#ghScale .pane.no-anim :is([data-pencil-name="Day Bar"], [data-pencil-name="Measured Band"], [data-pencil-name="Modelled Band"]) { animation: none; }
@keyframes bar-up { from { transform: scaleY(0); } to { transform: none; } }
.gh-open { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows 320ms var(--ease); }
.gh-open.no-anim, .gh-open.no-anim > .gh-open-in { transition: none; }
.gh-open > .gh-open-in { overflow: hidden; min-height: 0; opacity: 0; transition: opacity 220ms; }
.gh-open.is-open { grid-template-rows: 1fr; }
.gh-open.is-open > .gh-open-in { opacity: 1; }
.gh-explainer.is-open { margin-top: -16px; }
.gh-explainer:not(.is-open) { margin-top: -40px; }
.gh-explainer { transition: grid-template-rows 320ms var(--ease), margin-top 320ms var(--ease); }
.gh-step { transition: background-color var(--fast), box-shadow var(--fast); }
.gh-step:hover, .gh-step:focus-visible { background-color: #e8eef808; box-shadow: -12px 0 0 #e8eef808, 12px 0 0 #e8eef808; }
.gh-step [data-pencil-name="Step Open"] { cursor: default; }
.gh-chev { transition: transform 260ms var(--ease); }
.gh-step[aria-expanded="true"] > .gh-chev { transform: rotate(180deg); }
.gh-disclosure svg { transition: transform 260ms var(--ease); }
.gh-disclosure[aria-expanded="true"] svg { transform: rotate(90deg); }
.gh-disclosure:hover > div { color: #fff !important; }
.gh-actions svg { transition: transform 200ms var(--ease); }
:is(.gh-actions, .gh-filter, .gh-select)[aria-expanded="true"] svg { transform: rotate(180deg); }
.gh-filter svg, .gh-select svg { transition: transform 200ms var(--ease); }
.gh-menu {
  position: fixed; z-index: 5; min-width: 188px; padding: 6px; background: #111318; border: 1px solid #e8eef826; border-radius: 12px; box-shadow: 0 12px 32px #00000099;
  opacity: 0; pointer-events: none; translate: 0 -6px; transition: opacity 140ms, translate 200ms var(--ease);
}
.gh-menu.is-open { opacity: 1; pointer-events: auto; translate: 0 0; }
.gh-menu { overflow-y: auto; }
.gh-menu .gh-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font: 500 14px/1.2 Figtree, system-ui, sans-serif; color: #fff; white-space: nowrap; }
.gh-menu .gh-item.is-danger { color: #ff7a7a; }
.gh-menu .gh-item i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.gh-menu .gh-item.is-on::after { content: "✓"; margin-left: auto; padding-left: 18px; color: var(--accent); }
.gh-range { position: absolute; left: 0; top: -8px; width: 100%; height: 32px; margin: 0; opacity: 0; cursor: pointer; }
#ghScale [data-pencil-name="Knob"] { transition: box-shadow 160ms, transform 160ms var(--ease); pointer-events: none; }
#ghScale [data-pencil-name="Track"]:hover [data-pencil-name="Knob"] { transform: scale(1.15); }
#ghScale [data-pencil-name="Track"]:focus-within [data-pencil-name="Knob"] { box-shadow: 0 0 0 4px #8fb8ff66; }
#ghScale :is([data-pencil-name="Input"], [data-pencil-name="Textarea"]) { transition: outline-color 160ms, background-color 160ms; }
#ghScale :is([data-pencil-name="Input"], [data-pencil-name="Textarea"]):focus-within { outline-color: #8fb8ff !important; background-color: #e8eef812 !important; }
.gh-mono { font-family: "JetBrains Mono", ui-monospace, monospace !important; font-size: 13px !important; }
textarea.gh-mono { font-size: 12px !important; line-height: 1.6 !important; white-space: pre !important; overflow-x: auto; }
.gh-check [data-pencil-name="Checkbox"] { transition: background-color 160ms, outline-color 160ms; }
.gh-check [data-pencil-name="Checkbox"] svg { transition: opacity 120ms, transform 160ms var(--ease); }
.gh-check:not(.is-off) [data-pencil-name="Checkbox"] { background-color: #fff !important; outline-color: transparent !important; }
.gh-check.is-off [data-pencil-name="Checkbox"] { background-color: transparent !important; outline: 1.5px solid #e8eef866 !important; outline-offset: -1.5px; }
.gh-check.is-off [data-pencil-name="Checkbox"] svg { opacity: 0; transform: scale(0.6); }
.gh-state [data-pencil-name="Step Num"] { transition: background-color 200ms, outline-color 200ms; }
.gh-state:hover [data-pencil-name="Step Name"] { color: #fff !important; }
#ghScale .tab[data-gh-tab="ai"] { position: relative; }
#ghScale.is-live .tab[data-gh-tab="ai"]::before { content: ""; position: absolute; left: -13px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); animation: live 1.6s ease-in-out infinite; }
#ghScale [data-pencil-name="Pin · lit"] { transition: opacity 400ms; }
#ghScale [data-pencil-name="Table Row"].row-link { cursor: pointer; }

.gh-step [data-pencil-name="Step Open"], .gh-step [data-pencil-name="Step Open"] * { user-select: text; }
.gh-step [data-pencil-name="Step Open"] .ia, .gh-step [data-pencil-name="Step Open"] .ia * { user-select: none; }

.gh-menu .gh-item { transition: background-color 140ms; }
.gh-menu .gh-item:hover, .gh-menu .gh-item:focus-visible { background-color: #e8eef80f; outline: none !important; }
.gh-menu .gh-item:active { background-color: #e8eef81a; }

#ghScale :is([data-pencil-name="Measured Band"], [data-pencil-name="Modelled Band"]) { transition: top 420ms var(--ease), height 420ms var(--ease); }
#ghScale [data-pencil-name="Day Bar"] { transition: height 420ms var(--ease); }

/* Growth Hub's other states (growth-hub-states.js) */
#ghScale.is-fresh [data-pencil-name="Sample Note"] { display: none !important; }
#ghScale.is-fresh :is([data-pencil-name="Pin · doing"], [data-pencil-name="Map Label"]) { opacity: 0; }
#ghScale :is([data-pencil-name="Pin · doing"], [data-pencil-name="Map Label"]) { transition: opacity 400ms; }
#ghScale [data-pencil-name="Done Bar Fill"] { transition: width 420ms var(--ease); }
#ghScale [data-pencil-name="Stage Title"] { transition: color 300ms; }
body.gh-viewer :is(#ghScale, #modal) .owner-only, body.gh-viewer #ghScale :is(.gh-actions, [data-pencil-name="Edit Link"]) { display: none !important; }

/* ---------- the report under Home (home-report.js) ---------- */
#rpScale { font-family: Figtree, sans-serif; color: #fff; }
.rp-body { padding: 100px 80px 96px; display: flex; flex-direction: column; gap: 40px; }
.rp-eyebrow, .rp-stage-label, .rp-list-head, .rp-th { font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 2px; color: var(--text-dim); }
.rp-head { display: flex; justify-content: space-between; align-items: flex-end; height: 72px; }
.rp-head .rp-eyebrow { font-size: 11px; letter-spacing: 2.2px; color: #e8eef8c2; }
.rp-title { margin: 10px 0 8px; font: 500 32px/1.1 Figtree, sans-serif; letter-spacing: -0.8px; }
.rp-sub { font-size: 14px; color: var(--text-dim); }
.rp-actions { display: flex; gap: 10px; align-items: center; }
.rp-segs { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: #ffffff0a; }
.rp-seg { padding: 6px 12px; border-radius: 6px; font: 600 12px Figtree, sans-serif; color: var(--text-dim); transition: background-color var(--mid) var(--ease), color var(--fast); }
.rp-seg:hover { color: #fff; background: #ffffff0d; }
.rp-seg.is-on { color: #fff; background: #ffffff1f; }
.rp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; font: 600 13px Figtree, sans-serif; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px #ffffff33; }
.rp-btn.primary { background: #fff; color: #0b0b10; box-shadow: none; }
.rp-btn.primary:hover { color: #0b0b10; }
.rp-icon { display: inline-flex; width: 14px; height: 14px; flex: none; }
.rp-icon svg { width: 100%; height: 100%; }
/* the stage strip: the dust draws each stage's chart in the space on the right of its column */
.rp-strip { display: flex; height: 176px; margin-top: -10px; border-top: 1px solid #ffffff14; border-bottom: 1px solid #ffffff14; }
.rp-stage { position: relative; flex: 1; padding: 18px 0 0 24px; display: flex; flex-direction: column; gap: 5px; border-left: 1px solid #ffffff14; }
.rp-stage:first-child { border-left: 0; padding-left: 0; }
.rp-stage-product { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.rp-stage-value { font-size: 40px; line-height: 1; letter-spacing: -1.4px; margin-top: 4px; }
.rp-stage-caption { font-size: 12px; line-height: 1.35; color: #e8eef8cc; max-width: 150px; min-height: 32px; }
.rp-stage-foot { font-size: 12px; font-weight: 600; color: var(--ok); }
.is-could .rp-stage-product, .is-could .rp-stage-foot, .rp-stage-foot.is-book { color: #8fb8ff; }
.rp-stage-foot.is-book { align-self: flex-start; }
/* panels */
.rp-panels { display: flex; gap: 24px; align-items: stretch; }
.rp-panel { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 12px; background: #111118; box-shadow: inset 0 0 0 1px #ffffff14; transition: box-shadow var(--mid) var(--ease), transform var(--mid) var(--ease); }
.rp-panel:hover { box-shadow: inset 0 0 0 1px #ffffff29; }
.rp-panel.is-could { box-shadow: inset 0 0 0 1px #8fb8ff33; }
.rp-panel.is-could:hover { box-shadow: inset 0 0 0 1px #8fb8ff66; }
.rp-panel-head, .rp-fixes-head { display: flex; justify-content: space-between; align-items: flex-start; }
.rp-fixes-head { align-items: flex-end; }
.rp-q { margin: 6px 0 0; font: 500 18px/1.3 Figtree, sans-serif; }
.rp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--ok); background: #5cd08a1f; }
.rp-chip .rp-icon { width: 12px; height: 12px; }
.rp-chip.is-could { color: #8fb8ff; background: #8fb8ff1f; }
.rp-lists { display: flex; gap: 24px; }
.rp-list { flex: 1; display: flex; flex-direction: column; }
.rp-list-head { padding-bottom: 8px; border-bottom: 1px solid #ffffff14; letter-spacing: 1.4px; }
.rp-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffffff14; font-size: 13px; color: #e8eef8e6; transition: background-color var(--fast); }
.rp-row:hover { background: #ffffff05; }
.rp-row.is-bold, .rp-row.is-bold .rp-val { color: #fff; font-weight: 600; }
.rp-val { font-weight: 600; color: #fff; white-space: nowrap; }
.rp-val.is-ok { color: var(--ok); }
.rp-get { justify-content: flex-start; align-items: center; gap: 10px; }
.rp-get .rp-icon { width: 13px; height: 13px; color: #8fb8ff; }
.rp-could { display: flex; gap: 16px; align-items: flex-end; }
.rp-could-value { font-size: 48px; line-height: 1; letter-spacing: -1.6px; white-space: nowrap; }
.rp-could-text { padding-bottom: 4px; font-size: 13px; line-height: 1.45; color: #e8eef8cc; }
.rp-panel .rp-btn, .rp-panel .rp-link { align-self: flex-start; margin-top: auto; }
.rp-link { font-size: 14px; font-weight: 600; color: #fff; }
/* fixes */
.rp-table { display: flex; flex-direction: column; }
.rp-tr { display: grid; grid-template-columns: 36px 1fr 150px 90px 170px 170px 150px; gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid #ffffff14; font-size: 13px; }
.rp-th { padding-top: 20px; font-size: 10px; letter-spacing: 1.4px; }   /* after .rp-tr, so the header keeps its 10px label size */
.rp-fix { transition: background-color var(--fast), padding-left var(--mid) var(--ease); border-radius: 6px; }
.rp-fix:hover { background: #ffffff08; }
.rp-fix:hover .rp-fix-title { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff55; }
.rp-num { font-family: 'JetBrains Mono', monospace; color: var(--text-dim); }
.rp-fix-title { font-size: 14px; font-weight: 500; }
.rp-fix-product { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.rp-fix-product .rp-icon { width: 11px; height: 11px; }
.rp-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid #ffffff14; }
.rp-foot-note { font-size: 13px; color: #e8eef8cc; }
.rp-foot-actions { display: flex; gap: 8px; flex: none; }
.rp-foot-actions .rp-btn { padding: 8px 12px; font-size: 12px; }
/* on Home: the cue under the funnel, and stops for products not in the plan */
.rp-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px;
  font: 600 13px Figtree, sans-serif; color: #e8eef8cc; background: #0b0b10b3; box-shadow: inset 0 0 0 1px #ffffff1f; transition: color var(--fast), box-shadow var(--fast), background-color var(--fast); }
.rp-cue:hover { color: #fff; box-shadow: inset 0 0 0 1px #ffffff4d; background: #14141cd9; }
.rp-cue-arrow { display: inline-block; animation: rp-nudge 1.8s var(--ease) infinite; }
@keyframes rp-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.rp-stop.is-could [data-pencil-name="Not in your plan"], .rp-stop.is-could [data-book] { color: #8fb8ff !important; }
@media (prefers-reduced-motion: reduce) { .rp-cue-arrow { animation: none; } }

/* ---------- the Book a call to unlock pop-up (book-call.js) ---------- */
.bk { width: 560px; box-sizing: border-box; padding: 28px; border-radius: 14px; background: #111118; box-shadow: inset 0 0 0 1px #ffffff1f, 0 24px 60px #00000099; font-family: Figtree, sans-serif; color: #fff; }
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.bk-head-text { display: flex; flex-direction: column; gap: 8px; }
.bk-title { margin: 0; font: 500 24px/1.2 Figtree, sans-serif; letter-spacing: -0.5px; }
.bk-close { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; box-shadow: inset 0 0 0 1px #ffffff26; font-size: 20px; line-height: 1; color: #e8eef8cc; }
.bk-body { display: flex; flex-direction: column; gap: 16px; }
.bk-eyebrow, .bk-label { font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 2px; color: var(--text-dim); }
.bk-eyebrow { color: #8fb8ff; }
.bk-done-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #5cd08a26; color: var(--ok); font-size: 18px; font-weight: 700; }
.bk-lead { margin: 0; font-size: 14px; line-height: 1.5; color: #e8eef8cc; }
.bk-box { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 10px; background: #ffffff08; }
.bk-line { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.bk-tick { color: #8fb8ff; font-weight: 700; }
.bk-dot { color: var(--text-dim); }
.bk-row-head { display: flex; justify-content: space-between; align-items: center; }
.bk-tz { font-size: 12px; color: var(--text-dim); }
.bk-days { display: flex; gap: 6px; }
.bk-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 8px; background: #ffffff0a; transition: background-color var(--fast), color var(--fast), transform var(--fast) var(--ease); }
.bk-day:hover { background: #ffffff1a; }
.bk-day:active, .bk-time:active { transform: scale(0.96); }
.bk-day-name { font-size: 11px; color: var(--text-dim); }
.bk-day-num { font-size: 16px; font-weight: 600; }
.bk-day.is-on { background: #fff; color: #0b0b10; }
.bk-day.is-on .bk-day-name { color: #0b0b10a6; }
.bk-day.is-full .bk-day-num { color: var(--text-faint); text-decoration: line-through; }
.bk-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bk-time { padding: 9px 0; text-align: center; border-radius: 8px; background: #ffffff05; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px #ffffff26; transition: box-shadow var(--fast), background-color var(--fast), transform var(--fast) var(--ease); }
.bk-time:hover { box-shadow: inset 0 0 0 1px #ffffff66; }
.bk-time.is-on { background: #ffffff14; box-shadow: inset 0 0 0 1.5px #fff; }
.bk-time.is-disabled { opacity: 0.3; text-decoration: line-through; }
.bk-empty { padding: 14px 16px; border-radius: 10px; background: #ffffff08; font-size: 13px; color: #e8eef8cc; }
.bk-input { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: #0b0b10; color: #fff; font: 14px Figtree, sans-serif; box-shadow: inset 0 0 0 1px #ffffff26; outline: none; transition: box-shadow var(--fast); }
.bk-input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.bk-input.is-wrong { box-shadow: inset 0 0 0 1.5px #ff7a7a; }
.bk-error { margin-top: -8px; font-size: 12px; color: #ff9a9a; }
.bk-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.bk-actions.is-end { justify-content: flex-end; }
.bk-small { font-size: 12px; color: var(--text-dim); }
.bk-link { font-size: 13px; font-weight: 600; color: #ff9a9a; }
.bk-link:hover { color: #ffb3b3; }
.bk-book.is-busy { opacity: 0.7; pointer-events: none; }
.rp-bar-labels { position: absolute; width: 124px; height: 12px; pointer-events: none; }
.rp-bar-label { position: absolute; top: 0; font: 600 10px/1 'JetBrains Mono', monospace; letter-spacing: 1px; color: var(--text-dim); white-space: nowrap; }
.rp-bar-label.is-could { color: #8fb8ff; }
/* the report's states: first day, could not load, viewer */
.rp-stage-value.is-empty { color: #ffffff66; }
.rp-stage-foot.is-start { color: #fff; align-self: flex-start; }
.rp-stage-foot.is-muted { color: var(--text-dim); font-weight: 500; }
.rp-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 24px; border-radius: 10px; background: #ffffff05; border: 1px dashed #ffffff24; }
.rp-empty-title { font-size: 16px; font-weight: 500; }
.rp-empty-text, .rp-note { margin: 0; font-size: 13px; line-height: 1.5; color: #e8eef8b3; }
.rp-note { margin-top: auto; }
.rp-fix-empty { padding: 18px 0; border-bottom: 1px solid #ffffff14; font-size: 14px; color: #e8eef8b3; }
.rp-viewer { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: #ffffff0f; font-size: 12px; font-weight: 600; color: #e8eef8cc; }
.rp-viewer .rp-icon { width: 13px; height: 13px; }
.rp-error { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 48px; border-radius: 12px; background: #111118; box-shadow: inset 0 0 0 1px #ff7a7a40; }
.rp-error-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #ff7a7a1f; color: #ff9a9a; font-weight: 700; }
.rp-error-title { margin: 0; font: 500 24px/1.2 Figtree, sans-serif; letter-spacing: -0.4px; }
.rp-error-text { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.5; color: #e8eef8cc; }
.rp-error-actions { display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.rp-error-detail { font: 11px 'JetBrains Mono', monospace; color: var(--text-dim); }
.rp-btn.is-busy { opacity: 0.7; pointer-events: none; }

/* Build: Fix with Claude in the report's fixes table */
.rp-claude { display: flex; justify-content: flex-end; text-align: right; }
.rp-btn.rp-claude-btn { padding: 6px 10px; font-size: 13px; color: #cfe0ff; background: #8fb8ff1f; box-shadow: inset 0 0 0 1px #8fb8ff4d; border-radius: 7px; gap: 6px; }
.rp-btn.rp-claude-btn .rp-icon { width: 13px; height: 13px; color: #8fb8ff; }
.rp-btn.rp-claude-btn:hover { background: #8fb8ff33 !important; box-shadow: inset 0 0 0 1px #8fb8ff99; color: #fff; }
.rp-no-code { font-size: 12px; color: #e8eef866; }

/* Build: the tab's pages (build.js) */
#bdv { background: #000; }
#bdScale { padding-top: 64px; }
#bdScale > .bd-pane:not([data-key="settings"]) > [data-pencil-name="Body"] { height: 779px !important; }
#bdScale > .bd-pane:not([data-key="settings"]) > [data-pencil-name="Body"] > * { height: 100% !important; min-height: 0; }
#bdScale > .bd-pane:not([data-key="settings"]) :is([data-pencil-name="Messages"], [data-pencil-name="Jobs Sidebar"] > [data-pencil-name="Spacer"], [data-pencil-name$="Panel"] > [data-pencil-name="Spacer"]) { height: auto !important; flex: 1 1 0; min-height: 0; }   /* the design is 880 tall; 64 + 57 + 779 fits a 1440×900 window, so Go live is in view */
#bdScale > .bd-pane.bd-in { animation: bd-in 360ms var(--ease) backwards; }
@keyframes bd-in { from { opacity: 0; transform: translateY(8px); } }
#bdScale .bd-primary { transition: transform var(--fast) var(--ease), box-shadow var(--fast), filter var(--fast); }
#bdScale .bd-primary:hover, .dialog .bd-primary:hover { background-color: #a9c8ff !important; box-shadow: 0 6px 22px #8fb8ff40; }
.dialog .bd-primary.bd-off { opacity: .45; }
.dialog .bd-primary.bd-off:hover { background-color: #8fb8ff !important; box-shadow: none; }
#bdScale .bd-row { border-radius: 8px; transition: background-color var(--fast), box-shadow var(--fast), transform var(--fast) var(--ease); }
#bdScale .bd-row:hover { background-color: #ffffff0d !important; box-shadow: inset 0 0 0 1px #ffffff1f; }
#bdScale .bd-row:active { transform: scale(.99); }
#bdScale [data-pencil-name^="Choice · "].bd-row:hover, #bdScale [data-pencil-name^="Idea · "].bd-row:hover { box-shadow: inset 0 0 0 1px #8fb8ff80; }
#bdScale .bd-send { border-radius: 6px; padding: 2px; box-sizing: content-box; transition: background-color var(--fast), transform var(--fast) var(--ease); }
#bdScale .bd-send:hover { background-color: #8fb8ff26; transform: translateY(-1px); }
.bd-input { background: transparent; border: 0; outline: none; font: inherit; caret-color: #8fb8ff; }
.bd-input::placeholder { color: #e8eef866; }
#bdScale [data-pencil-name="Input"], .dialog [data-pencil-name="Confirm Input"] { transition: outline-color var(--fast), box-shadow var(--fast); }
#bdScale [data-pencil-name="Input"]:focus-within, .dialog [data-pencil-name="Confirm Input"]:focus-within { outline-color: #8fb8ff !important; box-shadow: 0 0 0 3px #8fb8ff26; }
#bdScale .bd-locked { cursor: not-allowed; }
#bdScale .bd-unlocked { background-color: #8fb8ff !important; outline-color: transparent !important; cursor: pointer; }
#bdScale .bd-unlocked:hover { background-color: #a9c8ff !important; box-shadow: 0 6px 22px #8fb8ff40; }
#bdScale .bd-unlocked div { color: #0b0b10 !important; }
#bdScale .bd-unlocked svg { display: none; }
#bdScale [data-pencil-name="Icon · loader"] { animation: bd-spin 1.1s linear infinite; transform-origin: 50% 50%; }
@keyframes bd-spin { to { transform: rotate(360deg); } }
#bdScale [data-pencil-name="Log · npm run typecheck"] [data-pencil-name="Result"] { animation: bd-pulse 1.6s ease-in-out infinite; }
#bdScale [data-pencil-name="Waiting"] { animation: bd-pulse 1.6s ease-in-out infinite; }
@keyframes bd-pulse { 50% { opacity: .4; } }
.bd-menu { opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 20% 100%; pointer-events: none; transition: opacity 160ms, transform 200ms var(--ease); }
.bd-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.bd-shake { animation: bd-shake 360ms var(--ease); }
@keyframes bd-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.bd-leaving { opacity: 0; transform: translateX(-8px); transition: opacity 240ms, transform 240ms var(--ease); }
#bdScale [data-pencil-name="Preview Thumb"] { height: 84px !important; }   /* shorter picture of the test site, so the gate and Go live fit a 900-tall window */

/* Build · OpenCode: the model chip and its menu (B 25), and the AI tool cards in Settings (B 4, B 24) */
#bdScale [data-pencil-name="Model Chip"].is-open { outline-color: #8fb8ff !important; background-color: #8fb8ff14 !important; }
#bdScale .bd-models:not(.is-open) { display: none !important; }   /* closed: takes no room, so the page does not scroll for it */
#bdScale .bd-models.is-open { animation: bd-pop 180ms var(--ease) both; }
@keyframes bd-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
#bdScale [data-pencil-name^="Tool · "] { transition: outline-color var(--fast), background-color var(--fast), box-shadow var(--fast); }
#bdScale [data-pencil-name^="Tool · "]:not(.bd-tool-on) { outline-color: #ffffff1f !important; outline-width: 1px !important; background-color: transparent !important; }
#bdScale [data-pencil-name^="Tool · "].bd-tool-on { outline: 1.5px solid #8fb8ff !important; background-color: #ffffff0a !important; }

/* The C Suite logo stands alone in the bars: no "C SUITE" word beside it (Bryan, 2026-12-01; canvas Top bar · C Suite) */
[data-pencil-name="Logo mark"] + [data-pencil-name="Wordmark"] { display: none !important; }

/* Build · Tell me when: the switch slides */
#bdScale [data-pencil-name="Switch"] { transition: background-color var(--fast); }
#bdScale [data-pencil-name="Switch"] > * { transition: transform var(--fast) var(--ease); }

/* Home report charts (report-charts.js): one look for every card. White = the real number, gray = compared with, blue dashed = estimate. */
.rc-graph { position: relative; border-radius: 8px; background: #ffffff05; box-shadow: inset 0 0 0 1px #ffffff14; overflow: hidden; }
.rc-tiles { display: flex; border-bottom: 1px solid #ffffff14; }
.rc-tile { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; }
.rc-tile + .rc-tile { border-left: 1px solid #ffffff14; }
.rc-key { display: flex; align-items: center; gap: 6px; }
.rc-label { font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 1px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-value { font-size: 22px; font-weight: 500; letter-spacing: -0.4px; color: #fff; white-space: nowrap; }
.rc-swatch { flex: none; width: 14px; height: 2px; border-radius: 1px; background: #f2f4f8; }
.rc-swatch.is-compare { background: #7c8494; }
.rc-swatch.is-estimate { background: repeating-linear-gradient(90deg, #8fb8ff 0 4px, transparent 4px 7px); }
.rc-area { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 12px 12px; }
.rc-row { display: flex; gap: 10px; }
.rc-axis { width: 38px; height: 150px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font: 10px/1 'JetBrains Mono', monospace; color: var(--text-dim); }
.rc-plot { position: relative; flex: 1; height: 150px; cursor: crosshair; }
.rc-plot svg { display: block; width: 100%; height: 150px; overflow: visible; }
.rc-grid { stroke: #ffffff14; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rc-base { stroke: #ffffff33; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rc-line.is-main { stroke: #f2f4f8; }
.rc-line.is-compare { stroke: #7c8494; }
.rc-line.is-estimate { stroke: #8fb8ff; stroke-dasharray: 6 4; }
.rc-cross { stroke: #ffffff40; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity var(--fast); }
.rc-graph.is-reading .rc-cross { opacity: 1; }
.rc-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #f2f4f8; box-shadow: 0 0 0 2px #111118; pointer-events: none; }
.rc-dot.is-compare { background: #7c8494; }
.rc-dot.is-estimate { background: #8fb8ff; }
.rc-tip { position: absolute; top: -6px; z-index: 2; min-width: 150px; margin-left: 12px; padding: 8px 10px; border-radius: 8px; background: #1b1b24; box-shadow: 0 0 0 1px #ffffff1f, 0 8px 24px #00000080; font-size: 12px; color: #e8eef8e6; pointer-events: none; opacity: 0; transform: translateY(2px); transition: opacity var(--fast), transform var(--fast); }
.rc-tip.is-left { margin-left: 0; transform: translate(calc(-100% - 12px), 2px); }
.rc-graph.is-reading .rc-tip { opacity: 1; transform: translateY(0); }
.rc-graph.is-reading .rc-tip.is-left { transform: translate(calc(-100% - 12px), 0); }
.rc-tip-x { margin-bottom: 4px; font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 1px; color: var(--text-dim); }
.rc-tip-row { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.rc-tip-row b { margin-left: auto; padding-left: 12px; font-weight: 600; color: #fff; }
.rc-x { display: flex; justify-content: space-between; padding-left: 48px; font: 10px/1 'JetBrains Mono', monospace; color: var(--text-dim); }
@media (prefers-reduced-motion: reduce) { .rc-cross, .rc-tip { transition: none; } }

/* C Suite AI: neutral dark like the other products (Bryan, 2026-12-02). The exports still carry the old blue-tinted darks inline; canvas boards are already recoloured. */
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #0B0B10"], .dialog[data-dialog^="bd-"][style*="background-color: #0B0B10"] { background-color: #000000 !important; }
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #111118"], .dialog[data-dialog^="bd-"][style*="background-color: #111118"] { background-color: #0E0E0E !important; }
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #14141C"] { background-color: #141414 !important; }
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #1B2333"] { background-color: #1A1A1A !important; }
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #030405"] { background-color: #050505 !important; }
:is(#bdv, .dialog[data-dialog^="bd-"]) [style*="background-color: #8FB8FF0F"] { background-color: #FFFFFF0A !important; }   /* selected cards: neutral fill, the blue outline and tick still mark them */

/* C Suite AI: one header for every page of the tab (csuite-ai-header.js, canvas B 6), like the other products: map, title, a line about the page, tabs */
#bdScale > .bd-pane > [data-pencil-name="Page Bar"] { display: none !important; }   /* the header above says what the slim bar said */
#bdScale > .bd-pane:not([data-key="settings"]) > [data-pencil-name="Body"] { height: 624px !important; }   /* 64 top bar + 212 header + 624 = 900, so Go live stays in view */
#bdScale > .bd-pane.ai-compact > [data-pencil-name="Body"] { height: 724px !important; }   /* job pages: 64 + 112 compact header + 724 = 900 */
.ai-band.is-compact { height: 112px; }
.ai-band.is-compact .ai-tabs { height: 40px; }
.ai-band.is-compact .ai-tab { height: 40px; }
.ai-band.is-compact .ai-head { gap: 2px; padding-top: 14px; }
.ai-band.is-compact .ai-crumb { display: none; }
.ai-band.is-compact .ai-title { font-size: 28px; line-height: 34px; letter-spacing: -0.6px; }
.ai-band.is-compact .ai-sub { font-size: 13px; }
.ai-band.is-compact .ai-chip { top: 12px; }
.ai-band { position: relative; width: 1440px; height: 212px; overflow: hidden; background: #000; }
.ai-map { position: absolute; inset: 0; width: 1440px; height: 212px; }
.ai-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #000 0%, #000c 22%, #0000 45%), linear-gradient(0deg, #000 0%, #000a 26%, #0000 46%); }
.ai-head { position: relative; display: flex; flex-direction: column; gap: 8px; width: 560px; padding: 30px 0 0 120px; }
.ai-crumb { display: flex; gap: 10px; }
.ai-crumb-co { font: 600 12px Figtree, sans-serif; letter-spacing: 3.6px; color: #e8eef86b; }
.ai-crumb-stage { font: 600 11px 'JetBrains Mono', monospace; letter-spacing: 2.2px; color: #e8eef86b; }
.ai-title { margin: 0; font: 500 44px/1.2 Figtree, sans-serif; letter-spacing: -1.1px; color: #fff; }
.ai-sub { margin: 0; font: 14px/1.45 Figtree, sans-serif; color: #e8eef8b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-layer { position: absolute; inset: 0; pointer-events: none; }
.ai-label { position: absolute; padding: 2px 6px; border-radius: 6px; background: #000000cc; font: 500 12px Figtree, sans-serif; color: #e8eef86b; transition: color var(--fast); }
.ai-label.is-lit { color: #8fb8ff; }
.ai-chip { position: absolute; left: 700px; top: 104px; display: flex; flex-direction: column; gap: 2px; padding: 7px 11px; border-radius: 10px; background: #0b0b0be6; box-shadow: inset 0 0 0 1px #e8eef826, 0 6px 18px #000a; transition: box-shadow var(--fast); }
.ai-chip.is-lit { box-shadow: inset 0 0 0 1px #8fb8ff66, 0 6px 18px #000a; }
.ai-chip-row { display: flex; align-items: center; gap: 6px; }
.ai-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #e8eef866; transition: background-color var(--fast); }
.ai-chip.is-lit .ai-chip-dot { background: #8fb8ff; }
.ai-chip-title { font: 600 13px Figtree, sans-serif; color: #fff; }
.ai-chip-sub { font: 500 12px Figtree, sans-serif; color: #e8eef86b; }
.ai-tabs { position: absolute; left: 120px; right: 120px; bottom: 0; height: 46px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid #ffffff14; }
.ai-tab { position: relative; height: 46px; padding: 0; border: 0; background: none; font: 500 15px Figtree, sans-serif; color: var(--text-dim); cursor: pointer; transition: color 180ms; }
.ai-tab:hover, .ai-tab.is-on { color: #fff; }
.ai-tab:focus-visible { outline: 2px solid #8fb8ff; outline-offset: 4px; border-radius: 4px; }
.ai-tab-ink { position: absolute; bottom: -1px; height: 2px; background: #fff; transition: left 280ms var(--ease), width 280ms var(--ease); pointer-events: none; }
.ai-tabs .ai-status { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .ai-tab-ink { transition: none; } }

/* C Suite AI · Overview (csuite-ai-overview.js): stats, a chart in the Home report's style, where changes landed, recent jobs */
.ov-pane { background: #000; font-family: Figtree, system-ui, sans-serif; color: #fff; }
.ov-body { display: flex; flex-direction: column; gap: 28px; padding: 36px 120px 64px; }
.ov-eyebrow { font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 2px; color: var(--text-dim); }
.ov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: -16px; padding-bottom: 28px; border-bottom: 1px solid #ffffff14; }
.ov-stat { display: flex; flex-direction: column; gap: 4px; }
.ov-value { font-size: 44px; font-weight: 500; letter-spacing: -1.2px; color: #fff; line-height: 1.1; }
.ov-label { font-size: 13px; color: #e8eef8b3; }
.ov-foot { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.ov-foot.is-good { color: #5cd08a; }
.ov-foot.is-link { color: #8fb8ff; cursor: pointer; }
.ov-foot.is-link:hover { color: #cfe0ff; }
.ov-row { display: flex; gap: 24px; align-items: stretch; }
.ov-panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 12px; background: #0e0e0e; box-shadow: inset 0 0 0 1px #ffffff14; }
.ov-chart { flex: 1.7; }
.ov-where { flex: 1; }
.ov-panel-head { display: flex; flex-direction: column; gap: 6px; }
.ov-q { margin: 0; font-size: 17px; font-weight: 500; color: #fff; }
.ov-folder { display: grid; grid-template-columns: 80px 1fr 24px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ffffff14; font-size: 13px; color: #e8eef8e6; }
.ov-folder-name, .ov-mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.ov-folder-bar { height: 6px; border-radius: 3px; background: #ffffff0f; overflow: hidden; }
.ov-folder-fill { display: block; height: 100%; border-radius: 3px; background: #f2f4f8; }
.ov-folder-n { text-align: right; color: #fff; font-weight: 600; }
.ov-note { margin: auto 0 0; font-size: 12px; line-height: 1.45; color: var(--text-dim); }
.ov-table { display: flex; flex-direction: column; }
.ov-tr { display: grid; grid-template-columns: 1fr 220px 200px 90px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ffffff14; font-size: 13px; color: #e8eef8e6; }
.ov-th { padding-top: 0; font: 600 10px/1.3 'JetBrains Mono', monospace; letter-spacing: 1.4px; color: var(--text-dim); }
.ov-job { cursor: pointer; transition: background-color var(--fast); border-radius: 6px; }
.ov-job:hover { background: #ffffff08; }
.ov-job:focus-visible { outline: 2px solid #8fb8ff; outline-offset: 2px; }
.ov-job-title { color: #fff; font-weight: 500; }
.ov-when { color: var(--text-dim); text-align: right; }
