/* Visual language: off-white canvas, black ink, Urbanist type, pill controls, large soft cards, pastel accents */
:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --ink: #0b0b0c;
  --ink-2: rgba(11, 11, 12, .72);
  --muted: rgba(11, 11, 12, .52);
  --line: rgba(11, 11, 12, .08);
  --line-strong: rgba(11, 11, 12, .16);

  --mint: #c9f5dd;      --mint-ink: #0d6b3d;   --mint-bold: #4eeda5;
  --butter: #ffe99d;    --butter-ink: #6d5200;
  --lime: #d7eda9;      --lime-ink: #3f5a0c;
  --sky: #b5cefd;       --sky-ink: #1b3f8f;
  --coral: #ffb39e;     --coral-ink: #8a2d12;
  --blush: #f4c6d2;     --blush-ink: #7d2240;
  --stone: #eeeeee;     --stone-ink: rgba(11, 11, 12, .62);
  --danger: #c4122d;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 8px 24px rgba(0,0,0,.04);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; }
h3 { font-size: 15px; font-weight: 700; margin: 20px 0 10px; }
.muted { color: var(--muted); }
small { font-size: 13px; }
code { font-size: 13px; background: var(--stone); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar-wrap { position: sticky; top: 0; z-index: 20; padding: 14px 24px 0; background: linear-gradient(var(--bg) 70%, rgba(250,250,250,0)); }
.topbar {
  max-width: 1360px; margin: 0 auto; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 8px 8px 8px; box-shadow: var(--shadow);
}
.logo {
  width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; flex: none; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.brand-name { font-weight: 700; white-space: nowrap; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; margin-left: 8px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 10px 16px; border-radius: var(--r-pill); color: var(--ink-2); white-space: nowrap; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.nav a:hover { background: var(--stone); color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }

/* User menu (top right) */
.user-menu { position: relative; flex: none; }
.user-menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff;
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover { border-color: var(--line-strong); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--mint); color: var(--mint-ink); flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.user-meta { line-height: 1.1; text-align: left; }
.user-meta b { display: block; font-size: 14px; white-space: nowrap; }
.user-meta span { font-size: 12px; color: var(--muted); }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); margin-left: 2px; }
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 6px; z-index: 30;
}
.menu a, .menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--ink); font: inherit;
  font-weight: 600; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.menu a:hover, .menu button:hover { background: var(--stone); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu form { margin: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1360px; margin: 0 auto; padding: 28px 24px 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 24px; flex-wrap: wrap; }
.page-head .lede { color: var(--muted); font-size: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow); }
.panel.flat { box-shadow: none; }
.grid { display: grid; gap: 18px; }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-detail { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mb { margin-bottom: 18px; }
@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g3, .g2, .g-detail { grid-template-columns: 1fr; } .brand-name { display: none; } .user-meta { display: none; } .user-menu summary { padding-right: 4px; } .user-menu .chev { display: none; } }
@media (max-width: 640px) { .g5, .g4 { grid-template-columns: 1fr 1fr; } .wrap { padding: 20px 16px 48px; } .topbar-wrap { padding: 10px 12px 0; } .panel { padding: 18px; border-radius: var(--r-lg); } }

/* KPI tiles: pastel cards */
.kpi { border-radius: var(--r-lg); padding: 20px 22px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 128px; border: 0; transition: transform .15s ease; }
.kpi:hover { text-decoration: none; transform: translateY(-2px); }
.kpi .num { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.kpi .label { font-weight: 600; font-size: 14.5px; }
.kpi.stone { background: #fff; border: 1px solid var(--line); }
.kpi.mint { background: var(--mint); }
.kpi.butter { background: var(--butter); }
.kpi.sky { background: var(--sky); }
.kpi.lime { background: var(--lime); }
.kpi.coral { background: var(--coral); }
.kpi.blush { background: var(--blush); }

/* Bars */
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) 30px; gap: 12px; align-items: center; font-size: 14px; }
.bar-row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.bar-track { background: var(--stone); border-radius: var(--r-pill); height: 12px; }
.bar { height: 12px; border-radius: var(--r-pill); background: var(--ink); min-width: 6px; }
.bar-row .n { text-align: right; color: var(--muted); font-weight: 600; }

/* Pipeline */
.pipeline { display: flex; gap: 10px; flex-wrap: wrap; }
.stage { flex: 1 1 100px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 12px; text-align: center; text-decoration: none; }
.stage:hover { text-decoration: none; border-color: var(--line-strong); }
.stage .n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.stage .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.stage.has { background: var(--ink); color: #fff; }
.stage.has .l { color: rgba(255,255,255,.7); }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(0,0,0,.015); }
.table-wrap { overflow-x: auto; }
td.title a { font-weight: 700; color: var(--ink); font-size: 15.5px; }
td.nowrap, .nowrap { white-space: nowrap; }

