
@font-face { font-family: 'RS Calibri'; font-style: normal; font-weight: 400; font-display: swap; src: local('Calibri'), url('/hiring/fonts/rs-calibri-400.woff2') format('woff2'); }
@font-face { font-family: 'RS Calibri'; font-style: italic; font-weight: 400; font-display: swap; src: local('Calibri Italic'), local('Calibri-Italic'), url('/hiring/fonts/rs-calibri-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'RS Calibri'; font-style: normal; font-weight: 700; font-display: swap; src: local('Calibri Bold'), local('Calibri-Bold'), url('/hiring/fonts/rs-calibri-700.woff2') format('woff2'); }
@font-face { font-family: 'RS Calibri'; font-style: italic; font-weight: 700; font-display: swap; src: local('Calibri Bold Italic'), local('Calibri-BoldItalic'), url('/hiring/fonts/rs-calibri-700-italic.woff2') format('woff2'); }
/* RevStack hiring. Tokens lifted from the landing page (cream paper, ink, signal orange,
   Instrument Serif display with italic orange emphasis, Inter for everything else).
   Layout: careers = editorial cream page; apply = dark one-question-per-screen quiz like /apply;
   admin = dense cream workspace. */
:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --paper-3: #e7dfcf;
  --white: #fffdf8;
  --ink: #161410;
  --ink-80: rgba(22, 20, 16, 0.8);
  --ink-60: rgba(22, 20, 16, 0.62);
  --ink-45: rgba(22, 20, 16, 0.45);
  --ink-30: rgba(22, 20, 16, 0.3);
  --ink-12: rgba(22, 20, 16, 0.14);
  --ink-06: rgba(22, 20, 16, 0.06);
  --orange: #ff4d00;
  --orange-soft: #ff6a2b;
  --orange-10: rgba(255, 77, 0, 0.1);
  --dark: #131109;
  --surface: #1c1913;
  --cream: #f6f2ea;
  --cream-60: rgba(246, 242, 234, 0.6);
  --cream-45: rgba(246, 242, 234, 0.45);
  --cream-15: rgba(246, 242, 234, 0.15);
  --cream-08: rgba(246, 242, 234, 0.08);
  --good: #2f7d4f;
  --good-bg: rgba(47, 125, 79, 0.12);
  --ok: #6b7a1f;
  --ok-bg: rgba(107, 122, 31, 0.13);
  --warn: #b26a00;
  --warn-bg: rgba(178, 106, 0, 0.13);
  --bad: #b3261e;
  --bad-bg: rgba(179, 38, 30, 0.1);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'RS Calibri', Calibri, Carlito, 'Segoe UI', -apple-system, sans-serif;
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* Type treatment: Calibri everywhere. Bold text and titles upright, all other text italic.
   font-size-adjust scales Calibri's small x-height so sizes read the same as before. */
body { font-style: italic; font-size-adjust: 0.5; }
b, strong, th, h1, h2, h3, h4, figcaption, .logo { font-style: normal; }
h1, h2, h3, .logo em { font-size-adjust: none; }
input, select, textarea { font-style: normal; }
input::placeholder, textarea::placeholder { font-style: italic; }
.opt .t { font-weight: 700; font-style: normal; }
.opt { font-weight: 400; }
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.01em; font-size-adjust: none; font-style: normal; }
em.o, h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; color: var(--orange); letter-spacing: 0.01em; font-size-adjust: none; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--ink-60); }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- logo ---------- */
.logo { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; color: inherit; white-space: nowrap; font-style: normal; }
.logo em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 21px; color: var(--orange); letter-spacing: 0.01em; font-size-adjust: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s; white-space: nowrap; font-style: normal; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-lg { padding: 17px 30px; min-height: 54px; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-soft); border-color: var(--orange-soft); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); border-radius: 999px; }
.btn-ink:hover { background: #2a2620; }
.btn-line { background: transparent; border-color: var(--ink-12); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-30); background: var(--ink-06); }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-60); font-style: normal; }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--orange); }

/* ====================================================================== CAREERS */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(246, 242, 234, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink-60); }
.top nav a:not(.btn):hover { color: var(--ink); }
.announce { background: var(--paper-2); border-bottom: 1px solid var(--ink-12); font-size: 13px; text-align: center; padding: 8px 16px; color: var(--ink-80); }

.hero { padding-block: 72px 56px; text-align: center; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; margin-top: 22px; }
.hero .lede { max-width: 600px; margin: 22px auto 0; font-size: 18px; color: var(--ink-60); line-height: 1.6; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 34px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-60); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-10); }

.facts { border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--ink-12); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; font-size-adjust: none; font-style: normal; }
.fact b em { font-style: italic; color: var(--orange); }
.fact span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-60); }

.section { padding-block: 88px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-top: 14px; }
.section-head p { max-width: 420px; color: var(--ink-60); }

