/* HUSTLE — the secret IDE (js/hustle/ide.js). A 720×396 box on the monitor. Prefix hx-.
   Look: a cozy hacker den at night — warm charcoal-green, phosphor mint, amber money, coral danger —
   distinct from the purple work desk. Disguised as a very boring spreadsheet.
   Phone-legible: ≥ 18 px for anything you must read; touch targets ≥ 48 px. No backdrop-filter (CSS3D). */

.hx {
  --hx-bg0: #0b100e;
  --hx-bg1: #101814;
  --hx-card: #17231e;
  --hx-card2: #1d2c25;
  --hx-line: rgba(150, 255, 205, .13);
  --hx-line2: rgba(150, 255, 205, .26);
  --hx-ink: #f2ecdf;
  --hx-ink2: #cfc8b8;
  --hx-ink3: #93a196;
  --hx-mint: #6ff2b4;
  --hx-mint2: #3fcf8e;
  --hx-amber: #ffb547;
  --hx-coral: #ff6b6b;
  --hx-sky: #8fd3ff;
  --hx-idea: #b98cff;
  --hx-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hx-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  /* the SLOP RUSH games (code reviews) read the desk tokens; keep them defined even outside the desk */
  --sd-ink: #f8f5ff; --sd-ink2: #ddd4f7; --sd-ink3: #b1a6d8; --sd-line: rgba(226, 214, 255, .15);
  --sd-glass: linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .05));
  --sd-grad: linear-gradient(100deg, #7c5cff 0%, #c04af2 52%, #ff5c9a 100%);
  --sd-flag: #ff4f74; --sd-ok: #3ddc97; --sd-warn: #ffc24b;
  --sd-font: var(--hx-font); --sd-mono: var(--hx-mono);
  position: absolute; inset: 0;
  width: 720px; height: 396px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--hx-bg0);
  color: var(--hx-ink);
  font: 400 20px/1.3 var(--hx-font);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  outline: none;
  isolation: isolate;
}
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx[hidden], .hx [hidden] { display: none !important; }
:where(.hx) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.hx button:focus-visible { outline: 2px solid var(--hx-mint); outline-offset: 2px; }

/* ───────── the real IDE */
.hx-ide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(111, 242, 180, .10), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(255, 181, 71, .09), transparent 60%),
    linear-gradient(180deg, #0f1814 0%, #0b110e 100%);
}
.hx-ide::before {          /* faint terminal grid */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(150, 255, 205, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 255, 205, .035) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hx-ide > * { position: relative; z-index: 1; }
.hx-ide.hx-in { animation: hxIn .18s ease-out; }
@keyframes hxIn { from { opacity: .4; transform: scale(.985); } }
.hx-ide.hx-quake { animation: hxQuake .32s linear; }
@keyframes hxQuake { 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, -1px); } 80% { transform: translate(2px, 1px); } }
.hx.hx-danger .hx-ide { box-shadow: inset 0 0 0 3px rgba(255, 107, 107, .7), inset 0 0 50px rgba(255, 60, 60, .35); animation: hxDanger 1s ease-in-out infinite; }
@keyframes hxDanger { 50% { box-shadow: inset 0 0 0 3px rgba(255, 107, 107, .35), inset 0 0 26px rgba(255, 60, 60, .15); } }