/* Badges / chips */
.badge { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.score { min-width: 46px; justify-content: center; font-size: 15px; font-weight: 700; padding: 6px 10px; }
.s-high { background: var(--mint); color: var(--mint-ink); }
.s-mid { background: var(--butter); color: var(--butter-ink); }
.s-low { background: var(--stone); color: var(--stone-ink); }
.flag { background: #fde7ea; color: var(--danger); }
.tag { background: var(--sky); color: var(--sky-ink); margin: 0 4px 4px 0; }
.method { background: var(--stone); color: var(--stone-ink); }
.status { background: var(--ink); color: #fff; }
.ok { background: var(--mint); color: var(--mint-ink); }
.err { background: #fde7ea; color: var(--danger); }
.warn { background: var(--butter); color: var(--butter-ink); }
.role-admin { background: var(--blush); color: var(--blush-ink); }
.perm { background: var(--lime); color: var(--lime-ink); margin: 0 4px 4px 0; }

/* Forms */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; align-items: end; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font: inherit;
  background: #fff; color: var(--ink); appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { border-radius: var(--r-md); min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
input[type=checkbox] { width: 20px; height: 20px; padding: 0; border-radius: 6px; flex: none; cursor: pointer; display: inline-grid; place-items: center; }
input[type=checkbox]:checked { background: var(--ink); border-color: var(--ink); }
input[type=checkbox]:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-weight: 500; color: var(--ink); font-size: 14.5px; cursor: pointer; }
.check small { display: block; color: var(--muted); font-weight: 500; }
.field { margin-bottom: 14px; }

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-pill);
  border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .1s ease, background .15s ease;
}
button:hover, .btn:hover { text-decoration: none; background: #2a2a2d; }
button:active, .btn:active { transform: scale(.98); }
button.secondary, .btn.secondary { background: transparent; color: var(--ink); }
button.secondary:hover, .btn.secondary:hover { background: var(--stone); }
button.danger { background: #fff; color: var(--danger); border-color: rgba(196, 18, 45, .35); }
button.danger:hover { background: #fde7ea; }
button:disabled { opacity: .45; cursor: default; transform: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Detail */
dl.facts { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px 20px; margin: 0; }
dl.facts dt { color: var(--muted); font-weight: 600; font-size: 14px; }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { dl.facts { grid-template-columns: 1fr; gap: 4px; } dl.facts dt { margin-top: 10px; } }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.scroll-box { max-height: 380px; overflow: auto; background: var(--bg); padding: 16px; border-radius: var(--r-md); font-size: 14px; border: 1px solid var(--line); }
.crit { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 4px 10px; align-items: center; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.crit input { padding: 8px 12px; text-align: center; }
.crit .reason { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.score-hero { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.score-hero .big { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; padding: 14px 20px; border-radius: var(--r-lg); }
.notice { padding: 14px 20px; border-radius: var(--r-lg); background: var(--butter); color: var(--butter-ink); margin-bottom: 20px; font-weight: 500; }
.notice.info { background: var(--sky); color: var(--sky-ink); }
.notice.good { background: var(--mint); color: var(--mint-ink); }
.notice.bad { background: #fde7ea; color: var(--danger); }
details > summary { cursor: pointer; }

/* Login */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-box { width: 100%; max-width: 420px; }
.login-box .logo { margin-bottom: 22px; width: 56px; height: 56px; border-radius: 18px; font-size: 26px; }
.login-box h1 { font-size: 36px; }
.login-box button { width: 100%; margin-top: 8px; padding: 14px; }
.error { color: var(--danger); margin-bottom: 14px; font-weight: 600; }

.week { margin-bottom: 18px; }
.empty { color: var(--muted); padding: 14px 0; }
.action-pill { display: inline-block; padding: 3px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; background: var(--stone); white-space: nowrap; }
.a-login, .a-logout { background: var(--sky); color: var(--sky-ink); }
.a-login_failed, .a-permission_denied { background: #fde7ea; color: var(--danger); }
.a-update_status, .a-update_owner, .a-update_notes { background: var(--mint); color: var(--mint-ink); }
.a-correct_ai, .a-rescore { background: var(--butter); color: var(--butter-ink); }
.a-user_created, .a-user_updated, .a-user_password_reset, .a-user_deactivated, .a-user_reactivated, .a-change_password { background: var(--blush); color: var(--blush-ink); }
.a-run_sources { background: var(--lime); color: var(--lime-ink); }
.pager { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* Countries on/off */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.country { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); transition: background .15s ease; }
.country.on { background: var(--mint); border-color: transparent; }
.country-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.flag-code { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: #fff; border: 1px solid var(--line); flex: none; }
.country.on .flag-code { background: var(--ink); color: #fff; border-color: var(--ink); }
.switch { position: relative; display: inline-block; flex: none; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { display: block; width: 52px; height: 30px; border-radius: var(--r-pill); background: var(--line-strong); transition: background .15s ease; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s ease; }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track .knob { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 2px solid var(--ink); outline-offset: 2px; }
.switch input:disabled + .track { opacity: .5; cursor: not-allowed; }
.a-country_on, .a-country_off { background: var(--sky); color: var(--sky-ink); }
.market-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* Company profile */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 20px; }
.subnav a { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; text-decoration: none; background: #fff; }
.subnav a:hover { background: var(--stone); }
.subnav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
details.item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; background: #fff; }
details.item.off { background: var(--bg); }
details.item.off .item-title b { color: var(--muted); }
details.item > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
details.item > summary::-webkit-details-marker { display: none; }
details.item[open] > summary { border-bottom: 1px solid var(--line); }
.item-title { min-width: 0; }
.item-form { padding: 16px; }

/* Admin items live in the user menu */
.menu-label { padding: 6px 12px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.menu a[aria-current=page] { background: var(--ink); color: #fff; }
.user-menu.current summary { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }

/* Documents fetched behind portal sign-ins */
.doc-fetch { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-md); background: var(--sky); color: var(--sky-ink); font-size: 14px; }
.doc-fetch.ok { background: var(--mint); color: var(--mint-ink); }
.doc-fetch.warn { background: var(--butter); color: var(--butter-ink); }
.doc-text { margin-top: 14px; }
.doc-text summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }

/* Schedules */
.sched { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin-top: 14px; background: #fff; }
.sched.off { background: var(--bg); }
.sched.off .sched-body { opacity: .55; }
.sched-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.sched-body { display: grid; grid-template-columns: minmax(170px, auto) 1fr 1fr; gap: 6px 22px; margin-top: 14px; align-items: start; }
.sched-body fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.sched-body legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; padding: 0; }
.sched-body .days { grid-column: 1 / -1; }
.sched-body > fieldset:last-child { grid-column: 1 / -1; }
.radio { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14.5px; padding: 3px 0; cursor: pointer; }
.inline { display: flex; gap: 8px; }
.inline select { width: 90px; } .inline input { width: 90px; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.day { cursor: pointer; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day span { display: inline-block; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-weight: 600; font-size: 13.5px; background: #fff; }
.day input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.day input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sched-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 760px) { .sched-body { grid-template-columns: 1fr; } }

/* Group profile */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 14px; }
.company-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .12s ease, border-color .12s ease; }
.company-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.company-card.off { opacity: .6; }
.company-top { display: flex; justify-content: space-between; align-items: center; }
.company-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--lime-ink); font-weight: 800; }
.company-name { font-size: 19px; }
.company-card small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.company-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.meter { height: 6px; border-radius: var(--r-pill); background: var(--stone); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--mint-bold); }
.badges { display: flex; gap: 6px; }
.entity-head { margin: 0 0 12px; }
.entity-head h2 { margin: 6px 0 2px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.back { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.subnav.small a { padding: 7px 13px; font-size: 13.5px; }
.span2 { grid-column: 1 / -1; }
.label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.svc-table th, .svc-table td { text-align: center; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.svc-table th[scope=row], .svc-table thead th:first-child { text-align: left; font-weight: 600; }
.svc-table tr.off { opacity: .55; }
.danger-zone { margin-top: 16px; text-align: right; }

/* Which company can bid */
.bidder { background: var(--lime); color: var(--lime-ink); border-radius: var(--r-md); padding: 12px 16px; margin: 10px 0; }
.bidder b { color: var(--ink); }
.bidder p { margin: 6px 0 0; color: var(--ink-2); }
.fit-table th, .fit-table td { padding: 9px 8px; text-align: left; font-size: 14px; }
.fit-table tbody tr:not(.fit-why) { border-top: 1px solid var(--line); }
.fit-table tr.fit-why td { padding-top: 0; color: var(--ink-2); }
.fit { display: inline-block; min-width: 38px; text-align: center; padding: 2px 8px; border-radius: var(--r-pill); font-weight: 700; }
input[type=radio] { width: 20px; height: 20px; padding: 0; border-radius: 50%; flex: none; cursor: pointer; display: inline-grid; place-items: center; vertical-align: middle; }
input[type=radio]:checked { border-color: var(--ink); }
input[type=radio]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.sched:has(input[name=mode][value=times]:checked) .sched-hourly,
.sched:has(input[name=mode][value=hourly]:checked) .sched-times { opacity: .35; }