.seg { display: inline-flex; padding: 4px; border: 1px solid var(--ink-12); border-radius: 999px; background: var(--white); }
.seg button { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-60); font-style: normal; }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }

.roles { border-top: 1px solid var(--ink); }
.role-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--ink-12); }
.role-row h3 { font-size: 30px; line-height: 1.1; margin-top: 10px; }
.role-row .desc { margin-top: 10px; color: var(--ink-60); font-size: 15px; max-width: 560px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; }
.tag.setter { color: var(--orange); }
.tag.closer { color: var(--ink); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.specs dt { color: var(--ink-45); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; font-style: normal; }
.specs dd { margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.team-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; text-decoration: none; color: inherit; border-left: 1px solid var(--ink-12); transition: background 0.2s var(--ease); min-width: 0; }
.team-card:first-child { border-left: 0; padding-left: 0; }
.team-card:hover h3 { color: var(--orange); }
.team-card h3 { font-size: 30px; line-height: 1.1; }
.team-card p { color: var(--ink-60); font-size: 15px; flex: 1; }
.team-card .go { font-size: 14px; font-weight: 600; color: var(--orange); display: inline-flex; gap: 8px; font-style: normal; }
.team-card:hover .arr { transform: translateX(3px); }
.team-card .arr { transition: transform 0.2s var(--ease); }
.tag.sales_manager, .tag.creative_director { color: var(--ink-60); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } .team-card:nth-child(3) { border-left: 0; padding-left: 0; } .team-card:nth-child(n+3) { border-top: 1px solid var(--ink-12); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } .team-card { border-left: 0; padding-left: 0; } .team-card + .team-card { border-top: 1px solid var(--ink-12); } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 26px 24px 8px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--ink-12); }
.step .n { font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 26px; font-size-adjust: none; }
.step h3 { font-size: 26px; margin-top: 8px; }
.step p { margin-top: 10px; font-size: 15px; color: var(--ink-60); }

.band { background: var(--dark); color: var(--cream); }
.band .wrap { padding-block: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; max-width: 640px; }
.band p { color: var(--cream-60); margin-top: 14px; max-width: 520px; }

.foot { padding-block: 34px; border-top: 1px solid var(--ink-12); font-size: 13px; color: var(--ink-60); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; align-items: center; }
.foot a { color: var(--ink-60); }

@media (max-width: 900px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--ink-12); }
  .role-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--ink-12); }
  .top nav a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-block: 48px 40px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-12); }
  .section { padding-block: 64px; }
  .fact b { font-size: 32px; }
}

