/* Aniru Sales Hub — design tokens and components
   Brand: Aniru orange (#FF7F17) on charcoal (#1F1F1F), taken from the Aniru Solutions logo. */
:root {
  /* brand */
  --orange: #FF7F17;
  --orange-600: #F06C00;
  --orange-700: #C2540A;      /* orange text on white (AA) */
  --orange-50: #FFF4EA;
  --orange-100: #FFE6D1;
  --orange-200: #FFD0A8;
  --charcoal-950: #141414;
  --charcoal-900: #1F1F1F;    /* logo background */
  --charcoal-800: #282828;
  --charcoal-700: #333333;
  --charcoal-600: #444444;
  --charcoal-400: #8A8A8A;
  --charcoal-300: #B5B5B5;

  /* semantic */
  --ink: #1F1F1F;
  --ink-2: #4D4A47;
  --muted: #7C7772;
  --line: #E8E4DF;
  --line-2: #F2EFEB;
  --bg: #F7F5F2;
  --card: #FFFFFF;
  --brand: var(--orange);
  --brand-hover: var(--orange-600);
  --brand-ink: var(--orange-700);
  --on-brand: var(--charcoal-900);
  --accent: var(--orange);
  --good: #12805A;
  --good-bg: #E7F6EF;
  --good-line: #BFE6D3;
  --warn: #8F5E00;
  --warn-bg: #FFF7DB;
  --warn-line: #F3DE9C;
  --bad: #C0392B;
  --bad-bg: #FDEDEB;
  --bad-line: #F2C4BE;
  --info: var(--orange-700);
  --info-bg: var(--orange-50);
  --info-line: var(--orange-200);

  /* legacy names still used by some templates */
  --navy-900: var(--charcoal-900);
  --navy-800: var(--charcoal-800);
  --navy-700: var(--charcoal-700);
  --navy-500: var(--charcoal-600);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(31, 31, 31, .04), 0 2px 6px rgba(31, 31, 31, .05);
  --shadow-lg: 0 10px 30px rgba(31, 31, 31, .12);
  --focus: 0 0 0 3px rgba(255, 127, 23, .28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", var(--font);
  --sidebar-w: 256px;
  --bottom-nav-h: 0px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 14.5px; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; color: var(--ink); }
h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 1.08rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .8em; }
small, .small { font-size: .82rem; }
.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 15px; height: 15px; }

