/* RotaProof design system: app, sign-in pages and public site. */

:root {
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;

  --brand: #0e7c6b;
  --brand-hover: #0b6a5b;
  --brand-dark: #0a4f45;
  --brand-soft: #e7f5f2;
  --brand-line: #bfe6dd;
  --brand-ring: rgba(14, 124, 107, .22);

  --ok: #067647;    --ok-bg: #ecfdf3;   --ok-line: #abefc6;   --ok-dot: #17b26a;
  --warn: #b54708;  --warn-bg: #fffaeb; --warn-line: #fedf89; --warn-dot: #f79009;
  --bad: #b42318;   --bad-bg: #fef3f2;  --bad-line: #fecdca;  --bad-dot: #f04438;
  --info: #175cd3;  --info-bg: #eff8ff; --info-line: #b2ddff;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 16px 40px -12px rgba(16, 24, 40, .18), 0 4px 10px -4px rgba(16, 24, 40, .06);

  --check-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --chevron-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
img, svg { max-width: 100%; }
svg.icon { flex: none; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--brand-ring); border-radius: 6px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono, .hash { font-family: var(--mono); font-size: 12.5px; }
.tabular { font-variant-numeric: tabular-nums; }
.text-bad { color: var(--bad); font-weight: 600; }
.mt-8 { margin-top: 8px; }
.mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: 16px; }