/* ====================================================================== APPLY (dark quiz) */
body.page-apply { background: var(--dark); color: var(--cream); }
.q-shell { min-height: 100dvh; display: flex; flex-direction: column; }
.q-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(19, 17, 9, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--cream-08); }
.q-top .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.q-top .logo { color: var(--cream); }
.q-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-45); font-style: normal; }
.q-progress { height: 2px; background: var(--cream-08); }
.q-progress i { display: block; height: 100%; background: var(--orange); width: 0; transition: width 0.4s var(--ease); }
.q-main { width: 100%; max-width: 720px; margin: 0 auto; flex: 1; padding-top: 52px; padding-bottom: max(48px, env(safe-area-inset-bottom, 0px)); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.q-step { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-soft); font-style: normal; }
.q-main h1 { margin-top: 14px; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; color: var(--cream); }
.q-sub { margin-top: 12px; max-width: 560px; font-size: 15.5px; color: var(--cream-60); }
.q-body { margin-top: 32px; display: grid; gap: 28px; }
.q-anim { animation: qin 0.38s var(--ease); }
@keyframes qin { from { opacity: 0.3; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field > .lbl { font-size: 14px; font-weight: 600; color: var(--cream); font-style: normal; }
.field .hint { font-size: 13px; color: var(--cream-45); font-weight: 400; }
.field .opt-note { font-weight: 400; color: var(--cream-45); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.in { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--cream-15); background: rgba(255, 255, 255, 0.03); color: var(--cream); font-size: 16px; transition: border-color 0.2s, background 0.2s; }
.in::placeholder { color: rgba(246, 242, 234, 0.3); }
.in:hover { border-color: rgba(246, 242, 234, 0.28); }
.in:focus { outline: none; border-color: var(--orange); background: rgba(255, 77, 0, 0.05); }
textarea.in { min-height: 120px; resize: vertical; line-height: 1.55; }
.in.bad { border-color: #e5484d; }

.opts { display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .opts.two { grid-template-columns: 1fr; } }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 15px 18px; text-align: left; border-radius: var(--radius); border: 1px solid var(--cream-15); background: rgba(255, 255, 255, 0.03); color: var(--cream); font-size: 16px; font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.opt:hover { border-color: var(--orange); background: rgba(255, 77, 0, 0.1); }
.opt[aria-pressed='true'] { border-color: var(--orange); background: rgba(255, 77, 0, 0.12); }
.opt .t { display: block; }
.opt .s { display: block; font-size: 13px; font-weight: 400; color: var(--cream-60); margin-top: 2px; }
.opt .box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(246, 242, 234, 0.35); display: grid; place-items: center; }
.opt .box.round { border-radius: 50%; }
.opt[aria-pressed='true'] .box { border-color: var(--orange); background: var(--orange); }
.opt[aria-pressed='true'] .box::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opt .meta { margin-left: auto; font-size: 12px; color: var(--cream-45); text-align: right; flex: none; }
.opt.rich { align-items: flex-start; }
.opt.rich .box { margin-top: 3px; }
.opt .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.opt .pills span { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--cream-15); color: var(--cream-60); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cream-15); background: transparent; color: var(--cream-60); font-size: 14px; font-weight: 500; transition: all 0.15s; }
.chip:hover { border-color: rgba(246, 242, 234, 0.4); color: var(--cream); }
.chip[aria-pressed='true'] { border-color: var(--orange); background: var(--orange); color: #fff; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cream-60); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid rgba(246, 242, 234, 0.35); display: grid; place-items: center; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

.err { font-size: 13px; color: #ff8a80; min-height: 0; }
.err:empty { display: none; }
.count { font-size: 12px; color: var(--cream-45); text-align: right; font-variant-numeric: tabular-nums; }

/* headshot upload */
.photo-drop { display: flex; align-items: center; gap: 20px; padding: 16px; border: 1px dashed rgba(246, 242, 234, 0.25); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s, background 0.2s; }
.photo-drop.has { border-style: solid; border-color: var(--cream-15); }
.photo-drop.over { border-color: var(--orange); background: rgba(255, 77, 0, 0.08); }
.photo-drop:focus-within .photo-circle { outline: 2px solid var(--orange); outline-offset: 3px; }
.photo-circle { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--cream-15); cursor: pointer; }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.photo-circle .plus { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--orange-soft); font-size-adjust: none; font-style: normal; }
.photo-copy { display: grid; gap: 4px; min-width: 0; font-size: 14px; color: var(--cream-60); }
.photo-copy b { color: var(--cream); font-weight: 600; font-size: 15px; font-style: normal; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.photo-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--orange); background: var(--orange); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; font-style: normal; }
.photo-btn.ghost { background: transparent; border-color: var(--cream-15); color: var(--cream-60); }
.photo-btn.ghost:hover { color: var(--cream); border-color: rgba(246, 242, 234, 0.4); }
@media (max-width: 420px) { .photo-drop { flex-direction: column; align-items: flex-start; } }

/* proof screenshots */
.proofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.proof { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--cream-15); background: rgba(255, 255, 255, 0.04); }
.proof img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.proof-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(19, 17, 9, 0.82); color: var(--cream); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.proof-x:hover { background: var(--orange); }
.proof-add { aspect-ratio: 3 / 4; border-radius: 10px; border: 1px dashed rgba(246, 242, 234, 0.3); display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; padding: 8px; color: var(--cream-60); font-size: 13px; font-weight: 700; font-style: normal; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.proof-add .plus { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--orange-soft); font-weight: 400; font-size-adjust: none; }
.proof-add:hover, [data-prooffield]:focus-within .proof-add { border-color: var(--orange); background: rgba(255, 77, 0, 0.08); }

.brief { border: 1px solid var(--cream-15); border-radius: var(--radius); padding: 22px 22px 20px; background: rgba(255, 255, 255, 0.025); }
.brief h3 { font-size: 24px; color: var(--cream); }
.brief ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: b; display: grid; gap: 12px; }
.brief li { counter-increment: b; display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 15px; color: var(--cream-60); }
.brief li::before { content: counter(b); font-family: var(--serif); font-style: italic; color: var(--orange-soft); font-size: 20px; line-height: 1.2; font-size-adjust: none; }
.brief .tips { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cream-08); font-size: 13px; color: var(--cream-45); }
.brief a { color: var(--orange-soft); }
.loom-ok { font-size: 13px; color: #7fd49b; }

.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--cream-08); }
.q-back { background: none; border: 0; color: var(--cream-60); font-size: 14px; font-weight: 600; padding: 10px 0; font-style: normal; }
.q-back:hover { color: var(--cream); }
.q-back[hidden] { display: none !important; }
.q-saved { font-size: 12px; color: var(--cream-45); }

