/* NIGHT SHIFT · one token sheet; every page draws from it. Office chat owns this file. */
@font-face { font-family: 'Pixelify Sans'; src: url(/fonts/pixelify.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Silkscreen'; src: url(/fonts/silkscreen.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Geist'; src: url(/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06070d; --s1: #0a0c16; --s2: #0e111d; --s3: #141826; --s4: #1b2031;
  --ink: #e9ecf7; --ink-2: #a3aac4; --ink-3: #666d8a; --ink-4: #454b63;
  --line: rgba(160, 172, 255, .075); --line-2: rgba(160, 172, 255, .13); --line-3: rgba(160, 172, 255, .22);
  --lamp: #ffc36e; --lamp-2: #ffdca3; --lamp-d: #b9873f;
  --up: #46e292; --down: #ff5f6f; --held: #8fa6ff;
  --f-d: 'Pixelify Sans', 'Geist', system-ui, sans-serif; --f-px: 'Silkscreen', monospace;
  --f-t: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --f-m: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 4px; --r-2: 8px; --gap: 12px; --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 52px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.45 var(--f-t); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lamp); color: #120c02; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; }
.is-hidden { display: none !important; }
.num { font-family: var(--f-m); font-variant-numeric: tabular-nums; }

/* scrollbars: thin, in the night palette, no arrows */
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(160, 172, 255, .18); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(160, 172, 255, .32); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: rgba(160, 172, 255, .2) transparent; } }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 18px;
  background: linear-gradient(#090b14, #07080f); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.mark { position: relative; width: 26px; height: 26px; border-radius: 6px; background: #0f1322; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.mark i { position: absolute; left: 7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lamp-2); box-shadow: 0 0 12px rgba(255, 200, 120, .55); }
.mark i::after { content: ''; position: absolute; left: 4px; top: -2px; width: 11px; height: 11px; border-radius: 50%; background: #0f1322; }
.word { font: 600 19px/1 var(--f-d); letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.word b { font-weight: 700; color: var(--lamp-2); }
.nav { display: flex; gap: 2px; min-width: 0; }
.tagline { margin: 0 0 0 8px; min-width: 0; font: 500 12.5px/1.25 var(--f-t); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tagline b { color: var(--lamp-2); font-weight: 600; }
@media (max-width: 1720px) { .tagline { display: none; } }
.nav a { padding: 7px 11px; border-radius: var(--r); color: var(--ink-2); font-weight: 500; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: rgba(160, 172, 255, .06); }
.nav a.on { color: var(--ink); background: rgba(160, 172, 255, .09); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.clock { font: 500 12px/1 var(--f-m); color: var(--ink-3); letter-spacing: .04em; padding-right: 6px; white-space: nowrap; }
.ca { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 4px 0 11px; border-radius: var(--r); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); min-width: 0; }
.ca-lab { font: 600 11px/1 var(--f-m); color: var(--lamp); letter-spacing: .06em; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; height: 24px; padding: 0 2px; font: 500 12px/1 var(--f-m); color: var(--ink-2); cursor: copy; }
.ca-addr span { min-width: 0; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { font: 600 11px/1 var(--f-t); font-style: normal; padding: 6px 9px; border-radius: 3px; background: rgba(255, 195, 110, .12); color: var(--lamp-2); }
.ca-link { font: 600 11px/1 var(--f-t); padding: 6px 8px; border-radius: 3px; color: var(--ink-2); background: rgba(160, 172, 255, .06); white-space: nowrap; }
.ca-link:hover { color: var(--ink); }
.xbtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.xbtn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.btn-hire { height: 32px; display: flex; align-items: center; padding: 0 14px; border-radius: var(--r); background: var(--lamp); color: #1a1102; font-weight: 650; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 210, 140, .4) inset, 0 6px 22px -8px rgba(255, 180, 90, .55); transition: transform .15s var(--ease), background .15s; }
.btn-hire:hover { background: var(--lamp-2); transform: translateY(-1px); }

/* ---------- the office page: fits 1920x945 with nothing to scroll ---------- */
.page-office { height: 100vh; overflow: hidden; }
.desk { height: calc(100vh - var(--hdr)); display: grid; grid-template-columns: minmax(0, 1fr) clamp(540px, 32vw, 640px); gap: var(--gap); padding: var(--gap); }
.stage { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gap); }
.office-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - var(--hdr) - 3 * var(--gap) - 150px); justify-self: center; border-radius: var(--r-2); overflow: hidden;
  background: #04050a url(/art/office-poster.jpg) center / cover no-repeat; box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0, 0, 0, .9); }
.office-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.plates, .stamps { position: absolute; inset: 0; pointer-events: none; }
.plate { position: absolute; transform: translate(-50%, 0); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 6px; row-gap: 3px;
  padding: 4px 8px 5px 7px; border-radius: 3px; background: rgba(6, 8, 16, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 2px 0 0 var(--c, #fff); width: max-content; max-width: 46%;
  transition: opacity .3s; }
.plate .nm { font: 600 11px/1 var(--f-d); letter-spacing: .03em; color: var(--ink); white-space: nowrap; }
.plate .rl { font: 500 9.5px/1 var(--f-m); color: var(--c); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.plate .jb { grid-column: 1 / -1; font: 500 10px/1.1 var(--f-t); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.plate .pb { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.plate .pb i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--k, var(--c)); box-shadow: 0 0 6px var(--k, var(--c)); transition: width .8s var(--ease), background .4s; }
.plate .ck { font: 600 11px/1 var(--f-m); font-variant-numeric: tabular-nums; color: var(--k, var(--ink-2)); padding-left: 6px; }
.plate.hot { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 45%, transparent), inset 2px 0 0 var(--c), 0 0 16px -4px var(--k); }
.plate.hot .ck { animation: pulse 1s infinite; }
.plate.mgr .ck { display: none; }
.plate.idle .jb { color: var(--ink-3); }
.plate.gone { opacity: 0; }
.stamp { position: absolute; transform: translate(-50%, -50%) rotate(-8deg) scale(1.6); opacity: 0; font: 700 22px/1 var(--f-d); letter-spacing: .12em; padding: 6px 12px 5px; border: 3px solid currentColor; border-radius: 4px;
  text-shadow: 0 0 14px currentColor; animation: stamp 3.6s var(--ease) forwards; }
.stamp.fired { color: #ff3b4e; background: rgba(40, 0, 6, .55); }
.stamp.hired { color: var(--up); background: rgba(0, 30, 14, .55); }
.stamp.rejected { color: #ff4d5e; background: rgba(40, 0, 8, .6); font-size: 17px; animation-duration: 1.6s; }
.plate .jb { grid-column: 1 / 3; } .plate .rj { font: 600 10px/1 var(--f-m); color: #ff6b7a; text-align: right; white-space: nowrap; }
.wk-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.rj-n { font: 500 10px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rej { flex: none; height: 22px; padding: 0 9px; border-radius: 3px; font: 650 10.5px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: #ff6b7a; background: rgba(255, 77, 94, .08); box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .35); transition: background .15s, transform .1s; }
.rej:hover { background: rgba(255, 77, 94, .18); } .rej:active { transform: scale(.96); } .rej:disabled { opacity: .55; cursor: default; }
.rej.hit { animation: rejHit .45s var(--ease); } @keyframes rejHit { 30% { background: #ff4d5e; color: #1a0306; } }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.8); } 8% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1); } }
.wire { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 3px;
  background: rgba(5, 6, 12, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.wire-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); animation: pulse 2s infinite; flex: none; }
.wire-k { font: 600 10px/1 var(--f-m); color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; flex: none; }
.wire-t { font: 500 13px/1 var(--f-t); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wire.out .wire-dot { background: var(--down); box-shadow: 0 0 10px var(--down); } .wire.out .wire-k { color: var(--down); }
.wire-t.in { animation: wireIn .5s var(--ease); }
@keyframes wireIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .35; } }
.sample-flag { position: absolute; right: 12px; top: 12px; font: 600 10px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); padding: 6px 8px; border-radius: 3px;
  background: rgba(30, 20, 4, .8); box-shadow: inset 0 0 0 1px rgba(255, 195, 110, .3); }

/* the workers under the office */
.staff-strip { min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-2); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.wk { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto auto auto auto minmax(0, 1fr); align-content: start; gap: 8px; padding: 12px 12px 10px; background: var(--s1); transition: background .2s; overflow: hidden; }
.wk:hover { background: var(--s2); }
.wk::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--c); opacity: .9; box-shadow: 0 0 14px var(--c); }
.wk::after { content: ''; position: absolute; left: -20%; right: -20%; top: -60px; height: 110px; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 14%, transparent), transparent); pointer-events: none; }
.wk-h { position: relative; z-index: 1; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-width: 0; }
.wk-face { width: 34px; height: 34px; border-radius: 4px; background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%), #070910; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; display: grid; place-items: center; }
.wk-face canvas { width: 30px; height: 30px; image-rendering: pixelated; }
.wk-n { min-width: 0; }
.wk-n b { display: block; font: 600 14px/1.1 var(--f-d); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-n span { display: block; margin-top: 2px; font: 500 9.5px/1.2 var(--f-m); color: var(--c); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { font: 600 9px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; padding: 4px 5px 3px; border-radius: 3px; color: var(--ink-2); background: rgba(160, 172, 255, .07); white-space: nowrap; }
.chip.on { color: var(--up); background: rgba(70, 226, 146, .1); }
.chip.trial { color: var(--lamp); background: rgba(255, 195, 110, .1); }
.chip.fired { color: var(--down); background: rgba(255, 95, 111, .12); }
.chip.job { color: #5fb8ff; background: rgba(95, 184, 255, .12); }
.wk-pnl { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; min-width: 0; }
.wk-pnl b { font: 600 18px/1 var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: -.03em; white-space: nowrap; }
.wk-pnl small { font: 500 10px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; } .wk-pnl s { color: var(--ink-4); }
.wk-ck { font: 600 15px/1 var(--f-m); letter-spacing: -.02em; align-self: start; padding-top: 2px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--ink-2); }
.wk-j { font: 500 11.5px/1.3 var(--f-t); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wk-j.idle { color: var(--ink-3); }
.wk-b { height: 3px; border-radius: 3px; background: rgba(160, 172, 255, .08); overflow: hidden; }
.wk-b i { display: block; height: 100%; background: var(--c); box-shadow: 0 0 8px var(--c); transition: width .8s var(--ease); }
.wk-l { flex: 1; height: 12px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; gap: 2px; max-width: 70px; margin: 0 auto; }
.wk-l i { display: block; border-radius: 1px; } .wk-l i.p { background: var(--up); opacity: .85; } .wk-l i.n { background: var(--down); opacity: .85; } .wk-l i.e { height: 2px; background: rgba(160, 172, 255, .1); }
.wk-x { display: none; }
@media (min-height: 1000px) and (min-width: 1601px) {
  .wk-x { display: grid; gap: 6px; align-content: start; padding-top: 4px; border-top: 1px solid var(--line); }
  .wk-x span { display: flex; justify-content: space-between; gap: 8px; font: 500 11px/1.2 var(--f-t); color: var(--ink-3); min-width: 0; }
  .wk-x em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .wk-x b { font: 600 11.5px/1.2 var(--f-m); color: var(--ink-2); white-space: nowrap; } .wk-x b s { color: var(--ink-4); font-weight: 500; }
}
.wk-f { align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 500 10px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; min-width: 0; }
.wk-f > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.never { color: var(--ink-4); }
.strikes { display: flex; gap: 3px; } .strikes i { width: 8px; height: 8px; border-radius: 2px; background: rgba(160, 172, 255, .1); box-shadow: inset 0 0 0 1px rgba(160, 172, 255, .12); } .strikes i.x { background: var(--down); box-shadow: 0 0 6px var(--down); }

/* ---------- right rail ---------- */
.rail { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--gap); }
.panel { position: relative; background: var(--s1); border-radius: var(--r-2); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ph { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 600 10.5px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ph-r { font: 500 11px/1 var(--f-m); color: var(--ink-3); }

.core { height: 268px; }
.core canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-src { position: absolute; left: 14px; top: 14px; display: grid; gap: 0; width: 150px; }
.cs { height: 30px; display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; font: 500 11.5px/1 var(--f-t); color: var(--ink-2); }
.cs i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.cs b { font: 600 12px/1 var(--f-d); letter-spacing: .02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs span { font-size: 11px; color: var(--ink-2); }
.core-out { position: absolute; display: grid; gap: 5px; justify-items: start; pointer-events: none; }
.core-out span { font: 600 9.5px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-d); }
.core-out b { font: 600 15px/1 var(--f-m); color: var(--lamp-2); white-space: nowrap; }
.core-out small { font: 500 10px/1 var(--f-m); color: var(--ink-3); }
.core-c { position: absolute; left: 56%; top: 108px; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; text-align: center; pointer-events: none; }
.core-c .lab { font: 600 10px/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.core-c .big { font: 600 19px/1 var(--f-m); letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(150, 170, 255, .35); }
.core-sub { position: absolute; transform: translateX(-50%); font: 500 10.5px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; pointer-events: none; }
.core-nums { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.cn { background: var(--s1); padding: 9px 12px 10px; min-width: 0; }
.cn span { display: block; font: 600 9.5px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.cn b { display: block; margin-top: 6px; font: 600 15px/1 var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.board { display: grid; grid-template-rows: 40px 28px minmax(0, 1fr) auto; }
.cols, .row { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(6, 34px) 70px; align-items: center; column-gap: 8px; padding: 0 14px; }
.cols { font: 600 9.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.cols span:not(:first-child) { text-align: center; } .cols .r { text-align: right !important; }
.rows { position: relative; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.rows canvas { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
.rows-in { position: relative; }
.row { height: 54px; border-bottom: 1px solid var(--line); transition: background .2s; }
.row:hover { background: rgba(160, 172, 255, .03); }
.row.new { animation: rowIn .9s var(--ease); }
@keyframes rowIn { from { background: color-mix(in srgb, var(--c) 18%, transparent); } }
.o-t { min-width: 0; display: grid; gap: 4px; }
.o-t b { font: 600 12.5px/1.15 var(--f-t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-t span { display: flex; gap: 6px; align-items: center; font: 500 10px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; overflow: hidden; min-width: 0; }
.o-t span i { flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--c); box-shadow: 0 0 6px var(--c); }
.o-t em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.src { flex: none; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.o-v { text-align: right; display: grid; gap: 4px; justify-items: end; }
.o-v b { font: 600 13px/1 var(--f-m); font-variant-numeric: tabular-nums; }
.o-v small { font: 500 9.5px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.o-v.held b { color: var(--ink-3); } .o-v.landed b { color: var(--up); text-shadow: 0 0 12px rgba(70, 226, 146, .5); }
.tag-test, .tag-sample { font: 600 9px/1 var(--f-m); letter-spacing: .1em; padding: 3px 4px 2px; border-radius: 2px; color: var(--lamp); background: rgba(255, 195, 110, .12); }
.pf { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 36px; padding: 0 14px; border-top: 1px solid var(--line); font: 500 11px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.pf a { color: var(--ink-2); } .pf a:hover { color: var(--ink); } .pf-l { display: flex; gap: 14px; }
.menu-h { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(160, 172, 255, .02); }
.menu-h a { font: 500 11px/1 var(--f-m); color: var(--ink-2); } .menu-h a:hover { color: var(--ink); }
.row.menu .o-t b { color: var(--ink-2); font-weight: 550; } .row.menu:hover .o-t b { color: var(--ink); }
.row.menu .o-v b { color: var(--ink-2); font-size: 12.5px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.rules div { background: var(--s1); padding: 14px 14px 15px; display: grid; gap: 7px; align-content: start; }
.rules b { font: 600 21px/1 var(--f-m); color: var(--lamp-2); letter-spacing: -.02em; }
.rules span { font: 500 11.5px/1.35 var(--f-t); color: var(--ink-2); }
.mrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 84px; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--f-t); }
.mrow .mk { font: 600 9.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mw { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mt { font: 500 10px/1 var(--f-m); color: var(--ink-3); white-space: nowrap; } .mrow .mt a { color: var(--held); margin-left: 4px; }
.mrow b { font: 600 12px/1 var(--f-m); font-variant-numeric: tabular-nums; text-align: right; }
.empty { padding: 26px 18px; color: var(--ink-3); font-size: 13px; }

/* ---------- laptop / narrow ---------- */
@media (max-width: 1500px) { .nav a { padding: 7px 8px; } .clock { display: none; } }
.wk-cta { display: none; }
@media (max-width: 1600px) and (min-width: 1101px) {
  .staff-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .wk { padding: 9px 11px 8px; gap: 5px; grid-template-rows: auto auto auto auto minmax(0, 1fr); }
  .wk-h { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; } .wk-ck { font-size: 13px; } .wk-face { width: 28px; height: 28px; } .wk-face canvas { width: 25px; height: 25px; }
  .wk-pnl b { font-size: 15px; } .wk-j { font-size: 11px; }
  .wk-cta { display: grid; align-content: center; gap: 6px; padding: 12px 14px; background: var(--s1); }
  .wk-cta b { font: 600 15px/1.1 var(--f-d); color: var(--lamp-2); } .wk-cta span { font-size: 11.5px; color: var(--ink-3); } .wk-cta:hover { background: var(--s2); }
}
@media (max-width: 1600px) and (min-width: 1101px) and (max-height: 700px) { .wk-j, .wk-b { display: none; } }

@media (max-width: 1100px) {
  .page-office { height: auto; overflow: auto; }
  .desk { height: auto; grid-template-columns: minmax(0, 1fr); }
  .office-wrap { max-height: none; }
  .staff-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board .rows { max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  :root { --hdr: 52px; --gap: 10px; }
  .top { gap: 12px; padding: 0 12px; }
  .nav { display: none; }
  .ca, .clock { display: none; }
  .word { font-size: 12.5px; line-height: 1.05; } .word b { display: block; }
  .office-wrap { aspect-ratio: 4 / 3.3; border-radius: 6px; }
  .plate { padding: 3px 6px 4px 6px; } .plate .jb { display: none; } .plate .pb { display: none; }
  .wire { left: 8px; right: 8px; bottom: 8px; height: 28px; } .wire-t { font-size: 12px; }
  .staff-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; scrollbar-width: none; }
  .staff-strip::-webkit-scrollbar { display: none; }
  .core { height: 314px; } .core-src { width: 104px; } .cs span { display: none; } .cs { height: 24px; grid-template-columns: 8px minmax(0, 1fr); }
  .core-out { display: none; }
  .plate .rl { display: none; } .plate { max-width: 34%; }
  .core-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .row { grid-template-columns: minmax(0, 1fr) repeat(6, 14px) 62px; column-gap: 5px; padding: 0 10px; }
  .cols span:not(:first-child):not(.r) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* phone menu */
.burger { display: none; width: 36px; height: 36px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; }
.burger i { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink-2); transition: transform .2s var(--ease), opacity .2s; }
.burger.on i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); } .burger.on i:nth-child(2) { opacity: 0; } .burger.on i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.msheet { position: fixed; inset: var(--hdr) 0 0 0; z-index: 19; background: rgba(4, 5, 10, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.msheet.on { opacity: 1; pointer-events: auto; }
.msheet nav { display: grid; padding: 8px 14px 18px; background: #090b14; border-bottom: 1px solid var(--line-2); transform: translateY(-8px); transition: transform .25s var(--ease); }
.msheet.on nav { transform: none; }
.msheet a { padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 17px/1 var(--f-d); letter-spacing: .02em; color: var(--ink-2); }
.msheet a.on { color: var(--ink); } .msheet a.cta { margin-top: 12px; border: 0; border-radius: var(--r); background: var(--lamp); color: #1a1102; text-align: center; font: 650 15px/1 var(--f-t); }
@media (max-width: 720px) { .burger { display: flex; } .top-r .btn-hire { height: 34px; padding: 0 12px; } }
.mark.img { background: none; box-shadow: none; } .mark.img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
/* worker cards: a column; footer + reject row sit at the foot */
.wk { display: flex; flex-direction: column; }
.wk > * { flex-shrink: 0; } .wk > .wk-f { margin-top: auto; gap: 8px; }
.wk-f .rj-n { flex: 1; min-width: 0; text-align: right; color: #ff6b7a; } .wk-f .chip { flex-shrink: 0; }