/* ---------- logo ---------- */
.logo { display: block; height: auto; }
.logo-tile { display: inline-flex; align-items: center; background: var(--charcoal-900); border-radius: 12px; padding: 8px 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--charcoal-900); display: grid; place-items: center; }
.brand-name { font-weight: 700; line-height: 1.1; }
.brand-name span { display: block; font-size: .72rem; font-weight: 500; color: var(--charcoal-400); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: var(--charcoal-900); color: var(--charcoal-300); padding: 18px 14px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: var(--charcoal-700) transparent; }
.sidebar-brand { display: block; padding: 6px 8px 4px; }
.sidebar-brand img { width: 148px; }
.sidebar-tag { margin: 0 8px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--charcoal-800); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.nav { display: grid; gap: 2px; }
.nav-group { margin: 16px 0 4px; padding: 0 10px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal-400); font-weight: 600; }
.nav a { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: #D9D6D2; font-weight: 500; }
.nav a .ico { color: var(--charcoal-400); }
.nav a .label { flex: 1; }
.nav a:hover { background: var(--charcoal-800); text-decoration: none; color: #fff; }
.nav a:hover .ico { color: #fff; }
.nav a.active { background: var(--charcoal-700); color: #fff; }
.nav a.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.nav a.active .ico { color: var(--orange); }
.nav a.cta { background: var(--orange); color: var(--on-brand); font-weight: 650; margin: 4px 0; }
.nav a.cta .ico { color: var(--on-brand); }
.nav a.cta:hover { background: var(--orange-600); color: var(--on-brand); }
.nav a.cta.active::before { display: none; }
.nav .count { background: var(--orange); color: var(--on-brand); font-size: .7rem; font-weight: 700; min-width: 20px; text-align: center; padding: 1px 7px; border-radius: 999px; }
.sidebar-foot { margin-top: auto; padding-top: 14px; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--charcoal-800); }
.user-card .avatar { background: var(--orange); color: var(--on-brand); }
.user-card .who-name { color: #fff; font-weight: 600; font-size: .88rem; line-height: 1.2; }
.user-card .who-role { color: var(--charcoal-400); font-size: .74rem; }
.user-links { display: flex; gap: 6px; margin-top: 8px; }
.user-links a, .user-links button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px; border-radius: 8px; font: inherit; font-size: .78rem; color: var(--charcoal-300); background: transparent; border: 1px solid var(--charcoal-700); cursor: pointer; }
.user-links a:hover, .user-links button:hover { color: #fff; border-color: var(--charcoal-600); text-decoration: none; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 15; }
.topbar .heading { font-weight: 650; font-size: .95rem; }
.topbar .tools { display: flex; align-items: center; gap: 10px; }
.topbar .who { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.topbar-search { position: relative; }
.topbar-search .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.topbar-search input { width: 240px; font: inherit; font-size: .88rem; padding: 7px 10px 7px 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.topbar-search input:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: var(--focus); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.topbar-logo { display: none; }
.content { padding: 26px 28px 56px; max-width: 1320px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 0; color: var(--ink-2); }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 4px; }

/* mobile bottom navigation */
.bottom-nav { display: none; }

/* ---------- layout helpers ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt { margin-top: 16px; } .mt-lg { margin-top: 28px; } .mb { margin-bottom: 16px; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
a.card { display: block; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.card:hover { text-decoration: none; border-color: var(--orange-200); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush .card-head { padding: 16px 20px 0; margin-bottom: 12px; }
.card.tint-good { background: var(--good-bg); border-color: var(--good-line); }
.card.tint-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.card.tint-info { background: var(--info-bg); border-color: var(--info-line); }
.card.dark { background: var(--charcoal-900); border-color: var(--charcoal-900); color: #E6E3DF; }
.card.dark h2, .card.dark h3 { color: #fff; }

.kpi { padding: 16px 18px; position: relative; }
.kpi .label { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.kpi .value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: .8rem; color: var(--ink-2); margin-top: 2px; }
.kpi.feature { background: var(--charcoal-900); border-color: var(--charcoal-900); }
.kpi.feature .label { color: var(--charcoal-400); }
.kpi.feature .value { color: var(--orange); }
.kpi.feature .sub { color: var(--charcoal-300); }
.kpi.alert .value { color: var(--orange-700); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FBFAF8; white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FFFBF7; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table.compact td, .table.compact th { padding: 8px 10px; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* ---------- badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info, .badge.brand { background: var(--orange-50); color: var(--orange-700); box-shadow: inset 0 0 0 1px var(--orange-100); }
.badge.dark { background: var(--charcoal-900); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--chip, var(--brand)); }

/* ---------- progress ---------- */
.progress { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 99px; background: var(--bar, var(--brand)); transition: width .4s ease; }
.progress.lg { height: 12px; }
.target-row { display: grid; grid-template-columns: 170px 1fr 70px; gap: 12px; align-items: center; padding: 8px 0; }
.target-row + .target-row { border-top: 1px dashed var(--line-2); }
.target-row .val { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.checklist .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--line-2); color: var(--muted); }
.checklist .done .tick { background: var(--good); color: #fff; }

.unlock { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); flex-wrap: wrap; }
.unlock.yes { background: var(--good-bg); color: var(--good); }
.unlock.no { background: var(--warn-bg); color: var(--warn); }
.unlock strong { font-size: 1.1rem; }

/* ---------- funnel / bars ---------- */
.bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; font-size: .86rem; }
.bar-row .bar { height: 22px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: var(--bar, var(--charcoal-400)); border-radius: 6px; }

.pipeline { display: flex; gap: 8px; flex-wrap: wrap; }
.pipeline a { flex: 1 1 120px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px; color: var(--ink); transition: border-color .15s ease; }
.pipeline a:hover { text-decoration: none; border-color: var(--orange); }
.pipeline a.active { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-50); }
.pipeline .n { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; display: block; }
.pipeline .l { font-size: .76rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .86rem; color: var(--ink); }
.field .help { font-size: .78rem; color: var(--muted); }
.field .errors { color: var(--bad); font-size: .8rem; margin: 0; padding: 0; list-style: none; }
.field.has-error .input, .field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.field.check label { font-weight: 500; }
.input, select.input, textarea.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #D9D4CE; border-radius: var(--radius-sm); padding: 9px 11px; transition: border-color .15s ease, box-shadow .15s ease; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: var(--focus); }
.input[disabled] { background: var(--line-2); color: var(--muted); }
.field input[type=file] { font: inherit; font-size: .86rem; padding: 8px; border: 1px dashed #D9D4CE; border-radius: var(--radius-sm); background: var(--bg); width: 100%; }
.field input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 10px; border: 0; border-radius: 7px; padding: 6px 12px; background: var(--charcoal-900); color: #fff; cursor: pointer; }
.checkbox { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
input[type=radio] { accent-color: var(--orange); }
.radio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.radio-list label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.form-errors { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-line); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters .input { width: auto; min-width: 150px; }
.inline-form { display: inline; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 650; font-size: .9rem; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; background: var(--brand); color: var(--on-brand); white-space: nowrap; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:hover { background: var(--brand-hover); text-decoration: none; }
.btn:focus-visible { box-shadow: var(--focus); border-radius: var(--radius-sm); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.btn.dark { background: var(--charcoal-900); color: #fff; }
.btn.dark:hover { background: var(--charcoal-700); }
.btn.secondary { background: #fff; color: var(--ink); border-color: #D9D4CE; }
.btn.secondary:hover { background: var(--line-2); border-color: #CBC5BE; }
.btn.good { background: var(--good); color: #fff; }
.btn.good:hover { background: #0E6B4B; }
.btn.danger { background: #fff; color: var(--bad); border-color: var(--bad-line); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--line-2); }
.btn.sm { padding: 5px 10px; font-size: .8rem; }
.btn.block { width: 100%; }

/* ---------- messages ---------- */
.messages { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.messages li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--info-bg); color: var(--info); border: 1px solid var(--info-line); }
.messages li .msg { flex: 1; }
.messages li.success { background: var(--good-bg); color: var(--good); border-color: var(--good-line); }
.messages li.warning { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.messages li.error { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.messages .dismiss { background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0 2px; }
.messages .dismiss:hover { opacity: 1; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--orange); }
.timeline li.verified::before { background: var(--good); border-color: var(--good); }
.timeline li.rejected::before { border-color: var(--bad); }

/* ---------- demo cards ---------- */
.demo { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; background: #fff; }
.demo .cred { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg); border-radius: 7px; padding: 6px 10px; font-size: .85rem; }
.copy { background: none; border: 0; color: var(--brand-ink); cursor: pointer; font-weight: 650; font-size: .78rem; }
.product-head { display: flex; align-items: center; gap: 10px; }
.product-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--chip, var(--brand)); }

/* ---------- public pages ---------- */
.public { background: #fff; display: flex; flex-direction: column; min-height: 100vh; }
.public-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6vw; background: var(--charcoal-900); }
.public-top .brand img { width: 128px; }
.public-top .btn.secondary { background: transparent; color: #fff; border-color: var(--charcoal-600); }
.public-top .btn.secondary:hover { background: var(--charcoal-800); }
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 380px at 85% -10%, rgba(255,127,23,.32) 0%, transparent 60%), var(--charcoal-900); color: #E6E3DF; padding: 56px 6vw 64px; }
.hero::after { content: ""; position: absolute; right: 8vw; bottom: -60px; width: 180px; height: 180px; border-radius: 28px; transform: rotate(45deg); background: var(--orange); opacity: .1; }
.hero h1 { color: #fff; font-size: 2.2rem; max-width: 760px; }
.hero p { max-width: 680px; color: #C9C5C0; font-size: 1.05rem; }
.hero .kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); font-weight: 700; }
.public-body { padding: 36px 6vw 60px; max-width: 1140px; flex: 1; width: 100%; }
.job-card { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .15s ease; }
.job-card:hover { border-color: var(--orange-200); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }
.public-foot { padding: 24px 6vw; background: var(--charcoal-900); color: var(--charcoal-400); font-size: .85rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.public-foot img { width: 96px; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.auth-side { position: relative; overflow: hidden; background: radial-gradient(760px 520px at 100% 100%, rgba(255,127,23,.26) 0%, transparent 60%), var(--charcoal-900); color: #D9D6D2; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-side::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 36px; transform: rotate(45deg); border: 2px solid rgba(255,127,23,.35); }
.auth-side .logo { width: 190px; }
.auth-side h1 { color: #fff; font-size: 2.2rem; }
.auth-side h1 em { font-style: normal; color: var(--orange); }
.auth-side .ticks li::before { color: var(--orange); }
.auth-side .foot { color: var(--charcoal-400); }
.auth-side .foot a { color: #fff; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .mobile-logo { display: none; margin-bottom: 22px; }
.auth-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: .86rem; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 64px; }
.password-wrap .reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; font: inherit; font-size: .78rem; font-weight: 650; color: var(--brand-ink); cursor: pointer; padding: 4px 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-search input { width: 180px; }
}
@media (max-width: 860px) {
  :root { --bottom-nav-h: 68px; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .22s ease; z-index: 40; }
  body.nav-open { overflow: hidden; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
  .menu-toggle { display: inline-flex; }
  .topbar { padding: 10px 14px; gap: 10px; }
  .topbar .heading, .topbar-search, .topbar .who .right, .topbar .quick { display: none; }
  .topbar-logo { display: inline-flex; background: var(--charcoal-900); border-radius: 9px; padding: 5px 9px; }
  .topbar-logo img { width: 70px; }
  .content { padding: 18px 14px calc(40px + var(--bottom-nav-h)); }
  h1 { font-size: 1.35rem; }
  .page-head { align-items: flex-start; }
  .page-head > .row { width: 100%; }
  .page-head > .row .btn { flex: 1; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .grid-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: auto; }
  .target-row { grid-template-columns: 1fr 60px; }
  .target-row .progress { grid-column: 1 / -1; order: 3; }
  .bar-row { grid-template-columns: 110px 1fr 34px; }
  .filters .input { flex: 1 1 140px; min-width: 0; }
  .pipeline { flex-wrap: nowrap; overflow-x: auto; margin-left: -14px; margin-right: -14px; padding: 0 14px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .pipeline a { flex: 0 0 auto; min-width: 118px; scroll-snap-align: start; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-card .mobile-logo { display: inline-flex; }
  .hero { padding: 40px 6vw 48px; }
  .hero h1 { font-size: 1.65rem; }
  .bulkbar { bottom: var(--bottom-nav-h); }

}
@media print {
  .sidebar, .topbar, .bottom-nav, .btn, .filters { display: none !important; }
  .shell { display: block; }
  .card { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- hiring journey ---------- */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.stepper li { position: relative; padding: 12px 12px 12px 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--muted); min-height: 52px; display: flex; align-items: center; }
.stepper li .dot { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--line-2); color: var(--muted); }
.stepper li.done { color: var(--good); border-color: var(--good-line); background: var(--good-bg); }
.stepper li.done .dot { background: var(--good); color: #fff; }
.stepper li.now { color: var(--ink); border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-50); }
.stepper li.now .dot { background: var(--orange); color: var(--on-brand); }
.deadline { display: inline-flex; gap: 8px; align-items: center; background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
.contract-text { white-space: pre-wrap; font-family: Georgia, "Times New Roman", serif; font-size: .95rem; line-height: 1.65; background: #FFFDF9; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; max-height: 520px; overflow-y: auto; }
.question { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.question .q { font-weight: 650; margin-bottom: 10px; }
.question .radio-list label { padding: 6px 8px; border-radius: 6px; }
.question .radio-list label:hover { background: var(--bg); }
.question.bad { border-color: var(--bad-line); background: #FFFAFA; }
.question.good { border-color: var(--good-line); background: #FBFFFD; }
.journey { list-style: none; margin: 0; padding: 0; }
.journey li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.journey li:last-child { border-bottom: 0; }
.journey .mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--line-2); color: var(--muted); }
.journey .done .mark { background: var(--good); color: #fff; }
.journey .now .mark { background: var(--orange); color: var(--on-brand); }
.journey .missed .mark { background: var(--bad); color: #fff; }
.bulkbar { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; padding: 14px 20px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(31,31,31,.06); }
.bulkbar .input { width: auto; }
.checks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.checks-list label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
@media (max-width: 860px) { .stepper { grid-template-columns: 1fr; } }

/* ---------- to-do lists ---------- */
.todo-list { list-style: none; margin: 0; padding: 0; }
.todo-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.todo-list li:first-child { border-top: 0; padding-top: 2px; }
.todo-dot { width: 10px; height: 10px; flex: none; border-radius: 3px; transform: rotate(45deg); background: var(--orange); }
.todo-list li.bad .todo-dot { background: var(--bad); }
.todo-list li.warn .todo-dot { background: #E0A100; }
.todo-text { flex: 1; font-weight: 500; }
.todo-clear { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.todo-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--good); font-weight: 800; flex: none; }
@media (max-width: 860px) { .todo-list li { flex-wrap: wrap; } .todo-text { flex: 1 1 70%; } }

/* ---------- careers: how hiring works ---------- */
.hiring-flow { position: relative; overflow: hidden; background: radial-gradient(520px 260px at 100% 0%, rgba(255,127,23,.22) 0%, transparent 65%), var(--charcoal-900); color: #CFCBC6; border-radius: 20px; padding: 30px 30px 24px; }
.hiring-flow::after { content: ""; position: absolute; right: -46px; bottom: -46px; width: 150px; height: 150px; border-radius: 24px; transform: rotate(45deg); border: 2px solid rgba(255,127,23,.22); pointer-events: none; }
.hf-head { max-width: 560px; margin-bottom: 22px; }
.hf-head .hf-kicker { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.hf-head h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.hf-head h2 em { font-style: normal; color: var(--orange); }
.hf-head p { margin: 0; color: #A9A49F; }
.hf-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.hf-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; padding: 14px 14px 14px 0; border-radius: 14px; transition: background .2s ease; }
.hf-steps li:hover { background: rgba(255,255,255,.04); }
/* connecting rail between markers */
.hf-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: -14px; width: 2px; background: linear-gradient(var(--orange), rgba(255,127,23,.15)); }
.hf-marker { width: 44px; height: 44px; display: grid; place-items: center; }
.hf-marker::before { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 8px; transform: rotate(45deg); background: var(--charcoal-800); border: 2px solid var(--orange); transition: background .2s ease, box-shadow .2s ease; }
.hf-marker span { position: relative; font-weight: 800; font-size: .9rem; color: var(--orange); }
.hf-steps li:hover .hf-marker::before, .hf-finish .hf-marker::before { background: var(--orange); box-shadow: 0 0 0 6px rgba(255,127,23,.15); }
.hf-steps li:hover .hf-marker span, .hf-finish .hf-marker span { color: var(--charcoal-900); }
.hf-title { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; font-size: 1rem; margin-top: 2px; }
.hf-title .ico { width: 17px; height: 17px; color: var(--orange); }
.hf-body p { margin: 4px 0 0; font-size: .9rem; line-height: 1.55; color: #B3AEA8; }
.hf-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; white-space: nowrap; font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; color: var(--orange); background: rgba(255,127,23,.12); border: 1px solid rgba(255,127,23,.3); }
.hf-finish .hf-tag, .hf-open .hf-tag { background: var(--orange); color: var(--charcoal-900); border-color: var(--orange); }
.hf-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--charcoal-700); }
.hf-stat { display: grid; line-height: 1.25; }
.hf-stat strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; }
.hf-stat span { font-size: .78rem; color: var(--charcoal-400); }
.hf-foot .btn { margin-left: auto; }
@media (max-width: 860px) {
  .hiring-flow { padding: 24px 18px 20px; border-radius: 16px; }
  .hf-head h2 { font-size: 1.2rem; }
  .hf-steps li { grid-template-columns: 44px 1fr; gap: 12px; padding-right: 0; }
  .hf-tag { display: inline-flex; align-items: center; gap: 5px;  grid-column: 2; justify-self: start; margin-top: -4px; }
  .hf-foot .btn { margin-left: 0; width: 100%; }
}

.nav .count.muted-count { background: var(--charcoal-700); color: var(--charcoal-300); }

/* ---------- job adverts ---------- */
.advert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.advert { display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--orange); }
.advert h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 0; }
.advert.is-ending { border-top-color: #E0A100; }
.advert.is-hidden { border-top-color: var(--charcoal-300); background: #FBFAF8; }
.advert.is-hidden h2 { color: var(--ink-2); }
.advert-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(18,128,90,.5); animation: live-pulse 1.8s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(18,128,90,.5); } 70% { box-shadow: 0 0 0 7px rgba(18,128,90,0); } 100% { box-shadow: 0 0 0 0 rgba(18,128,90,0); } }
.advert-life { display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: var(--bg); }
.advert-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.advert-stats > * { display: grid; padding: 10px 12px; color: var(--ink); text-align: center; }
.advert-stats > * + * { border-left: 1px solid var(--line); }
.advert-stats a:hover { background: var(--orange-50); text-decoration: none; }
.advert-stats strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.advert-stats span { font-size: .74rem; color: var(--muted); }
.advert-actions { display: grid; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.advert-actions .extend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.advert-off { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.advert-off strong { color: var(--orange); }

/* ---------- talent pool ---------- */
.replace-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 16px; padding: 18px 22px; border-radius: var(--radius); color: #D9D6D2; background: linear-gradient(110deg, var(--charcoal-900) 55%, #3A2410); }
.replace-who { display: grid; line-height: 1.3; }
.replace-who strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.replace-who span:last-child { font-size: .82rem; color: var(--charcoal-300); }
.replace-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.replace-help { font-size: .85rem; }
.score-ring { --p: 0; --c: var(--bad); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-2) 0); }
.score-ring.ok { --c: #E0A100; }
.score-ring.strong { --c: var(--orange); }
.score-ring span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 750; font-size: .82rem; }
.table tbody tr.pool-best td { background: #FFFAF4; }
.table tbody tr.pool-best td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.match-hit { color: var(--orange-700); font-weight: 650; }

/* ---------- performance review ---------- */
.verdicts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.verdict { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.verdict::after { content: ""; position: absolute; right: -14px; top: -14px; width: 46px; height: 46px; border-radius: 10px; transform: rotate(45deg); background: var(--vc); opacity: .14; }
.verdict strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--vc); }
.verdict span { font-weight: 650; }
.verdict small { color: var(--muted); font-size: .76rem; }
.v-bad { --vc: var(--bad); } .v-warn { --vc: #C98F00; } .v-good { --vc: var(--good); } .v-new { --vc: var(--orange-700); }
.review-table tr.row-not_performing td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.review-table tr.row-at_risk td:first-child { box-shadow: inset 3px 0 0 #E0A100; }
.release summary { list-style: none; cursor: pointer; }
.release summary::-webkit-details-marker { display: none; }
.release[open] summary { margin-bottom: 8px; }
.release-form { display: grid; gap: 8px; width: 290px; margin-left: auto; text-align: left; padding: 12px; border-radius: 10px; background: var(--bad-bg); border: 1px solid var(--bad-line); }
.release-form label { display: grid; gap: 4px; font-weight: 600; }
.release-form p { margin: 0; }
@media (max-width: 860px) {
  .verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .replace-banner { grid-template-columns: 1fr; }
  .advert-grid { grid-template-columns: 1fr; }
}
.hf-tag .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.hf-steps li:not(.hf-open):not(.hf-finish) .hf-tag { color: #CFCBC6; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.hf-steps li:not(.hf-open):not(.hf-finish) .hf-tag .ico { color: var(--orange); }
.hf-open .hf-marker::before { background: var(--orange); box-shadow: 0 0 0 6px rgba(255,127,23,.15); }
.hf-open .hf-marker span { color: var(--charcoal-900); }

/* ---------- demo kit ---------- */
.channel .card-head { margin-bottom: 6px; }
.kit-demo { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; margin-top: 8px; border: 1px solid var(--line); border-left: 3px solid var(--good); border-radius: 10px; background: #fff; }
.kit-demo.is-off { opacity: .6; border-left-color: var(--charcoal-300); }
.kit-demo.is-editing { border-color: var(--orange); border-left-color: var(--orange); box-shadow: var(--focus); }
.kit-demo-main { display: grid; gap: 5px; min-width: 0; }
.kit-demo-main a.mono { overflow-wrap: anywhere; }
.kit-creds { display: flex; gap: 8px; flex-wrap: wrap; }
.cred-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--bg); font-size: .8rem; color: var(--muted); }
.cred-pill .mono { color: var(--ink); font-weight: 600; }
.kit-actions { display: flex; align-items: flex-start; gap: 4px; flex-wrap: nowrap; justify-content: flex-end; flex: none; }
.kit-form { position: sticky; top: 80px; }
.kit-form .form-grid { grid-template-columns: 1fr; }
.email-meter { display: grid; gap: 4px; min-width: 190px; text-align: right; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.doc { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.doc.is-shared { border-color: var(--good-line); background: #FBFFFD; }
.doc-icon { width: 46px; height: 56px; border-radius: 8px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(160deg, var(--orange), var(--orange-700)); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.doc-body { display: grid; gap: 3px; min-width: 0; }
.doc-actions { grid-column: 1 / -1; display: flex; gap: 4px; flex-wrap: wrap; padding-top: 8px; border-top: 1px dashed var(--line); }
.upload summary { list-style: none; display: inline-flex; }
.upload summary::-webkit-details-marker { display: none; }
@media (max-width: 860px) { .kit-demo { flex-direction: column; } .kit-actions { justify-content: flex-start; } .kit-form { position: static; } }

/* candidate step 3 */
.demo-channel { display: grid; gap: 8px; align-content: start; }
.kit-grid { align-items: start; }
.demo-channel h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; }
.cand-docs { display: grid; gap: 8px; }
.cand-doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.cand-doc:hover { border-color: var(--orange); text-decoration: none; }
.cand-doc .doc-icon { width: 34px; height: 42px; font-size: .58rem; }
.cand-doc span { display: grid; line-height: 1.3; }
.cand-doc small { color: var(--muted); }

/* ---------- earnings model (candidate step 2) ---------- */
.em-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: end; padding: 32px; border-radius: 20px; color: #CFCBC6; background: radial-gradient(600px 300px at 100% 0%, rgba(255,127,23,.25), transparent 65%), var(--charcoal-900); }
.em-hero::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 22px; transform: rotate(45deg); border: 2px solid rgba(255,127,23,.25); }
.em-kicker { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.em-hero h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.25; color: #fff; }
.em-hero h2 em { font-style: normal; color: var(--orange); }
.em-hero p { color: #B3AEA8; max-width: 620px; }
.em-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.em-meta span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.em-meta .em-due { color: var(--charcoal-900); background: var(--orange); border-color: var(--orange); font-weight: 700; }
.em-ghost { background: transparent !important; color: #fff !important; border-color: var(--charcoal-600) !important; }
.em-parties { position: relative; z-index: 1; display: grid; gap: 10px; }
.em-parties div { display: grid; gap: 1px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.em-parties span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--charcoal-400); font-weight: 700; }
.em-parties strong { color: #fff; }
.em-parties small { color: var(--charcoal-400); }
.em-glance { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 14px 0 22px; }
.em-tile { display: grid; gap: 2px; align-content: start; padding: 14px; border-radius: 14px; background: var(--orange-50); border: 1px solid var(--orange-100); }
.em-tile span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.em-tile strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--orange-700); line-height: 1.2; }
.em-tile small { font-size: .76rem; color: var(--ink-2); line-height: 1.35; }
.em-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.em-toc { position: sticky; top: 16px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 32px); overflow-y: auto; }
.em-toc p { margin: 0 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); }
.em-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.em-toc a { display: flex; gap: 8px; padding: 5px 8px; border-radius: 8px; color: var(--ink-2); font-size: .84rem; line-height: 1.3; }
.em-toc a b { min-width: 18px; color: var(--orange-700); }
.em-toc a:hover { background: var(--orange-50); text-decoration: none; color: var(--ink); }
.em-toc .em-toc-sign { margin-top: 6px; background: var(--charcoal-900); color: #fff; }
.em-toc .em-toc-sign b { color: var(--orange); }
.em-toc .em-toc-sign:hover { background: var(--charcoal-700); color: #fff; }
.em-doc { display: grid; gap: 14px; min-width: 0; }
.em-section { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 16px; }
.em-section header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.em-section header h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.em-section header p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.em-num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--charcoal-900); color: var(--orange); font-weight: 800; font-size: .9rem; }
.em-section > p { line-height: 1.65; }
.em-clause { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 4px 0; }
.em-clause > span { font-weight: 800; color: var(--orange-700); font-size: .86rem; padding-top: 2px; }
.em-clause p { margin: 0 0 6px; line-height: 1.65; }
.em-list { margin: 4px 0 10px 50px; padding: 0; display: grid; gap: 8px; line-height: 1.6; }
.em-table { margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.em-table th { background: var(--charcoal-900); color: #fff; }
.em-example { position: relative; margin: 12px 0; padding: 16px 18px 14px; border-radius: 12px; background: var(--orange-50); border: 1px solid var(--orange-100); border-left: 4px solid var(--orange); }
.em-ex-label { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--orange); color: var(--charcoal-900); }
.em-example > strong { display: block; color: var(--orange-700); }
.em-example ul { margin: 6px 0 8px; padding-left: 18px; display: grid; gap: 3px; }
.em-ex-result { padding-top: 8px; border-top: 1px dashed var(--orange-200); font-weight: 700; color: var(--ink); }
.em-note { margin: 12px 0; padding: 14px 16px; border-radius: 12px; background: var(--charcoal-900); color: #E6E3DF; }
.em-note strong { color: var(--orange); }
.em-note p { margin: 4px 0 0; }
.em-sign { border: 2px solid var(--charcoal-900); box-shadow: var(--shadow-lg); }
.em-declare-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.em-count { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); }
.em-count.done { background: var(--good-bg); color: var(--good); }
.em-declarations { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: decl; }
.em-declarations li { counter-increment: decl; }
.em-declarations label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; line-height: 1.5; }
.em-declarations label:hover { border-color: var(--orange-200); }
.em-declarations label:has(input:checked) { border-color: var(--good-line); background: var(--good-bg); }
.em-declarations li.has-error label { border-color: var(--bad-line); background: var(--bad-bg); }
.em-declarations .checkbox { width: 20px; height: 20px; margin: 1px 0 0; }
.em-err { display: block; margin: 4px 0 0 48px; color: var(--bad); }
.em-signature { margin: 18px 0 14px; padding: 16px 18px 12px; border-radius: 12px; background: #FFFDF9; border: 1px dashed #D9D4CE; }
.em-sig-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.em-sig-line { min-height: 46px; padding: 4px 2px; border-bottom: 1.5px solid var(--charcoal-900); font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; font-size: 1.8rem; color: #1D3A6E; line-height: 1.3; }
.em-sig-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.em-sign-btn { padding: 13px 18px; font-size: 1rem; }
.em-sign-btn[disabled] { opacity: .45; cursor: not-allowed; }
.em-signed-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: var(--good-bg); border: 1px solid var(--good-line); }
.em-signed-bar > div { flex: 1; display: grid; }
.em-signed-bar small { color: var(--ink-2); }
.em-signed-mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--good); color: #fff; font-weight: 800; flex: none; }
@media (max-width: 1100px) { .em-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .em-hero { grid-template-columns: 1fr; padding: 24px 18px; }
  .em-hero h2 { font-size: 1.3rem; }
  .em-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-layout { grid-template-columns: 1fr; }
  .em-toc { position: static; max-height: none; }
  .em-section { padding: 18px 16px; }
  .em-clause { grid-template-columns: 34px 1fr; }
  .em-list { margin-left: 22px; }
}

/* ---------- candidate step 3: demo kit ---------- */
.dk-kicker { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.dk-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; padding: 32px; margin-bottom: 18px; border-radius: 20px; color: #CFCBC6; background: radial-gradient(620px 300px at 100% 0%, rgba(255,127,23,.24), transparent 65%), var(--charcoal-900); }
.dk-hero::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 150px; height: 150px; border-radius: 24px; transform: rotate(45deg); border: 2px solid rgba(255,127,23,.2); pointer-events: none; }
.dk-hero h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.25; color: #fff; }
.dk-hero h2 em { font-style: normal; color: var(--orange); }
.dk-hero-text > p { color: #B3AEA8; max-width: 640px; }
.dk-route { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dk-route li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.dk-route li > span { position: relative; flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-weight: 800; color: var(--charcoal-900); }
.dk-route li > span::before { content: ""; position: absolute; inset: 5px; border-radius: 6px; transform: rotate(45deg); background: var(--orange); z-index: -1; }
.dk-route li { position: relative; z-index: 0; }
.dk-route strong { display: block; color: #fff; }
.dk-route small { color: var(--charcoal-400); font-size: .76rem; }
.dk-status { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.dk-due, .dk-progress { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.dk-due span, .dk-progress > .row span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-400); }
.dk-due strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: #fff; }
.dk-due small, .dk-progress small { color: var(--charcoal-400); font-size: .76rem; }
.dk-progress strong { color: var(--orange); }
.dk-progress-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin: 4px 0; }
.dk-progress-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--orange), #FFB06B); transition: width .4s ease; }

.dk-jump { position: sticky; top: 0; z-index: 6; display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px; margin: 0 0 6px; background: linear-gradient(#fff 80%, rgba(255,255,255,0)); scrollbar-width: none; }
.dk-jump a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); }
.dk-jump a:hover { text-decoration: none; border-color: var(--pc); }
.dk-dot { width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: var(--pc); }
.dk-tick { display: none; color: var(--good); font-weight: 800; }
.dk-jump a.is-done { background: var(--good-bg); border-color: var(--good-line); }
.dk-jump a.is-done .dk-tick { display: inline; }

.dk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dk-card { position: relative; display: grid; gap: 10px; padding: 0 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 64px; transition: border-color .2s ease, box-shadow .2s ease; }
.dk-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pc); }
.dk-card:hover { box-shadow: var(--shadow-lg); }
.dk-card.is-done { border-color: var(--good-line); }
.dk-head { display: flex; align-items: center; gap: 12px; margin: 0 -18px; padding: 18px 18px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 9%, #fff), #fff); }
.dk-mark { flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.dk-mark::before { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 7px; transform: rotate(45deg); background: var(--pc); }
.dk-mark span { position: relative; color: #fff; font-weight: 800; font-size: .9rem; }
.dk-title { flex: 1; min-width: 0; }
.dk-title h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.dk-title p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.dk-qcount { flex: none; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--ink-2); background: var(--line-2); }
.dk-card.is-done .dk-mark::before { background: var(--good); }
.dk-section-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.dk-demos, .dk-docs { display: grid; gap: 8px; }
.dk-demo { padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.dk-demo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dk-demo-top strong { font-size: .92rem; line-height: 1.3; }
.dk-demo-top .btn { flex: none; }
.dk-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.dk-cred { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 6px; padding: 6px 8px 6px 10px; border-radius: 9px; background: #fff; border: 1px dashed #DDD7D0; min-width: 0; }
.dk-cred span { grid-column: 1 / -1; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dk-cred code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-look { margin: 8px 0 0; font-size: .8rem; color: var(--ink-2); line-height: 1.45; }
.dk-look b { color: var(--ink); }
.dk-doc { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); border: 1px solid var(--line); transition: border-color .15s ease, transform .15s ease; }
.dk-doc:hover { text-decoration: none; border-color: var(--pc); transform: translateX(2px); }
.dk-doc-icon { width: 36px; height: 44px; display: grid; place-items: center; font-size: .6rem; font-weight: 800; color: #fff; background: linear-gradient(160deg, var(--pc), color-mix(in srgb, var(--pc) 60%, #000)); clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); border-radius: 4px; }
.dk-doc-text { display: grid; gap: 2px; min-width: 0; }
.dk-doc-text strong { font-size: .88rem; line-height: 1.3; }
.dk-doc-text small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.dk-doc-size { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.dk-done { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.dk-done input { width: 18px; height: 18px; accent-color: var(--good); }
.dk-card.is-done .dk-done { color: var(--good); }
.dk-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.dk-exam { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 22px; padding: 28px 30px; border-radius: 20px; background: linear-gradient(135deg, var(--orange-50), #fff 60%); border: 1px solid var(--orange-100); scroll-margin-top: 20px; }
.dk-exam h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 10px; }
.dk-exam-ring { --p: 80; width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--orange) calc(var(--p) * 1%), var(--orange-100) 0); }
.dk-exam-ring > div { width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #fff; }
.dk-exam-ring strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--orange-700); line-height: 1; }
.dk-exam-ring span { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dk-facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dk-facts li { font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.dk-facts b { color: var(--ink); }
.dk-attempts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dk-attempt { display: grid; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); min-width: 150px; }
.dk-attempt.is-pass { background: var(--good-bg); border-color: var(--good-line); }
.dk-attempt span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.dk-attempt strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.dk-attempt a { font-size: .8rem; font-weight: 600; }
.dk-start { padding: 13px 22px; font-size: 1rem; }

.dk-drawer { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 0 16px; }
.dk-drawer[open] { padding-bottom: 16px; }
.dk-drawer summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 0; }
.dk-drawer summary::-webkit-details-marker { display: none; }
.dk-drawer summary small { grid-column: 2; color: var(--muted); }
.dk-drawer summary::after { content: "Show ▾"; grid-row: 1 / span 2; grid-column: 3; font-size: .8rem; font-weight: 700; color: var(--brand-ink); }
.dk-drawer[open] summary::after { content: "Hide ▴"; }

@media (max-width: 960px) { .dk-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .dk-hero { grid-template-columns: 1fr; padding: 24px 18px; }
  .dk-hero h2 { font-size: 1.3rem; }
  .dk-route { grid-template-columns: 1fr; }
  .dk-creds { grid-template-columns: 1fr; }
  .dk-head { flex-wrap: wrap; }
  .dk-qcount { margin-left: 52px; }
  .dk-exam { grid-template-columns: 1fr; justify-items: start; padding: 22px 18px; }
  .dk-drawer summary { grid-template-columns: 1fr; }
  .dk-drawer summary small, .dk-drawer summary::after { grid-column: auto; grid-row: auto; }
}

/* ---------- candidate assessment (quiz) ---------- */
.qz-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; margin-bottom: 16px; border-radius: 20px; color: #CFCBC6; background: radial-gradient(560px 280px at 100% 0%, rgba(255,127,23,.24), transparent 65%), var(--charcoal-900); }
.qz-hero.is-pass { background: radial-gradient(560px 280px at 100% 0%, rgba(18,128,90,.4), transparent 65%), var(--charcoal-900); }
.qz-hero h1 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.qz-hero p { color: #B3AEA8; max-width: 660px; margin: 0 0 6px; }
.qz-back { display: inline-block; margin-bottom: 14px; font-size: .84rem; font-weight: 600; color: #fff; opacity: .8; }
.qz-back:hover { opacity: 1; text-decoration: none; }
.qz-hero .qz-due { color: #fff; }
.qz-due strong { color: var(--orange); }
.qz-ring { background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.qz-ring > div { background: var(--charcoal-900); }
.qz-ring strong { color: var(--orange); }
.qz-hero.is-pass .qz-ring { background: conic-gradient(var(--good) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.qz-hero.is-pass .qz-ring strong { color: #6EE7B7; }

.qz-bar { position: sticky; top: 0; z-index: 8; margin: 0 0 16px; padding: 12px 16px 10px; border-radius: 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qz-bar-top { display: flex; align-items: center; gap: 16px; }
.qz-bar-top > strong { flex: none; font-size: .92rem; }
.qz-sections { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.qz-sections a { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--ink-2); background: var(--line-2); }
.qz-sections a:hover { text-decoration: none; background: var(--orange-50); }
.qz-sections a b { font-weight: 700; color: var(--muted); }
.qz-sections a.is-done { background: var(--good-bg); color: var(--good); }
.qz-sections a.is-done b { color: var(--good); }
.qz-track { height: 6px; margin-top: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.qz-track span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--orange), #FFB06B); transition: width .3s ease; }

.qz-section { margin: 26px 0 0; scroll-margin-top: 90px; }
.qz-section > header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.qz-section > header span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); }
.qz-section > header h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.qz-section > header small { color: var(--muted); }

.qz-q { margin: 0 0 12px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; scroll-margin-top: 110px; transition: border-color .2s ease; }
.qz-q legend { float: left; width: 100%; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; padding: 0; font-weight: 650; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.qz-q legend + * { clear: both; }
.qz-num { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-size: .82rem; font-weight: 800; color: #fff; background: var(--charcoal-900); }
.qz-q.is-answered { border-color: var(--orange-200); }
.qz-q.is-answered .qz-num { background: var(--orange); color: var(--charcoal-900); }
.qz-q.is-missing { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.qz-err { margin: 8px 0 0; font-size: .82rem; font-weight: 600; color: var(--bad); }
.qz-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qz-choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.qz-choice:hover { border-color: var(--orange-200); background: #FFFCF9; }
.qz-choice input { position: absolute; opacity: 0; pointer-events: none; }
.qz-letter { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: .8rem; font-weight: 800; color: var(--ink-2); background: var(--line-2); }
.qz-text { font-size: .92rem; line-height: 1.4; }
.qz-choice:has(input:checked) { border-color: var(--orange); background: var(--orange-50); box-shadow: inset 0 0 0 1px var(--orange); }
.qz-choice:has(input:checked) .qz-letter { background: var(--orange); color: var(--charcoal-900); }
.qz-choice:has(input:focus-visible) { box-shadow: var(--focus); }

.qz-submit { position: sticky; bottom: 12px; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 8px; padding: 16px 20px; border-radius: 16px; color: #D9D6D2; background: var(--charcoal-900); box-shadow: 0 12px 30px rgba(31,31,31,.25); flex-wrap: wrap; }
.qz-submit-text { display: grid; gap: 2px; }
.qz-submit-text strong { color: #fff; }
.qz-submit-text small { color: var(--charcoal-400); }
.qz-go { padding: 12px 22px; font-size: 1rem; background: var(--charcoal-600); color: #fff; }
.qz-go:hover { background: var(--charcoal-600); }
.qz-go.is-ready { background: var(--orange); color: var(--charcoal-900); }
.qz-go.is-ready:hover { background: var(--orange-600); }

.qz-legend { display: flex; gap: 8px; margin-bottom: 12px; }
.qz-legend span { font-size: .84rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.qz-legend .ok { background: var(--good-bg); color: var(--good); }
.qz-legend .no { background: var(--line-2); color: var(--ink-2); }
.qz-legend-row { display: flex; align-items: flex-start; gap: 12px; }
.qz-legend-row strong { flex: 1; line-height: 1.45; }
.qz-verdict { flex: none; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.qz-result.is-right { border-left: 4px solid var(--good); }
.qz-result.is-right .qz-num { background: var(--good); }
.qz-result.is-right .qz-verdict { background: var(--good-bg); color: var(--good); }
.qz-result.is-wrong { border-left: 4px solid var(--bad); }
.qz-result.is-wrong .qz-num { background: var(--bad); }
.qz-result.is-wrong .qz-verdict { background: var(--bad-bg); color: var(--bad); }
.qz-your { margin: 10px 0 0 42px; font-size: .9rem; }
.qz-why { margin: 6px 0 0 42px; padding: 10px 12px; border-radius: 10px; font-size: .86rem; color: var(--ink-2); background: var(--bg); }

@media (max-width: 860px) {
  .qz-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .qz-hero h1 { font-size: 1.3rem; }
  .qz-ring { justify-self: start; }
  .qz-bar-top { flex-direction: column; align-items: stretch; gap: 8px; }
  .qz-choices { grid-template-columns: 1fr; }
  .qz-q { padding: 16px 14px; }
  .qz-your, .qz-why { margin-left: 0; }
  .qz-submit { bottom: 8px; }
  .qz-go { width: 100%; }
}

/* ---------- candidate: passed, waiting for the contract ---------- */
.wait-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 28px 32px; border-radius: 20px; color: #CFCBC6; background: radial-gradient(560px 280px at 100% 0%, rgba(18,128,90,.4), transparent 65%), var(--charcoal-900); }
.wait-hero h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.wait-hero p { color: #B3AEA8; max-width: 640px; margin: 0; }
.wait-hero strong { color: #fff; }
.wait-badge { width: 112px; height: 112px; border-radius: 28px; transform: rotate(45deg); display: grid; place-items: center; background: linear-gradient(135deg, #12805A, #0B5E42); box-shadow: 0 0 0 8px rgba(18,128,90,.18); }
.wait-badge > * { transform: rotate(-45deg); }
.wait-badge span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: #fff; margin-top: -14px; }
.wait-badge small { position: absolute; margin-top: 30px; margin-left: 30px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #BBF7D0; font-weight: 700; }
.wait-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.wait-steps > div { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.wait-steps > div > span { grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: var(--muted); background: var(--line-2); }
.wait-steps small { color: var(--muted); font-size: .8rem; }
.wait-steps .is-done { border-color: var(--good-line); background: var(--good-bg); }
.wait-steps .is-done > span { background: var(--good); color: #fff; }
.wait-steps .is-now { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-50); }
.wait-pulse { position: relative; background: var(--orange) !important; }
.wait-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: wait-ring 1.6s ease-out infinite; }
@keyframes wait-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
@media (max-width: 860px) { .wait-hero { grid-template-columns: 1fr; padding: 24px 18px; justify-items: start; } .wait-steps { grid-template-columns: 1fr; } }

/* ---------- branded confirmation dialog ---------- */
.ax-dialog { padding: 0; border: 0; border-radius: 22px; width: min(460px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(20,20,20,.35); }
.ax-dialog::backdrop { background: rgba(20,20,20,.55); backdrop-filter: blur(3px); }
.ax-dialog[open] { animation: ax-in .22s cubic-bezier(.2,.9,.3,1.2); }
.ax-dialog[open]::backdrop { animation: ax-fade .2s ease; }
@keyframes ax-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ax-fade { from { opacity: 0; } to { opacity: 1; } }
.ax-box { position: relative; overflow: hidden; padding: 30px 28px 22px; text-align: center; }
.ax-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ax, var(--orange)); }
.ax-dialog[data-tone="danger"] { --ax: var(--bad); }
.ax-dialog[data-tone="good"] { --ax: var(--good); }
.ax-icon { width: 64px; height: 64px; margin: 4px auto 16px; display: grid; place-items: center; }
.ax-icon::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 12px; transform: rotate(45deg); background: var(--ax, var(--orange)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--ax, var(--orange)) 15%, transparent); }
.ax-icon span { position: relative; font-size: 1.4rem; font-weight: 800; color: #fff; }
.ax-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.ax-msg { margin: 0 auto; max-width: 360px; color: var(--ink-2); line-height: 1.55; }
.ax-detail:empty { display: none; }
.ax-detail { margin-top: 16px; text-align: left; }
.ax-actions { display: flex; gap: 10px; margin-top: 22px; }
.ax-actions .btn { flex: 1; padding: 11px 16px; }
.btn.danger-solid { background: var(--bad); color: #fff; }
.btn.danger-solid:hover { background: #A32F23; }
.ax-quiz { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: var(--good-bg); border: 1px solid var(--good-line); }
.ax-quiz-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #fff; box-shadow: inset 0 0 0 6px var(--good); }
.ax-quiz-ring strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--good); line-height: 1; }
.ax-quiz-ring span { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ax-quiz ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: .84rem; color: var(--ink-2); }
@media (max-width: 480px) { .ax-actions { flex-direction: column-reverse; } .ax-quiz { grid-template-columns: 1fr; justify-items: center; } }
.dk-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.dk-grid.is-compact .dk-creds { grid-template-columns: 1fr; }
.dk-grid.is-compact .dk-cred code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) { .dk-grid.is-compact { grid-template-columns: 1fr; } }

/* ---------- candidate step 4: the agreement ---------- */
.ag-hero { background: radial-gradient(620px 320px at 100% 0%, rgba(255,127,23,.22), transparent 62%), radial-gradient(500px 260px at 0% 100%, rgba(18,128,90,.25), transparent 60%), var(--charcoal-900); }
.ag-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; max-width: 520px; }
.ag-date { display: grid; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.ag-date span { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-400); }
.ag-date strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: #fff; line-height: 1.2; margin-top: 2px; }
.ag-date b { color: #E6E3DF; font-weight: 600; }
.ag-date small { color: var(--charcoal-400); font-size: .76rem; margin-top: 2px; }
.ag-date.is-start { border-color: rgba(110,231,183,.35); background: rgba(18,128,90,.18); }
.ag-date.is-start small { color: #6EE7B7; font-weight: 600; }
.ag-date.is-due { border-color: rgba(255,127,23,.35); background: rgba(255,127,23,.1); }
.ag-date.is-due small { color: var(--orange); font-weight: 600; }
.ag-seal { border-color: rgba(255,127,23,.4) !important; background: rgba(255,127,23,.1) !important; }
.ag-seal span { color: var(--orange) !important; }
.ag-linked a { color: var(--orange); }
.ag-schedule { background: #FCFBF9; border-style: dashed; }
.ag-schedule .em-num { background: var(--orange); color: var(--charcoal-900); font-size: .78rem; }
.ag-countersign { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; background: var(--charcoal-900); color: #E6E3DF; }
.ag-countersign strong { display: block; color: #fff; }
.ag-countersign small { color: var(--charcoal-400); }
.ag-stamp { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: var(--charcoal-900); background: var(--orange); box-shadow: 0 0 0 4px rgba(255,127,23,.25); }
.ag-signed-bar { margin-top: 0; }
@media (max-width: 860px) { .ag-dates { grid-template-columns: 1fr; } }

/* ---------- weekly allowance settings ---------- */
.al-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 20px; color: #CFCBC6; background: radial-gradient(600px 300px at 100% 0%, rgba(255,127,23,.25), transparent 65%), var(--charcoal-900); }
.al-hero h1 { color: var(--orange); font-size: 2.4rem; margin: 0 0 6px; }
.al-hero h1 small { font-size: 1rem; color: #fff; font-weight: 500; }
.al-hero p { color: #B3AEA8; max-width: 640px; margin: 0; }
.al-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.al-chips span { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.al-week { display: grid; gap: 2px; padding: 16px 18px; min-width: 220px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.al-week > span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal-400); }
.al-week strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1.1; }
.al-week strong small { font-size: 1rem; color: var(--charcoal-400); }
.al-week > small { color: var(--charcoal-400); margin-bottom: 8px; }
.al-grid { width: 100%; border-collapse: separate; border-spacing: 6px; }
.al-grid th { text-align: left; font-size: .8rem; font-weight: 650; white-space: nowrap; padding: 4px 6px; }
.al-grid thead th { font-weight: 600; }
.al-grid tbody th small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.al-grid td { padding: 0; }
.al-grid input { width: 100%; min-width: 52px; text-align: center; font: inherit; font-weight: 700; font-size: 1rem; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.al-grid input:focus { outline: none; border-color: var(--orange); box-shadow: var(--focus); background: #fff; }
.al-grid td.is-own input { background: color-mix(in srgb, var(--pc) 12%, #fff); border-color: color-mix(in srgb, var(--pc) 55%, #fff); box-shadow: inset 0 -3px 0 var(--pc); }
.al-grid tr.is-all th { color: var(--orange-700); }
.al-grid tr.is-all input { border-style: dashed; }
.al-cover-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.al-steps { display: grid; gap: 10px; }
.al-steps > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--orange-50); border: 1px solid var(--orange-100); }
.al-steps span { width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; color: var(--charcoal-900); background: var(--orange); border-radius: 8px; }
.al-steps p { margin: 0; font-size: .88rem; }
.al-save { position: sticky; bottom: 12px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px 18px; border-radius: 16px; color: #D9D6D2; background: var(--charcoal-900); box-shadow: 0 12px 30px rgba(31,31,31,.25); flex-wrap: wrap; }
.al-save > div { display: grid; gap: 2px; max-width: 760px; }
.al-save strong { color: #fff; }
.al-save small { color: var(--charcoal-400); }
@media (max-width: 860px) { .al-hero { grid-template-columns: 1fr; padding: 22px 18px; } .al-cover-grid { grid-template-columns: 1fr; } .bottom-nav ~ * .al-save { bottom: 72px; } }
.wk-cover { margin-top: 10px; border-radius: 12px; border: 1px dashed var(--orange-200); background: var(--orange-50); }
.wk-cover summary, .wk-cover.is-on { display: flex; gap: 10px; align-items: center; padding: 10px 12px; list-style: none; cursor: pointer; }
.wk-cover summary::-webkit-details-marker { display: none; }
.wk-cover summary > span, .wk-cover.is-on > span { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-weight: 800; background: var(--orange); color: var(--charcoal-900); }
.wk-cover strong { display: block; font-size: .86rem; }
.wk-cover small { color: var(--muted); font-size: .76rem; }
.wk-cover.is-on { border-style: solid; border-color: var(--good-line); background: var(--good-bg); cursor: default; }
.wk-cover.is-on > span { background: var(--good); color: #fff; }
.wk-cover-list { padding: 0 12px 8px; }
.al-targets { display: grid; gap: 10px; }
.al-target { display: grid; grid-template-columns: 1fr auto 130px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--pc); background: #fff; cursor: text; }
.al-target:focus-within { border-color: var(--orange); box-shadow: var(--focus); border-left-color: var(--pc); }
.al-target-name { display: grid; gap: 2px; }
.al-target-name small { color: var(--muted); font-size: .76rem; padding-left: 15px; }
.al-target-input { display: flex; align-items: center; gap: 8px; }
.al-target-input input { width: 76px; text-align: center; font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 6px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.al-target-input input:focus { outline: none; background: #fff; border-color: var(--orange); }
.al-target-input b { font-size: .78rem; font-weight: 600; color: var(--muted); }
.al-target-cover { font-size: .8rem; color: var(--muted); text-align: right; }
.al-target-cover strong { font-size: 1rem; color: var(--orange-700); }
@media (max-width: 560px) { .al-target { grid-template-columns: 1fr auto; } .al-target-cover { grid-column: 1 / -1; text-align: left; } }

/* ---------- verification queue ---------- */
.vq-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 12px; flex-wrap: wrap; }
.vq-head h2 { margin: 0 0 4px; }
.vq-head p { margin: 0; max-width: 620px; }
.vq-legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.vq-legend li { font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.vq-card { display: grid; grid-template-columns: 26px 1.3fr 1fr 1.2fr; gap: 16px; align-items: start; padding: 16px 18px; margin-bottom: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); box-shadow: var(--shadow); }
.vq-card.is-late { border-left-color: var(--bad); }
.vq-card.is-dup { border-left-color: var(--charcoal-300); background: #FBFAF8; }
.vq-pick { padding-top: 2px; }
.vq-what { display: grid; gap: 4px; min-width: 0; }
.vq-notes { margin: 2px 0 0; font-size: .86rem; color: var(--ink-2); font-style: italic; }
.vq-call { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.vq-label { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vq-call small { color: var(--muted); }
.vq-phone { margin-top: 4px; font-weight: 700; font-size: 1rem; color: var(--good); }
.vq-tries { color: var(--warn) !important; font-weight: 600; }
.vq-act { display: grid; gap: 8px; }
.vq-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.vq-buttons .btn { flex: 1; }
.vq-bulk { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--charcoal-900); color: #fff; box-shadow: 0 12px 30px rgba(31,31,31,.25); }
.vq-bulk .input { flex: 1; min-width: 200px; }
.vq-bulk label { display: flex; gap: 6px; align-items: center; }
@media (max-width: 1100px) { .vq-card { grid-template-columns: 26px 1fr 1fr; } .vq-act { grid-column: 2 / -1; } }
@media (max-width: 700px) { .vq-card { grid-template-columns: 26px 1fr; } .vq-call, .vq-act { grid-column: 2; } }
.late-form { display: grid; gap: 6px; margin-top: 6px; }
.late-form .input { padding: 6px 8px; font-size: .82rem; }

/* ---------- client pages (demo confirmation and invitation replies, no sign-in) ---------- */
.cx { background: radial-gradient(1200px 400px at 50% -120px, var(--orange-50), transparent 70%), var(--bg); }
.cx-secure { font-size: .78rem; color: var(--muted); background: var(--line-2); padding: 5px 10px; border-radius: 999px; }
.cx-main { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 28px 16px 48px; }
.cx-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px -24px rgba(31,31,31,.25); padding: 28px; }
.cx-center { text-align: center; }
.cx-intro h1, .cx-center h1 { font-size: 1.55rem; line-height: 1.25; margin: 6px 0 8px; letter-spacing: -.01em; }
.cx-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.cx-lead { color: var(--ink-2); margin: 0 0 4px; }
.cx-ticket { display: grid; grid-template-columns: 1fr 1.3fr; margin: 20px 0 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.cx-ticket-product { background: var(--charcoal-900); color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; position: relative; }
.cx-ticket-product::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; }
.cx-ticket-product .cx-eyebrow { color: var(--orange); }
.cx-ticket-product strong { font-size: 1.15rem; }
.cx-ticket-product span:last-child { color: var(--charcoal-300); font-size: .88rem; }
.cx-ticket-facts { margin: 0; padding: 12px 18px; display: flex; flex-direction: column; gap: 8px; background: #fff; border-left: 2px dashed var(--line); }
.cx-ticket-facts dt { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.cx-ticket-facts dd { margin: 0; font-weight: 650; display: flex; align-items: center; gap: 7px; word-break: break-word; }
.cx-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--charcoal-900); display: inline-grid; place-items: center; font-size: .75rem; font-weight: 800; flex: none; }
.cx-form { margin-top: 18px; }
.cx-q { border: 0; margin: 0; padding: 16px 0; border-top: 1px solid var(--line-2); }
.cx-q legend { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 0; }
.cx-num { width: 24px; height: 24px; border-radius: 50%; background: var(--orange-50); color: var(--orange-700); box-shadow: inset 0 0 0 1px var(--orange-100); display: inline-grid; place-items: center; font-size: .8rem; }
.cx-choices { display: grid; gap: 10px; }
.cx-choices.two { grid-template-columns: 1fr 1fr; }
.cx-choices.three { grid-template-columns: repeat(3, 1fr); }
.cx-choice { position: relative; cursor: pointer; }
.cx-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cx-choice > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 13px 14px; border: 1.5px solid #D9D4CE; border-radius: 12px; transition: border-color .15s, background .15s, box-shadow .15s, transform .1s; }
.cx-choice b { font-size: .92rem; }
.cx-choice small { color: var(--muted); font-size: .78rem; }
.cx-choice:hover > span { border-color: var(--orange-200); }
.cx-choice input:focus-visible + span { box-shadow: var(--focus); }
.cx-choice input:checked + span { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px var(--orange-100); }
.cx-choice.good input:checked + span { border-color: var(--good); background: var(--good-bg); box-shadow: 0 0 0 3px var(--good-line); }
.cx-choice.bad input:checked + span { border-color: var(--bad); background: var(--bad-bg); box-shadow: 0 0 0 3px var(--bad-line); }
.cx-choice:active > span { transform: scale(.98); }
.cx-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.cx-stars input { position: absolute; opacity: 0; pointer-events: none; }
.cx-stars label { font-size: 2.3rem; line-height: 1; color: #E2DDD7; cursor: pointer; transition: color .12s, transform .12s; }
.cx-stars label:hover, .cx-stars label:hover ~ label, .cx-stars input:checked ~ label { color: var(--orange); }
.cx-stars label:hover { transform: scale(1.12); }
.cx-stars input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.cx-star-hint { min-height: 1.2em; margin: 2px 0 0; font-size: .85rem; font-weight: 600; color: var(--orange-700); }
.cx-stars-static { font-size: 1.8rem; letter-spacing: 3px; color: var(--orange); margin: 6px 0; }
.cx-label { display: block; font-weight: 600; font-size: .88rem; margin: 10px 0 5px; }
.cx-last { border-top: 1px solid var(--line-2); padding-top: 8px; }
.cx-submit { margin-top: 18px; padding: 13px 18px; font-size: 1rem; border-radius: 12px; }
.cx-form.is-no .cx-submit { background: var(--charcoal-900); color: #fff; }
.cx-fine { font-size: .78rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.cx-error, .cx-field-error { color: var(--bad); font-size: .84rem; margin: 8px 0 0; }
.cx-error { background: var(--bad-bg); padding: 10px 12px; border-radius: 10px; }
.cx-seal { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--orange-50); color: var(--orange-700); box-shadow: 0 0 0 8px var(--orange-50), inset 0 0 0 2px var(--orange-100); }
.cx-seal.good { background: var(--good-bg); color: var(--good); box-shadow: 0 0 0 8px rgba(18,128,90,.07), inset 0 0 0 2px var(--good-line); animation: cx-pop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes cx-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cx-next { margin: 18px auto 0; max-width: 440px; text-align: left; background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.cx-next p { margin: 4px 0 0; color: var(--ink-2); }
.cx-quote { background: var(--orange-50); border-radius: 12px; padding: 12px 14px; font-style: italic; color: var(--ink-2); margin: 14px 0 0; }
@media (max-width: 560px) {
  .cx-card { padding: 20px 16px; border-radius: 16px; }
  .cx-ticket { grid-template-columns: 1fr; }
  .cx-ticket-product::after { display: none; }
  .cx-ticket-facts { border-left: 0; border-top: 2px dashed var(--line); }
  .cx-choices.two, .cx-choices.three { grid-template-columns: 1fr; }
  .cx-secure { display: none; }
}

/* lead page: invitations and client confirmations */
.inv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inv { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.inv-date { text-align: center; border-radius: 10px; background: var(--charcoal-900); color: #fff; padding: 6px 0; line-height: 1.1; }
.inv-date b { display: block; font-size: 1.25rem; }
.inv-date small { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }
.inv-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cc-box { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--good-bg); font-size: .85rem; }
.cc-box.bad { background: var(--bad-bg); }
.cc-box .stars-inline { color: var(--orange); letter-spacing: 1px; }
.cc-wait { margin-top: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.stars-inline { color: var(--orange); letter-spacing: 1px; }
.badge.interest-ready { background: var(--good-bg); color: var(--good); }
.badge.interest-interested { background: var(--orange-50); color: var(--orange-700); }
.badge.interest-not_now { background: var(--line-2); color: var(--ink-2); }
.mode-radios { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 560px) { .inv { grid-template-columns: 52px 1fr; } .inv-actions { grid-column: 1 / -1; justify-content: flex-start; } }
ul.plain { list-style: none; margin: 0; padding: 0; }
#invite details > summary { list-style: none; display: inline-flex; }
#invite details > summary::-webkit-details-marker { display: none; }
#invite details[open] > summary { display: none; }
.cx-q legend { float: left; width: 100%; }
.cx-q legend + * { clear: both; }

/* agent dashboard before the start date */
.gr-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 30px 32px; border-radius: 20px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(255,127,23,.35), transparent 60%), linear-gradient(135deg, var(--charcoal-900), var(--charcoal-800)); box-shadow: var(--shadow); overflow: hidden; }
.gr-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.gr-hero h1 { color: #fff; font-size: 1.7rem; line-height: 1.25; margin: 8px 0 10px; max-width: 640px; }
.gr-hero p { color: var(--charcoal-300); margin: 0; max-width: 620px; }
.gr-hero p strong { color: #fff; }
.btn.ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.btn.ghost-light:hover { background: rgba(255,255,255,.16); }
.gr-countdown { text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 22px; min-width: 190px; }
.gr-cd-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal-300); }
.gr-cd-date { margin: 10px auto; width: 112px; border-radius: 14px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.gr-cd-date small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 0; }
.gr-cd-date small:first-child { background: var(--orange); color: var(--charcoal-900); }
.gr-cd-date b { display: block; font-size: 2.6rem; line-height: 1; padding: 6px 0 2px; }
.gr-cd-date small:last-child { color: var(--muted); padding-bottom: 8px; }
.gr-cd-days { font-size: .9rem; color: var(--charcoal-300); }
.gr-cd-days b { color: var(--orange); font-size: 1.2rem; }
.gr-bar, .gr-mini { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin: 2px 0 14px; }
.gr-mini { height: 5px; margin: 6px 0 0; max-width: 220px; }
.gr-bar span, .gr-mini span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-600)); }
.gr-list { list-style: none; margin: 0; padding: 0; }
.gr-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.gr-list li:first-child { border-top: 0; }
.gr-tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--orange-50); color: var(--orange-700); box-shadow: inset 0 0 0 1.5px var(--orange-200); }
.gr-list li.is-done .gr-tick { background: var(--good); color: #fff; box-shadow: none; }
.gr-list li.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.gr-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gr-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 12px 0; }
.gr-target { border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; background: linear-gradient(180deg, #fff, var(--bg)); }
.gr-target b { display: block; font-size: 1.6rem; color: var(--orange-700); line-height: 1.1; }
.gr-target span { font-size: .78rem; color: var(--ink-2); }
.gr-meet { border-top: 4px solid var(--orange); }
.gr-meet-when { font-size: 1rem; margin: 6px 0 8px; }
.gr-meet-when b { font-size: 1.35rem; }
.gr-agenda { padding-left: 18px; color: var(--ink-2); }
.mb0 { margin-bottom: 0; }
@media (max-width: 760px) {
  .gr-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .gr-hero h1 { font-size: 1.35rem; }
  .gr-countdown { display: flex; align-items: center; gap: 14px; text-align: left; min-width: 0; }
  .gr-cd-date { margin: 0; width: 84px; }
  .gr-cd-date b { font-size: 2rem; }
  .gr-list li { grid-template-columns: 34px 1fr; }
  .gr-list li > .btn { grid-column: 2; justify-self: start; }
}

/* weekly report */
.wr-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 8px; }
.wr-numbers div { border-radius: 12px; background: var(--bg); padding: 10px; text-align: center; }
.wr-numbers b { display: block; font-size: 1.4rem; color: var(--orange-700); line-height: 1.1; }
.wr-numbers span { font-size: .72rem; color: var(--muted); }
.wr-read h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-700); margin: 14px 0 4px; }
.wr-read p { margin: 0; }
.wr-empty { text-align: center; padding: 40px 24px; max-width: 640px; margin: 0 auto; }
.wr-empty-icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: var(--orange-50); }
@media (max-width: 560px) { .wr-numbers { grid-template-columns: repeat(2, 1fr); } }

/* lead form */
.lf { display: flex; flex-direction: column; gap: 14px; }
.lf-sec { padding: 20px 22px; }
.lf-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.lf-head h2 { margin: 0; font-size: 1.05rem; }
.lf-head p { margin: 2px 0 0; }
.lf-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--charcoal-900); color: var(--orange); }
.lf-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.lf-product { position: relative; cursor: pointer; }
.lf-product input { position: absolute; opacity: 0; pointer-events: none; }
.lf-product > span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 14px 12px; border: 1.5px solid #D9D4CE; border-radius: 14px; border-top: 4px solid var(--chip); transition: border-color .15s, box-shadow .15s, background .15s; }
.lf-product b { font-size: .9rem; }
.lf-product small { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.lf-product:hover > span { border-color: var(--chip); }
.lf-product input:focus-visible + span { box-shadow: var(--focus); }
.lf-product input:checked + span { border-color: var(--chip); background: color-mix(in srgb, var(--chip) 7%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--chip) 22%, transparent); }
.lf-product input:checked + span b::after { content: " ✓"; color: var(--chip); }
.lf-products.has-error .lf-product > span { border-color: var(--bad-line); }
.lf-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 4px 2px 10px; }
.field[hidden] { display: none; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); align-items: center; }
.filters .input[type=search] { flex: 1 1 220px; }
.filters select.input { flex: 0 1 170px; min-width: 130px; }

/* ---------- team meetings ---------- */
.mtg-next, .mtg-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px 26px; border-radius: 20px; color: #fff; background: radial-gradient(500px 260px at 100% 0%, rgba(255,127,23,.32), transparent 60%), linear-gradient(135deg, var(--charcoal-900), var(--charcoal-800)); box-shadow: var(--shadow); }
.mtg-hero.cancelled { background: linear-gradient(135deg, #3a3a3a, #2b2b2b); }
.mtg-hero.cancelled h1 { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.4); }
.mtg-next h2, .mtg-hero h1 { color: #fff; margin: 4px 0 4px; font-size: 1.45rem; line-height: 1.25; }
.mtg-next h2 a { color: #fff; }
.mtg-next p, .mtg-hero p { margin: 0; color: var(--charcoal-300); }
.mtg-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.mtg-live { color: #4ADE80; animation: mtg-pulse 1.6s ease-in-out infinite; }
@keyframes mtg-pulse { 50% { opacity: .45; } }
.mtg-date-tile { width: 84px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 12px 26px -12px rgba(0,0,0,.6); }
.mtg-date-tile small { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; }
.mtg-date-tile small:first-child { background: var(--orange); color: var(--charcoal-900); }
.mtg-date-tile b { display: block; font-size: 2.3rem; line-height: 1; padding: 6px 0 0; }
.mtg-date-tile small:last-child { color: var(--muted); padding-bottom: 8px; }
.mtg-next-cta, .mtg-hero-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.mtg-tools { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 330px; }
.mtg-tools form { display: contents; }
.mtg-rsvp-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); margin: 12px 0 6px; max-width: 460px; }
.mtg-rsvp-bar.light { background: var(--line-2); max-width: none; margin: 0 0 12px; }
.mtg-rsvp-bar span { min-width: 0; }
.mtg-rsvp-bar .yes { background: #22C55E; } .mtg-rsvp-bar .maybe { background: var(--orange); }
.mtg-rsvp-bar .no { background: #EF4444; } .mtg-rsvp-bar .wait { background: transparent; }
.mtg-rsvp-legend { font-size: .82rem; } .mtg-rsvp-legend b { color: #fff; }
.mtg-reply-inline, .mtg-reply { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.mtg-reply span { font-size: .82rem; color: var(--charcoal-300); margin-right: 4px; }
.mtg-reply-btn { font: inherit; font-size: .84rem; font-weight: 650; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.mtg-reply-btn:hover { background: rgba(255,255,255,.14); }
.mtg-reply-btn.is-on.yes { background: #22C55E; border-color: #22C55E; color: #0b2a17; }
.mtg-reply-btn.is-on.maybe { background: var(--orange); border-color: var(--orange); color: var(--charcoal-900); }
.mtg-reply-btn.is-on.no { background: #EF4444; border-color: #EF4444; }
.mtg-empty { text-align: center; padding: 34px 20px; }
.mtg-empty-icon { font-size: 2rem; margin-bottom: 6px; }
.mtg-upcoming { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.mtg-mini { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.mtg-mini:hover { text-decoration: none; border-color: var(--orange-200); transform: translateY(-1px); }
.mtg-mini > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mtg-mini small { font-size: .76rem; color: var(--muted); }
.mtg-mini-date { flex: none; width: 46px; text-align: center; border-radius: 10px; background: var(--orange-50); color: var(--orange-700); font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 4px 0; }
.mtg-mini-date b { display: block; font-size: 1.25rem; line-height: 1.1; }
.mtg-r-yes { background: var(--good-bg); color: var(--good); } .mtg-r-maybe { background: var(--orange-50); color: var(--orange-700); }
.mtg-r-no { background: var(--bad-bg); color: var(--bad); } .mtg-r-waiting { background: var(--line-2); color: var(--muted); }
small.mtg-r-yes, small.mtg-r-no, small.mtg-r-maybe, small.mtg-r-waiting, small.mtg-r-None { background: none; font-weight: 600; }
.mtg-actions, .mtg-decisions, .mtg-register { list-style: none; margin: 0; padding: 0; }
.mtg-actions li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line-2); }
.mtg-actions li:first-child { border-top: 0; }
.mtg-actions li > div { display: flex; flex-direction: column; gap: 2px; }
.mtg-actions small { color: var(--muted); font-size: .76rem; }
.mtg-actions li.is-overdue small b { color: var(--bad); }
.mtg-check { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #CBC5BE; background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; transition: border-color .12s, background .12s; }
.mtg-check:hover { border-color: var(--good); }
.mtg-check.on { background: var(--good); border-color: var(--good); }
.mtg-check.on::after, .mtg-check:hover::after { content: "✓"; color: var(--good); font-size: .8rem; font-weight: 800; }
.mtg-check.on::after { color: #fff; }
.mtg-decisions li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.mtg-decisions li:first-child { border-top: 0; }
.mtg-decisions small { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.mtg-dec-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.mtg-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.mtg-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-align: center; }
.mtg-stats b { display: block; font-size: 1.35rem; line-height: 1.1; }
.mtg-stats span { font-size: .74rem; color: var(--muted); }
.mtg-agenda { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.mtg-agenda li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-top: 1px dashed var(--line); }
.mtg-agenda li:first-child { border-top: 0; }
.mtg-agenda li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--charcoal-900); color: var(--orange); }
.mtg-composer { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.mtg-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.mtg-pill { position: relative; cursor: pointer; }
.mtg-pill input { position: absolute; opacity: 0; pointer-events: none; }
.mtg-pill span { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; background: #fff; border: 1px solid #D9D4CE; color: var(--ink-2); }
.mtg-pill input:focus-visible + span { box-shadow: var(--focus); }
.mtg-pill.discussion input:checked + span { background: var(--charcoal-900); border-color: var(--charcoal-900); color: #fff; }
.mtg-pill.decision input:checked + span { background: var(--good); border-color: var(--good); color: #fff; }
.mtg-pill.action input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--charcoal-900); }
.mtg-composer-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mtg-composer-row label { display: flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; }
.mtg-composer-row select, .mtg-composer-row input { font: inherit; font-size: .85rem; padding: 6px 8px; border: 1px solid #D9D4CE; border-radius: 8px; background: #fff; }
.mtg-composer .mtg-action-only { display: none; }
.mtg-composer.is-action .mtg-action-only { display: flex; }
.mtg-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mtg-col h3, .mtg-sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.mtg-col.decision h3 { color: var(--good); } .mtg-col.action h3 { color: var(--orange-700); }
.mtg-sub { margin-top: 18px; color: var(--ink-2); }
.mtg-note { position: relative; border-radius: 12px; padding: 10px 30px 10px 12px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); }
.mtg-note p { margin: 0; }
.mtg-note.decision { border-left: 4px solid var(--good); background: linear-gradient(90deg, var(--good-bg), #fff 60%); }
.mtg-note.action { border-left: 4px solid var(--orange); }
.mtg-note.action.is-done p { text-decoration: line-through; color: var(--muted); }
.mtg-note.action.is-overdue { border-left-color: var(--bad); }
.mtg-note.action.is-overdue b { color: var(--bad); }
.mtg-note small { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .76rem; color: var(--muted); }
.mtg-note-row { display: flex; gap: 10px; align-items: flex-start; }
.mtg-owner, .mtg-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--charcoal-900); color: var(--orange); display: inline-grid; place-items: center; font-size: .68rem; font-weight: 800; flex: none; }
.mtg-avatar { width: 30px; height: 30px; font-size: .8rem; background: var(--orange-50); color: var(--orange-700); box-shadow: inset 0 0 0 1px var(--orange-100); }
.mtg-del { position: absolute; top: 6px; right: 6px; }
.mtg-timeline li { position: relative; padding-right: 26px; }
.mtg-timeline li p { margin: 0; }
.mtg-del button { border: 0; background: none; color: var(--muted); font-size: 1rem; cursor: pointer; line-height: 1; padding: 2px 5px; border-radius: 6px; opacity: .5; }
.mtg-del button:hover { opacity: 1; background: var(--bad-bg); color: var(--bad); }
.mtg-register li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.mtg-register li:first-child { border-top: 0; }
.mtg-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mtg-who small { font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtg-present { display: grid; place-items: center; }
.mtg-kinds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mtg-kinds.two { grid-template-columns: repeat(2, 1fr); } .mtg-kinds.three { grid-template-columns: repeat(3, 1fr); }
.mtg-kind { position: relative; cursor: pointer; }
.mtg-kind input { position: absolute; opacity: 0; pointer-events: none; }
.mtg-kind span { display: block; text-align: center; padding: 12px 8px; border: 1.5px solid #D9D4CE; border-radius: 12px; font-weight: 650; font-size: .88rem; transition: border-color .12s, background .12s; }
.mtg-kind small { color: var(--muted); font-weight: 500; }
.mtg-kind:hover span { border-color: var(--orange-200); }
.mtg-kind input:focus-visible + span { box-shadow: var(--focus); }
.mtg-kind input:checked + span { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px var(--orange-100); }
.mtg-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin-top: 10px; }
.mtg-people[hidden] { display: none; }
.mtg-person { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; cursor: pointer; }
.mtg-person:has(input:checked) { border-color: var(--orange); background: var(--orange-50); }
.mtg-dash { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: linear-gradient(90deg, var(--orange-50), #fff); border: 1px solid var(--orange-100); margin-bottom: 14px; }
.mtg-dash .mtg-mini-date { background: var(--charcoal-900); color: var(--orange); }
.mtg-dash > div { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .mtg-next, .mtg-hero { grid-template-columns: auto 1fr; }
  .mtg-next-cta, .mtg-hero-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .mtg-tools { justify-content: flex-start; max-width: none; }
  .mtg-stats { grid-template-columns: repeat(3, 1fr); }
  .mtg-board { grid-template-columns: 1fr; }
  .mtg-kinds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mtg-next, .mtg-hero { padding: 18px 16px; gap: 14px; }
  .mtg-date-tile { width: 64px; } .mtg-date-tile b { font-size: 1.7rem; }
  .mtg-kinds.three { grid-template-columns: 1fr; }
  .mtg-dash { flex-wrap: wrap; }
}

/* sign-in: the front door of partners.aniru.co.ke */
.auth-pitch h1 { font-size: 2.3rem; line-height: 1.15; margin: 6px 0 18px; max-width: 520px; }
.auth-flow { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.auth-flow li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: .82rem; font-weight: 600; position: relative; }
.auth-flow li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--orange); color: var(--charcoal-900); }
.auth-flow li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 6px; height: 2px; background: rgba(255,127,23,.6); }
.auth-flow li { animation: auth-glow 6s ease-in-out infinite; }
.auth-flow li:nth-child(2) { animation-delay: 1.2s; } .auth-flow li:nth-child(3) { animation-delay: 2.4s; }
.auth-flow li:nth-child(4) { animation-delay: 3.6s; } .auth-flow li:nth-child(5) { animation-delay: 4.8s; }
@keyframes auth-glow { 0%, 18%, 100% { box-shadow: none; } 8% { box-shadow: 0 0 0 4px rgba(255,127,23,.25); border-color: rgba(255,127,23,.6); } }
@media (prefers-reduced-motion: reduce) { .auth-flow li { animation: none; } }
.auth-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.auth-role { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 4px; }
.auth-role b { color: #fff; }
.auth-role span { font-size: .84rem; color: var(--charcoal-300); line-height: 1.45; }
.auth-hiring { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 16px; border-radius: 14px; background: rgba(255,127,23,.12); border: 1px solid rgba(255,127,23,.35); color: #fff; transition: background .15s, transform .15s; }
.auth-hiring:hover { background: rgba(255,127,23,.2); text-decoration: none; transform: translateY(-1px); }
.auth-hiring span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.auth-hiring small { color: var(--charcoal-300); }
.auth-hiring-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); flex: none; }
.auth-hiring-go { color: var(--orange); font-weight: 800; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.auth-greet { margin: 0 0 4px; font-weight: 700; color: var(--orange-700); font-size: .9rem; }
.auth-card h2 { margin-top: 0; }
.auth-input { position: relative; }
.auth-input > span:first-child { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: .95rem; opacity: .55; pointer-events: none; }
.auth-card .field .auth-input input.input { padding-left: 38px; }   /* beats .field input:not(...) */
.auth-caps { margin: 6px 0 0; font-size: .8rem; font-weight: 600; color: var(--warn); }
.auth-remember { display: flex; gap: 8px; align-items: center; font-size: .88rem; margin: 2px 0 16px; cursor: pointer; }
.auth-submit { padding: 12px 16px; font-size: 1rem; border-radius: 12px; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; color: var(--muted); font-size: .8rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-careers { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: border-color .15s, background .15s; }
.auth-careers:hover { border-color: var(--orange-200); background: var(--orange-50); text-decoration: none; }
.auth-careers span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.auth-careers small { color: var(--muted); }
.auth-careers span:last-child { color: var(--orange-700); font-weight: 800; }
.auth-help { margin-top: 14px; }
.auth-legal { font-size: .76rem; color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .auth-roles { grid-template-columns: 1fr; } .auth-pitch h1 { font-size: 1.9rem; } }

/* password help pages */
.auth-tip { margin: 18px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .84rem; display: flex; flex-direction: column; gap: 3px; color: var(--ink-2); }
.auth-seal { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 12px; background: var(--orange-50); box-shadow: 0 0 0 6px var(--orange-50), inset 0 0 0 2px var(--orange-100); }
.auth-seal.good { background: var(--good-bg); color: var(--good); font-weight: 800; box-shadow: 0 0 0 6px rgba(18,128,90,.07), inset 0 0 0 2px var(--good-line); animation: cx-pop .45s cubic-bezier(.2,1.6,.4,1); }
.auth-seal.warn { background: var(--warn-bg); box-shadow: 0 0 0 6px var(--warn-bg); }
.auth-steps { margin: 16px 0 20px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.pw-rules { list-style: none; margin: -6px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pw-rules li { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); transition: background .15s, color .15s; }
.pw-rules li::before { content: "○ "; }
.pw-rules li.ok { background: var(--good-bg); color: var(--good); }
.pw-rules li.ok::before { content: "✓ "; }
.pw-match { margin: 6px 0 0; font-size: .8rem; font-weight: 600; }
.pw-match.ok { color: var(--good); } .pw-match.bad { color: var(--warn); }


/* ---------- phone navigation: bottom bar + sheets (under 860px) ---------- */
@media (max-width: 860px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; position: fixed; left: 10px; right: 10px;
                bottom: calc(8px + env(safe-area-inset-bottom)); height: 60px; padding: 0 4px; border-radius: 20px;
                background: rgba(31,31,31,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
                box-shadow: 0 12px 30px -8px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06); z-index: 30; }
  .bottom-nav > a, .bottom-nav > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
                border: 0; background: none; font: inherit; color: var(--charcoal-400); font-size: .66rem; font-weight: 650; cursor: pointer;
                -webkit-tap-highlight-color: transparent; }
  .bottom-nav > a:hover { text-decoration: none; color: #fff; }
  .bottom-nav .ico { width: 22px; height: 22px; transition: transform .15s; }
  .bottom-nav > .active { color: var(--orange); }
  .bottom-nav > .active::before { content: ""; position: absolute; top: 5px; width: 34px; height: 30px; border-radius: 12px; background: rgba(255,127,23,.14); z-index: -1; }
  .bottom-nav > a:active .ico, .bottom-nav > button:active .ico { transform: scale(.88); }
  .bottom-nav .fab .ring { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 18px; background: var(--orange);
                color: var(--charcoal-900); box-shadow: 0 8px 20px rgba(255,127,23,.5), 0 0 0 5px var(--bg); transition: transform .2s; }
  .bottom-nav .fab .ico { width: 26px; height: 26px; }
  body.sheet-lock .bottom-nav .fab .ring { transform: rotate(45deg); }
  .bottom-nav .dot { position: absolute; top: 6px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--orange);
                color: var(--charcoal-900); font-size: .6rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--charcoal-900); font-style: normal; }
  .content { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20,20,20,.5); opacity: 0; transition: opacity .2s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; background: #fff;
               border-radius: 24px 24px 0 0; padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%);
               transition: transform .24s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -18px 40px rgba(0,0,0,.25); }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { transform: translateY(0); }
@media (min-width: 640px) { .sheet-panel { max-width: 520px; margin: 0 auto; } }
.sheet-grab { width: 40px; height: 5px; border-radius: 999px; background: var(--line); margin: 4px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h2 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.sheet-head h2 .ico { color: var(--orange-700); }
.sheet-x { border: 0; background: var(--line-2); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); flex: none; }
.sheet-user { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; border-bottom: 1px solid var(--line-2); }
.sheet-user .avatar { width: 42px; height: 42px; font-size: 1rem; }
.sheet-user-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sheet-user-who small { color: var(--muted); font-size: .8rem; }
.sheet-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 8px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px 6px;
        min-height: 82px; border-radius: 16px; background: var(--bg); color: var(--ink); font-size: .76rem; font-weight: 650; line-height: 1.2; }
.tile:hover { text-decoration: none; }
.tile:active { transform: scale(.97); }
.tile .ico { width: 22px; height: 22px; color: var(--orange-700); }
.tile.on { background: var(--orange-50); box-shadow: inset 0 0 0 1.5px var(--orange-200); }
.qa-badge { position: absolute; top: 7px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--orange);
            color: var(--charcoal-900); font-size: .62rem; font-weight: 800; font-style: normal; display: grid; place-items: center; }
.qa { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--bg); color: var(--ink); }
.qa:hover { text-decoration: none; }
.qa:active { transform: scale(.98); }
.qa b { font-size: .86rem; }
.qa-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--orange-700); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.qa-main { margin-bottom: 10px; background: linear-gradient(135deg, var(--charcoal-900), var(--charcoal-800)); color: #fff; }
.qa-main .qa-ico { background: var(--orange); color: var(--charcoal-900); box-shadow: none; }
.qa-main span:last-child { display: flex; flex-direction: column; }
.qa-main small { color: var(--charcoal-300); font-size: .78rem; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa-grid .qa { flex-direction: column; align-items: flex-start; gap: 10px; }
.sheet-install { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 16px;
                 background: linear-gradient(135deg, var(--orange-50), #fff); box-shadow: inset 0 0 0 1px var(--orange-100); }
.sheet-install[hidden] { display: none; }
.sheet-install > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sheet-install small { color: var(--muted); font-size: .76rem; }
.sheet-install-icon img { display: block; border-radius: 11px; }
.sheet-account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-account a, .sheet-account button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 14px;
                 border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.sheet-account a:hover { text-decoration: none; }
.sheet-account button { color: var(--bad); }
.ios-steps { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ios-steps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg); font-size: .9rem; }
.ios-steps li > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal-900); color: var(--orange); font-weight: 800; flex: none; }
.ios-steps .ico { color: #0A84FF; vertical-align: -3px; }
body.sheet-lock { overflow: hidden; }

/* install prompts */
.install-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 12px 12px 14px; border-radius: 16px; color: #fff;
                  background: radial-gradient(300px 120px at 100% 0, rgba(255,127,23,.35), transparent 70%), var(--charcoal-900); box-shadow: var(--shadow); }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 10px; flex: none; }
.install-banner > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.install-banner small { color: var(--charcoal-300); font-size: .76rem; }
.install-x { border: 0; background: none; color: var(--charcoal-400); padding: 4px; cursor: pointer; }
.sidebar-install { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-bottom: 8px; padding: 9px 10px; border-radius: 10px;
                   border: 1px dashed rgba(255,127,23,.45); background: rgba(255,127,23,.08); color: var(--orange); font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; }
.sidebar-install[hidden] { display: none; }
.sidebar-install:hover { background: rgba(255,127,23,.16); }
.auth-install { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 380px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line);
                background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.auth-install[hidden] { display: none; }
.auth-install:hover { border-color: var(--orange-200); background: var(--orange-50); }
.auth-install img { border-radius: 8px; }
.auth-install span { display: flex; flex-direction: column; font-size: .84rem; }
.auth-install small { color: var(--muted); font-size: .74rem; }

/* running as an installed app */
@media (display-mode: standalone) {
  .topbar { padding-top: max(12px, env(safe-area-inset-top)); }
  .auth-main { padding-top: max(40px, env(safe-area-inset-top)); }
  body { overscroll-behavior-y: none; }
}