.done { text-align: left; }
.done .ref { display: inline-flex; margin-top: 22px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--cream-15); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--cream); font-variant-numeric: tabular-nums; font-style: normal; }
.next-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--cream-08); }
.next-list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--cream-08); color: var(--cream-60); font-size: 15px; }
.next-list li b { color: var(--cream); font-weight: 600; display: block; font-style: normal; }
.next-list .n { font-family: var(--serif); font-style: italic; color: var(--orange-soft); font-size: 22px; line-height: 1.1; font-size-adjust: none; }
.form-alert { padding: 12px 14px; border-radius: var(--radius); background: rgba(229, 72, 77, 0.12); border: 1px solid rgba(229, 72, 77, 0.35); color: #ffb4ae; font-size: 14px; }

/* ====================================================================== ADMIN */
body.page-admin { background: var(--paper); }
.a-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(246, 242, 234, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-12); }
.a-top .wrap { display: flex; align-items: center; gap: 22px; min-height: 60px; max-width: 1360px; }
.a-top .pill { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-style: normal; }
.a-nav { display: flex; gap: 4px; margin-left: 10px; overflow-x: auto; }
.a-nav button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-60); white-space: nowrap; font-style: normal; }
.a-nav button:hover { color: var(--ink); background: var(--ink-06); }
.a-nav button[aria-current='page'] { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--ink-12); }
.a-user { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-60); white-space: nowrap; }
.a-main { max-width: 1360px; padding-block: 34px 80px; }
.a-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 30px; margin-bottom: 24px; }
.a-head h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }
.a-head p { margin-top: 6px; color: var(--ink-60); font-size: 15px; }
.a-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink-12); border-radius: var(--radius); background: var(--white); margin-bottom: 20px; }
.kpi { padding: 16px 18px; border-left: 1px solid var(--ink-12); min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi .k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-45); font-style: normal; }
.kpi .v { font-family: var(--serif); font-size: 38px; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; font-size-adjust: none; font-style: normal; }
.kpi .d { font-size: 12.5px; color: var(--ink-60); margin-top: 2px; }
.kpi.hot .v { color: var(--orange); }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi:nth-child(odd) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--ink-12); } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.f-in, .f-sel { min-height: 38px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--ink-12); background: var(--white); font-size: 14px; }
.f-in { min-width: 0; width: 230px; }
.f-sel { padding-right: 28px; max-width: 280px; }
.f-in:focus, .f-sel:focus { outline: none; border-color: var(--ink-30); box-shadow: 0 0 0 3px var(--ink-06); }
.gchips { display: inline-flex; gap: 4px; }
.gchip { min-width: 34px; min-height: 34px; border-radius: 8px; border: 1px solid var(--ink-12); background: var(--white); font-weight: 700; font-size: 13px; color: var(--ink-60); font-style: normal; }
.gchip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-60); cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--orange); width: 16px; height: 16px; }
.spacer { flex: 1; }
.seg.sm button { padding: 5px 12px; }

.tbl-wrap { border: 1px solid var(--ink-12); border-radius: var(--radius); background: var(--white); overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 1060px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-45); padding: 12px 12px; border-bottom: 1px solid var(--ink-12); white-space: nowrap; background: var(--white); position: sticky; top: 0; font-style: normal; }
.tbl th button { all: unset; cursor: pointer; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--ink-06); vertical-align: middle; }
.tbl tbody tr { cursor: pointer; transition: background 0.12s; }
.tbl tbody tr:hover { background: var(--paper); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tr.ko td { color: var(--ink-60); }
.person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.av { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--paper-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-60); border: 1px solid var(--ink-12); overflow: hidden; font-style: normal; }
.av.sm { width: 28px; height: 28px; font-size: 11px; }
.av.lg { width: 120px; height: 120px; font-size: 34px; font-family: var(--serif); font-weight: 400; color: var(--ink-45); border-radius: 50%; font-size-adjust: none; font-style: normal; }
.av-btn { position: relative; flex: none; padding: 0; border: 0; background: none; border-radius: 50%; cursor: zoom-in; line-height: 0; }
.av-btn:hover .av { box-shadow: 0 0 0 2px var(--orange); }
.av-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.av-btn .exp { position: absolute; right: 4px; bottom: 4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); border: 2px solid var(--paper); transition: transform 0.2s var(--ease); }
.av-btn:hover .exp { transform: scale(1.08); background: var(--orange); }
.d-who { display: flex; gap: 24px; align-items: center; min-width: 0; }
.d-who > div { min-width: 0; }
@media (max-width: 560px) { .d-who { flex-direction: column; align-items: flex-start; gap: 16px; } .av.lg { width: 96px; height: 96px; } }
.lightbox { position: fixed; inset: 0; z-index: 2600; background: rgba(19, 17, 9, 0.88); display: grid; place-items: center; padding: max(56px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); cursor: zoom-out; animation: lbin 0.2s var(--ease); }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; }
.lightbox.wide img { max-width: min(1100px, 100%); max-height: 86vh; }
.lightbox img { max-width: min(640px, 100%); max-height: 78vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); background: var(--paper-2); }
.lightbox figcaption { font-family: var(--serif); font-size: 28px; color: var(--cream); font-size-adjust: none; font-style: normal; }
.lb-close { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--cream-15); background: rgba(255, 255, 255, 0.06); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: var(--orange); border-color: var(--orange); }
.who b { display: block; font-weight: 600; font-style: normal; }
.who span { display: block; font-size: 12.5px; color: var(--ink-60); }
.match b { display: block; font-weight: 400; font-style: italic; font-size: 13.5px; }
.match span { display: block; font-size: 12px; color: var(--ink-45); }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.dash { color: var(--ink-30); }
.star { border: 0; background: none; font-size: 17px; line-height: 1; color: var(--ink-30); padding: 4px; }
.star[aria-pressed='true'] { color: var(--orange); }
.st-sel { min-height: 32px; padding: 4px 8px; border-radius: 7px; border: 1px solid var(--ink-12); background: var(--white); font-size: 13px; }