/* ───────── top bar */
.hx-top {
  height: 56px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 8px;
  background: linear-gradient(180deg, rgba(6, 10, 8, .9), rgba(6, 10, 8, .6));
  border-bottom: 1px solid var(--hx-line);
}
.hx-me { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; }
.hx-pip { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #20302a; box-shadow: 0 0 0 2px var(--hx-line2), 0 0 14px rgba(111, 242, 180, .25); }
.hx-app { min-width: 0; display: flex; flex-direction: column; }
.hx-app-name { font: 800 20px/1.1 var(--hx-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; color: #fff; }
.hx-app-idea { font: 600 15px/1.2 var(--hx-font); color: var(--hx-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.hx-tabs { display: flex; gap: 4px; flex: none; }
.hx-tab { width: 48px; height: 48px; border-radius: 12px; font-size: 22px !important; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--hx-line) !important; }
.hx-tab.on { background: rgba(111, 242, 180, .16); border-color: var(--hx-mint) !important; box-shadow: 0 0 12px rgba(111, 242, 180, .3); }
.hx-stat { position: relative; flex: none; display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 9px; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hx-line); }
.hx-ico { font-size: 18px; }
.hx-num { font: 800 21px/1 var(--hx-mono); font-variant-numeric: tabular-nums; }
.hx-users .hx-num { color: var(--hx-mint); min-width: 54px; }
.hx-mrr .hx-num { color: var(--hx-amber); min-width: 52px; }
.hx-plus { position: absolute; right: 4px; top: -4px; font: 800 18px/1 var(--hx-mono); color: var(--hx-mint); opacity: 0; pointer-events: none; text-shadow: 0 0 10px rgba(111, 242, 180, .8); }
.hx-plus.go { animation: hxPlus 1.1s ease-out; }
@keyframes hxPlus { 0% { opacity: 0; transform: translateY(14px) scale(.8); } 20% { opacity: 1; transform: translateY(0) scale(1.1); } 100% { opacity: 0; transform: translateY(-22px); } }
.hx-sus { flex: none; display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 8px; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--hx-line); }
.hx-sus-bar { width: 40px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hx-sus-fill { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--hx-amber), var(--hx-coral)); transition: transform .5s; }
.hx-sus b { font: 800 18px/1 var(--hx-mono); min-width: 40px; }
.hx-top.sus-warn .hx-sus { border-color: rgba(255, 181, 71, .6); }
.hx-top.sus-bad .hx-sus { border-color: var(--hx-coral); background: rgba(255, 107, 107, .15); animation: hxPulse 1s ease-in-out infinite; }
.hx-panic {
  flex: none; width: 80px; height: 48px; border-radius: 12px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center !important;
  background: linear-gradient(180deg, #ff5d5d, #c92a3a) !important; color: #fff;
  box-shadow: 0 4px 0 #7d1220, inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hx-panic span { font: 900 19px/1 var(--hx-font); letter-spacing: .06em; }
.hx-panic small { font: 700 11px/1.1 var(--hx-mono); opacity: .8; }
.hx-panic:active { transform: translateY(3px); box-shadow: 0 1px 0 #7d1220; }

/* warnings strip (Todd / IT / auditor) */
.hx-strip {
  position: absolute; left: 0; right: 0; top: 56px; height: 34px; z-index: 15;
  display: flex; align-items: center; justify-content: center;
  font: 800 18px/1 var(--hx-font); letter-spacing: .02em; color: #fff;
  background: rgba(60, 70, 60, .95); border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.hx-strip.bad { background: linear-gradient(90deg, #a3172b, #e2434f, #a3172b); animation: hxPulse .8s ease-in-out infinite; }
.hx-strip.warn { background: linear-gradient(90deg, #8a5a08, #c98a1a, #8a5a08); }
.hx-strip.ok { background: rgba(30, 90, 64, .95); }
@keyframes hxPulse { 50% { filter: brightness(1.25); } }

/* ───────── board */
.hx-main { position: relative; flex: 1; min-height: 0; }
.hx-board { position: absolute; inset: 0; display: flex; gap: 8px; padding: 8px 9px 9px; }
.hx-col { display: flex; flex-direction: column; min-height: 0; border-radius: 14px; background: rgba(10, 18, 14, .72); border: 1px solid var(--hx-line); overflow: hidden; }
.hx-col-todo { flex: 0 0 250px; }
.hx-col-build { flex: 0 0 254px; }
.hx-col-live { flex: 1 1 auto; min-width: 0; }
.hx-col-h { height: 30px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font: 800 14px/1 var(--hx-mono); letter-spacing: .12em; color: var(--hx-ink3); border-bottom: 1px solid var(--hx-line); }
.hx-col-n { font: 800 15px/1 var(--hx-mono); font-style: normal; color: var(--hx-mint); letter-spacing: 0; }
.hx-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 6px; display: flex; flex-direction: column; gap: 6px; touch-action: pan-y; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(150, 255, 205, .25) transparent; }
.hx-scroll::-webkit-scrollbar { width: 5px; }
.hx-scroll::-webkit-scrollbar-thumb { background: rgba(150, 255, 205, .25); border-radius: 3px; }
.hx-sub { flex: none; margin: 4px 2px 0; font: 800 14px/1 var(--hx-mono); letter-spacing: .1em; color: var(--hx-ink3); }
.hx-empty { padding: 12px 8px; font: 500 18px/1.3 var(--hx-font); color: var(--hx-ink3); text-align: center; }

.hx-card {
  position: relative; flex: none; width: 100%; min-height: 60px; display: flex !important; align-items: center; gap: 9px; padding: 7px 10px 7px 8px;
  border-radius: 12px; background: var(--hx-card) !important; border: 1px solid var(--hx-line) !important;
  transition: transform .1s, background-color .15s, border-color .15s;
}
.hx-card:hover { background: var(--hx-card2) !important; border-color: var(--hx-line2) !important; }
.hx-card:active { transform: scale(.97); }
.hx-card-i { flex: none; width: 34px; font-size: 27px; line-height: 1; text-align: center; }
.hx-card-b { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hx-card-b b { font: 750 19px/1.15 var(--hx-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card-b small { font: 500 17px/1.2 var(--hx-font); color: var(--hx-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card-tag { position: absolute; top: 4px; right: 7px; font-size: 15px; color: var(--hx-idea); }
.hx-card.special { border-color: color-mix(in srgb, var(--hx-idea) 55%, transparent) !important; box-shadow: inset 3px 0 0 var(--hx-idea); }
.hx-card.op { box-shadow: inset 3px 0 0 var(--hx-amber); }
.hx-card.op .hx-card-b small { color: #d9b77e; }
.hx-card.locked { opacity: .5; border-style: dashed !important; background: transparent !important; }
.hx-card.busy { opacity: .72; }
.hx-card.hx-go { animation: hxGo .35s ease-out; }
@keyframes hxGo { 40% { transform: scale(1.04); background: rgba(111, 242, 180, .25); } }
.hx-shake { animation: hxShake .3s linear !important; }
@keyframes hxShake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* building */
.hx-jobs { gap: 7px; }
.hx-job, .hx-shipc {
  flex: none; padding: 8px 10px 9px; border-radius: 12px; background: var(--hx-card); border: 1px solid var(--hx-line2);
  display: flex; flex-direction: column; gap: 6px;
}
.hx-job.op { border-color: rgba(255, 181, 71, .45); }
.hx-job-h { display: flex; align-items: center; gap: 7px; min-width: 0; }
.hx-job-i { font-size: 22px; flex: none; }
.hx-job-h b { flex: 1; min-width: 0; font: 750 19px/1.1 var(--hx-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-job-h em { flex: none; font: 800 12px/1 var(--hx-mono); font-style: normal; letter-spacing: .08em; padding: 4px 6px; border-radius: 6px; background: rgba(111, 242, 180, .14); color: var(--hx-mint); }
.hx-job.op .hx-job-h em { background: rgba(255, 181, 71, .16); color: var(--hx-amber); }
.hx-bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hx-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s linear;
  background: linear-gradient(90deg, var(--hx-mint2), var(--hx-mint)); box-shadow: 0 0 12px rgba(111, 242, 180, .5);
  background-size: 28px 100%; }
.hx-job.op .hx-bar i { background: linear-gradient(90deg, #e08d18, var(--hx-amber)); }
.hx-job-m { display: flex; justify-content: space-between; font: 700 17px/1 var(--hx-mono); font-variant-numeric: tabular-nums; color: var(--hx-ink2); }
.hx-commit { font: 500 16px/1.25 var(--hx-mono); color: #b9f5d6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 5px 7px; border-radius: 7px; background: rgba(0, 0, 0, .35); min-height: 30px; }
.hx-hash { color: var(--hx-amber); }
.hx-acq { flex: none; padding: 14px 12px; border-radius: 14px; display: flex; flex-direction: column; gap: 6px; text-align: center; background: linear-gradient(160deg, #2a2210, #141008); border: 2px solid var(--hx-amber); }
.hx-acq b { font: 900 24px/1 var(--hx-font); color: #ffd27e; }
.hx-acq span { font: 500 18px/1.25 var(--hx-font); color: var(--hx-ink2); }
.hx-idle { flex: none; padding: 12px 10px; border-radius: 12px; border: 1px dashed var(--hx-line2); font: 500 17px/1.3 var(--hx-font); color: var(--hx-ink3); text-align: center; }
.hx-ready {
  flex: none; width: 100%; min-height: 64px; display: flex !important; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(111, 242, 180, .3), rgba(111, 242, 180, .12)) !important; border: 2px solid var(--hx-mint) !important;
  box-shadow: 0 0 20px rgba(111, 242, 180, .35); animation: hxReady 1.4s ease-in-out infinite;
}
@keyframes hxReady { 50% { box-shadow: 0 0 6px rgba(111, 242, 180, .2); } }
.hx-ready-i { font-size: 26px; flex: none; }
.hx-ready b { color: #fff; }
.hx-ready small { color: #cff8e4 !important; }
.hx-ready-go { flex: none; padding: 6px 8px; border-radius: 8px; font: 900 14px/1 var(--hx-mono); letter-spacing: .06em; color: #062015; background: var(--hx-mint); }
.hx-shipc { border-color: var(--hx-mint); }
.hx-shipc.buggy { border-color: rgba(255, 181, 71, .7); }
.hx-shipc .hx-job-h em { background: rgba(111, 242, 180, .16); }
.hx-shipc.buggy .hx-job-h em { background: rgba(255, 181, 71, .2); color: var(--hx-amber); }
.hx-shipc-row { display: flex; gap: 6px; }
.hx-shipc-row .hx-btn { flex: 1; min-height: 48px; font-size: 17px; padding: 0 6px; }

.hx-compute { flex: none; padding: 0 6px 6px; }
.hx-cmp {
  width: 100%; min-height: 54px; display: flex !important; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 12px;
  background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--hx-line2) !important;
}
.hx-cmp-i { font-size: 24px; flex: none; }
.hx-cmp-b { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.hx-cmp-b b { font: 750 17px/1.15 var(--hx-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cmp-b small { font: 500 15px/1.2 var(--hx-font); color: var(--hx-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cmp-v { flex: none; color: var(--hx-ink3); font-size: 18px; }
.hx-cmp.hx-cmp-company { border-color: rgba(255, 107, 107, .7) !important; background: rgba(255, 107, 107, .1) !important; }
.hx-cmp.hx-cmp-own { border-color: rgba(255, 181, 71, .6) !important; }

/* compute popover */
.hx-pop { position: absolute; inset: 0; z-index: 35; display: grid; place-items: center; background: rgba(4, 8, 6, .72); }
.hx-pop-card { width: 500px; padding: 12px; border-radius: 18px; background: #121c17; border: 1px solid var(--hx-line2); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 7px; }
.hx-pop-k { font: 800 15px/1 var(--hx-mono); letter-spacing: .12em; color: var(--hx-ink3); padding: 2px 4px 4px; }
.hx-pop-o { display: flex !important; align-items: center; gap: 12px; min-height: 66px; padding: 7px 12px; border-radius: 13px; background: var(--hx-card) !important; border: 2px solid var(--hx-line) !important; }
.hx-pop-o.on { border-color: var(--hx-mint) !important; background: rgba(111, 242, 180, .12) !important; }
.hx-pop-o.hx-cmp-company.on { border-color: var(--hx-coral) !important; background: rgba(255, 107, 107, .12) !important; }
.hx-pop-i { font-size: 30px; flex: none; width: 38px; text-align: center; }
.hx-pop-o .hx-card-b b { font-size: 20px; }
.hx-pop-o .hx-card-b small { font-size: 18px; color: var(--hx-ink2); }
.hx-pop-o .hx-card-b i { font: italic 500 15px/1.2 var(--hx-font); color: var(--hx-ink3); }
.hx-pop-card > .hx-btn { align-self: flex-end; }

/* live */
.hx-live {
  flex: none; width: 100%; min-height: 50px; display: flex !important; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 11px;
  background: var(--hx-card) !important; border: 1px solid var(--hx-line) !important;
}
.hx-live-i { flex: none; font-size: 22px; }
.hx-live-n { flex: 1; min-width: 0; font: 650 18px/1.1 var(--hx-font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-live-q { flex: none; font: 800 17px/1 var(--hx-mono); }
.hx-live.buggy { border-color: rgba(255, 181, 71, .65) !important; background: rgba(255, 181, 71, .09) !important; animation: hxBug 1.6s ease-in-out infinite; }
@keyframes hxBug { 50% { border-color: rgba(255, 107, 107, .8); } }

/* ───────── stats */
.hx-stats { position: absolute; inset: 0; display: flex; gap: 8px; padding: 8px 9px 9px; }
.hx-st-l { flex: 0 0 420px; display: flex; flex-direction: column; gap: 7px; padding: 8px 10px; border-radius: 14px; background: rgba(10, 18, 14, .72); border: 1px solid var(--hx-line); }
.hx-kpis { display: flex; gap: 8px; }
.hx-kpi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hx-kpi small { font: 800 13px/1 var(--hx-mono); letter-spacing: .14em; color: var(--hx-ink3); }
.hx-big { font: 800 31px/1.05 var(--hx-mono); font-variant-numeric: tabular-nums; color: var(--hx-mint); white-space: nowrap; }
.hx-kpi:nth-child(2) .hx-big { color: var(--hx-amber); }
.hx-star { color: #ffd36b !important; }
.hx-spark { height: 104px; color: var(--hx-ink3); border-radius: 10px; background: rgba(0, 0, 0, .25); overflow: hidden; }
.hx-spark svg { display: block; }
.hx-sp-day { stroke: rgba(150, 255, 205, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hx-sp-max { fill: var(--hx-ink3); font: 700 15px var(--hx-mono); }
.hx-meters { display: flex; flex-direction: column; gap: 5px; }
.hx-meter { display: flex; align-items: center; gap: 8px; font: 650 17px/1 var(--hx-font); }
.hx-meter > span { flex: 0 0 116px; }
.hx-meter-bar { flex: 1; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.hx-meter-bar i { display: block; height: 100%; transform-origin: 0 50%; }
.hx-meter.hype .hx-meter-bar i { background: linear-gradient(90deg, #e08d18, var(--hx-amber)); }
.hx-meter.sus .hx-meter-bar i { background: linear-gradient(90deg, var(--hx-amber), var(--hx-coral)); }
.hx-meter b { flex: 0 0 34px; text-align: right; font: 800 17px/1 var(--hx-mono); }
.hx-money { display: flex; justify-content: space-between; gap: 8px; font: 600 17px/1.2 var(--hx-font); color: var(--hx-ink2); }
.hx-revs { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 14px; background: rgba(10, 18, 14, .72); border: 1px solid var(--hx-line); overflow: hidden; }
.hx-revs .hx-col-n { color: #ffd36b; letter-spacing: 1px; }
.hx-rev { flex: none; padding: 7px 9px; border-radius: 11px; background: var(--hx-card); border: 1px solid var(--hx-line); }
.hx-rev-s { font-size: 16px; letter-spacing: 1px; color: #ffd36b; }
.hx-rev.bad .hx-rev-s { color: var(--hx-coral); }
.hx-rev-t { font: 500 18px/1.25 var(--hx-font); color: var(--hx-ink); }
.hx-rev-n { font: 500 15px/1.2 var(--hx-font); color: var(--hx-ink3); margin-top: 2px; }

/* ───────── overlays */
.hx-overlay { position: absolute; left: 0; right: 0; top: 56px; bottom: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(80% 90% at 50% 40%, #142019, #0a0f0c); }
.hx-overlay.hx-review, .hx-overlay.hx-verdict, .hx-overlay.hx-launch { top: 0; z-index: 30; }

/* pitch deck */
.hx-pitch { justify-content: flex-start; padding: 10px 10px 8px; gap: 8px; }
.hx-deck { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; gap: 8px; }
.hx-nav { flex: none; width: 52px; height: 92px; border-radius: 14px; font: 300 46px/1 var(--hx-font) !important; display: grid; place-items: center; background: rgba(255, 255, 255, .05) !important; border: 1px solid var(--hx-line2) !important; color: var(--hx-ink2) !important; }
.hx-nav:active { transform: scale(.94); }
.hx-slide {
  flex: 1; min-width: 0; height: 100%; padding: 10px 16px 10px; border-radius: 18px; display: flex; flex-direction: column; gap: 7px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, #121b17), #111915 70%); border: 2px solid color-mix(in srgb, var(--c) 60%, transparent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 30px color-mix(in srgb, var(--c) 18%, transparent);
}
.hx-slide-k { font: 800 13px/1 var(--hx-mono); letter-spacing: .16em; color: color-mix(in srgb, var(--c) 70%, #fff); }
.hx-slide-top { display: flex; align-items: center; gap: 14px; }
.hx-slide-logo { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 44px; background: color-mix(in srgb, var(--c) 30%, #0d1411); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 70%, transparent); }
.hx-slide-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hx-slide-t b { font: 900 30px/1.05 var(--hx-font); color: #fff; letter-spacing: -.01em; }
.hx-slide-t span { font: 600 19px/1.2 var(--hx-font); color: color-mix(in srgb, var(--c) 45%, #fff); }
.hx-slide-rows { display: flex; flex-direction: column; gap: 4px; }
.hx-slide-rows > div { display: flex; gap: 10px; align-items: baseline; }
.hx-slide-rows small { flex: 0 0 82px; font: 800 13px/1 var(--hx-mono); letter-spacing: .1em; color: var(--hx-ink3); }
.hx-slide-rows span { font: 500 18px/1.22 var(--hx-font); color: var(--hx-ink); }
.hx-slide-pip { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.hx-slide-pipi { font-size: 22px; }
.hx-slide-pip i { font: italic 500 17px/1.25 var(--hx-font); color: #cff8e4; }
.hx-deck-foot { flex: none; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.hx-dots { display: flex; gap: 7px; }
.hx-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.hx-dots i.on { background: var(--hx-mint); box-shadow: 0 0 8px var(--hx-mint); }
.hx-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px; }
.hx-soon-i { font-size: 60px; }
.hx-soon b { font: 800 26px/1.1 var(--hx-font); }
.hx-soon span { font: 500 19px/1.3 var(--hx-font); color: var(--hx-ink2); }

/* name step */
.hx-namecard { width: 600px; padding: 14px 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 9px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 20%, #121b17), #111915 70%); border: 2px solid color-mix(in srgb, var(--c) 55%, transparent); }
.hx-name-t { font: 900 30px/1 var(--hx-font); color: #fff; }
.hx-name-in { width: 100%; height: 52px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--hx-line2); background: #0a110d; color: #fff; font: 800 24px/1 var(--hx-mono); outline: none; -webkit-user-select: text; user-select: text; }
.hx-name-in:focus { border-color: var(--hx-mint); box-shadow: 0 0 0 3px rgba(111, 242, 180, .2); }
.hx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-chip { min-height: 48px; padding: 0 14px; border-radius: 999px; font: 700 18px/1 var(--hx-font) !important; background: rgba(255, 255, 255, .06) !important; border: 1px solid var(--hx-line2) !important; }
.hx-chip.on { background: rgba(111, 242, 180, .18) !important; border-color: var(--hx-mint) !important; }
.hx-roll { align-self: flex-start; border-style: dashed !important; }
.hx-name-foot { display: flex; justify-content: space-between; margin-top: 2px; }

/* buttons */
.hx-btn { min-height: 52px; padding: 0 20px; border-radius: 14px; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; text-align: center !important;
  font: 850 19px/1 var(--hx-font) !important; letter-spacing: .02em; transition: transform .1s; }
.hx-btn:active { transform: translateY(2px) scale(.98); }
.hx-btn-go, .hx-btn-ship { color: #062015 !important; background: linear-gradient(180deg, #8ff7c7, var(--hx-mint2)) !important; box-shadow: 0 4px 0 #1d7a52, inset 0 1px 0 rgba(255, 255, 255, .5); }
.hx-btn-ship { background: linear-gradient(180deg, #ffd27e, var(--hx-amber)) !important; box-shadow: 0 4px 0 #9a5f0a, inset 0 1px 0 rgba(255, 255, 255, .5); color: #2a1600 !important; }
.hx-btn-fix { color: var(--hx-ink) !important; background: rgba(255, 255, 255, .07) !important; border: 1px solid var(--hx-line2) !important; }
.hx-btn-ghost { color: var(--hx-ink2) !important; background: transparent !important; border: 1px solid var(--hx-line2) !important; }
.hx-btn-huge { min-height: 68px; padding: 0 34px; font-size: 27px !important; animation: hxHuge 1.1s ease-in-out infinite; }
@keyframes hxHuge { 50% { transform: scale(1.04); box-shadow: 0 4px 0 #9a5f0a, 0 0 30px rgba(255, 181, 71, .55), inset 0 1px 0 rgba(255, 255, 255, .5); } }

/* code review */
.hx-review { justify-content: flex-start; padding: 0 8px 8px; background: #0b100e; }
.hx-rv-head { flex: none; width: 100%; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.hx-rv-head > b { flex: none; font: 850 19px/1 var(--hx-font); max-width: 210px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-rv-label { flex: 1; min-width: 0; font: 600 17px/1.15 var(--hx-font); color: var(--hx-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-rv-pips { flex: none; display: flex; gap: 6px; }
.hx-rv-pips i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.hx-rv-pips i.now { background: #fff; box-shadow: 0 0 10px #fff; animation: hxPulse .8s infinite; }
.hx-rv-pips i.win { background: var(--hx-mint); }
.hx-rv-pips i.lose { background: var(--hx-coral); }
.hx-rv-pips i.false { background: var(--hx-amber); }
.hx-panic-sm { width: 76px; height: 48px; }
.hx-rv-box { position: relative; flex: 1; min-height: 0; width: 100%; border-radius: 14px; overflow: hidden; background: #101814; border: 1px solid var(--hx-line); display: flex; align-items: center; justify-content: center; }
.hx-rv-stage { position: absolute; inset: 0; }
.hx-rv-intro { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px; animation: hxIntro .3s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes hxIntro { from { transform: scale(.85); opacity: 0; } }
.hx-rv-n { font: 800 15px/1 var(--hx-mono); letter-spacing: .2em; color: var(--hx-amber); }
.hx-rv-intro b { font: 900 32px/1.1 var(--hx-font); color: #fff; max-width: 620px; }
.hx-rv-intro span { font: italic 500 20px/1.3 var(--hx-font); color: #cff8e4; max-width: 600px; }

/* verdict */
.hx-vd { width: 560px; padding: 16px 20px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: linear-gradient(160deg, #18271f, #101814); border: 2px solid var(--hx-mint); box-shadow: 0 0 40px rgba(111, 242, 180, .2); }
.hx-vd.buggy { border-color: var(--hx-amber); box-shadow: 0 0 40px rgba(255, 181, 71, .2); }
.hx-vd-k { font: 800 14px/1 var(--hx-mono); letter-spacing: .14em; color: var(--hx-ink3); }
.hx-vd-res { display: flex; gap: 10px; }
.hx-vd-res i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 900 24px/1 var(--hx-font); font-style: normal; color: #071a10; }
.hx-vd-res i.win { background: var(--hx-mint); }
.hx-vd-res i.lose { background: var(--hx-coral); color: #fff; }
.hx-vd-res i.false { background: var(--hx-amber); }
.hx-vd-big { font: 900 42px/1 var(--hx-font); color: #fff; letter-spacing: .01em; }
.hx-vd-line { font: 500 19px/1.3 var(--hx-font); color: var(--hx-ink2); max-width: 500px; }
.hx-vd-foot { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; justify-content: center; }

/* the launch moment */
.hx-launch { background: radial-gradient(70% 80% at 50% 45%, color-mix(in srgb, var(--hx-idea) 26%, #10201a), #070c09 75%); }
.hx-ln { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.hx-ln-k { font: 900 18px/1 var(--hx-mono); letter-spacing: .4em; color: var(--hx-amber); }
.hx-ln-big { font: 900 46px/1.05 var(--hx-font); color: #fff; max-width: 680px; text-shadow: 0 0 30px color-mix(in srgb, var(--hx-idea) 70%, transparent), 3px 3px 0 rgba(0, 0, 0, .4); }
.hx-ln-u { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.hx-ln-u span { font-size: 44px; }
.hx-ln-users { font: 900 64px/1 var(--hx-mono); font-variant-numeric: tabular-nums; color: var(--hx-mint); text-shadow: 0 0 24px rgba(111, 242, 180, .6); }
.hx-ln-plus { font: 800 24px/1 var(--hx-mono); color: var(--hx-mint); animation: hxPulse .7s ease-in-out infinite; }
.hx-ln-bugs { font: 600 19px/1.3 var(--hx-font); color: var(--hx-amber); }
.hx-ln-bugs.ok { color: #cff8e4; }
.hx-ln .hx-btn { margin-top: 6px; }

/* offer */
.hx-offer { position: absolute; left: 50%; top: 50%; z-index: 28; width: 470px; transform: translate(-50%, -46%); padding: 14px 18px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: linear-gradient(160deg, #2a2210, #141008); border: 2px solid var(--hx-amber); box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 181, 71, .25); }
.hx-offer-k { font: 800 14px/1 var(--hx-mono); letter-spacing: .16em; color: var(--hx-amber); }
.hx-offer b { font: 850 22px/1.15 var(--hx-font); }
.hx-offer-amt { font: 900 50px/1 var(--hx-mono); color: #ffd27e; text-shadow: 0 0 20px rgba(255, 181, 71, .5); }
.hx-offer > span { font: 500 18px/1.3 var(--hx-font); color: var(--hx-ink2); }
.hx-offer-row { display: flex; gap: 10px; margin-top: 4px; }

/* toasts + celebration banner + confetti */
.hx-toasts { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 26; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 560px; pointer-events: none; }
.hx-toast { padding: 9px 13px; border-radius: 12px; font: 650 18px/1.25 var(--hx-font); color: var(--hx-ink); background: rgba(14, 22, 18, .96); border: 1px solid var(--hx-line2); box-shadow: inset 4px 0 0 var(--hx-ink3), 0 8px 24px rgba(0, 0, 0, .5); animation: hxToast .25s cubic-bezier(.2, 1.3, .4, 1); }
.hx-toast.good { box-shadow: inset 4px 0 0 var(--hx-mint), 0 8px 24px rgba(0, 0, 0, .5); }
.hx-toast.bad { box-shadow: inset 4px 0 0 var(--hx-coral), 0 8px 24px rgba(0, 0, 0, .5); background: rgba(40, 14, 16, .96); }
.hx-toast.out { opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; }
@keyframes hxToast { from { transform: translateY(14px); opacity: 0; } }
.hx-banner { position: absolute; left: 50%; top: 64px; z-index: 32; transform: translate(-50%, -120%); opacity: 0; min-width: 360px; max-width: 640px; padding: 10px 22px; border-radius: 18px; text-align: center; pointer-events: none;
  display: flex; flex-direction: column; gap: 3px; background: linear-gradient(135deg, #20402f, #2d2a12); border: 2px solid var(--hx-amber); box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 181, 71, .3);
  transition: transform .35s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; }
.hx-banner.in { transform: translate(-50%, 0); opacity: 1; }
.hx-banner b { font: 900 27px/1.05 var(--hx-font); color: #ffd27e; }
.hx-banner span { font: 600 18px/1.25 var(--hx-font); color: var(--hx-ink); }
.hx-fx { position: absolute; inset: 0; z-index: 40; pointer-events: none; width: 720px; height: 396px; }

/* ───────── the disguise: Q3_budget_FINAL.xlsx */
.hx-sheet { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #fff; color: #222; font: 400 17px/1 "Segoe UI", -apple-system, Calibri, Arial, sans-serif; cursor: cell; }
.hx-sheet.hx-flash { animation: hxSheet .12s ease-out; }
@keyframes hxSheet { from { opacity: .7; } }
.hx-sh-title { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #1f6b43; color: #fff; font-size: 16px; }
.hx-sh-logo { font-size: 20px; }
.hx-sh-title b { font-weight: 600; font-size: 17px; }
.hx-sh-saved { opacity: .8; font-size: 15px; }
.hx-sh-grow { flex: 1; }
.hx-sh-user { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f2c14e; color: #3a2a00; font-size: 12px; font-weight: 700; }
.hx-sh-ribbon { height: 28px; flex: none; display: flex; align-items: flex-end; gap: 18px; padding: 0 14px; background: #f3f3f3; border-bottom: 1px solid #d6d6d6; font-size: 15px; color: #444; }
.hx-sh-ribbon span { padding-bottom: 6px; }
.hx-sh-ribbon span.on { color: #1f6b43; font-weight: 600; box-shadow: inset 0 -3px 0 #1f6b43; }
.hx-sh-fx { height: 30px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 8px; border-bottom: 1px solid #d6d6d6; font-size: 15px; color: #333; }
.hx-sh-ref { width: 56px; padding: 3px 6px; border: 1px solid #cfcfcf; color: #333; }
.hx-sh-fx i { color: #888; font-style: italic; font-family: Georgia, serif; }
.hx-sh-formula { font-family: var(--hx-mono); font-size: 15px; }
.hx-sh-grid { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.hx-sh-row { height: 27px; flex: none; display: grid; grid-template-columns: 34px 210px 82px 92px 104px 74px 1fr; border-bottom: 1px solid #e3e3e3; }
.hx-sh-row > span { display: flex; align-items: center; padding: 0 6px; border-right: 1px solid #e3e3e3; white-space: nowrap; overflow: hidden; }
.hx-sh-row > span.num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
.hx-sh-rn, .hx-sh-colh > span { justify-content: center !important; background: #f3f3f3; color: #666; font-size: 13px; }
.hx-sh-colh { height: 24px; }
.hx-sh-t > span:nth-child(2) { font-weight: 700; font-size: 17px; overflow: visible; color: #1f6b43; }
.hx-sh-hd > span { font-weight: 600; background: #e9f2ec; }
.hx-sh-tot > span { font-weight: 700; border-top: 2px solid #555; }
.hx-sh-sel { box-shadow: inset 0 0 0 2px #1f6b43; }
.hx-sh-status { height: 30px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #f3f3f3; border-top: 1px solid #d6d6d6; font-size: 14px; color: #555; }
.hx-sh-status > span:not(.hx-sh-tab):not(.hx-sh-grow) { margin-left: 12px; }
.hx-sh-tab { padding: 6px 12px; border: 1px solid transparent; }
.hx-sh-tab.on { background: #fff; border-color: #d6d6d6; border-top: 2px solid #1f6b43; color: #1f6b43; font-weight: 600; }
.hx-sh-pip.on2 { color: #1f6b43; font-weight: 700; animation: hxBlink 1.4s steps(2) infinite; }
@keyframes hxBlink { 50% { color: #555; } }
.hx-sh-note { position: absolute; right: 16px; bottom: 40px; width: 214px; padding: 12px 14px 10px; transform: rotate(-3deg); background: #fff59a; color: #4a3d00; box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
  font: 600 18px/1.25 "Marker Felt", "Comic Sans MS", "Chalkboard SE", var(--hx-font); animation: hxNote 2s ease-in-out infinite; }
.hx-sh-note small { display: block; text-align: right; margin-top: 4px; font-size: 15px; }
@keyframes hxNote { 50% { transform: rotate(-1.5deg) translateY(-2px); } }

@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
}