/* ---------- Banners ---------- */
.test-banner { background: #101828; color: #d0d5dd; font-size: 12.5px; text-align: center; padding: 6px 16px; }
.test-banner b { color: #fff; font-weight: 600; }
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 32px; background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); color: #93370d; font-size: 14px; }
.verify-banner form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #15a08a, var(--brand-dark)); color: #fff; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 20px; padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink-2); border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-white { background: #fff; color: var(--brand-dark); }
.btn-white:hover { background: #f0faf7; color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.btn-lg { padding: 12px 20px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.small-link { font-size: 13px; font-weight: 600; text-decoration: none; }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: calc(100vh - 31px); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px 14px; }
.sidebar .brand { padding: 4px 8px 16px; }
.org-card { margin: 0 2px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.org-card small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.org-card b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 18px 10px 6px; }
.nav a, .nav-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.nav a:hover, .nav-button:hover { background: var(--surface-2); color: var(--ink); }
.nav a svg, .nav-button svg { width: 18px; height: 18px; color: var(--muted); }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.nav a[aria-current="page"] svg { color: var(--brand); }
.sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-foot form { margin: 4px 0 0; }
.account { display: flex; align-items: center; gap: 10px; padding: 6px 8px; min-width: 0; }
.account-text { min-width: 0; }
.account-name, .account-email { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-name { font-weight: 600; font-size: 13.5px; }
.account-email { font-size: 12px; color: var(--muted); }
.main { min-width: 0; }
.topbar { display: none; }
.content { max-width: 1160px; margin: 0 auto; padding: 32px 32px 80px; }
.scrim { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 50; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .app.nav-open .sidebar { transform: none; }
  .app.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(16, 24, 40, .45); z-index: 40; }
  .content { padding: 20px 16px 64px; }
  .verify-banner { padding: 10px 16px; }
}

/* ---------- Page header ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 14px; height: 14px; color: var(--line-strong); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.page-title { font-size: 26px; font-weight: 650; letter-spacing: -.025em; }
.page-head p { margin-top: 6px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.person-head { display: flex; align-items: center; gap: 16px; min-width: 0; }
.head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.section-title h2 { font-size: 17px; font-weight: 600; }

/* ---------- Layout grids ---------- */
.grid-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 1040px) { .grid-main, .grid-side { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-xs); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.card-body { padding: 20px; }
.card-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; background: #fcfcfd; border-radius: 0 0 var(--r) var(--r); }
.card h3 { font-size: 15px; font-weight: 600; }
.card-body > p, .card-body h3 + p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.card.tip { background: var(--surface-2); box-shadow: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Avatars ---------- */
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; letter-spacing: .02em; }
.avatar-lg { width: 52px; height: 52px; font-size: 17px; }
.avatar-square { border-radius: 10px; background: var(--surface-2); color: var(--ink-2); }
.avatar-square svg { width: 18px; height: 18px; }

/* ---------- Exposure + stats ---------- */
.exposure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--bad-line); background: linear-gradient(120deg, #fff 30%, var(--bad-bg)); margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.exposure.is-clear { border-color: var(--ok-line); background: linear-gradient(120deg, #fff 30%, var(--ok-bg)); }
.exposure-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bad); }
.exposure.is-clear .exposure-label { color: var(--ok); }
.exposure-label svg { width: 16px; height: 16px; }
.exposure-value { font-size: clamp(32px, 4.5vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.exposure.is-clear .exposure-value { font-size: 26px; letter-spacing: -.02em; }
.exposure p { color: var(--ink-2); max-width: 62ch; font-size: 14.5px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { padding: 18px 20px; }
.stat-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.stat-label svg { width: 16px; height: 16px; }
.stat-value { font-size: 30px; font-weight: 650; letter-spacing: -.03em; margin-top: 6px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat-alert .stat-value { color: var(--bad); }
@media (max-width: 1040px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.status-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.status-bar span { display: block; height: 100%; }
.seg-ok, .dot-ok { background: var(--ok-dot); }
.seg-due_soon, .dot-due_soon { background: var(--warn-dot); }
.seg-gaps, .dot-gaps { background: var(--bad-dot); }
.seg-expired, .dot-expired { background: #912018; }
.seg-missing, .dot-missing { background: #fda29b; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.legend a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); text-decoration: none; background: var(--surface); }
.legend a:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--ink); }
.legend b { font-variant-numeric: tabular-nums; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: none; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 18px; padding: 2px 9px 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; flex: none; }
.badge-plain::before { display: none; }
.badge-plain { padding-left: 9px; }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge-due_soon, .badge-warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.badge-gaps, .badge-expired, .badge-missing, .badge-bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.badge-new { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.badge-brand { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand-line); }

/* ---------- Lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; }
.grow { flex: 1; min-width: 0; }
.item-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.item-title { font-weight: 600; color: var(--ink); text-decoration: none; }
a.item-title:hover { color: var(--brand); }
.item-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.item-problems { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--bad); }
.item-problems li { position: relative; padding-left: 14px; margin-top: 3px; }
.item-problems li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 999px; background: var(--bad-dot); }
.date-chip { width: 46px; flex: none; text-align: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.date-chip span { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); color: var(--muted); padding: 2px 0; }
.date-chip b { display: block; font-size: 17px; padding: 3px 0 4px; color: var(--ink); font-variant-numeric: tabular-nums; }
.date-chip.is-overdue { border-color: var(--bad-line); }
.date-chip.is-overdue span { background: var(--bad-bg); color: var(--bad); }

/* ---------- Tables ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.select { font: inherit; font-size: 14px; padding: 7px 34px 7px 11px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff var(--chevron-svg) no-repeat right 10px center / 14px; appearance: none; -webkit-appearance: none; color: var(--ink-2); box-shadow: var(--shadow-xs); max-width: 100%; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check-inline input, .checkbox input, .choice input { accent-color: var(--brand); }
.table-card { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: #fcfcfd; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfc; }
.table tr[data-href] { cursor: pointer; }
.row-link { color: var(--ink); font-weight: 600; text-decoration: none; }
.row-link:hover { color: var(--brand); }
.person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cell-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.cell-badges { margin-top: 4px; }
td.chev { width: 1%; text-align: right; color: var(--line-strong); }
td.chev svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  .table-stack td:first-child { display: block; text-align: left; padding-bottom: 8px; }
  .table-stack td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; }
  .table-stack td.chev { display: none; }
}

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 48px 24px; }
.empty-sm { padding: 32px 20px; }
.empty-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.empty-icon svg { width: 22px; height: 22px; }
.empty h3 { font-size: 16px; font-weight: 600; }
.empty p { color: var(--muted); margin: 6px auto 18px; max-width: 44ch; font-size: 14px; }
.empty-sm p { margin-bottom: 0; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--info-line); background: var(--info-bg); color: #1849a9; font-size: 14px; margin-bottom: 16px; }
.alert svg { width: 18px; height: 18px; margin-top: 1px; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.alert-title { font-weight: 600; }
.alert-success { border-color: var(--ok-line); background: var(--ok-bg); color: #085d3a; }
.alert-error { border-color: var(--bad-line); background: var(--bad-bg); color: #912018; }
.alert-warning { border-color: var(--warn-line); background: var(--warn-bg); color: #93370d; }
.alert-compact { padding: 8px 12px; margin: 0; font-size: 13.5px; }

/* ---------- Forms ---------- */
.form-card { max-width: 720px; }
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field input[type=time],
.field input[type=number], .field input[type=url], .field input[type=search], .field select, .field textarea, .input {
  display: block; width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; background: #fff var(--chevron-svg) no-repeat right 12px center / 16px; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.field input[type=file] { font-size: 14px; max-width: 100%; }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.help ul { margin: 4px 0 0; padding-left: 18px; }
.field-error { font-size: 13px; color: var(--bad); margin-top: 6px; font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: #fda29b; }
.has-error input:focus, .has-error select:focus, .has-error textarea:focus { box-shadow: 0 0 0 4px rgba(240, 68, 56, .18); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer; background: #fff; font-size: 14.5px; color: var(--ink-2); transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); color: var(--ink); }
.choice input { margin: 3px 0 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field-group { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fcfcfd; margin-bottom: 20px; }
.field-group .field { margin-bottom: 10px; }
.field-group .field:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Worker detail ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px 24px; margin: 0; }
.facts > div { min-width: 0; }
.facts dt, .facts-list dt { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.facts dd { margin: 3px 0 0; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.span-all { grid-column: 1 / -1; }
.facts-list { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.facts-list dd { margin: 0; font-size: 14px; color: var(--ink); }
.check-card + .check-card { margin-top: 16px; }
.check-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.check-date { font-weight: 600; font-size: 15.5px; }
.subhead { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 22px 0 10px; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fcfcfd; }
.file-icon { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); flex: none; }
.file-icon svg { width: 18px; height: 18px; }
.file-name { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.file-name:hover { color: var(--brand); }
.file-meta { font-size: 12px; color: var(--muted); margin-top: 1px; }
.hash { font-size: 11.5px; }
.upload-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.upload-row input[type=file] { font-size: 13px; max-width: 100%; color: var(--muted); }
.mini-checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.mini-checklist li { position: relative; padding-left: 28px; font-size: 14px; color: var(--ink-2); }
.mini-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 999px; background: var(--brand-soft) var(--check-svg) center / 11px no-repeat; }
.method-guide { margin: 4px 0 12px; }
.method-guide dt { font-weight: 600; font-size: 14px; margin-top: 12px; color: var(--ink); }
.method-guide dd { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.result-card { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); margin-bottom: 20px; }
.kicker-sm { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.result-title { font-size: 24px; margin: 6px 0 10px; letter-spacing: -.02em; }
.result-card p { margin: 12px 0 16px; color: var(--ink-2); font-size: 15px; }

/* ---------- Sign-in pages ---------- */
.auth { min-height: calc(100vh - 31px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.auth-aside { position: relative; overflow: hidden; background: radial-gradient(900px 500px at -20% -20%, rgba(34, 197, 160, .45), transparent 60%), linear-gradient(160deg, #0b5a4f, #062b26); color: #cdeee6; padding: 36px 48px; display: flex; flex-direction: column; }
.auth-aside .brand { color: #fff; }
.auth-aside .brand-mark { background: rgba(255,255,255,.14); }
.auth-pitch { margin: auto 0; max-width: 440px; padding: 40px 0; }
.auth-pitch h2 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #d6f1ea; }
.auth-points .tick { width: 24px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.12); color: #7ce0c7; display: grid; place-items: center; flex: none; }
.auth-points .tick svg { width: 14px; height: 14px; }
.auth-foot { font-size: 12.5px; color: #8fcfc2; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px 32px; background: var(--surface); }
.auth-card { width: 100%; max-width: 420px; margin: auto 0; }
.auth-card h1 { font-size: 28px; font-weight: 650; letter-spacing: -.03em; }
.auth-sub { color: var(--muted); margin: 8px 0 28px; font-size: 15px; }
.auth-alt { margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-legal { margin-top: 32px; font-size: 12.5px; color: var(--muted); }
.auth-legal a { color: var(--muted); text-decoration: none; }
.auth-legal a:hover { color: var(--ink); }
.auth-mobile-brand { display: none; margin-bottom: 32px; }
.auth-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.auth-icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-mobile-brand { display: inline-flex; }
  .auth-main { justify-content: flex-start; padding-top: 32px; }
}

/* ---------- Public site ---------- */
.container { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }
.site { background: var(--surface); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: 64px; position: relative; }
.site-menu { display: flex; align-items: center; flex: 1; gap: 20px; }
.site-nav { display: flex; gap: 2px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; text-decoration: none; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: inherit; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.nav-drop-btn:hover, .nav-drop-btn[aria-current="page"], .nav-drop.is-open .nav-drop-btn { background: var(--surface-2); color: var(--ink); }
.nav-drop-btn svg { transform: rotate(90deg); transition: transform .15s; color: var(--muted); }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(-90deg); }
.nav-panel { display: none; position: absolute; top: calc(100% + 8px); left: -12px; z-index: 50; grid-template-columns: 1fr 1fr; gap: 8px 24px; width: 600px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.nav-drop.is-open .nav-panel { display: grid; }
.nav-panel h4 { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 4px 10px 8px; }
.nav-panel a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 400; }
.nav-panel a:hover { background: var(--surface-2); }
.nav-panel a svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }
.nav-panel b { display: block; font-weight: 600; }
.nav-panel small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.site-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .site-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px 16px 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .site-menu.is-open { display: flex; }
  .site-nav { flex-direction: column; }
  .nav-drop-btn { width: 100%; justify-content: space-between; }
  .nav-panel { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 8px 12px; }
  .site-cta { margin-left: 0; flex-direction: column; align-items: stretch; }
}

.hero { position: relative; overflow: hidden; padding: 80px 0 88px; background: radial-gradient(900px 520px at 90% -10%, #d3f1ea 0%, transparent 60%), radial-gradient(700px 420px at -10% 0%, #eef4ff 0%, transparent 55%), var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 56px 0 64px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid var(--brand-line); padding: 4px 12px 4px 4px; border-radius: 999px; }
.eyebrow .tag { background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; margin-top: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #1aa58e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 15px; height: 15px; color: var(--brand); }

.mock-wrap { position: relative; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -24px rgba(16, 24, 40, .28), 0 0 0 1px rgba(16, 24, 40, .02); overflow: hidden; font-size: 13px; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
@media (max-width: 980px) { .mock { transform: none; } }
.mock-shot img { display: block; width: 100%; height: auto; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.mock-bar i { width: 10px; height: 10px; border-radius: 999px; background: #e4e7ec; }
.mock-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 2px 10px; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-exposure { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--bad-line); background: linear-gradient(120deg, #fff 30%, var(--bad-bg)); }
.mock-exposure small { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bad); }
.mock-exposure b { display: block; font-size: 26px; letter-spacing: -.03em; margin-top: 2px; }
.mock-exposure span { font-size: 12px; color: var(--muted); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-stats div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-stats small { display: block; font-size: 11px; color: var(--muted); }
.mock-stats b { font-size: 18px; letter-spacing: -.02em; }
.mock-list { border: 1px solid var(--line); border-radius: 12px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line); }
.mock-row:first-child { border-top: 0; }
.mock-row .avatar { width: 28px; height: 28px; font-size: 10.5px; }
.mock-row .grow b { display: block; font-size: 12.5px; }
.mock-row .grow small { font-size: 11px; color: var(--muted); }
.mock-row .badge { font-size: 10.5px; padding: 1px 7px; }
.mock-float { position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 13px; }
.mock-float .file-icon { width: 34px; height: 34px; background: var(--brand-soft); border: 0; }
.mock-float b { display: block; font-size: 13.5px; }
.mock-float small { color: var(--muted); }
@media (max-width: 600px) { .mock-float { display: none; } }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--bg); border-block: 1px solid var(--line); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .audience-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
.audience-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.audience-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, var(--brand-soft), var(--surface-2)); border-bottom: 1px solid var(--line); }
.audience-shot img { position: absolute; left: 28px; top: 28px; width: 130%; max-width: none; height: auto; border: 1px solid var(--line); border-radius: 10px 0 0 0; box-shadow: 0 20px 40px -20px rgba(16, 24, 40, .3); }
.audience-shot.is-phone img { left: 50%; width: 50%; transform: translateX(-50%); border: 6px solid #1d2939; border-bottom: 0; border-radius: 26px 26px 0 0; }
.audience-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.audience-body h3 { font-size: 19px; letter-spacing: -.02em; }
.audience-body p { color: var(--ink-2); line-height: 1.6; }
.audience-body .plan-tag { margin-top: auto; }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.section-head h2, .split h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; line-height: 1.12; margin-top: 12px; text-wrap: balance; }
.section-head p, .split .lede { font-size: 17.5px; color: var(--muted); margin-top: 16px; line-height: 1.6; }

.fact-grid, .feature-grid, .steps, .price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .fact-grid, .feature-grid, .steps, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fact-grid, .feature-grid, .steps, .price-grid { grid-template-columns: 1fr; } }
.fact-card, .feature, .step { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.fact-num { font-size: 36px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.fact-num.bad { color: var(--bad); }
.fact-card h3, .feature h3, .step h3 { font-size: 17px; font-weight: 600; margin-top: 12px; letter-spacing: -.01em; }
.fact-card p, .feature p, .step p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.6; }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { margin-top: 18px; }
.step-num { width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.step h3 { margin-top: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.tick, .cross { width: 24px; height: 24px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; margin-top: 1px; }
.tick svg, .cross svg { width: 14px; height: 14px; }
.cross { background: var(--surface-2); color: var(--muted); }

.pack-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; font-size: 13.5px; }
.pack-visual .tree { font-family: var(--mono); font-size: 12.5px; background: #0b1b19; color: #b7e3da; border-radius: 12px; padding: 16px 18px; line-height: 1.8; overflow-x: auto; white-space: pre; }
.pack-visual .tree b { color: #fff; font-weight: 600; }
.pack-visual .tree i { color: #6fcf97; font-style: normal; }
.pack-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .honest { grid-template-columns: 1fr; } }
.honest .card { padding: 28px; border-radius: var(--r-lg); }
.honest h3 { font-size: 18px; }

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: var(--chevron-svg) center / 20px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); margin-top: 10px; line-height: 1.7; font-size: 15.5px; max-width: 68ch; }

.cta-band { position: relative; overflow: hidden; background: radial-gradient(700px 320px at 85% -20%, rgba(34, 197, 160, .45), transparent 60%), linear-gradient(160deg, #0b4d44, #062622); color: #fff; border-radius: 24px; padding: 64px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; text-wrap: balance; }
.cta-band p { color: #b7e3da; font-size: 17.5px; margin: 14px auto 0; max-width: 560px; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 600px) { .cta-band { padding: 44px 22px; border-radius: 18px; } }

.page-hero { padding: 72px 0 48px; background: radial-gradient(800px 400px at 85% -30%, #d7f2ec 0%, transparent 60%), var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); letter-spacing: -.04em; line-height: 1.08; margin-top: 12px; max-width: 18em; text-wrap: balance; }
.page-hero p { font-size: 18.5px; color: var(--muted); margin-top: 16px; max-width: 40em; line-height: 1.6; }
.page-hero.center { text-align: center; }
.solution-hero h1 { max-width: none; }
.solution-hero .hero-grid { align-items: center; }
.solution-shot .mock { transform: none; }
.solution-shot img { display: block; width: 100%; height: auto; }
.solution-shot.is-phone { display: flex; justify-content: center; }
.solution-shot.is-phone img { width: min(300px, 70%); border: 8px solid #1d2939; border-radius: 34px; box-shadow: 0 40px 80px -24px rgba(16, 24, 40, .35); }
.solution-prose { max-width: 760px; }
.solution-prose h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; margin-top: 44px; }
.solution-prose p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin-top: 14px; }

.page-hero.center h1, .page-hero.center p { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .page-hero { padding: 48px 0 36px; } }

.price-card { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price-name { font-weight: 600; font-size: 16px; }
.price-amount { font-size: 42px; font-weight: 700; letter-spacing: -.04em; margin-top: 16px; line-height: 1; }
.price-amount small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.price-card .checklist { margin-top: 22px; gap: 10px; }
.price-card .checklist li { font-size: 14.5px; }
.price-card .btn { margin-top: auto; }
.price-card .checklist + .btn { margin-top: 28px; }
.soon { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: var(--r); color: var(--brand-dark); font-size: 15px; margin-bottom: 32px; }
.notice svg { width: 20px; height: 20px; margin-top: 1px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 999px; background: #fff; border: 3px solid var(--line-strong); }
.timeline li.is-now::before { border-color: var(--brand); background: var(--brand-soft); }
.timeline .when { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.timeline h3 { font-size: 17px; margin-top: 4px; }
.timeline p { color: var(--muted); margin-top: 6px; line-height: 1.6; }

.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); max-width: 720px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 24px; letter-spacing: -.025em; margin-top: 44px; color: var(--ink); }
.prose h3 { font-size: 18.5px; margin-top: 32px; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code, .prose kbd { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13px; color: var(--muted); font-weight: 600; background: #fcfcfd; }
.prose .callout { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--info-line); background: var(--info-bg); color: #1849a9; font-size: 15px; line-height: 1.6; }
.prose .callout.warn { border-color: var(--warn-line); background: var(--warn-bg); color: #93370d; }
.prose .callout.ok { border-color: var(--ok-line); background: var(--ok-bg); color: #085d3a; }
.prose .callout svg { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.prose .callout strong { color: inherit; }
.prose .steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose .steps-list > li { counter-increment: s; position: relative; padding-left: 44px; min-height: 30px; }
.prose .steps-list > li + li { margin-top: 14px; }
.prose .steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.legal-draft { border: 1px dashed var(--warn-line); background: var(--warn-bg); color: #93370d; border-radius: var(--r); padding: 14px 18px; font-size: 15px; }

.help-hero { padding: 72px 0 56px; text-align: center; background: radial-gradient(800px 400px at 50% -30%, #d7f2ec 0%, transparent 65%), var(--surface); border-bottom: 1px solid var(--line); }
.help-hero h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.04em; }
.help-hero p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.help-search { position: relative; max-width: 580px; margin: 28px auto 0; }
.help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.help-search input { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px 15px 48px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.help-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring), var(--shadow); }
.help-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .help-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .help-cats { grid-template-columns: 1fr; } }
.help-cat { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-xs); }
.help-cat h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.help-cat h2 .feature-icon { width: 34px; height: 34px; border-radius: 9px; }
.help-cat h2 .feature-icon svg { width: 18px; height: 18px; }
.help-cat ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.help-cat a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; margin-inline: -8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.help-cat a:hover { background: var(--surface-2); color: var(--brand-dark); }
.result-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.result-section { max-width: 780px; margin: 36px auto 14px; }
.result-item { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; box-shadow: var(--shadow-xs); }
.result-item:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.result-item b { color: var(--ink); font-size: 16px; }
.result-item p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.result-item small { color: var(--brand); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 40px 0 96px; }
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .article-nav { order: 2; position: static !important; } }
.article-nav { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.article-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 6px; font-weight: 600; }
.article-nav h4:first-child { margin-top: 0; }
.article-nav a { display: block; padding: 6px 10px; border-radius: 7px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.article-nav a:hover { background: var(--surface-2); color: var(--ink); }
.article-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.article-head h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -.035em; line-height: 1.12; margin-top: 8px; }
.article-summary { font-size: 18.5px; color: var(--muted); margin-top: 12px; max-width: 40em; line-height: 1.6; }
.article-head { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.article-disclaimer { margin-top: 48px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; max-width: 720px; }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; max-width: 720px; }
.article-pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.article-pager a:hover { border-color: var(--brand-line); background: #fcfefd; }
.article-pager small { display: block; font-size: 12.5px; color: var(--muted); }
.article-pager b { color: var(--ink); font-size: 15px; }
.article-pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .article-pager { grid-template-columns: 1fr; } .article-pager .next { grid-column: 1; } }

.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.footer-about p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 32ch; line-height: 1.6; }
.site-footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 5px 0; }
.site-footer li a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Home screen (plain-English layout) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--ink); }
.tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tile-icon svg { width: 22px; height: 22px; }
.tile-ok .tile-icon { background: var(--ok-bg); color: var(--ok); }
.tile-bad .tile-icon { background: var(--bad-bg); color: var(--bad); }
.tile-warn .tile-icon { background: var(--warn-bg); color: var(--warn); }
.tile-text { display: flex; flex-direction: column; min-width: 0; }
.tile-text b { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile-text span { font-size: 15px; font-weight: 600; margin-top: 2px; }
.tile-text small { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.tile-bad b { color: var(--bad); }
.card-sub { font-size: 14px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); }
.todo-item:first-child { border-top: 0; }
.todo-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; align-self: flex-start; }
.todo-icon svg { width: 18px; height: 18px; }
.todo-icon.is-bad { background: var(--bad-bg); color: var(--bad); }
.todo-icon.is-warn { background: var(--warn-bg); color: var(--warn); }
.todo-reasons { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.todo-reasons li + li { margin-top: 2px; }
@media (max-width: 600px) { .todo-item { flex-wrap: wrap; } .todo-item .btn { margin-left: 50px; } }
.risk-card { border-color: var(--bad-line); background: linear-gradient(160deg, #fff 40%, var(--bad-bg)); }
.risk-card h2, .side-title { font-size: 16px; font-weight: 600; }
.risk-card p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.risk-value { font-size: 36px; font-weight: 700; letter-spacing: -.035em; color: var(--bad); margin-top: 6px; font-variant-numeric: tabular-nums; }
.how-steps { counter-reset: how; list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 12px; }
.how-steps li { counter-increment: how; position: relative; padding-left: 38px; font-size: 14px; color: var(--ink-2); line-height: 1.5; min-height: 26px; }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.how-steps b { color: var(--ink); }
.how-steps-lg { gap: 18px; margin: 24px 0 28px; max-width: 640px; }
.how-steps-lg li { font-size: 15.5px; padding-left: 48px; min-height: 34px; }
.how-steps-lg li::before { width: 34px; height: 34px; font-size: 15px; top: -4px; }
.welcome-title { font-size: 22px; letter-spacing: -.02em; }

/* ---------- Layout fixes from screenshot review ---------- */
.split > *, .hero-grid > *, .grid-main > *, .grid-side > * { min-width: 0; }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
/* Keep the sidebar's white background running the full height of long pages. */
@media (min-width: 901px) { .app { background: linear-gradient(to right, var(--surface) 255px, var(--line) 255px, var(--line) 256px, var(--bg) 256px); } .sidebar { border-right: 0; background: transparent; } }
/* On phones, put each to-do button on its own line under the text. */
@media (max-width: 600px) {
  .todo-item { flex-wrap: wrap; align-items: flex-start; }
  .todo-item .grow { flex: 1 1 calc(100% - 50px); }
  .todo-item .btn { margin-left: 50px; }
  .item-line { gap: 4px 8px; }
}
.article-layout > * { min-width: 0; }
@media (max-width: 920px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Step-by-step check form ---------- */
[hidden] { display: none !important; }
.form-step { display: flex; gap: 16px; padding: 4px 0 24px; margin-bottom: 24px; border-bottom: 1px dashed var(--line); }
.form-step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step-badge { width: 30px; height: 30px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: none; margin-top: -2px; }
.step-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 14px; display: block; padding: 0; }
.form-step .field-label, .form-step legend.field-label { font-size: 15px; color: var(--ink); }
.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.choice.is-disabled:hover { border-color: var(--line-strong); }
.checklist-group { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 14px; background: #fcfcfd; }
.check-item { padding: 9px 0; border-top: 1px solid var(--line); }
.check-item:first-child { border-top: 0; }
.has-error .checklist-group { border-color: #fda29b; }
.checklist-empty { font-size: 14px; color: var(--muted); padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); }
@media (max-width: 600px) { .form-step { gap: 12px; } .step-badge { width: 26px; height: 26px; font-size: 13px; } }

/* ---------- Admin panel ---------- */
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.row-actions form { margin: 0; }
.btn-danger-quiet { color: var(--bad); }
.btn-danger-quiet:hover { background: var(--bad-bg); color: var(--bad); }
.staff-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--ink); border-radius: 5px; padding: 2px 7px; vertical-align: middle; }
.log-list .list-item { font-size: 13.5px; }
/* Login actions stack instead of running off narrow tables. */
.table .row-actions { flex-direction: column; align-items: stretch; min-width: 150px; }
.table .row-actions .btn { width: 100%; }

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.progress { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #15a08a, var(--brand)); border-radius: 999px; }
@media (max-width: 600px) { .hide-sm { display: none; } }

/* ---------- Rota ---------- */
.week-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; margin-bottom: 20px; }
.week-label { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 15px; text-align: center; }

/* ---------- Account security ---------- */
.qr-box { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin: 12px 0 4px; }
.qr-box svg { display: block; width: 200px; height: 200px; }
.secret-key { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.code-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.code-row .input, .field .code-input { display: inline-block; width: auto; max-width: 240px; flex: 1 1 160px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.field .code-input-lg { display: block; width: 100%; max-width: none; font-size: 24px; text-align: center; letter-spacing: .3em; }
.security-actions { display: grid; gap: 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.recovery-codes { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.recovery-codes li { font-family: var(--mono); font-size: 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; text-align: center; }
.auth-details { margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-details summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.auth-details p { margin-top: 6px; }
@media print { .sidebar, .topbar, .test-banner, .verify-banner, .grid-side, .page-head, .result-card .btn { display: none !important; } .app { display: block; } }

/* ---------- GDPR & launch to-do ---------- */
.task-list { list-style: none; margin: 0; padding: 0; }
.task { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.task:first-child { border-top: 0; }
.task form { margin: 0; }
.task-check { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--line-strong); background: #fff; color: transparent; display: grid; place-items: center; cursor: pointer; flex: none; padding: 0; }
.task-check:hover { border-color: var(--brand); color: var(--line-strong); }
.task-check.is-done { background: var(--brand); border-color: var(--brand); color: #fff; }
.task-check.is-auto { cursor: default; border-style: dashed; color: var(--bad); border-color: var(--bad-line); background: var(--bad-bg); }
.task-check.is-auto.is-done { border-style: solid; color: #fff; background: var(--ok-dot); border-color: var(--ok-dot); }
.task-title { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.task.is-done .task-title { color: var(--muted); }
.task p { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.55; }
.task-meta { font-size: 12.5px; color: var(--ok); margin-top: 6px; font-weight: 600; }
.task-notes { margin-top: 8px; }
.task-notes summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--brand); }
.task-notes textarea { margin-top: 8px; font-size: 14px; }

/* ---------- Clock-in page (cleaners) ---------- */
.clock { max-width: 460px; margin: 0 auto; padding: 18px 16px 40px; }
.clock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.clock h1 { font-size: 28px; letter-spacing: -.03em; }
.clock-now { color: var(--muted); margin: 4px 0 18px; font-size: 15px; }
.clock-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow-xs); }
.clock-card.is-in { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.clock-site { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.clock-time { font-size: 16px; color: var(--ink-2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.clock-address { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.clock-note { font-size: 14px; background: var(--surface-2); border-radius: 8px; padding: 8px 10px; margin-top: 10px; }
.clock-card form { margin-top: 16px; }
.clock-btn { font-size: 18px; padding: 16px 20px; border-radius: 12px; }
.clock-out { background: var(--ink); color: #fff; }
.clock-out:hover { background: #1d2939; color: #fff; }
.clock-status { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--ink-2); }
.clock-status.is-done { color: var(--ok); }
.clock-status.is-missed { color: var(--warn); }
.clock-foot { font-size: 13px; color: var(--muted); margin-top: 22px; line-height: 1.55; }
.clock-waiting { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; color: var(--warn); }
.clock-install { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; margin-top: 18px; font-size: 14.5px; }
.clock-install summary { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.clock-install p { margin: 10px 0; color: var(--ink-2); }
.clock-install h4 { font-size: 14px; margin: 14px 0 4px; }
.clock-install ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.clock-install .btn { margin: 6px 0 4px; }

/* ---------- Timesheets ---------- */
.flag-list { display: flex; flex-wrap: wrap; gap: 4px; }
.timesheet td[data-label="Status"] { min-width: 170px; }
.timesheet .row-actions { flex-direction: row; min-width: 0; }
.timesheet .row-actions .btn { width: auto; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { font-size: 13px; min-width: 0; }
@media (max-width: 720px) { .table-stack .flag-list { justify-content: flex-end; } }

/* ---------- Sales pipeline ---------- */
.badge.status-researching { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.badge.status-ready { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand-line); }
.badge.status-contacted { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.badge.status-replied, .badge.status-audit, .badge.status-trial, .badge.status-customer { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.badge.status-do_not_contact { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.legend a.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.email-preview { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fcfcfd; overflow: hidden; margin-top: 12px; }
.email-subject { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.email-body { margin: 0; padding: 14px; white-space: pre-wrap; font-family: var(--font); font-size: 14px; line-height: 1.6; color: var(--ink-2); max-height: 440px; overflow: auto; }
details.card > summary { list-style: none; border-bottom: 0; }
details.card[open] > summary { border-bottom: 1px solid var(--line); }
details.card > summary::-webkit-details-marker { display: none; }

/* Plans: pricing cards, comparison table, plan labels and the Your plan page */
.price-grid.price-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .price-grid.price-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .price-grid.price-grid-4 { grid-template-columns: 1fr; } }
.price-summary { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.price-card-compact { padding: 22px; }
.price-card-compact .price-amount { font-size: 34px; }
.price-card form { margin-top: auto; padding-top: 24px; }
.plan-tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; line-height: 18px; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 999px; padding: 1px 9px; }
.plan-tag.is-all { color: var(--muted); background: var(--surface-2); border-color: var(--line); }
.compare-table th, .compare-table td { text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; white-space: normal; min-width: 220px; }
.compare-table .tick { margin: 0 auto; }
.nav-lock { margin-left: auto; display: inline-flex; }
.nav a .nav-lock svg { width: 14px; height: 14px; }
.nav-count { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 18px; }
.org-plan { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--brand-dark); text-decoration: none; }
.org-plan:hover { text-decoration: underline; }
.plan-pick { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin: 0 0 18px; border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: var(--r-sm); font-size: 14px; color: var(--brand-dark); }
.plan-pick svg { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.plan-pick.trial-callout { max-width: 780px; margin: 0 auto 24px; padding: 14px 18px; font-size: 15px; line-height: 1.55; }
.usage-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 12px; }
.usage-bar i { display: block; height: 100%; max-width: 100%; background: var(--brand); }
.usage-bar.is-full i { background: var(--bad); }

/* First-login tour (core/static/core/tour.js) */
.tour-block { position: fixed; inset: 0; z-index: 1000; }
.tour-block.is-dim { background: rgba(16, 24, 40, .55); }
.tour-spot { position: fixed; z-index: 1001; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 3px var(--brand), 0 0 0 9999px rgba(16, 24, 40, .55); transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease; }
.tour-pop { position: fixed; z-index: 1002; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px 20px 16px; }
.tour-count { font-size: 12px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.tour-title { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin-top: 6px; }
.tour-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tour-buttons { display: flex; gap: 8px; }
.tour-skip { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13.5px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.tour-skip:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }

/* Launch to-do items with several paragraphs and source links */
.task-detail p + p { margin-top: 8px; }
.task-links { margin-top: 8px; line-height: 1.8; }

/* ---------- Rota ---------- */
.rota-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 10px 14px; margin-bottom: 16px; }
.rota-week { display: flex; align-items: center; gap: 10px; }
.rota-week-label { display: flex; flex-direction: column; align-items: center; min-width: 150px; line-height: 1.3; }
.rota-week-label b { font-size: 15px; }
.rota-week-label span { font-size: 12.5px; color: var(--muted); }
.rota-week-label a { font-size: 12.5px; font-weight: 600; text-decoration: none; }
.rota-summary { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.segmented { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.segmented a { padding: 5px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.segmented a:hover { color: var(--ink); }
.segmented a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.alert .rota-problems { list-style: none; padding: 0; margin-top: 6px; display: grid; gap: 6px; }
.rota-problems b { font-weight: 600; }

.rota-grid { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.rota-grid th, .rota-grid td { padding: 8px 6px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.rota-grid td, .rota-grid thead th + th { border-left: 1px solid var(--line); }
.rota-grid thead th { background: #fcfcfd; padding: 10px 8px; font-weight: 600; white-space: nowrap; }
.rota-grid thead th span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rota-grid thead th b { font-size: 15px; color: var(--ink); }
.rota-grid thead th em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--brand); margin-left: 6px; }
.rota-grid .is-today { background: #f6fbfa; }
.rota-grid thead th.is-today { background: var(--brand-soft); box-shadow: inset 0 -2px 0 var(--brand); }
.rota-grid .rota-first { width: 190px; position: sticky; left: 0; z-index: 1; background: var(--surface); padding: 10px 14px; border-right: 1px solid var(--line); }
.rota-grid thead .rota-first { background: #fcfcfd; font-size: 12px; color: var(--muted); }
.rota-grid tbody .rota-first a { display: block; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.rota-grid tbody .rota-first a:hover { color: var(--brand); }
.rota-grid tbody .rota-first small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 400; }
.rota-grid tbody tr:last-child > * { border-bottom: 0; }
.rota-grid td { height: 62px; }
.rota-open-label { font-weight: 600; font-size: 14px; color: var(--warn); }
.rota-grid .rota-empty-row { text-align: center; color: var(--muted); padding: 32px; }

.slot { display: block; padding: 5px 8px 6px; margin-bottom: 4px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ok-dot); color: var(--ink); text-decoration: none; line-height: 1.3; }
.slot:hover { border-color: var(--line-strong); border-left-color: var(--ok); box-shadow: var(--shadow); color: var(--ink); }
.slot-time { display: block; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot-who { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.slot-who svg { width: 12px; height: 12px; vertical-align: -1px; margin-right: 3px; }
.slot.is-open { background: var(--warn-bg); border: 1px dashed var(--warn-dot); border-left: 3px solid var(--warn-dot); }
.slot.is-open .slot-who { color: var(--warn); }
.slot.is-blocked { background: var(--bad-bg); border-color: var(--bad-line); border-left-color: var(--bad-dot); }
.slot.is-blocked .slot-who { color: var(--bad); }
.slot-clock { display: block; font-size: 11.5px; color: var(--ok); font-weight: 500; font-variant-numeric: tabular-nums; }
.slot-clock.is-missed { color: var(--warn); }
.slot-clock svg { width: 11px; height: 11px; vertical-align: -1px; margin-right: 3px; }
.slot-why { display: block; font-size: 13px; color: var(--bad); margin-top: 2px; }
.slot-add { display: flex; align-items: center; justify-content: center; height: 22px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 15px; opacity: 0; }
.rota-grid td:hover .slot-add, .slot-add:focus-visible { opacity: 1; background: var(--surface-2); color: var(--brand); }
@media (hover: none) { .slot-add { opacity: .6; border: 1px dashed var(--line-strong); } }

.rota-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.rota-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rota-legend svg { width: 13px; height: 13px; color: var(--ok); }
.rota-legend a { margin-left: auto; font-weight: 600; text-decoration: none; }
.rota-key { display: inline-block; width: 16px; height: 12px; border-radius: 3px; border: 1px solid var(--line); border-left: 3px solid var(--ok-dot); background: var(--surface); }
.rota-key-open { background: var(--warn-bg); border: 1px dashed var(--warn-dot); border-left: 3px solid var(--warn-dot); }
.rota-key-bad { background: var(--bad-bg); border-color: var(--bad-line); border-left-color: var(--bad-dot); }

.rota-mobile { display: none; }
.day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 12px; }
.day-tab { display: flex; flex-direction: column; align-items: center; padding: 6px 0 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; line-height: 1.2; }
.day-tab span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.day-tab b { font-size: 16px; }
.day-tab small { font-size: 11px; color: var(--muted); }
.day-tab.has-problem small { color: var(--bad); font-weight: 700; }
.day-tab[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.day-tab[aria-current] span, .day-tab[aria-current] small { color: rgba(255, 255, 255, .85); }
.rota-day-list { display: grid; gap: 8px; padding: 12px 16px 16px; }
.rota-day-list .slot { margin: 0; padding: 9px 12px 10px; }
.rota-day-list .slot-time { font-size: 13px; }
.rota-day-list .slot-who { font-size: 15px; }
.rota-day-list .btn { justify-self: start; }
@media (max-width: 760px) {
  .rota-grid-card, .rota-legend, .rota-view { display: none; }
  .rota-mobile { display: block; }
  .rota-bar { padding: 10px; }
  .rota-week { width: 100%; justify-content: space-between; }
}

/* ---------- Legal and staff documents ---------- */
.table-scroll { overflow-x: auto; }
.prose .table-scroll table { display: table; min-width: 640px; }
.doc-page .prose { max-width: 900px; }
@media print { .doc-page .page-head { display: flex !important; } .doc-page .actions, .doc-page .crumbs { display: none !important; } .doc-page .card { border: 0; box-shadow: none; } .doc-page .card-body { padding: 0; } }

/* ---------- Public demo ---------- */
.demo-banner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; background: var(--brand); color: #fff; font-size: 13.5px; padding: 7px 16px; text-align: center; }
.demo-banner b { font-weight: 700; }
.demo-banner form { margin: 0; }
.demo-banner-btn { background: #fff; color: var(--brand-dark); border: 0; border-radius: 999px; padding: 4px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.demo-banner-btn:hover { background: var(--brand-soft); }
a.demo-banner-btn { text-decoration: none; }
.demo-banner.trial-banner-ended { background: var(--warn); }

/* ---- Utilities: replace inline style attributes, which the Content-Security-Policy blocks ---- */
.u-ai-start { align-items:start !important; }
.u-bb-1-solid-line { border-bottom:1px solid var(--line) !important; }
.u-c-bad { color:var(--bad) !important; }
.u-c-ink-2-fs-14-m-0 { color:var(--ink-2) !important;font-size:14px !important;margin:0 !important; }
.u-c-ok { color:var(--ok) !important; }
.u-c-warn { color:var(--warn) !important; }
.u-cursor-pointer { cursor:pointer !important; }
.u-fs-14_5 { font-size:14.5px !important; }
.u-fs-15 { font-size:15px !important; }
.u-fs-17 { font-size:17px !important; }
.u-fs-18 { font-size:18px !important; }
.u-fs-18-mt-0 { font-size:18px !important;margin-top:0 !important; }
.u-fs-24 { font-size:24px !important; }
.u-fs-26 { font-size:26px !important; }
.u-fs-28 { font-size:28px !important; }
.u-fw-wrap { flex-wrap:wrap !important; }
.u-jc-center { justify-content:center !important; }
.u-jc-space-between { justify-content:space-between !important; }
.u-m-0 { margin:0 !important; }
.u-m-0-0-12 { margin:0 0 12px !important; }
.u-m-0-0-16 { margin:0 0 16px !important; }
.u-m-10-0-4 { margin:10px 0 4px !important; }
.u-m-12-0-0 { margin:12px 0 0 !important; }
.u-m-14-0-0 { margin:14px 0 0 !important; }
.u-m-n6-0-12 { margin:-6px 0 12px !important; }
.u-m-n8-0-12 { margin:-8px 0 12px !important; }
.u-maxw-260 { max-width:260px !important; }
.u-maxw-360 { max-width:360px !important; }
.u-maxw-560 { max-width:560px !important; }
.u-mb-14 { margin-bottom:14px !important; }
.u-mb-18 { margin-bottom:18px !important; }
.u-mb-24 { margin-bottom:24px !important; }
.u-mb-28 { margin-bottom:28px !important; }
.u-minw-220 { min-width:220px !important; }
.u-mt-0 { margin-top:0 !important; }
.u-mt-10 { margin-top:10px !important; }
.u-mt-12 { margin-top:12px !important; }
.u-mt-14 { margin-top:14px !important; }
.u-mt-16 { margin-top:16px !important; }
.u-mt-18 { margin-top:18px !important; }
.u-mt-20 { margin-top:20px !important; }
.u-mt-22 { margin-top:22px !important; }
.u-mt-4 { margin-top:4px !important; }
.u-mt-56-p-44-32 { margin-top:56px !important;padding:44px 32px !important; }
.u-mt-6 { margin-top:6px !important; }
.u-mt-6-ws-pre-line { margin-top:6px !important;white-space:pre-line !important; }
.u-mx-auto { margin-inline:auto !important; }
.u-offscreen { position:absolute !important;left:-10000px !important;width:1px !important;height:1px !important;overflow:hidden !important; }
.u-p-28 { padding:28px !important; }
.u-p-32 { padding:32px !important; }
.u-pb-0 { padding-bottom:0 !important; }
.u-plain-link { text-decoration:none !important;color:inherit !important; }
.u-ta-center-mt-12 { text-align:center !important;margin-top:12px !important; }
.u-ta-center-mt-24 { text-align:center !important;margin-top:24px !important; }
.u-ta-center-mt-28 { text-align:center !important;margin-top:28px !important; }
.u-ta-center-mt-32 { text-align:center !important;margin-top:32px !important; }
.u-w-auto { width:auto !important; }
.u-warn-box { border-color:var(--warn-line) !important;background:var(--warn-bg) !important;color:#93370d !important; }

/* ---- Monthly / yearly switch on plan and pricing pages ---- */
.plan-interval { display: flex; justify-content: center; margin: 0 0 18px; }
.save-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ok-bg, #ecfdf3); color: var(--ok, #067647); font-size: 11.5px; font-weight: 700; }
.price-top { flex-wrap: wrap; row-gap: 6px; }
.price-card .btn { white-space: normal; text-align: center; }
.price-note { margin: -2px 0 6px; color: var(--ok, #067647); font-size: 13px; font-weight: 600; }

/* Sales pipeline: tick companies and send in one go */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.tick-cell { width: 36px; }
.tick-cell input { width: 18px; height: 18px; }

/* Sales pipeline: four tiles, two per row on narrower screens */
.tiles.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles.tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles.tiles-4 { grid-template-columns: 1fr; } }

/* Assured plan: guaranteed hours, shift changes, client portal */
.hours-weeks td, .hours-weeks th { padding-top: 6px; padding-bottom: 6px; }
.hours-bar { width: 55%; }
.hours-bar meter { width: 100%; height: 12px; }
.pay-form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.input-sm { height: 32px; padding: 4px 8px; font-size: 13px; width: auto; min-width: 0; }
.pay-form .input-sm[type="text"] { flex: 1 1 160px; }
.portal { max-width: 960px; margin: 0 auto; padding: 18px 16px 40px; }
.portal h1 { font-size: 26px; letter-spacing: -.03em; }

/* Picking which sales email to send */
.choice .cell-sub { display: block; }
.choice details { margin-top: 6px; }
.choices-wide { grid-template-columns: minmax(0, 1fr); }
.choices-wide .email-body { overflow-wrap: anywhere; }

/* Invoicing */
.mb-16 { margin-bottom: 16px; }
.mt-16 { margin-top: 16px; }
.u-ai-end { align-items: flex-end; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select { width: auto; max-width: 220px; }
.stack-sm { display: grid; gap: 8px; }
.warning-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: #93370d; }
.warning-list li { display: flex; gap: 8px; align-items: flex-start; }
.warning-list svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.summary dd { margin: 0; text-align: right; }
.summary-left { grid-template-columns: auto 1fr; }
.summary-left dd { text-align: left; }
.line-form { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; }
.line-form .field-row { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.charge-fields[hidden] { display: none; }
.todo-icon.is-ok { background: var(--ok-bg); color: var(--ok); }
.logo-preview { max-width: 240px; max-height: 90px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.public-logo { display: block; max-width: 220px; max-height: 64px; }
.dns-value { word-break: break-all; font-size: 12.5px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.social-link:hover { border-color: #1877f2; color: #1877f2; }
.social-link svg { width: 16px; height: 16px; }

/* Sale banner and sale prices (plans.SALE) */
.sale-banner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; background: linear-gradient(90deg, #c2410c, #be185d); color: #fff; font-size: 14px; padding: 9px 16px; text-align: center; }
.sale-banner b { font-weight: 700; }
.sale-banner-tag { background: #fff; color: #be185d; border-radius: 6px; padding: 2px 8px; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-2deg); }
.sale-banner-when { opacity: .9; white-space: nowrap; }
.sale-banner-btn { background: #fff; color: #9d174d; border-radius: 999px; padding: 4px 14px; font-weight: 700; text-decoration: none; }
.sale-banner-btn:hover { background: #fff1f2; color: #9d174d; }
.price-card.on-sale { position: relative; }
.sale-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; background: linear-gradient(90deg, #c2410c, #be185d); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.price-was { display: block; margin-top: 14px; color: var(--muted); font-size: 16px; font-weight: 600; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: #be185d; }
.price-was + .price-amount { margin-top: 2px; }
.price-amount.sale-price { color: #be185d; }
.sale-note { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #9d174d; }
.sale-callout { border: 1px solid #fbcfe8; background: #fdf2f8; color: #831843; }
.sale-callout svg { color: #be185d; }

/* Sales tickets (core/tickets.py) */
.ticket-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.ticket-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.ticket-tabs a:hover { color: var(--ink); }
.ticket-tabs a[aria-current] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.ticket-tabs b { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.ticket-tabs a[aria-current] b { background: var(--brand-soft); color: var(--brand-dark); }
.badge.ticket-open { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.badge.ticket-waiting { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.badge.ticket-snoozed { background: var(--surface-2); color: var(--muted); }
.badge.ticket-closed { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.row-overdue td:first-child { box-shadow: inset 3px 0 0 var(--bad-dot); }
.input.input-sm, .select.select-sm { padding-top: 5px; padding-bottom: 5px; font-size: 13px; }
.thread { display: flex; flex-direction: column; gap: 12px; }
.thread-msg { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 14px 16px; }
.thread-head { display: flex; gap: 12px; align-items: flex-start; }
.thread-head .avatar svg { width: 16px; height: 16px; }
.thread-out { background: var(--brand-soft); border-color: var(--brand-line); margin-left: 32px; }
.thread-sales { background: var(--surface-2); margin-left: 32px; }
.thread-note { background: var(--warn-bg); border-color: var(--warn-line); border-style: dashed; }
.thread-subject { margin-top: 10px; font-weight: 600; font-size: 14px; }
.thread-body { padding: 8px 0 0; max-height: none; background: none; }
.thread-event { text-align: center; font-size: 12.5px; color: var(--muted); }
.thread-event span { opacity: .8; }
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 14px; align-items: start; }
.board-col { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.board-col-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; }
.board-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; box-shadow: var(--shadow); min-width: 0; }
.board-card-title { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.board-card-title:hover { color: var(--brand-dark); text-decoration: underline; }
.board-move { display: flex; gap: 6px; margin-top: 8px; }
.board-move .select { flex: 1; min-width: 0; }
.board-empty { padding: 6px 4px; margin: 0; }
.board-more { padding: 2px 4px; }
@media (max-width: 720px) { .thread-out, .thread-sales { margin-left: 0; } }