.grade { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.gl { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: var(--serif); font-size: 21px; line-height: 1; font-size-adjust: none; font-style: normal; }
.gl.A { background: var(--good-bg); color: var(--good); }
.gl.B { background: var(--ok-bg); color: var(--ok); }
.gl.C { background: var(--warn-bg); color: var(--warn); }
.gl.D { background: var(--bad-bg); color: var(--bad); }
.gl.KO { background: var(--bad-bg); color: var(--bad); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; font-style: normal; }
.grade .sc { font-weight: 600; font-style: normal; }
.grade .prov { font-size: 11px; color: var(--ink-45); display: block; }

.vp { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; font-style: normal; }
.vp.good { background: var(--good-bg); color: var(--good); }
.vp.ok { background: var(--ok-bg); color: var(--ok); }
.vp.warn { background: var(--warn-bg); color: var(--warn); }
.vp.bad { background: var(--bad-bg); color: var(--bad); }
.vp.neutral { background: var(--ink-06); color: var(--ink-60); }
.mini { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; }
.mini span { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; font-style: normal; }
.mini .k { background: var(--bad-bg); color: var(--bad); }
.mini .f { background: var(--warn-bg); color: var(--warn); }
.sub-score { font-variant-numeric: tabular-nums; font-weight: 500; }
.ai-wait { font-size: 12px; color: var(--ink-45); }

.empty { padding: 56px 20px; text-align: center; color: var(--ink-60); }
.empty h3 { font-size: 28px; color: var(--ink); margin-bottom: 8px; }

/* board */
.board { display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--paper-2); border-radius: var(--radius); padding: 10px; min-height: 220px; transition: background 0.15s; }
.col.over { background: var(--paper-3); box-shadow: inset 0 0 0 2px var(--orange); }
.col h4 { margin: 4px 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); display: flex; justify-content: space-between; font-style: normal; }
.card { background: var(--white); border: 1px solid var(--ink-12); border-radius: 9px; padding: 12px; margin-bottom: 8px; cursor: grab; display: grid; gap: 8px; }
.card:hover { border-color: var(--ink-30); }
.card.dragging { opacity: 0.45; }
.card .top-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card b { font-weight: 600; font-size: 14px; font-style: normal; }
.card .m { font-size: 12.5px; color: var(--ink-60); line-height: 1.4; }

/* detail */
.back { border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-60); display: inline-flex; gap: 8px; align-items: center; font-style: normal; }
.back:hover { color: var(--ink); }
.d-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; margin: 18px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--ink-12); }
.d-head h1 { font-size: clamp(36px, 4.5vw, 54px); line-height: 1.02; }
.d-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-60); }
.contact { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 11px; border: 1px solid var(--ink-12); border-radius: 999px; background: var(--white); font-size: 13px; text-decoration: none; color: var(--ink); }
.cbtn:hover { border-color: var(--ink-30); }
.cbtn small { color: var(--ink-45); font-size: 12px; }
.verdict-box { display: grid; grid-template-columns: auto auto; gap: 4px 18px; align-items: center; padding: 16px 20px; border: 1px solid var(--ink-12); border-radius: var(--radius); background: var(--white); min-width: 300px; }
.verdict-box .big { grid-row: span 3; font-family: var(--serif); font-size: 78px; line-height: 0.9; width: 74px; text-align: center; font-size-adjust: none; font-style: normal; }
.verdict-box .big.A { color: var(--good); } .verdict-box .big.B { color: var(--ok); } .verdict-box .big.C { color: var(--warn); } .verdict-box .big.D { color: var(--bad); }
.verdict-box .sc { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; font-style: normal; }
.verdict-box .sc small { font-size: 14px; color: var(--ink-45); font-weight: 500; }
.verdict-box .st { font-size: 12px; color: var(--ink-45); }
.d-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: flex-end; align-items: center; }

.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.d-col { display: grid; gap: 20px; min-width: 0; }
.panel { background: var(--white); border: 1px solid var(--ink-12); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.panel > h2 { font-size: 26px; line-height: 1.1; }
.panel > .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel > .ph h2 { font-size: 26px; line-height: 1.1; }
.panel .lead { margin-top: 6px; font-size: 13.5px; color: var(--ink-60); }
.panel .body { margin-top: 16px; }
@media (max-width: 1000px) { .d-grid { grid-template-columns: 1fr; } .d-head { grid-template-columns: 1fr; } .d-controls { justify-content: flex-start; } .verdict-box { min-width: 0; } }

.blend { display: grid; gap: 12px; }
.blend .r { display: grid; grid-template-columns: 120px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; }
.blend .r small { display: block; color: var(--ink-45); font-size: 12px; }
.track { height: 8px; border-radius: 99px; background: var(--ink-06); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.track i.o { background: var(--orange); }
.track i.pending { background: repeating-linear-gradient(45deg, var(--ink-12), var(--ink-12) 4px, transparent 4px, transparent 8px); width: 100% !important; }

.comps { display: grid; gap: 14px; }
.comp .l { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; font-style: normal; }
.comp .l span { font-variant-numeric: tabular-nums; color: var(--ink-60); font-weight: 500; }
.comp .track { margin-top: 6px; height: 6px; }
.comp .n { margin-top: 5px; font-size: 12.5px; color: var(--ink-60); }

.alerts { display: grid; gap: 8px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; }
.alert b { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 4px; flex: none; margin-top: 1px; font-style: normal; }
.alert.k { background: var(--bad-bg); color: #7a1a14; } .alert.k b { background: var(--bad); color: #fff; }
.alert.f { background: var(--warn-bg); color: #6b4000; } .alert.f b { background: var(--warn); color: #fff; }

.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mtable td, .mtable th { padding: 9px 6px; border-bottom: 1px solid var(--ink-06); text-align: left; }
.mtable th { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); font-style: normal; }
.mtable tr.best td { font-weight: 600; font-style: normal; }
.mtable .fitbar { display: flex; align-items: center; gap: 8px; }
.mtable .fitbar .track { width: 80px; height: 6px; }

.ans { display: grid; grid-template-columns: minmax(130px, 0.6fr) 1fr; gap: 0; font-size: 14px; }
.ans dt { color: var(--ink-60); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink-06); }
.ans dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--ink-06); min-width: 0; overflow-wrap: anywhere; }
.ans-group { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-style: normal; }
.ans-group:first-child { margin-top: 0; }

.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.proof-thumb { position: relative; padding: 0; border: 1px solid var(--ink-12); border-radius: 9px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); cursor: zoom-in; }
.proof-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.proof-thumb span { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 700; font-style: normal; background: rgba(22, 20, 16, 0.78); color: var(--paper); padding: 2px 7px; border-radius: 999px; }
.proof-thumb:hover { border-color: var(--orange); }
.proof-verdict { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 14px; font-size: 14px; }
.mini .p { background: var(--ink-06); color: var(--ink-60); }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 9px; overflow: hidden; background: var(--dark); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream-60); text-align: center; padding: 20px; font-size: 14px; }
.video .ph b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--cream); margin-bottom: 6px; font-size-adjust: none; font-style: normal; }
.vmeta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--ink-60); align-items: center; }

.dims { display: grid; gap: 10px; }
.dim { display: grid; grid-template-columns: 130px 1fr 34px; gap: 10px; align-items: center; font-size: 13.5px; }
.dim .track { height: 6px; }
.dim .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-style: normal; }
.brief-check { display: grid; gap: 6px; margin-top: 14px; font-size: 13.5px; }
.brief-check div { display: flex; gap: 8px; }
.brief-check .y { color: var(--good); font-weight: 700; font-style: normal; } .brief-check .n { color: var(--bad); font-weight: 700; font-style: normal; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.lst h4 { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-45); font-style: normal; }
.lst ul { margin: 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 5px; }
.quote { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--orange); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; font-size-adjust: none; }
.rec { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.summary { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.notice { padding: 12px 14px; border-radius: 8px; background: var(--paper-2); font-size: 13.5px; color: var(--ink-80); }
.notice code { font-size: 12.5px; background: var(--white); padding: 1px 5px; border-radius: 4px; }
.wq { padding: 14px 0; border-bottom: 1px solid var(--ink-06); }
.wq:last-child { border-bottom: 0; padding-bottom: 0; }
.wq .q { font-size: 13px; color: var(--ink-60); font-weight: 600; font-style: normal; }
.wq .a { margin-top: 6px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wq .c { margin-top: 8px; display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--ink-60); }
.wq .c b { font-variant-numeric: tabular-nums; color: var(--ink); }
details.tx summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; font-style: normal; }
details.tx summary::-webkit-details-marker { display: none; }
details.tx summary::after { content: '+'; color: var(--ink-45); font-weight: 400; font-size: 18px; line-height: 1; }
details.tx[open] summary::after { content: '−'; }
.tx-body { margin-top: 12px; max-height: 360px; overflow: auto; font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; padding: 12px 14px; background: var(--paper); border-radius: 8px; }
.a-in { width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--ink-12); background: var(--white); font-size: 14px; }
.a-in:focus { outline: none; border-color: var(--ink-30); box-shadow: 0 0 0 3px var(--ink-06); }
textarea.a-in { min-height: 90px; resize: vertical; line-height: 1.5; }
.timeline { margin-top: 14px; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--ink-06); font-size: 14px; }
.tl .who2 { font-size: 12.5px; color: var(--ink-45); }
.tl.stage .body2 { color: var(--ink-60); font-style: italic; }
.tl .body2 { grid-column: 1 / -1; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl .del { border: 0; background: none; color: var(--ink-30); font-size: 12px; }
.tl .del:hover { color: var(--bad); }

/* openings + team forms */
.o-form { display: grid; gap: 16px; }
.o-form .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o-form .g3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .o-form .g2, .o-form .g3 { grid-template-columns: 1fr; } }
.o-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; min-width: 0; font-style: normal; }
.o-form label small, .o-form .fld small { font-weight: 400; color: var(--ink-45); }
.o-form .fld { display: grid; gap: 8px; font-size: 13px; font-weight: 600; align-content: start; min-width: 0; font-style: normal; }
.o-form label.sw { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.ochips { display: flex; flex-wrap: wrap; gap: 6px; }
.ochip { min-height: 32px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--ink-12); background: var(--white); font-size: 13px; color: var(--ink-60); }
.ochip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sw { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.sw input { accent-color: var(--orange); width: 16px; height: 16px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; font-style: normal; }
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.status-dot.closed { color: var(--ink-45); }
.status-dot.closed::before { background: var(--ink-30); }
.linkbox { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 12.5px; color: var(--ink-60); min-width: 0; }
.linkbox code { background: var(--paper-2); padding: 3px 7px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-left, 0px)); }
.login .box { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--ink-12); border-radius: 14px; padding: 32px 28px; }
.login h1 { font-size: 40px; line-height: 1.05; margin-top: 22px; }
.login p { color: var(--ink-60); margin-top: 8px; font-size: 14.5px; }
.login form { display: grid; gap: 14px; margin-top: 24px; }
.login label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; font-style: normal; }
.login .msg { font-size: 13.5px; color: var(--bad); min-height: 1em; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 3000; transition: all 0.25s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sp 0.7s linear infinite; vertical-align: -2px; }
@keyframes sp { to { transform: rotate(360deg); } }
.loading { padding: 80px 0; text-align: center; color: var(--ink-45); }
@media (max-width: 700px) {
  .a-user .hide-sm { display: none; }
  .a-top .pill { display: none; }
  .a-top .wrap { flex-wrap: wrap; gap: 6px 16px; padding-block: 10px 6px; min-height: 0; }
  .a-nav { order: 3; width: 100%; margin-left: -12px; }
  .kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* What people type stays upright for legibility; placeholders follow the italic rule (kept last so form resets cannot override it) */
input, select, textarea { font-style: normal; }
input::placeholder, textarea::placeholder { font-style: italic; }

/* ---------- phones ---------- */
.mlist { display: grid; gap: 10px; }
.mcard { background: var(--white); border: 1px solid var(--ink-12); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; cursor: pointer; }
.mcard.ko { opacity: 0.82; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mc-top .star { margin: -4px -4px 0 0; font-size: 22px; min-width: 44px; min-height: 44px; }
.mc-match { font-size: 14px; color: var(--ink-60); }
.mc-match b { color: var(--ink); }
.mc-scores { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--ink-60); font-variant-numeric: tabular-nums; }
.mc-scores b { color: var(--ink); font-size: 15px; }
.mc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ink-06); }
.mc-ago { font-size: 12.5px; color: var(--ink-45); margin-left: 8px; }
@media (max-width: 760px) {
  .a-main { padding-block: 22px 60px; }
  .a-head { margin-bottom: 16px; }
  .a-head .a-actions { width: 100%; }
  .a-head .a-actions .btn { flex: 1; }
  .filters { gap: 8px; }
  .f-in { width: 100%; }
  .filters .seg { width: 100%; overflow-x: auto; }
  .filters .seg button { flex: 1; white-space: nowrap; }
  .f-sel { flex: 1 1 140px; min-width: 0; max-width: 100%; }
  #flt-opening { flex-basis: 100%; width: 100%; }
  .seg button, .seg.sm button { min-height: 40px; }
  .back { min-height: 40px; }
  .cbtn { min-height: 40px; padding: 8px 13px; }
  .linkbox .btn { min-height: 36px !important; }
  .foot a { display: inline-block; padding: 8px 0; }
  .filters .spacer { display: none; }
  .gchip { min-width: 44px; min-height: 40px; }
  /* 16px stops iPhones zooming in when a field is tapped */
  .a-in, .f-in, .f-sel, .st-sel, .in { font-size: 16px; }
  .st-sel { min-height: 40px; }
  .btn-sm { min-height: 40px; }
  .star { min-width: 40px; min-height: 40px; }
  .kpi { padding: 12px 14px; }
  .kpi .v { font-size: 32px; }
  .panel { padding: 16px; }
  .verdict-box { grid-template-columns: auto 1fr; }
  .ans { grid-template-columns: 1fr; }
  .ans dt { padding-bottom: 0; border-bottom: 0; font-size: 12.5px; }
  .ans dt.ans-group { padding-top: 6px; }
  .blend .r { grid-template-columns: 96px 1fr 40px; }
  .dim { grid-template-columns: 110px 1fr 28px; }
  .lb-close { width: 48px; height: 48px; }
  /* Openings table becomes a stack of cards */
  table.otbl, .otbl tbody, .otbl tr, .otbl td { display: block; }
  table.otbl { min-width: 0; }
  .otbl thead { display: none; }
  .otbl tr { padding: 14px 16px; border-bottom: 1px solid var(--ink-12); }
  .otbl td { border: 0; padding: 3px 0; text-align: left; }
  .otbl td[data-l]::before { content: attr(data-l) ': '; font-weight: 700; font-style: normal; color: var(--ink-45); font-size: 12.5px; }
  .otbl td:last-child { padding-top: 10px; }
  .board { grid-template-columns: repeat(6, 82vw); scroll-snap-type: x mandatory; }
  .col { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .proof-x { width: 38px; height: 38px; }
  .seg button { min-height: 40px; }
  .foot a { display: inline-block; padding: 8px 0; }
  .q-main { padding-top: 32px; }
  .q-main h1 { font-size: 32px; }
  .q-body { margin-top: 24px; gap: 24px; }
  .chip { min-height: 44px; }
  .opt { min-height: 60px; }
  .q-nav { position: sticky; bottom: 0; margin-left: -20px; margin-right: -20px; padding: 14px max(20px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); background: rgba(19, 17, 9, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--cream-08); margin-top: 28px; z-index: 5; }
  .q-nav .btn-lg { min-height: 50px; padding: 12px 24px; }
  .q-label { letter-spacing: 0.12em; }
  .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 16.5px; }
  .hero .btn-lg { width: 100%; }
  .role-row .btn { width: 100%; }
  .band .btn-lg { width: 100%; }
  .top nav { gap: 12px; }
}

/* ---- careers funnel: talent pool, empty state, FAQ ---- */
.pool { background: var(--dark); color: var(--cream); }
.pool .wrap { padding-block: 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.pool .eyebrow { color: var(--cream-60); }
.pool h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-top: 14px; }
.pool h2 em { color: var(--orange); }
.pool-copy > p { color: var(--cream-60); margin-top: 16px; max-width: 480px; font-size: 16.5px; }
.pool-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: ps; }
.pool-steps li { counter-increment: ps; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; font-size: 14.5px; color: var(--cream-60); }
.pool-steps li::before { content: counter(ps, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--orange); line-height: 1.1; }
.pool-steps b { display: block; color: var(--cream); font-size: 15.5px; }
.pool-pick { display: grid; gap: 10px; }
.pool-q { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-45); margin-bottom: 4px; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--cream-15); border-radius: 14px; background: var(--surface); color: var(--cream); text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.pick b { display: block; font-size: 18px; }
.pick small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--cream-60); }
.pick .arr { color: var(--orange); font-size: 18px; transition: transform 0.2s; }
.pick:hover { border-color: var(--orange); background: #241f17; }
.pick:hover .arr { transform: translateX(4px); }
.roles-empty { padding: 40px 0 8px; max-width: 620px; }
.roles-empty h3 { font-size: 30px; line-height: 1.15; }
.roles-empty p { margin: 12px 0 22px; color: var(--ink-60); }
.faq-list { border-top: 1px solid var(--ink); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--ink-12); padding: 20px 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--orange); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin-top: 10px; color: var(--ink-60); max-width: 720px; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.band .band-line { color: var(--cream); border-color: var(--cream-15); }
.page-careers .section { scroll-margin-top: 80px; }
.page-careers .pool { scroll-margin-top: 64px; }
@media (max-width: 860px) {
  .pool .wrap { grid-template-columns: 1fr; padding-block: 64px; }
}
