
/* Layout: a working product, not a poster. Sticky nav; a short hero with search and a live "closing soon" card;
   the tender app (tabs, filter sidebar, scannable rows, detail panel); market insights; pricing; bid-ready guide.
   Neutral interface with South African green as the brand colour; gold, red and blue carry meaning (CIDB, urgent, info). */
:root {
  --brand: #007a4d;
  --brand-hover: #00663f;
  --brand-text: #006b43;
  --brand-50: #e9f5ef;
  --on-brand: #ffffff;
  --gold: #ffb612;
  --gold-50: #fff5db;
  --gold-text: #865700;
  --red: #d33a2f;
  --red-50: #fdecea;
  --blue: #2349c4;
  --blue-50: #ebf0fe;
  --bg: #ffffff;
  --bg-subtle: #f6f7f6;
  --surface: #ffffff;
  --ink: #0e1411;
  --ink-2: #39423d;
  --muted: #69736e;
  --line: #e5e8e6;
  --line-2: #d3d9d5;
  --overlay: rgba(10, 16, 13, .42);
  --shadow: 0 1px 2px rgba(14, 20, 17, .05), 0 8px 24px rgba(14, 20, 17, .06);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #13915e; --brand-hover: #18a86d; --brand-text: #4fd49a; --brand-50: #0f2a1e; --gold: #ffc13b; --gold-50: #2c2410;
    --gold-text: #f6c862; --red: #ff6d63; --red-50: #361715; --blue: #93b1ff; --blue-50: #161f40; --bg: #0c100e; --bg-subtle: #111613;
    --surface: #141a17; --ink: #edf1ef; --ink-2: #c6cec9; --muted: #8e9993; --line: #222a26; --line-2: #2f3934; --overlay: rgba(0,0,0,.6);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #13915e; --brand-hover: #18a86d; --brand-text: #4fd49a; --brand-50: #0f2a1e; --gold: #ffc13b; --gold-50: #2c2410;
  --gold-text: #f6c862; --red: #ff6d63; --red-50: #361715; --blue: #93b1ff; --blue-50: #161f40; --bg: #0c100e; --bg-subtle: #111613;
  --surface: #141a17; --ink: #edf1ef; --ink-2: #c6cec9; --muted: #8e9993; --line: #222a26; --line-2: #2f3934; --overlay: rgba(0,0,0,.6);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); color-scheme: dark;
}
:root { --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Instrument Serif", ui-serif, Georgia, serif; --mono: "Inter", ui-monospace, Menlo, monospace; --r-card: 6px; --r-btn: 3px; --r-input: 6px; }
:root { --brand: #1E5447; --brand-hover: #2A6B5B; --brand-text: #1E5447; --brand-50: color-mix(in srgb, #1E5447 9%, #ffffff); --on-brand: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand: #2A6B5B; --brand-hover: #1E5447; --brand-text: #8FC4B4; --brand-50: color-mix(in srgb, #2A6B5B 30%, #0B251F); --on-brand: #ffffff; } }
:root[data-theme="dark"] { --brand: #2A6B5B; --brand-hover: #1E5447; --brand-text: #8FC4B4; --brand-50: color-mix(in srgb, #2A6B5B 30%, #0B251F); --on-brand: #ffffff; }
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.show-sm { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
h1, h2, h3 { text-wrap: balance; }

/* Buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--surface); font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--bg-subtle); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--bg-subtle); }
.btn.sm { height: 32px; padding: 0 10px; font-size: 13px; }
.btn.lg { height: 48px; padding: 0 20px; font-size: 15px; }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
.input, .select { height: 38px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 0 12px; font-size: 14px; width: 100%; min-width: 0; }
.select { padding-right: 30px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.link { color: var(--brand-text); font-weight: 500; text-decoration: none; background: none; border: 0; padding: 0; font-size: inherit; }
.link:hover { text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 30px; height: 30px; display: block; }
.logo .wm { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.logo .wm span { color: var(--brand-text); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; padding: 7px 10px; border-radius: 7px; }
.nav-links a:hover { background: var(--bg-subtle); color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bg-subtle); border: 1px solid var(--line); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-subtle), var(--bg)); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-block: 56px; align-items: start; }
.hero .container > * { min-width: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px 5px 10px; max-width: 100%; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); flex: none; }
.live span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero h1 { margin: 18px 0 14px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--brand-text); }
.hero .lede { margin: 0 0 26px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.search { display: flex; gap: 8px; max-width: 620px; }
.search .field { position: relative; flex: 1; min-width: 0; }
.search .field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { height: 48px; padding-left: 42px; font-size: 15px; border-radius: 10px; box-shadow: var(--shadow); }
.popular { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; gap: 4px 12px; flex-wrap: wrap; }
.popular button { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; font-size: 13px; }
.popular button:hover { color: var(--brand-text); text-decoration-color: currentColor; }
.stats { display: flex; flex-wrap: wrap; row-gap: 16px; margin-top: 34px; max-width: 680px; }
.stat { flex: 1; padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.soon-card { overflow: hidden; }
.soon-card header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 12px; }
.soon-card header h2 { margin: 0; font-size: 15px; font-weight: 600; }
.soon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border: 0; border-top: 1px solid var(--line); background: none; width: 100%; text-align: left; }
.soon-row:hover { background: var(--bg-subtle); }
.soon-row b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.soon-row span.sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.soon-card footer { border-top: 1px solid var(--line); padding: 12px 18px; font-size: 14px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--bg-subtle); color: var(--ink-2); border: 1px solid var(--line); }
.pill.cidb { background: var(--gold-50); color: var(--gold-text); border-color: transparent; }
.pill.brief { background: var(--blue-50); color: var(--blue); border-color: transparent; }
.pill.urgent { background: var(--red-50); color: var(--red); border-color: transparent; }
.pill.soon { background: var(--gold-50); color: var(--gold-text); border-color: transparent; }
.pill.ok { background: var(--brand-50); color: var(--brand-text); border-color: transparent; }
/* Go / No-Go score */
.go-b { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.go-b.go { background: var(--brand-50); color: var(--brand-text); box-shadow: inset 0 0 0 1.5px var(--brand-text); } .go-b.maybe { background: var(--gold-50); color: var(--gold-text); } .go-b.nogo { background: var(--red-50); color: var(--red); }
.go-box { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.go-box.maybe { border-left-color: var(--gold-text); } .go-box.nogo { border-left-color: var(--red); }
.go-head { display: flex; gap: 12px; align-items: center; } .go-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.go-n { font-size: 30px; font-weight: 800; line-height: 1; color: var(--brand-text); font-variant-numeric: tabular-nums; } .go-n small { font-size: 12px; font-weight: 600; color: var(--muted); }
.go-box.maybe .go-n { color: var(--gold-text); } .go-box.nogo .go-n { color: var(--red); }
.go-more { margin-top: 8px; font-size: 13.5px; } .go-more summary { cursor: pointer; font-weight: 700; color: var(--brand-text); min-height: 32px; display: flex; align-items: center; }
.go-parts, .go-raise { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.go-parts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; } .go-parts small { grid-column: 1 / -1; color: var(--muted); }
.go-raise li { padding-left: 16px; position: relative; } .go-raise li::before { content: "↑"; position: absolute; left: 0; color: var(--brand-text); font-weight: 800; }
.go-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.go-list button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); font: inherit; cursor: pointer; }
.go-t { display: grid; gap: 2px; min-width: 0; } .go-t b { font-size: 14px; overflow-wrap: anywhere; } .go-t small { font-size: 12.5px; color: var(--muted); } .go-t .go-why { color: var(--ink-2); }

/* Section headings */
section.block { padding-block: 64px; border-bottom: 1px solid var(--line); }
section.block { scroll-margin-top: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { margin: 0; font-size: 28px; letter-spacing: -.025em; font-weight: 600; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }

/* App */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: none; padding: 10px 12px 12px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tab .count-dot { height: 18px; min-width: 18px; font-size: 11px; }
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.app > * { min-width: 0; }
.app.solo { grid-template-columns: minmax(0, 1fr); }
.app.solo .filters, .app.solo .filter-btn { display: none !important; }
.filters { position: sticky; top: 84px; display: grid; gap: 22px; }
.fgroup { display: grid; gap: 8px; }
.fgroup > label, .fgroup > .flabel { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.seclist { display: grid; gap: 1px; }
.secopt { display: flex; justify-content: space-between; gap: 8px; border: 0; background: none; padding: 6px 8px; border-radius: 7px; font-size: 14px; text-align: left; color: var(--ink-2); }
.secopt:hover { background: var(--bg-subtle); }
.secopt[aria-pressed="true"] { background: var(--brand-50); color: var(--brand-text); font-weight: 500; }
.secopt span:last-child { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.secopt[aria-pressed="true"] span:last-child { color: inherit; }
.check { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.filters-head { display: none; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .left { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.toolbar .total { font-weight: 600; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 4px 0 10px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; max-width: 100%; }
.chip button { border: 0; background: none; width: 20px; height: 20px; border-radius: 5px; color: var(--muted); line-height: 1; font-size: 15px; }
.chip button:hover { background: var(--bg-subtle); color: var(--ink); }
.toolbar .select { width: auto; height: 34px; }
.filter-btn { display: none; }

.list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.list:empty { display: none; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 20px; padding: 16px 18px; border-top: 1px solid var(--line); cursor: pointer; position: relative; }
.row:first-child { border-top: 0; }
.row:hover { background: var(--bg-subtle); }
.row-top { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; min-width: 0; flex-wrap: wrap; }
.row-top .sec { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.row-top .sec i { width: 7px; height: 7px; border-radius: 2px; background: var(--brand); flex: none; }
.row h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.005em; overflow-wrap: anywhere; }
.rbody { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.rbody > div { min-width: 0; flex: 1; }
.sico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-text); margin-top: 2px; }
.sico svg { width: 21px; height: 21px; }
.sico.af { background: color-mix(in srgb, #FFB612 18%, var(--surface)); color: #8a5a00; }
.region { display: flex; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.region button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-btn); padding: 10px 16px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.region button svg { width: 20px; height: 20px; }
.region button small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.region button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-50); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand); }
.region .lock { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #FFB612; color: #3a2a00; border-radius: 4px; padding: 2px 6px; }
.upsell { border: 1px solid var(--brand); border-radius: var(--r-card); background: var(--surface); overflow: hidden; margin-bottom: 18px; }
.upsell .u-head { padding: 22px 24px; display: grid; gap: 10px; background: linear-gradient(120deg, var(--brand-50), var(--surface)); }
.upsell h3 { margin: 0; font-size: 21px; font-family: var(--display); letter-spacing: -.015em; }
.upsell p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.upsell .cc { display: flex; flex-wrap: wrap; gap: 6px; }
.upsell .cc span { font-size: 12.5px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; background: var(--surface); }
.upsell .cc b { font-variant-numeric: tabular-nums; }
.upsell .blur { filter: blur(4px); user-select: none; pointer-events: none; }
.upsell .u-foot { padding: 16px 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); }
.award { padding: 16px 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.award:first-child { border-top: 0; }
.award h4 { margin: 0; font-size: 15px; line-height: 1.45; }
.award .won { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.award .won .amt { font-family: var(--mono); font-weight: 600; }
.award .lost { font-size: 13px; color: var(--muted); display: grid; gap: 2px; }
.award .lost .amt { font-family: var(--mono); }
.nav-links .cnt { font-size: 11px; background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 1px 6px; margin-left: 5px; font-weight: 600; }
.row .meta { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.row .tags:empty { display: none; }
.row-side { text-align: right; display: grid; align-content: start; justify-items: end; gap: 3px; }
.row-side .d { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.row-side .r { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-side .r.urgent { color: var(--red); font-weight: 500; }
.row-side .r.soon { color: var(--gold-text); font-weight: 500; }
.star { border: 0; background: none; width: 30px; height: 30px; border-radius: 7px; color: var(--muted); display: grid; place-items: center; margin-top: 6px; }
.star:hover { background: var(--line); color: var(--ink); }
.star svg { width: 17px; height: 17px; }
.star[aria-pressed="true"] { color: var(--gold); }
.star[aria-pressed="true"] svg { fill: currentColor; }
.more { display: flex; justify-content: center; margin-top: 16px; }
.empty { padding: 56px 24px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--ink); margin: 0 0 6px; font-size: 16px; }
.empty p { margin: 0; }

/* Matches: profile + alerts */
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 20px; margin-bottom: 16px; }
.panel h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.panel > p { margin: 0 0 18px; color: var(--muted); }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; }
.pick:hover { border-color: var(--muted); }
.pick[aria-pressed="true"] { background: var(--brand-50); border-color: var(--brand); color: var(--brand-text); font-weight: 500; }
.editor { display: grid; gap: 22px; }
.editor fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.editor legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.editor .opts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.editor .opts .select { width: auto; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.alert-form { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.alert-form .line { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-form .line .input { flex: 1 1 260px; height: 40px; }
.alert-form .opts { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.alert-form label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.alert-form input[type=radio], .alert-form input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; flex: none; }
.alert-form .consent { font-size: 13px; color: var(--muted); align-items: flex-start; }
.alert-form .consent input { margin-top: 2px; }
.msg { font-size: 14px; margin: 0; }
.msg.ok { color: var(--brand-text); font-weight: 500; }
.msg.err { color: var(--red); }

/* Briefings */
.brow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border: 0; border-top: 1px solid var(--line); cursor: pointer; background: none; width: 100%; text-align: left; }
.brow:first-child { border-top: 0; }
.brow:hover { background: var(--bg-subtle); }
.cal { border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; text-align: center; background: var(--surface); }
.cal small { display: block; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 0; }
.cal b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.cal span { display: block; font-size: 11px; color: var(--muted); padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.brow h3 { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.brow .meta { font-size: 13px; color: var(--muted); }

/* Insights */
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.icard { padding: 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.icard h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; border: 0; background: none; padding: 6px 0; text-align: left; width: 100%; }
.bar span { font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg-subtle); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--brand); border-radius: 3px; }
.bar:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.intel { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.intel > * { min-width: 0; }
.intel .icard { gap: 10px; }
.rank { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 0; background: none; padding: 7px 8px; border-radius: 7px; text-align: left; width: 100%; font-size: 13.5px; }
.rank:hover, .rank[aria-pressed="true"] { background: var(--bg-subtle); }
.rank em { font-style: normal; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.rank span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank b { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed-head { padding: 18px 20px 6px; }
.feed-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
.notice { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
.notice:first-child { border-top: 0; }
.notice .top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.notice h4 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.names { display: flex; flex-wrap: wrap; gap: 5px; }
.co { height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co:hover { border-color: var(--line-2); color: var(--ink); }
.co.hit { border-color: var(--brand); color: var(--brand-text); background: var(--brand-50); font-weight: 500; }
.win { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.win .amt { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; max-width: 920px; }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border: 2px solid var(--brand); }
.plan .tier { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { margin: 0; font-size: 16px; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14px; }
.plan p { margin: 0; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); flex: 1; align-content: start; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; color: var(--brand-text); flex: none; margin-top: 3px; }
.beta { margin: 16px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Guide */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.step { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.step:nth-child(3n) { border-right: 0; }
.step:nth-last-child(-n+3) { border-bottom: 0; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--brand-text); }
.step h3 { margin: 0; font-size: 15px; font-weight: 600; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.step .where { font-size: 12.5px; color: var(--ink-2); font-family: var(--mono); }

/* Footer */
footer { padding-block: 48px 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .container { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer h4 { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }
footer .logo { color: var(--ink); }
footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; font-size: 13px; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(600px, 100%); z-index: 21; background: var(--surface); overflow-y: auto;
  transform: translateX(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1); border-left: 1px solid var(--line); box-shadow: -20px 0 40px rgba(0,0,0,.12); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.dhead { position: sticky; top: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 1; }
.dhead .ref { font-family: var(--mono); font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { border: 1px solid var(--line-2); background: var(--surface); width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: var(--bg-subtle); }
.icon-btn svg { width: 16px; height: 16px; }
.dbody { padding: 22px max(24px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) 24px; display: grid; gap: 24px; }
.dbody > * { min-width: 0; }
.dbody h2 { margin: 6px 0 0; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; overflow-wrap: anywhere; }
.dsec { display: grid; gap: 10px; }
.dsec > h3 { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 10px; background: var(--bg-subtle); border: 1px solid var(--line); }
.closing b { font-size: 15.5px; font-weight: 600; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.progress { height: 6px; background: var(--bg-subtle); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand); width: 0; transition: width .2s; }
.checklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist label { display: flex; gap: 12px; align-items: center; padding: 11px 14px; cursor: pointer; font-size: 14px; }
.checklist label:hover { background: var(--bg-subtle); }
.checklist input { width: 17px; height: 17px; accent-color: var(--brand); margin: 0; flex: none; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.note { font-size: 13.5px; color: var(--muted); margin: 0; }
.ai { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: linear-gradient(180deg, var(--gold-50), var(--surface) 75%); display: grid; gap: 12px; }
.ai h3 { margin: 0; font-size: 15px; font-weight: 600; }
.ai-out { display: grid; gap: 14px; font-size: 14px; }
.ai-out h4 { margin: 0 0 4px; font-size: 13.5px; }
.ai-out ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.ai-out p { margin: 0; }
.doc { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.doc:hover { border-color: var(--line-2); background: var(--bg-subtle); }
.doc b { flex: none; font-size: 10.5px; font-weight: 600; color: var(--red); background: var(--red-50); border-radius: 4px; padding: 2px 5px; }
.contact { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.contact code { font-family: var(--mono); font-size: 13px; background: var(--bg-subtle); padding: 4px 8px; border-radius: 6px; user-select: all; overflow-wrap: anywhere; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--gold-text); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 30; font-size: 14px; box-shadow: var(--shadow); }

/* Brand look: typeface and shapes come from the brand file */
.hero h1, .sec-head h2, .tile h3, .price b, .fact b, .stat b, .kpi b, .dbody h2, .paywall .cta h3, .panel h3 { font-family: var(--display); }
.card, .tile, .list, .panel, .paywall, .steps, .modal, .docs, .calc, .soon-card { border-radius: var(--r-card); }
.btn, .navbtn, .pick, .chip, .co, .pagebar a { border-radius: var(--r-btn); }
.input, .select, .search input { border-radius: var(--r-input); }

/* Pages */
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-subtle); }
.pagebar { display: none; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 8; }
.pagebar .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.pagebar .container::-webkit-scrollbar { display: none; }
.pagebar a { flex: none; text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.pagebar a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-view][hidden] { display: none !important; }
.buyer-card .link { display: block; text-align: left; padding: 0; margin-top: 4px; font-size: 13.5px; }
.d-share { display: flex; gap: 16px; margin-top: -6px; font-size: 14px; }
details.fold { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
details.fold > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; }
details.fold > summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
details.fold[open] > summary::after { content: "–"; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > .dsec { padding: 0 14px 14px; } details.fold > .dsec > h3 { display: none; }
.rq-what > summary { cursor: pointer; font-size: 13px; color: var(--brand-text); width: max-content; }
.rq-what p { margin: 6px 0 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; text-decoration: none; color: inherit; }
.tile:hover { transform: translateY(-2px); border-color: var(--brand); }
.tile .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-text); display: grid; place-items: center; }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 4px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 14px; color: var(--muted); }
.tile .go { font-size: 14px; font-weight: 500; color: var(--brand-text); margin-top: 6px; }
.trust { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; margin-top: 26px; font-size: 13px; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--brand-text); font-weight: 700; margin-right: 6px; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; }

/* Corporate: dark hero */
.hero-dark .hero { background: radial-gradient(120% 120% at 100% 0%, #1b3a78 0%, #0c1a38 55%, #08122a 100%); border-bottom-color: #08122a; color: #e8eefc; }
.hero-dark .hero h1 em { color: #9db8f2; }
.hero-dark .hero .lede, .hero-dark .stat span, .hero-dark .popular { color: #b7c4e4; }
.hero-dark .popular button { color: #dbe4fb; text-decoration-color: rgba(219,228,251,.35); }
.hero-dark .stat { border-right-color: rgba(255,255,255,.14); }
.hero-dark .live { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #dbe4fb; }
.hero-dark .soon-card { color: var(--ink); }

/* Numbers, value and pricing */
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.fact { padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.fact b { font-size: 30px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.fact p { margin: 0; font-size: 14px; color: var(--ink-2); }
.spark { width: 100%; height: 64px; display: block; }
.spark path.l { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark path.a { fill: var(--brand-50); stroke: none; }
.spark circle { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.calc { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.calc .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.calc .out { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc .out b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.price-row:first-child { border-top: 0; }
.price-row b { font-family: var(--mono); font-size: 13px; }
.price-row span { color: var(--muted); font-size: 12.5px; grid-column: 1 / -1; }

/* Accounts, paywall, My business */
/* ---------- Opening: the Mzansi Tenders portal ---------- */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: auto; overflow: hidden; }
.intro .door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: radial-gradient(120% 90% at 100% 50%, #0d3a27 0%, #062016 55%, #03120c 100%); transition: transform 1.1s cubic-bezier(.7,0,.2,1); }
.intro .door.l { left: 0; border-right: 1px solid rgba(255,182,18,.35); }
.intro .door.r { right: 0; transform-origin: right; background: radial-gradient(120% 90% at 0% 50%, #0d3a27 0%, #062016 55%, #03120c 100%); border-left: 1px solid rgba(255,182,18,.35); }
.intro .core { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; text-align: center; padding: 24px; transition: opacity .5s ease, transform 1.1s cubic-bezier(.7,0,.2,1); }
.intro .ring { position: absolute; width: 340px; height: 340px; max-width: 86vw; max-height: 86vw; border-radius: 50%; left: 50%; top: 50%; translate: -50% -58%; border: 2px solid rgba(255,182,18,.55); box-shadow: 0 0 60px rgba(255,182,18,.25), inset 0 0 50px rgba(0,122,77,.5); animation: in-ring 2.2s ease-out both; }
.intro .ring.two { width: 250px; height: 250px; border-color: rgba(79,212,154,.55); animation-delay: .15s; }
.intro img { width: min(300px, 70vw); height: auto; animation: in-logo 1.2s .25s cubic-bezier(.2,.8,.2,1) both; filter: drop-shadow(0 6px 24px rgba(0,0,0,.4)); }
.intro .tag { color: #f6c862; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; animation: in-up .8s .9s ease both; }
.intro .line { width: 0; height: 2px; background: linear-gradient(90deg, transparent, #ffb612, transparent); animation: in-line 1s 1.1s ease forwards; }
.intro .skip { position: absolute; z-index: 3; right: 18px; bottom: 18px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 13px; cursor: pointer; }
.intro.open .door.l { transform: translateX(-101%); }
.intro.open .door.r { transform: translateX(101%); }
.intro.open .core { opacity: 0; transform: scale(1.25); }
.intro.open .skip { display: none; }
.intro.open { pointer-events: none; }
@keyframes in-ring { 0% { opacity: 0; transform: scale(.4) rotate(-40deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes in-logo { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes in-up { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes in-line { to { width: min(260px, 60vw); } }
@media (prefers-reduced-motion: reduce) { .intro * { animation: none !important; transition: none !important; } }
.portal-bg { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 16px; background: rgba(3,18,12,.72); backdrop-filter: blur(6px); overflow-y: auto; }
.portal { margin: auto 0; width: min(680px, 100%); background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,182,18,.35); animation: in-up .5s ease both; }
.portal .ph { background: radial-gradient(120% 140% at 50% 0%, #0d3a27, #03120c); color: #fff; padding: 20px 24px 18px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.portal .ph img { width: 150px; height: auto; }
.portal .ph h2 { margin: 6px 0 0; font-size: 22px; color: #fff; }
.portal .ph p { margin: 0; color: #cfe7da; font-size: 14.5px; line-height: 1.45; }
.portal .pb { padding: 20px 22px 22px; display: grid; gap: 14px; }
.portal .pb h3 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.portal form { display: grid; gap: 8px; }
.portal .plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portal .pl { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; text-align: left; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); display: grid; gap: 2px; }
.portal .pl:hover { border-color: var(--brand); }
.portal .pl b { font-size: 15px; } .portal .pl .pr { font-size: 20px; font-weight: 800; color: var(--brand-text, var(--brand)); } .portal .pl small { color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }
.portal .pl.pro { border-color: var(--gold); background: var(--gold-50); }
.portal .or { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 12.5px; } .portal .or::before, .portal .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.portal .guest { background: none; border: 1.5px dashed var(--line); border-radius: 12px; padding: 11px; font: inherit; color: var(--ink); cursor: pointer; display: grid; gap: 2px; }
.portal .guest:hover { border-color: var(--ink-2); } .portal .guest small { color: var(--ink-2); font-size: 12.5px; }
.portal .ph-tour { display: none; background: none; border: 0; color: #f6c862; font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px; }
.portal .pl .more { display: none; font-size: 12.5px; color: var(--ink-2); margin-top: -2px; }
@media (max-width: 760px) {
  .portal .plans2 { grid-template-columns: 1fr; }
  .portal .pl li:nth-child(n+4) { display: none; }  /* phones: the three main features; Our pricing has the rest */
  .portal .pl .more { display: block; }
  .portal .ph-tour { display: inline-block; }
  .portal .ph { padding: 16px 18px 14px; } .portal .ph img { width: 120px; } .portal .ph h2 { font-size: 19px; } .portal .ph p { font-size: 13.5px; }
  .portal .pb { padding: 16px; gap: 12px; }
  .tour { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
.portal .pl { position: relative; align-content: start; gap: 6px; padding: 16px; cursor: default; }
.portal .pl ul { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 5px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.portal .pl li { display: flex; gap: 6px; } .portal .pl li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.portal .pl .bdg { position: absolute; top: -10px; right: 12px; background: var(--gold); color: #1a1200; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.portal .pl .plus { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.portal .pl .btn { margin-top: auto; width: 100%; justify-content: center; }
.portal .pp-note { margin: -4px 0 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.tour { position: fixed; z-index: 70; left: 50%; bottom: 18px; translate: -50% 0; width: min(460px, calc(100% - 32px)); background: #062016; color: #fff; border: 1px solid rgba(255,182,18,.5); border-radius: 16px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4); display: grid; gap: 8px; animation: in-up .35s ease both; }
.tour .ts { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #f6c862; font-weight: 700; }
.tour h4 { margin: 0; font-size: 17px; color: #fff; } .tour p { margin: 0; font-size: 14px; line-height: 1.45; color: #cfe7da; }
.tour .ta { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: 4px; }
.tour .ta .nx { background: var(--gold); color: #1a1200; border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.tour .ta .sk { background: none; border: 0; color: #cfe7da; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.tour .dots { display: flex; gap: 5px; } .tour .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); } .tour .dots i.on { background: #ffb612; }
.guest-bar { position: sticky; top: 0; z-index: 30; background: #062016; color: #fff; font-size: 13.5px; padding: 8px 16px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.guest-bar button { background: var(--gold); color: #1a1200; border: 0; border-radius: 999px; padding: 5px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.guest-bar .lk { background: none; color: #f6c862; padding: 0; text-decoration: underline; font-weight: 600; }
.guest-list { margin-bottom: 18px; } .guest-list .row { position: relative; } .guest-list .gl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.guest-list .lockchip { font-size: 12px; font-weight: 700; color: var(--gold-text); background: var(--gold-50); border-radius: 999px; padding: 3px 10px; }
.modal-bg { position: fixed; inset: 0; background: var(--overlay); z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); width: min(440px, 100%); padding: 24px; display: grid; gap: 14px; }
.modal h2 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.modal p { margin: 0; color: var(--muted); font-size: 14px; }
.modal form { display: grid; gap: 10px; }
.modal .input { height: 44px; font-size: 15px; }
.paywall { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.paywall .peek { position: relative; }
.paywall .peek .row:nth-child(n+3) { filter: blur(5px); pointer-events: none; user-select: none; }
.paywall .peek::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, var(--surface) 85%); pointer-events: none; }
.paywall .cta { padding: 8px 24px 28px; text-align: center; display: grid; gap: 12px; justify-items: center; position: relative; }
.paywall .cta h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.paywall .cta p { margin: 0; color: var(--muted); max-width: 52ch; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); text-align: left; display: grid; gap: 2px; }
button.kpi:hover { border-color: var(--line-2); background: var(--bg-subtle); }
.kpi b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi.warn b { color: var(--red); }
.biz-grid.one { grid-template-columns: 1fr !important; }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.biz-grid > * { min-width: 0; }
.docs { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: center; }
.doc-row:first-child { border-top: 0; }
.doc-row b { font-size: 14px; font-weight: 600; }
.doc-row small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
.doc-row .edit { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-2); }
.doc-row .edit .input { width: auto; height: 32px; }
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.form-grid label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 1180px) {
  .member .nav-links { display: none; }
  .member .pagebar { display: block; }
}
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 40px; }
  .nav-links { display: none; }
  .pagebar { display: block; }
  .app { grid-template-columns: 1fr; }
  .filter-btn { display: inline-flex; }
  .filters { display: none; position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 85vh; overflow-y: auto; z-index: 22; background: var(--surface);
    border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; padding: 18px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 -12px 40px rgba(0,0,0,.18); }
  .filters.open { display: grid; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; }
  .filters-head h3 { margin: 0; font-size: 16px; }
  .insights, .plans, .intel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; }
  .step:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  footer .container { grid-template-columns: 1fr 1fr; }
  footer .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav .container { gap: 12px; height: 58px; }
  .logo .wm { font-size: 17px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 16px; }
  .stat b { font-size: 21px; }
  .stat { padding-right: 12px; margin-right: 12px; }
  .search .btn { padding: 0 14px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 16px; }
  .row-side { display: flex; justify-content: flex-start; align-items: center; gap: 10px; text-align: left; }
  .row-side .star { position: absolute; top: 8px; right: 8px; margin: 0; }
  .row-top { padding-right: 34px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .brow { grid-template-columns: 56px minmax(0, 1fr); }
  .brow .side { grid-column: 2; }
  .biz-grid { grid-template-columns: 1fr; }
  section.block { padding-block: 44px; }
  .sec-head h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .progress i { transition: none; } .spin { animation: none; } }

/* ===================== MzansiTenders skin =====================
   Layout: deep-green hero with a live dot map of Africa; flag stripe as the signature; colour-coded sectors;
   tender cards scanned left to right: sector icon, title, then date with a countdown bar.
   Palette from the South African flag: green leads, gold highlights, red for urgency, blue for briefings, black for ink. */
:root {
  --sa-green: #007a4d; --sa-gold: #ffb612; --sa-red: #de3831; --sa-blue: #002395; --sa-black: #101412;
  --hero-bg: #04241a; --hero-bg-2: #073827; --hero-ink: #f3f7f4; --hero-muted: #a9c3b6; --hero-line: rgba(255,255,255,.12);
  --bg: #f4f6f3; --bg-subtle: #eceff0; --surface: #ffffff; --ink: #101412; --ink-2: #333c37; --muted: #64706a; --line: #e2e6e3; --line-2: #cfd6d1;
  --gold-50: #fff3d6; --gold-text: #8a5b00; --red-50: #fdeceb; --blue: #1d3fbf; --blue-50: #eaefff;
  --s-water: #0a7cc1; --s-mining: #8b5a2b; --s-construction: #d9480f; --s-energy: #c98a00; --s-ict: #5b47d6; --s-health: #d6336c;
  --s-transport: #0b7a75; --s-security: #2f4fc2; --s-cleaning: #2b8a3e; --s-catering: #a61e4d; --s-consulting: #52606d;
  --s-agriculture: #5c940d; --s-mechanical: #7a6648; --s-supplies: #9c36b5; --s-other: #6b7a72;
  --shadow: 0 1px 2px rgba(16,20,18,.05), 0 6px 18px rgba(16,20,18,.06);
  --shadow-lg: 0 2px 4px rgba(16,20,18,.06), 0 18px 40px rgba(16,20,18,.10);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --hero-bg: #021a12; --hero-bg-2: #062b1e; --bg: #0b0f0d; --bg-subtle: #121815; --surface: #141b17; --ink: #edf2ee; --ink-2: #c5cec9; --muted: #8d9a93; --line: #222b26; --line-2: #2f3a34;
  --gold-50: #2d2410; --gold-text: #ffcb52; --red-50: #3a1714; --blue: #93a9ff; --blue-50: #151d3d;
  --s-water: #4db3f0; --s-mining: #d39a63; --s-construction: #ff8a50; --s-energy: #ffc533; --s-ict: #a091ff; --s-health: #ff7aa5;
  --s-transport: #3cc7bf; --s-security: #8ea4ff; --s-cleaning: #5fcf75; --s-catering: #f06292; --s-consulting: #a3b1bf;
  --s-agriculture: #9bd04a; --s-mechanical: #c9b48f; --s-supplies: #d27ee6; --s-other: #9fb0a7;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.3); --shadow-lg: 0 18px 40px rgba(0,0,0,.45); } }
:root[data-theme="dark"] {
  --hero-bg: #021a12; --hero-bg-2: #062b1e; --bg: #0b0f0d; --bg-subtle: #121815; --surface: #141b17; --ink: #edf2ee; --ink-2: #c5cec9; --muted: #8d9a93; --line: #222b26; --line-2: #2f3a34;
  --gold-50: #2d2410; --gold-text: #ffcb52; --red-50: #3a1714; --blue: #93a9ff; --blue-50: #151d3d;
  --s-water: #4db3f0; --s-mining: #d39a63; --s-construction: #ff8a50; --s-energy: #ffc533; --s-ict: #a091ff; --s-health: #ff7aa5;
  --s-transport: #3cc7bf; --s-security: #8ea4ff; --s-cleaning: #5fcf75; --s-catering: #f06292; --s-consulting: #a3b1bf;
  --s-agriculture: #9bd04a; --s-mechanical: #c9b48f; --s-supplies: #d27ee6; --s-other: #9fb0a7;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.3); --shadow-lg: 0 18px 40px rgba(0,0,0,.45); }

body { font-size: 15px; letter-spacing: -.003em; }
.hero h1, .sec-head h2, .tile h3, .price b, .fact b, .stat b, .kpi b, .dbody h2, .paywall .cta h3, .panel h3, .upsell h3, .bizhead h2, .soon-card header h2 { font-family: var(--display); letter-spacing: -.025em; }

/* Flag stripe: the brand's signature, under the nav and above the footer */
.flagline { height: 5px; background: linear-gradient(90deg, var(--sa-green) 0 30%, var(--sa-gold) 30% 42%, var(--sa-black) 42% 58%, #ffffff 58% 64%, var(--sa-red) 64% 82%, var(--sa-blue) 82% 100%); }
.mini-flag { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }

/* Nav */
.nav { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
.logo .wm { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo .wm span { color: var(--sa-green); }
.nav-links a { font-weight: 600; color: var(--ink-2); position: relative; }
.nav-links a[aria-current="page"] { color: var(--ink); background: none; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sa-gold); }
.btn { border-radius: var(--r-btn); font-weight: 600; }
.btn.primary { background: var(--sa-green); border-color: var(--sa-green); }
.btn.gold, #nav-cta { background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; }
.btn.gold:hover, #nav-cta:hover { background: #ffc43d; border-color: #ffc43d; }

/* Hero */
.hero { position: relative; overflow: visible; z-index: 2; color: var(--hero-ink); border-bottom: 0;
  background: radial-gradient(70% 90% at 85% 40%, rgba(255,182,18,.13), transparent 60%), linear-gradient(160deg, var(--hero-bg-2), var(--hero-bg) 60%) !important; }
.hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding-block: 52px 56px; align-items: center; }
.hero .live, .pg-band .live { background: rgba(255,255,255,.06); border-color: var(--hero-line); color: var(--hero-muted); }
.hero .live i, .pg-band .live i { background: var(--sa-gold); box-shadow: 0 0 0 3px rgba(255,182,18,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,182,18,0); } }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: .98; font-weight: 800; max-width: 13ch; margin: 20px 0 16px; color: #fff; }
.hero h1 em { color: var(--sa-gold); font-style: normal; }
.hero .lede { color: var(--hero-muted); font-size: 18px; max-width: 48ch; }
.hero .search input { height: 54px; border: 0; border-radius: 12px; background: #fff; color: #101412; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero .search .btn { height: 54px; background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; padding: 0 22px; border-radius: 12px; }
.hero .popular, .hero .popular span { color: var(--hero-muted); }
.hero .popular button { color: #fff; text-decoration: none; border: 1px solid var(--hero-line); border-radius: 999px; padding: 4px 11px; background: rgba(255,255,255,.04); }
.hero .popular button:hover { border-color: var(--sa-gold); color: var(--sa-gold); }
.hero .stats { gap: 10px; margin-top: 30px; }
.hero .stat { border: 1px solid var(--hero-line); background: rgba(255,255,255,.04); border-radius: 12px; padding: 12px 14px; margin: 0; flex: 1 1 120px; }
.hero .stat:last-child { border-right: 1px solid var(--hero-line); }
.hero .stat b { color: #fff; font-size: 28px; font-weight: 800; }
.hero .stat span { color: var(--hero-muted); }
.hero .stat:nth-child(1) b { color: #fff; } .hero .stat:nth-child(2) b { color: var(--sa-gold); }
.mapbox { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.mapbox canvas { width: 100%; height: 100%; display: block; cursor: pointer; }
.map-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); background: #fff; color: #101412; border-radius: 10px; padding: 8px 12px; font-size: 13px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.map-tip b { display: block; font-family: var(--display); font-size: 15px; }
.map-legend { position: absolute; left: 0; bottom: 4px; display: flex; gap: 14px; font-size: 12px; color: var(--hero-muted); flex-wrap: wrap; }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* Home below the hero */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: start; }
.home-grid > * { min-width: 0; }
.soon-card { box-shadow: var(--shadow-lg); border: 0; }
.soon-card header h2 { font-size: 20px; }
.soon-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { border-radius: var(--r-card); box-shadow: none; }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile .ic { background: var(--gold-50); color: var(--gold-text); border-radius: 12px; }
.tile:nth-child(2) .ic { background: color-mix(in srgb, var(--sa-blue) 12%, var(--surface)); color: var(--blue); }
.tile:nth-child(3) .ic { background: var(--brand-50); color: var(--brand-text); }
.tile:nth-child(4) .ic { background: var(--red-50); color: var(--sa-red); }

/* Sector colour system */
.sico { --sc: var(--s-other); background: color-mix(in srgb, var(--sc) 14%, var(--surface)); color: var(--sc); width: 44px; height: 44px; border-radius: 12px; }
.sico.af { background: color-mix(in srgb, var(--sc) 14%, var(--surface)); color: var(--sc); }
.sico svg { width: 22px; height: 22px; }
.row-top .sec { color: var(--sc, var(--ink-2)); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11.5px; }
.secopt .sw { width: 10px; height: 10px; border-radius: 3px; background: var(--sc); flex: none; }
.secopt > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.secopt[aria-pressed="true"] { background: color-mix(in srgb, var(--sc, var(--sa-green)) 13%, var(--surface)); color: var(--ink); }

/* Tender cards */
.list { border: 0; background: none; display: grid; gap: 10px; overflow: visible; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.row:first-child { border-top: 1px solid var(--line); }
.row:hover { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.row h3 { font-size: 16px; line-height: 1.42; margin-bottom: 6px; }
.row .meta { white-space: normal; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.row .meta .ic { display: inline-flex; align-items: center; gap: 5px; }
.row .meta svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.row-side { align-content: space-between; height: 100%; }
.row-side .d { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.row-side .wd { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.tbar { width: 100%; height: 5px; border-radius: 5px; background: var(--bg-subtle); overflow: hidden; margin-top: 6px; }
.tbar i { display: block; height: 100%; border-radius: 5px; background: var(--sa-green); }
.tbar.soon i { background: var(--sa-gold); } .tbar.urgent i { background: var(--sa-red); }
.row-side .r { font-weight: 600; }
.star { border-radius: 10px; }
.star[aria-pressed="true"] { color: var(--sa-gold); }
.star[aria-pressed="true"] svg { fill: var(--sa-gold); }

/* Region switch and country chips */
.region { gap: 10px; }
.region button { border-radius: 14px; padding: 12px 18px; border-width: 1.5px; box-shadow: var(--shadow); }
.region button svg { width: 22px; height: 22px; }
.region button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.region button[aria-pressed="true"] small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.region .lock { background: var(--sa-gold); color: #1d1500; }
.countries { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 12px; margin: 0 0 8px; }
.countries button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px 7px 8px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.countries button .cc { font-family: var(--mono); font-size: 10.5px; font-weight: 700; background: var(--bg-subtle); color: var(--ink-2); border-radius: 6px; padding: 3px 5px; }
.countries button b { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.countries button:hover { border-color: var(--sa-gold); }
.countries button[aria-pressed="true"] { background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; }
.countries button[aria-pressed="true"] .cc { background: rgba(0,0,0,.12); color: #1d1500; }
.countries button[aria-pressed="true"] b { color: #3d2c00; }
.tabs { border-bottom-width: 1px; }
.tab { font-weight: 600; }
.tab[aria-selected="true"] { border-bottom: 3px solid var(--sa-gold); }

/* My business */
.bizhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px; border-radius: var(--r-card); margin-bottom: 16px; color: var(--hero-ink);
  background: radial-gradient(60% 120% at 100% 0%, rgba(255,182,18,.16), transparent 60%), linear-gradient(150deg, var(--hero-bg-2), var(--hero-bg)); }
.bizhead > * { min-width: 0; }
.bizhead .av { width: 72px; height: 72px; border-radius: 18px; background: var(--sa-gold); color: #1d1500; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -.03em; }
.bizhead h2 { margin: 0 0 4px; font-size: clamp(22px, 3vw, 32px); color: #fff; overflow-wrap: anywhere; }
.bizhead p { margin: 0 0 10px; color: var(--hero-muted); font-size: 14px; }
.bizhead .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bizhead .chips span { font-size: 12.5px; font-weight: 600; border: 1px solid var(--hero-line); background: rgba(255,255,255,.06); border-radius: 999px; padding: 4px 10px; color: #fff; }
.bizhead .chips span.gold { background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: conic-gradient(var(--sa-gold) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.ring > div { width: 76px; height: 76px; border-radius: 50%; background: var(--hero-bg); display: grid; place-content: center; }
.ring b { font-family: var(--display); font-size: 22px; color: #fff; line-height: 1; }
.ring small { font-size: 10.5px; color: var(--hero-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi { border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow); border-color: transparent; }
.kpi b { font-size: 30px; font-weight: 800; }
.kpi small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.kpis .kpi:nth-child(1) b { color: var(--sa-green); } .kpis .kpi:nth-child(2) b { color: var(--sa-red); } .kpis .kpi:nth-child(3) b { color: var(--blue); } .kpis .kpi:nth-child(4) b { color: var(--gold-text); }
.panel { border-radius: var(--r-card); border-color: transparent; box-shadow: var(--shadow); }
.dl { grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr); gap: 10px 18px; }
.dl dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; padding-top: 2px; }
.dl dd.na { color: var(--muted); font-style: italic; }
.dl dd.ok { color: var(--ink, #14211D); }
.dl dd.ok .dd-v { display: inline-flex; gap: 6px; align-items: flex-start; }
.dl dd.ok .dd-v b { font-weight: 700; }
.dl dd.ok .dd-v svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--green, #1E5447); stroke: currentColor; }
.bz-ed { border: 0; background: none; padding: 0 2px; margin-left: 6px; font: inherit; font-size: 13px; font-weight: 700; font-style: normal; color: var(--green, #1E5447); text-decoration: underline; cursor: pointer; }
.bz-ed.add { text-decoration: none; }
.bz-filled { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.about { margin: 0 0 14px; color: var(--ink-2); max-width: 70ch; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid textarea { min-height: 84px; height: auto; padding: 10px 12px; resize: vertical; font: inherit; }

/* Pricing, upsell */
.plan { border-radius: var(--r-card); }
.plan.featured { border: 0; color: var(--hero-ink); background: radial-gradient(70% 80% at 100% 0%, rgba(255,182,18,.18), transparent 60%), linear-gradient(150deg, var(--hero-bg-2), var(--hero-bg)); box-shadow: var(--shadow-lg); }
.plan.featured p, .plan.featured .price span, .plan.featured ul { color: var(--hero-muted); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured li svg { color: var(--sa-gold); }
.plan.featured .btn { background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; }
.plan.featured .pill { background: var(--sa-gold); color: #1d1500; }
.upsell { border: 0; box-shadow: var(--shadow-lg); }
.upsell .u-head { background: radial-gradient(60% 120% at 100% 0%, rgba(255,182,18,.18), transparent 60%), linear-gradient(150deg, var(--hero-bg-2), var(--hero-bg)); color: var(--hero-ink); }
.upsell .u-head p { color: var(--hero-muted); }
.upsell .u-head h3 { color: #fff; }
.upsell .cc span { background: rgba(255,255,255,.06); border-color: var(--hero-line); color: #fff; }
.upsell .u-foot .btn { background: var(--sa-gold); border-color: var(--sa-gold); color: #1d1500; }
footer { position: relative; }


/* Stories: Instagram-style "just in" bubbles and viewer */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 6px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.stb { flex: none; width: 76px; display: grid; justify-items: center; gap: 6px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink-2); }
.stb .ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--sa-green), var(--sa-gold), var(--sa-red), var(--sa-blue), var(--sa-green)); transition: transform .15s; }
.stb:hover .ring { transform: scale(1.05); }
.stb.seen .ring { background: var(--line-2); }
.stb .in { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 16%, var(--surface)); color: var(--sc); position: relative; }
.stb .in svg { width: 26px; height: 26px; }
.stb .n { position: absolute; right: -4px; bottom: -2px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--sa-red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.stb span.l { font-size: 12px; font-weight: 600; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stb.hot .in { background: var(--sa-red); color: #fff; }
/* Bubbles: bold sector colour (or the sector's photo) instead of a pale tint */
.stb .in { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--sc) 70%, #fff), var(--sc) 70%); color: #fff; }
.stb .in svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.stb.ph .in { background: linear-gradient(rgba(6,20,15,.15), rgba(6,20,15,.55)), var(--ph) center / cover; }
.stb.ph .in svg { width: 20px; height: 20px; opacity: .95; }
.stb .n { z-index: 1; }
.st-card.ph { background: linear-gradient(180deg, rgba(4,12,9,.55) 0%, rgba(4,12,9,.25) 35%, rgba(4,12,9,.85) 75%, #020c08 100%), var(--ph) center / cover; }
.story { position: fixed; inset: 0; z-index: 45; background: rgba(4, 12, 9, .94); display: grid; place-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
.st-card { position: relative; width: min(420px, 100%); height: min(760px, 100%); border-radius: 22px; overflow: hidden; color: #fff; display: flex; flex-direction: column;
  background: radial-gradient(90% 60% at 80% 10%, color-mix(in srgb, var(--sc) 55%, transparent), transparent 70%), linear-gradient(170deg, var(--hero-bg-2), #020c08); user-select: none; }
.st-bars { display: flex; gap: 4px; padding: 12px 12px 0; position: relative; z-index: 3; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; }
.st-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.st-bars i.done b { width: 100%; }
.st-head { display: flex; align-items: center; gap: 10px; padding: 12px 56px 0 14px; position: relative; z-index: 3; font-size: 13.5px; }
.st-head .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 30%, #fff); color: var(--sc); }
.st-head .av svg { width: 20px; height: 20px; }
.st-head small { color: rgba(255,255,255,.7); }
.st-x { position: absolute; top: 18px; right: 10px; z-index: 4; color: #fff; background: rgba(255,255,255,.12); border-color: transparent; }
.st-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; justify-content: safe center; gap: 16px; padding: 18px 24px; position: relative; z-index: 1; }
.st-body h2.mid { font-size: clamp(19px, 4.6vw, 22px); } .st-body h2.long { font-size: 17px; line-height: 1.3; }
.st-body .big { width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; background: #fff; color: var(--sc); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.st-body .big svg { width: 52px; height: 52px; }
.st-body h2 { margin: 0; font-family: var(--display); font-size: clamp(22px, 5.6vw, 28px); line-height: 1.18; letter-spacing: -.02em; overflow-wrap: anywhere; }
.st-body .kv { display: grid; gap: 8px; font-size: 15px; color: rgba(255,255,255,.86); }
.st-body .kv span { display: flex; gap: 10px; align-items: center; }
.st-body .kv svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.st-body .due { display: inline-flex; align-self: flex-start; align-items: baseline; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 10px 14px; }
.st-body .due b { font-family: var(--display); font-size: 24px; }
.st-body .due.urgent { background: var(--sa-red); border-color: var(--sa-red); }
.st-tap { position: absolute; top: 70px; bottom: 90px; width: 35%; z-index: 2; cursor: pointer; }
.st-tap.prev { left: 0; } .st-tap.next { right: 0; width: 65%; }
.st-foot { display: flex; gap: 10px; padding: 14px 16px 18px; position: relative; z-index: 3; }
.st-foot .btn { flex: 1; height: 46px; }
.st-foot .btn:not(.gold) { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
@media (prefers-reduced-motion: reduce) { .stb .ring { transition: none; } }

.search .field { position: relative; }
.hero .search { position: relative; z-index: 25; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; max-height: 70vh; overflow-y: auto; text-align: left; }
.sg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.sg:first-child { border-top: 0; }
.sg:hover, .sg.on { background: var(--bg-subtle); }
.sg .si { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc, var(--s-other)) 14%, var(--surface)); color: var(--sc, var(--muted)); }
.sg .si svg { width: 17px; height: 17px; }
.sg .st { min-width: 0; } .sg .st b { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg .st small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg .sk { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.sg.all { display: block; font-weight: 700; color: var(--brand-text); background: var(--bg-subtle); }
.sg.none { display: block; cursor: default; color: var(--ink-2); font-size: 14px; padding: 14px; }
.snote { padding: 12px 16px; border-radius: 12px; background: var(--gold-50); color: var(--gold-text); font-weight: 600; font-size: 14px; }

.app-modal { max-width: 520px; }
.app-tabs { display: flex; gap: 6px; background: var(--bg-subtle); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.app-tabs button { flex: 1; border: 0; background: none; border-radius: 9px; padding: 8px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.app-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.app-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.app-steps li { counter-increment: s; position: relative; padding: 3px 0 0 40px; min-height: 30px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.app-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sa-green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.app-steps b { color: var(--ink); }
.kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; font-size: 12.5px; text-align: center; background: var(--surface); }
#app-install { margin-bottom: 14px; }
.habit { margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; border-radius: var(--r-card); padding: 18px 20px; color: var(--hero-ink);
  background: radial-gradient(60% 120% at 100% 0%, rgba(255,182,18,.18), transparent 60%), linear-gradient(150deg, var(--hero-bg-2), var(--hero-bg)); }
.habit > * { min-width: 0; }
.habit-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sa-gold); color: #1d1500; display: grid; place-items: center; }
.habit b { font-family: var(--display); font-size: 19px; color: #fff; }
.habit p { margin: 2px 0 0; color: var(--hero-muted); font-size: 14px; }
@media (max-width: 640px) { .habit { grid-template-columns: auto minmax(0, 1fr); } .habit .btn { grid-column: 1 / -1; } }
.swipe-btn { border-color: var(--sa-gold); }
.swipe-btn svg { color: var(--gold-text); }
.swipe { position: fixed; inset: 0; z-index: 40; background: radial-gradient(80% 70% at 50% 30%, var(--hero-bg-2), var(--hero-bg)); color: #fff; display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.sw-top { display: flex; justify-content: space-between; align-items: center; max-width: 520px; width: 100%; margin: 0 auto; font-weight: 600; color: var(--hero-muted); }
.sw-top .icon-btn { color: #fff; background: rgba(255,255,255,.12); border-color: transparent; }
.sw-deck { position: relative; width: 100%; max-width: 440px; max-height: 540px; margin: 14px auto; min-height: 380px; align-self: center; height: 100%; }
.sw-card { position: absolute; inset: 0; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  touch-action: none; user-select: none; cursor: grab; overflow: hidden; will-change: transform; transition: transform .28s ease, opacity .28s; }
.sw-card.next { transform: scale(.95) translateY(14px); opacity: .7; pointer-events: none; }
.sw-card.drag { transition: none; cursor: grabbing; }
.sw-card .band { margin: -22px -22px 4px; height: 120px; display: grid; place-items: center; background: color-mix(in srgb, var(--sc) 16%, var(--surface)); color: var(--sc); }
.sw-card .band svg { width: 60px; height: 60px; }
.sw-card h3 { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sw-card .meta { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.sw-card .meta span { display: flex; gap: 8px; align-items: center; }
.sw-card .meta svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.sw-card .due { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.sw-card .due b { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.sw-card .stamp { position: absolute; top: 22px; padding: 6px 12px; border: 3px solid; border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .06em; opacity: 0; transform: rotate(-12deg); }
.sw-card .stamp.yes { left: 18px; color: var(--sa-green); }
.sw-card .stamp.no { right: 18px; color: var(--sa-red); transform: rotate(12deg); }
.sw-done { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; color: #fff; }
.sw-done b { font-family: var(--display); font-size: 26px; }
.sw-actions { display: flex; justify-content: center; align-items: center; gap: 18px; }
.sw-b { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .12s; }
.sw-b:active { transform: scale(.92); }
.sw-b svg { width: 28px; height: 28px; }
.sw-b.skip { background: #fff; color: var(--sa-red); }
.sw-b.save { background: var(--sa-gold); color: #1d1500; width: 72px; height: 72px; }
.sw-b.open { width: auto; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-weight: 600; }
.sw-hint { text-align: center; margin: 12px 0 0; font-size: 12.5px; color: var(--hero-muted); }
@media (prefers-reduced-motion: reduce) { .sw-card { transition: none; } }
.grp { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin: 8px 0 14px; display: flex; align-items: center; gap: 10px; }
.grp::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sa-green) 0 50%, var(--sa-gold) 50%); }
.tipgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.tip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); }
.tip .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-text); font-weight: 800; font-size: 14px; }
.tip.done .tick { background: var(--brand-50); color: var(--brand-text); }
.tip .tick svg { width: 15px; height: 15px; }
.tip b { font-size: 14.5px; }
.tip p { margin: 3px 0 4px; font-size: 13.5px; color: var(--ink-2); }
.tip small { font-size: 12px; color: var(--muted); font-weight: 600; }
.tip.done { opacity: .75; }
.pill.goods { background: color-mix(in srgb, var(--s-supplies) 13%, var(--surface)); color: var(--s-supplies); border-color: transparent; }
.goods-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 360px; overflow-y: auto; }
.goods { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.goods th { position: sticky; top: 0; background: var(--bg-subtle); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; }
.goods td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.goods td:first-child { color: var(--muted); width: 28px; }
.goods .q { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.goods .q small { font-weight: 500; color: var(--muted); }
.trtag { display: inline-block; vertical-align: 2px; margin-left: 6px; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--blue); background: var(--blue-50); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.tr-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; background: color-mix(in srgb, var(--sa-blue) 5%, var(--surface)); }
.tr-text { white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-height: 60vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 14px; margin: 10px 0 8px; overflow-wrap: anywhere; }
.plan.addon { border: 1.5px dashed var(--line-2); box-shadow: none; }
@media (max-width: 1020px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 36px 28px; }
  .mapbox { max-width: 420px; }
  .home-grid { grid-template-columns: 1fr; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .pagebar a[aria-current="page"] { background: var(--sa-green); border-color: var(--sa-green); color: #fff; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .row-side { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; text-align: left; gap: 10px; }
  .row-side .tbar { margin: 0; }
  .bizhead { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .bizhead .ring { grid-column: 1 / -1; justify-self: start; width: auto; height: auto; background: none; }
  .bizhead .ring > div { width: auto; height: auto; background: none; display: flex; gap: 8px; align-items: baseline; }
  .dl { grid-template-columns: max-content minmax(0, 1fr); }
  .hero h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .hero .live i { animation: none; } .row { transition: none; } }

/* ===================== Mzansi Tenders brand system (Brand Specification v1.0) =====================
   Field green ~70%, pointer yellow 5-8%, white paper, black depth. Red only in the logo artwork.
   Instrument Serif for the voice, Inter for the work. Radius 6px cards, 3px pills and buttons. */
:root {
  --green: #1E5447; --green-l: #2A6B5B; --green-d: #133A31; --green-dd: #0B251F;
  --yellow: #FECB02; --yellow-d: #F5C000; --black: #0E1512; --white: #FFFFFF; --warm: #F4F1E8; --error: #9E2B21;
  --text: #0E1512; --text-muted: #6B7570; --text-faint: #9AA39E; --rule: #DFDCD2;
  --g-field: linear-gradient(180deg,#2A6B5B,#1E5447 46%,#133A31);
  --g-deep: linear-gradient(155deg,#1E5447,#0B251F);
  --g-lamp: radial-gradient(120% 90% at 78% 10%,rgba(254,203,2,.30),transparent 58%),linear-gradient(180deg,#1E5447,#133A31);
  --g-night: radial-gradient(70% 120% at 50% 120%,rgba(254,203,2,.42),transparent 60%),#0E1512;
  --e1: 0 1px 2px rgba(14,21,18,.06), 0 1px 1px rgba(14,21,18,.04);
  --e2: 0 2px 4px rgba(14,21,18,.06), 0 4px 12px rgba(14,21,18,.08);
  --e3: 0 4px 8px rgba(14,21,18,.06), 0 12px 32px rgba(14,21,18,.12);
  --hairline: inset 0 1px 0 rgba(255,255,255,.14);
  --r: 6px; --r-sm: 3px;
  --font: "Inter", system-ui, -apple-system, sans-serif; --display: "Instrument Serif", Georgia, serif; --mono: "Inter", system-ui, sans-serif;
  --bg: var(--warm); --bg-subtle: #ECE8DC; --surface: #FFFFFF; --ink: #0E1512; --ink-2: #2E3833; --muted: #6B7570; --line: #DFDCD2; --line-2: #CFCBBE;
  --brand: #1E5447; --brand-hover: #2A6B5B; --brand-text: #1E5447; --brand-50: #E7EEEB; --on-brand: #fff;
  --gold-50: #FFF6CF; --gold-text: #6B5300; --red: #9E2B21; --red-50: #F6E7E5; --blue: #1E5447; --blue-50: #E7EEEB;
  --sa-gold: #FECB02; --sa-green: #1E5447; --sa-red: #9E2B21;
  --hero-bg: #133A31; --hero-bg-2: #1E5447; --hero-ink: #FFFFFF; --hero-muted: rgba(255,255,255,.74); --hero-line: rgba(255,255,255,.16);
  --s-water: #1E5447; --s-mining: #1E5447; --s-construction: #1E5447; --s-energy: #1E5447; --s-ict: #1E5447; --s-health: #1E5447; --s-transport: #1E5447;
  --s-security: #1E5447; --s-cleaning: #1E5447; --s-catering: #1E5447; --s-consulting: #1E5447; --s-agriculture: #1E5447; --s-mechanical: #1E5447; --s-supplies: #1E5447; --s-other: #1E5447;
  --shadow: var(--e1); --shadow-lg: var(--e2); --r-card: 6px; --r-btn: 3px; --r-input: 6px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0B251F; --bg-subtle: #133A31; --surface: #10302A; --ink: #F4F1E8; --ink-2: #D9DED8; --muted: #9FB3AC; --line: #21463D; --line-2: #2C574C; --rule: #21463D;
  --brand: #2A6B5B; --brand-hover: #1E5447; --brand-text: #9FD2C2; --brand-50: #163F35; --text: #F4F1E8; --text-muted: #9FB3AC;
  --gold-50: #2F2A0E; --gold-text: #FECB02; --red-50: #3A1B18; --red: #E2867C; --blue: #9FD2C2; --blue-50: #163F35; --error: #E2867C;
  --s-water: #9FD2C2; --s-mining: #9FD2C2; --s-construction: #9FD2C2; --s-energy: #9FD2C2; --s-ict: #9FD2C2; --s-health: #9FD2C2; --s-transport: #9FD2C2;
  --s-security: #9FD2C2; --s-cleaning: #9FD2C2; --s-catering: #9FD2C2; --s-consulting: #9FD2C2; --s-agriculture: #9FD2C2; --s-mechanical: #9FD2C2; --s-supplies: #9FD2C2; --s-other: #9FD2C2;
  --e1: 0 1px 2px rgba(0,0,0,.3); --e2: 0 4px 12px rgba(0,0,0,.35); --e3: 0 12px 32px rgba(0,0,0,.45); --shadow: var(--e1); --shadow-lg: var(--e2); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0B251F; --bg-subtle: #133A31; --surface: #10302A; --ink: #F4F1E8; --ink-2: #D9DED8; --muted: #9FB3AC; --line: #21463D; --line-2: #2C574C; --rule: #21463D;
  --brand: #2A6B5B; --brand-hover: #1E5447; --brand-text: #9FD2C2; --brand-50: #163F35; --text: #F4F1E8; --text-muted: #9FB3AC;
  --gold-50: #2F2A0E; --gold-text: #FECB02; --red-50: #3A1B18; --red: #E2867C; --blue: #9FD2C2; --blue-50: #163F35; --error: #E2867C;
  --s-water: #9FD2C2; --s-mining: #9FD2C2; --s-construction: #9FD2C2; --s-energy: #9FD2C2; --s-ict: #9FD2C2; --s-health: #9FD2C2; --s-transport: #9FD2C2;
  --s-security: #9FD2C2; --s-cleaning: #9FD2C2; --s-catering: #9FD2C2; --s-consulting: #9FD2C2; --s-agriculture: #9FD2C2; --s-mechanical: #9FD2C2; --s-supplies: #9FD2C2; --s-other: #9FD2C2;
  --e1: 0 1px 2px rgba(0,0,0,.3); --e2: 0 4px 12px rgba(0,0,0,.35); --e3: 0 12px 32px rgba(0,0,0,.45); --shadow: var(--e1); --shadow-lg: var(--e2); color-scheme: dark; }

body { font-family: var(--font); font-size: 16px; line-height: 1.65; background: var(--bg); color: var(--ink); letter-spacing: 0; }
.num, .stat b, .kpi b, .row-side .d, .price b { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hero h1, .sec-head h2, .dbody h2, .bizhead h2, .upsell h3, .paywall .cta h3, .score-h, .score-q, .shop-h, .plan h3, .grp, .fname, .habit b, .sw-card h3, .st-body h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }
.tile h3, .panel h3, .icard h3, .soon-card header h2, .kpi b, .stat b, .row-side .d, .price b { font-family: var(--font); }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(1.6rem, 2.4vw, 1.95rem); line-height: 1.15; }
.card, .tile, .list .row, .panel, .paywall, .modal, .docs, .calc, .soon-card, .plan, .kpi, .region button, .upsell, .bizhead, .tip, .habit, .svc, .sw-card, .st-card { border-radius: var(--r) !important; }
.btn, .pill, .chip, .co, .countries button, .tab, .trtag, .sc-opt, .kbd, .stories .stb .n { border-radius: var(--r-sm); }
.input, .select { border-radius: var(--r); }
.sico, .svc-ic, .bizhead .av, .habit-ic, .sg .si, .st-head .av { border-radius: var(--r) !important; }

/* Buttons: yellow is the pointer */
.btn { font-weight: 600; }
.btn.primary, .btn.gold, #nav-cta, .hero .search .btn, .plan.featured .btn, .upsell .u-foot .btn, .sw-b.save, .st-foot .btn.gold {
  background: var(--yellow); border-color: var(--yellow); color: var(--black); text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
.btn.primary:hover, .btn.gold:hover, #nav-cta:hover { background: var(--yellow-d); border-color: var(--yellow-d); }
.btn.primary:active { transform: translateY(1px); }
.link { color: var(--brand-text); }

/* Header: white, logo left, yellow underline on the active page */
.nav { background: var(--surface); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.nav .container { height: 72px; }
.logo-img { width: 136px; height: auto; display: block; }
@media (max-width: 600px) { .logo-img { width: 120px; } .nav .container { height: 66px !important; } }
.logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-l { display: none; } :root:not([data-theme="light"]) .logo-d { display: block; } }
:root[data-theme="dark"] .logo-l { display: none; } :root[data-theme="dark"] .logo-d { display: block; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a[aria-current="page"] { color: var(--brand-text); }
.nav-links a[aria-current="page"]::after { background: var(--yellow); height: 2px; bottom: -22px; }
.pagebar a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Hero: the lamp */
.hero { background: var(--g-lamp) !important; color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 3.5rem); line-height: 1.04; max-width: 14ch; color: #fff; }
.hero h1 em { color: var(--yellow); font-style: italic; }
.hero .lede { color: var(--hero-muted); max-width: 52ch; }
.hero .live, .pg-band .live { border-radius: var(--r-sm); }
.hero .live i, .pg-band .live i { background: var(--yellow); }
.hero .stat { border-radius: var(--r); box-shadow: var(--hairline); background: rgba(255,255,255,.05); }
.hero .stat:nth-child(2) b { color: var(--yellow); }
.hero .popular button { border-radius: var(--r-sm); }

/* Sector icons: one green, no rainbow */
.sico, .sico.af { background: var(--brand-50); color: var(--brand-text); }
.row-top .sec { color: var(--brand-text); }
.secopt .sw { background: var(--brand); }
.pill.goods { background: var(--brand-50); color: var(--brand-text); }
.tbar i { background: var(--green); } .tbar.soon i { background: var(--yellow); } .tbar.urgent i { background: var(--error); }
.row-side .r.urgent { color: var(--error); } .row-side .r.soon { color: #8A6A10; }
.pill.urgent { background: var(--red-50); color: var(--error); } .pill.soon { background: var(--gold-50); color: #8A6A10; }
.star[aria-pressed="true"], .star[aria-pressed="true"] svg { color: var(--yellow-d); fill: var(--yellow); }

/* Region switch, countries, tabs */
.region button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.region .lock { background: var(--yellow); color: var(--black); border-radius: var(--r-sm); }
.countries button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.tab[aria-selected="true"] { border-bottom-color: var(--yellow); color: var(--brand-text); }

/* Stories: yellow ring for new, rule for seen (circles kept on purpose: it's the stories pattern) */
.stb .ring { background: var(--yellow); }
.stb.seen .ring { background: var(--line-2); }
.stb.hot .in { background: var(--error); color: #fff; }
.stb .n { background: var(--green); }
.st-card { background: var(--g-deep); }

/* Dark brand surfaces */
.bizhead, .habit, .plan.featured, .upsell .u-head { background: var(--g-deep); box-shadow: var(--e3), var(--hairline); }
.bizhead .av, .habit-ic { background: var(--yellow); color: var(--black); }
.bizhead .chips span.gold { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.bscore { text-align: right; }
.bscore .eyebrow { color: rgba(255,255,255,.7); }
.bscore b { font-size: 56px; line-height: 1; font-weight: 400; color: #fff; }
.bscore b.bad { color: #F2B8B0; } .bscore b.good { color: var(--yellow); }
.bscore small { font-size: 20px; opacity: .45; margin-left: 2px; }
.kpis .kpi:nth-child(n) b { color: var(--brand-text); }
.kpis .kpi.warn b { color: var(--error); }
.tip .tick { background: var(--gold-50); color: #8A6A10; border-radius: var(--r-sm); }
.tip.done .tick { background: var(--brand-50); color: var(--brand-text); }
.svc-link { display: inline-block; margin-top: 6px; font-weight: 600; }

/* Packages + toggle */
.billing { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.billing .on { color: var(--ink); }
.toggle { width: 46px; height: 26px; border-radius: 13px; border: 0; background: var(--line-2); position: relative; cursor: pointer; padding: 0; transition: background .15s; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--e1); transition: transform .15s; }
.toggle[aria-checked="true"] { background: var(--green); }
.toggle[aria-checked="true"] i { transform: translateX(20px); }
.plans { max-width: 1040px; }
.plan.featured .pill { background: var(--yellow); color: var(--black); }
.plan.addon { border: 1px dashed var(--line-2); }
.price b { font-size: 40px; font-weight: 400; }

/* Mzansi Business shop */
.shop-h { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 6px; line-height: 1.2; }
.svc-g { margin: 22px 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc { border: 1px solid var(--line); background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--e1); }
.svc.rec { border-color: var(--yellow); box-shadow: var(--e2); }
.svc-top { display: flex; gap: 12px; align-items: center; }
.svc-top b { display: block; font-size: 15px; line-height: 1.3; }
.svc-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-text); }
.svc-ic svg { width: 21px; height: 21px; }
.svc .price { font-size: 15px; font-weight: 700; color: var(--brand-text); }
.svc p { margin: 0; font-size: 13.5px; color: var(--ink-2); flex: 1; }
.svc .btn { align-self: flex-start; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 24px; margin-top: 12px; }
.svc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.svc-row .svc-ic { width: 32px; height: 32px; } .svc-row .svc-ic svg { width: 17px; height: 17px; }

/* Packages: side by side, swipe on phones */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; }
.plan .value { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.plan.starter { border: 2px solid var(--yellow); background: color-mix(in srgb, var(--yellow) 9%, var(--surface)); }
.plan.starter .value { color: var(--brand-text); font-weight: 600; }
.plan.starter .pill { background: var(--yellow); color: var(--black); }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.start-head { margin: 40px 0 16px; }
.start-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin: 4px 0 6px; }
.start-head p { margin: 0; color: var(--muted); max-width: 70ch; }
.plan.premium { border: 0; color: #fff; background: radial-gradient(70% 80% at 100% 0%, rgba(254,203,2,.28), transparent 60%), linear-gradient(150deg, #10251F, var(--black)); box-shadow: var(--e3); }
.plan.premium h3, .plan.premium .price b { color: #fff; }
.plan.premium p, .plan.premium .price span, .plan.premium ul { color: rgba(255,255,255,.78); }
.plan.premium .value { color: var(--yellow); }
.plan.premium li svg { color: var(--yellow); }
.plan.premium .btn.primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.swipe-hint { display: none; margin: 4px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
@media (max-width: 960px) {
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans > .plan { flex: 0 0 min(84%, 360px); scroll-snap-align: center; }
  .swipe-hint { display: block; }
}
.addon-strip { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 22px; border: 1.5px dashed var(--line-2); border-radius: var(--r-card); background: var(--surface); }
.addon-strip h3 { margin: 2px 0 4px; font-size: 18px; }
.addon-strip p { margin: 0; font-size: 14px; color: var(--muted); max-width: 70ch; }
.ao-ic { display: flex; gap: 4px; align-items: center; font-size: 12px; }
.ao-ic b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-text); }
.ao-ic b:last-child { background: var(--green); color: #fff; }
.ao-ic i { font-style: normal; color: var(--muted); }
.ao-buy { display: grid; gap: 8px; justify-items: end; }
.ao-buy .price b { font-size: 30px; }
@media (max-width: 720px) { .addon-strip { grid-template-columns: 1fr; } .ao-buy { justify-items: start; grid-auto-flow: column; align-items: center; gap: 16px; } }

/* Packages page shop */
.shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: 24px; margin: -4px -4px 8px; border-radius: var(--r-card); color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(254,203,2,.22), transparent 60%), linear-gradient(150deg, var(--hero-bg-2), var(--hero-bg)); }
.shop-hero .eyebrow { color: var(--yellow); }
.shop-hero .shop-h { color: #fff; }
.shop-hero p { margin: 0; color: rgba(255,255,255,.78); max-width: 60ch; font-size: 14.5px; }
.shop-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-steps span { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 600; padding: 7px 11px 7px 7px; border-radius: 99px; background: rgba(255,255,255,.1); }
.shop-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 12px; }
.svc .tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; color: var(--brand-text); background: var(--brand-50); padding: 3px 8px; border-radius: 99px; }
.svc .price { font-size: 17px; }
.shop-bar { position: sticky; bottom: 12px; z-index: 5; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 18px; border-radius: var(--r-card); background: var(--black); color: #fff; box-shadow: var(--shadow-lg); }
.shop-bar svg { vertical-align: -2px; color: var(--yellow); }
@media (max-width: 720px) { .shop-hero { grid-template-columns: 1fr; } }
.starter-inc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.starter-inc span { font-size: 12.5px; padding: 4px 9px; border-radius: 99px; background: var(--brand-50); color: var(--brand-text); }
.otable { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.otable th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); border-bottom: 1.5px solid var(--ink); padding: 8px 10px 8px 0; }
.otable td { border-bottom: 1px solid var(--line); padding: 14px 10px 14px 0; vertical-align: top; }
.ost { font-weight: 600; } .ost.done { color: var(--brand-text); } .ost.awaiting_payment, .ost.waiting_on_you { color: var(--error); } .ost.in_progress, .ost.paid { color: #8A6A10; }
.order-modal { max-width: 560px; max-height: 90vh; overflow-y: auto; }
.oform { display: grid; gap: 6px; margin: 14px 0; }
.oform label { font-size: 13px; font-weight: 600; margin-top: 8px; }
.oform .input, .oform .select { height: 48px; font-size: 16px; }
.oform textarea.input { height: auto; padding: 10px 12px; font: inherit; }
.opt { font-weight: 400; color: var(--muted); }
@media (max-width: 768px) {
  .otable thead { display: none; } .otable tr { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); } .otable td { border: 0; padding: 0; }
}

/* Tender Ready Score */
.score .container { max-width: 760px; }
.score-wrap { display: grid; gap: 16px; }
.score-h { font-size: clamp(2.6rem, 5vw, 3.5rem); line-height: 1.04; margin: 0; }
.score-q { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; margin: 0; }
.lede2 { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 60ch; }
.objections { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.objections div { background: var(--surface); border-radius: var(--r); box-shadow: var(--e1); padding: 16px; }
.objections p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.sc-prog { height: 2px; background: var(--line); } .sc-prog i { display: block; height: 100%; background: var(--green); transition: width .2s; }
.sc-opts { display: grid; gap: 10px; }
.sc-opt { text-align: left; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-2); font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: var(--e1); }
.sc-opt:hover, .sc-opt.on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,84,71,.12); }
.score-big { font-size: 72px; line-height: 1; font-weight: 400; color: var(--ink); }
.score-big.bad { color: var(--error); } .score-big.good { color: var(--brand-text); }
.score-big small { font-size: 24px; opacity: .4; margin-left: 4px; }
.sc-mail { background: var(--surface); border-radius: var(--r); box-shadow: var(--e1); padding: 20px; }
.sc-mail h3 { margin: 6px 0 8px; } .sc-mail .actions { margin-top: 12px; }
.sc-code { letter-spacing: .4em; font-size: 22px !important; max-width: 220px; }
.sc-cert .note { margin: 8px 0; }
.sc-confirm { margin-top: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg, transparent); }
.sc-coderow { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin: 8px 0; }
.sc-coderow .input { flex: 1 1 180px; min-width: 0; }
.sc-coderow .sc-code { max-width: 200px; }
.sc-links { margin: 6px 0 0; font-size: 14px; }
.sc-mailnote { font-size: 13.5px; margin: 8px 0 0; }
.em-hint { margin: 6px 0 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.em-hint .em-err { color: var(--red); }
.em-hint button { border: 0; background: none; padding: 0; margin-left: 4px; font: inherit; font-weight: 600; color: var(--brand-text); text-decoration: underline; cursor: pointer; }
.sc-pdf { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 8px 0; }
/* PDF previews are drawn with pdf.js (pdfprev), so they show on phones too; a tap opens the full document viewer */
.pdfprev { display: block; height: auto !important; min-height: 140px; overflow: hidden; position: relative; cursor: zoom-in; background: #f3f5f4 !important; }
.pdfprev canvas { display: block; width: 100%; height: auto; background: #fff; }
.pdfprev .pp-note { display: block; padding: 48px 16px; text-align: center; font-size: 14px; color: var(--ink-2); }
.pdfprev .pp-tap { position: absolute; right: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(20,24,22,.78); color: #fff; font-size: 12.5px; font-weight: 600; }
.docv .dv-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.docv .pv-pages img { max-width: 100%; height: auto; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.paywall.locked .cta { padding: 40px 24px; }

/* Charts */
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.chart { width: 100%; height: auto; display: block; margin: 8px 0; }
.chart .cg { stroke: var(--line); stroke-width: 1; }
.chart .ct { fill: var(--muted); font-size: 11px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .cv { fill: var(--ink); font-size: 12.5px; font-weight: 700; font-family: var(--font); }
.chart .cl { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; }
.chart .cl.fc { stroke-dasharray: 5 5; stroke: var(--muted); }
.chart .ca { fill: var(--green); opacity: .10; }
.chart .cd { fill: var(--yellow); stroke: var(--green); stroke-width: 2; }
.chart .cdf { fill: var(--surface); stroke: var(--muted); stroke-width: 2; }
.chart .cb { fill: var(--green); } .chart .cb2 { fill: var(--yellow); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; }
.legend i.cb { background: var(--green); } .legend i.cb2 { background: var(--yellow); }
.grp::before { background: var(--yellow); width: 18px; height: 3px; }

/* Footer: deep green, disclaimer on every page */
body > footer { background: var(--g-deep); color: rgba(255,255,255,.78); border: 0; box-shadow: var(--hairline); }
body > footer .container { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
body > footer h4 { color: #fff; } body > footer a { color: rgba(255,255,255,.78); } body > footer a:hover { color: #fff; }
body > footer .fname { font-family: var(--display); font-size: 28px; color: #fff; margin: 0; }
body > footer .disclaimer { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin: 0; }
body > footer .fine { color: rgba(255,255,255,.4); border-top: 0; padding-top: 0; font-size: 12px; }
@media (max-width: 1020px) { body > footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bscore { text-align: left; } .bscore b { font-size: 44px; } .score-big { font-size: 56px; } }

.dfy { display: inline-flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); border: 1.5px solid var(--yellow); border-radius: var(--r); padding: 10px 14px 10px 10px;
  font: inherit; color: var(--ink); cursor: pointer; box-shadow: var(--e1); transition: box-shadow .15s, border-color .15s; }
.dfy:hover { box-shadow: var(--e2); border-color: var(--yellow-d); }
.dfy b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.dfy small { display: block; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dfy .sw { flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--line-2); position: relative; transition: background .15s; }
.dfy .sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--e1); transition: transform .15s; }
.dfy:hover .sw, .dfy:focus-visible .sw { background: var(--green); }
.dfy:hover .sw i, .dfy:focus-visible .sw i { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .dfy .sw, .dfy .sw i { transition: none; } }

.cartbtn { position: relative; }
.cart-n { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cartadd svg { width: 14px; height: 14px; display: none; }
.cartadd[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.cartadd[aria-pressed="true"] svg { display: inline; }
.dfy[aria-pressed="true"] { border-color: var(--green); background: var(--brand-50); }
.dfy[aria-pressed="true"] .sw { background: var(--green); }
.dfy[aria-pressed="true"] .sw i { transform: translateX(18px); }
.chipbtn { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-sm); padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
.chipbtn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.svc-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.cart-modal { max-width: 560px; max-height: 90vh; overflow-y: auto; }
.cart-list { display: grid; gap: 0; margin: 12px 0; }
.cart-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row b { display: block; font-size: 14.5px; } .cart-row small { color: var(--muted); font-size: 12.5px; }
.cart-row s, .svc .price s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.cart-sum { display: grid; gap: 6px; margin: 8px 0 16px; font-size: 14.5px; }
.cart-sum > div { display: flex; justify-content: space-between; }
.cart-sum .tot { font-size: 18px; border-top: 1.5px solid var(--ink); padding-top: 10px; }
.cart-sum .tot b { font-size: 26px; font-weight: 400; }
.cart-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.homeshop { margin-top: 28px; }
.hs-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }

.steps3 { display: flex; gap: 6px; list-style: none; padding: 0; margin: 4px 0 14px; counter-reset: none; }
.steps3 li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.steps3 li > svg, .steps3 li { } .steps3 li svg { width: 14px; height: 14px; }
.steps3 li.on { color: var(--ink); border-bottom-color: var(--yellow); }
.steps3 li.done { color: var(--brand-text); border-bottom-color: var(--green); }
.trustrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.trustrow span { display: flex; gap: 7px; align-items: flex-start; }
.trustrow svg { width: 15px; height: 15px; flex: none; color: var(--brand-text); margin-top: 1px; }
.osum { background: var(--bg-subtle); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; margin-bottom: 10px; }
.osum > div { display: flex; justify-content: space-between; gap: 12px; }
.osum .tot { border-top: 1px solid var(--line-2); padding-top: 8px; font-weight: 600; }
.osum .tot b { font-size: 20px; font-weight: 400; }
/* ---- Cart popup, cart and one-page checkout ---- */
html.ck-lock, html.ck-lock body { overflow: hidden; }
.cart-n.bump { animation: cart-bump .45s ease; } @keyframes cart-bump { 30% { transform: scale(1.55); } 60% { transform: scale(.9); } }
.mc-bg { position: fixed; inset: 0; z-index: 42; background: var(--overlay, rgba(0,0,0,.45)); display: flex; justify-content: flex-end; }
.mc-bg[hidden], .ck[hidden] { display: none; }
/* The cart bar: on every page while the cart has something in it. Phones: a nav bar above the tab bar. Desktop: a floating bar. */
.cartbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 36; width: min(600px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px;
  padding: 9px 9px 9px 14px; border-radius: 16px; background: var(--black, #14211D); color: #fff; box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,.25)); animation: cb-in .25s cubic-bezier(.2,.8,.2,1) backwards; }
.cartbar[hidden] { display: none; }
@keyframes cb-in { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cartbar .cb-sum { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 4px 0; }
.cartbar .cb-sum svg { flex: none; width: 22px; height: 22px; color: var(--yellow, #FFB612); }
.cartbar .cb-sum span { min-width: 0; display: grid; line-height: 1.2; } .cartbar .cb-sum b { font-size: 15px; } .cartbar .cb-sum small { font-size: 12px; opacity: .72; }
.cartbar .cb-tot { font-size: 18px; font-weight: 800; white-space: nowrap; }
.cartbar .cb-go { flex: none; white-space: nowrap; }
html.has-cartbar body { padding-bottom: 84px; }
.mc { width: min(430px, 100%); height: 100%; background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: mc-in .24s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes mc-in { from { transform: translateX(100%); } to { transform: none; } }
.mc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.mc-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.mc-tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--on-brand, #fff); } .mc-tick svg { width: 14px; height: 14px; }
.mc-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 12px; }
.mc-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }
.mc-foot .btn, .ck-act .btn { width: 100%; min-height: 50px; justify-content: center; font-size: 16px; }
.cl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cl.added { background: var(--brand-50); margin: 0 -18px; padding: 14px 18px; border-radius: 0; animation: cl-flash 1.2s ease; } @keyframes cl-flash { from { background: color-mix(in srgb, var(--yellow, #FFB612) 40%, var(--surface)); } }
.cl b { display: block; font-size: 15px; line-height: 1.3; } .cl small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cl-p { font-weight: 700; font-size: 15px; white-space: nowrap; }
.cl-q { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font: inherit; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; } .qty button:disabled { opacity: .3; cursor: default; }
.qty button:not(:disabled):active { background: var(--bg-subtle); } .qty output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-rm { font-size: 13px; color: var(--muted); text-decoration: underline; min-height: 40px; cursor: pointer; }
.ct { display: grid; gap: 4px; font-size: 14.5px; } .ct > div { display: flex; justify-content: space-between; gap: 12px; } .ct .sub { color: var(--muted); font-size: 13px; }
.ct .tot { font-size: 16px; font-weight: 600; padding-top: 6px; } .ct .tot b { font-size: 24px; font-weight: 700; } .ct .note { margin: 4px 0 0; }
.trust-mini { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; } .trust-mini svg { vertical-align: -2px; color: var(--brand-text); }
.cs-h { margin: 18px 0 8px; } .cs { display: grid; gap: 8px; }
.cs-i { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; padding: 10px 12px; font: inherit; color: var(--ink); cursor: pointer; min-height: 52px; }
.cs-i b { display: block; font-size: 14px; } .cs-i small { color: var(--muted); font-size: 12px; } .cs-a { color: var(--brand-text); font-weight: 700; font-size: 13.5px; }
.empty-cart { text-align: center; padding: 36px 8px; display: grid; justify-items: center; gap: 8px; } .empty-cart svg { width: 44px; height: 44px; color: var(--muted); }
.guar { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--brand-50); font-size: 13px; line-height: 1.4; } .guar svg { width: 20px; height: 20px; flex: none; color: var(--brand-text); }
/* the checkout page */
.ck { position: fixed; inset: 0; z-index: 38; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ck-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ck-brand { font-weight: 700; font-size: 15px; } .ck-lockic { width: 60px; text-align: right; }
.ck-wrap { max-width: 1040px; margin: 0 auto; padding: 18px 16px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
.ck-side { position: sticky; top: 70px; }
.ck-h { font-size: 24px; margin: 6px 0 14px; outline: none; } .ck-s { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.ck-steps { margin-top: 0; } .ck-stepsbox[hidden] { display: none; }
.ck-lines { border-top: 1px solid var(--line); }
.ck-sum { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 16px; } .ck-sum > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; font-weight: 600; } .ck-sum > summary::-webkit-details-marker { display: none; }
.ck-sum > summary b { font-size: 18px; } .ck-sum[open] > summary { border-bottom: 1px solid var(--line); }
.ck-sl { display: grid; gap: 10px; padding: 12px 0; } .ck-si { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.ck-sq { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: var(--bg-subtle); font-style: normal; font-size: 12px; font-weight: 700; }
.ck-sum .ct { border-top: 1px solid var(--line); padding: 12px 0 0; } .ck-sum .guar { margin-bottom: 14px; } .ck-sum .trustrow { display: none; }
.ck-login { font-size: 14px; margin: 0 0 8px; color: var(--ink-2); } .ck-login .link { min-height: 36px; font-weight: 700; text-decoration: underline; }
.ck-form { display: grid; gap: 12px; } .fld { display: grid; gap: 5px; } .fld label { font-size: 14px; font-weight: 600; } .fld small { color: var(--muted); font-size: 12.5px; }
.ck .input { min-height: 50px; font-size: 16px; } .ck .input[aria-invalid] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.ck-after { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; margin: 16px 0 4px; color: var(--ink-2); } .ck-after svg { width: 20px; height: 20px; flex: none; color: var(--brand-text); }
.ck .consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: 13px; color: var(--ink-2); line-height: 1.45; } .ck .consent input { width: 22px; height: 22px; flex: none; accent-color: var(--brand); margin-top: 0; }
.ck-act { display: grid; gap: 8px; margin: 16px 0 8px; } .ck-fine { text-align: center; }
.ck-alert { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--yellow, #FFB612) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow, #FFB612) 45%, var(--line)); display: grid; gap: 4px; font-size: 13.5px; } .ck-alert .btn { justify-self: start; margin-top: 6px; }
.ck-trust { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.ck-trust li { display: flex; gap: 10px; align-items: flex-start; } .ck-trust svg { width: 20px; height: 20px; flex: none; color: var(--brand-text); margin-top: 1px; } .ck-trust b { color: var(--ink); }
.ck-ok { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 10px 0 6px; } .ck-ok .ck-h { margin: 8px 0 4px; }
.ck-okic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: var(--on-brand, #fff); } .ck-okic svg { width: 30px; height: 30px; }
.ck-ok.wait .ck-okic { background: var(--bg-subtle); } .ck-ref { margin: 0; font-size: 15px; } .ck-ref b { font-size: 20px; letter-spacing: .04em; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: ck-spin .8s linear infinite; } @keyframes ck-spin { to { transform: rotate(360deg); } }
.ck-rev { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 6px 16px; margin: 14px 0; display: grid; } .ck-rev > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); } .ck-rev > div:last-child { border-bottom: 0; }
.ck-rt { font-weight: 600; } .ck-rt b { font-size: 20px; }
.ck-todo { margin: 14px 0; padding: 14px; border-radius: 14px; border: 2px solid var(--yellow, #FFB612); background: color-mix(in srgb, var(--yellow, #FFB612) 14%, var(--surface)); display: grid; gap: 8px; } .ck-todo span { font-size: 13.5px; color: var(--ink-2); } .ck-todo .btn { min-height: 48px; justify-content: center; }
.sc-shop { margin-top: 16px; } .scs-list { display: grid; gap: 10px; margin-top: 12px; }
.scs-i { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); padding: 12px 14px; display: grid; gap: 10px; }
.scs-t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; } .scs-n b { display: block; font-size: 15px; line-height: 1.3; } .scs-n small { color: var(--muted); font-size: 12.5px; } .scs-p { font-weight: 700; white-space: nowrap; }
.scs-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-text); font-weight: 700; font-size: 14px; } .scs-more { margin-top: 14px; }
.scs-a { display: flex; gap: 8px; flex-wrap: wrap; } .scs-a .btn { min-height: 44px; }
.scs-w { background: var(--bg-subtle); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; } .scs-w p { margin: 0 0 6px; } .scs-w p:last-child { margin: 0; }
.ck-next { margin: 16px 0; } .ck-next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.45; }
@media (max-width: 899px) {
  .ck-wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 12px; } .ck-side { position: static; order: -1; } .ck-side:empty { display: none; }
  .mc-bg { align-items: flex-end; } .mc { width: 100%; height: auto; max-height: 88dvh; border-radius: 20px 20px 0 0; animation: sheet-up .26s cubic-bezier(.2,.8,.2,1) backwards; }
  .mc-head::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line-2, #d0d4d2); } .mc-head { position: relative; padding-top: 22px; }
  .ck-stick { position: sticky; bottom: 0; z-index: 2; margin: 14px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .ck-stick #ck-pback { display: none; }
  .ck-h { font-size: 22px; } .ck .btn.lg { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .mc, .cl.added, .cart-n.bump { animation: none; } }
#cart-title svg { width: 18px; height: 18px; vertical-align: -2px; color: var(--brand-text); }
.btn svg { flex: none; }
body > footer .ftrust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: rgba(255,255,255,.8); border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
body > footer .ftrust span { display: inline-flex; align-items: center; gap: 6px; }
body > footer .legal-biz { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.6); margin: 0; }

/* ===== Tenders section v2: command band, filter bar, sector cards ===== */
.tview { padding-top: 0; }
.t-band { background: var(--g-lamp); color: #fff; padding-block: 36px 0; margin-bottom: 20px; }
.t-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.t-head .eyebrow { color: var(--yellow); }
.t-head h2 { margin: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.t-head p { color: rgba(255,255,255,.75); margin: 6px 0 0; max-width: 64ch; }
.t-band .region button { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none; }
.t-band .region button small { color: rgba(255,255,255,.7); }
.t-band .region button[aria-pressed="true"] { background: #fff; color: var(--green); border-color: #fff; }
.t-band .region button[aria-pressed="true"] small { color: var(--muted); }
.t-search { position: relative; display: flex; gap: 8px; margin-top: 22px; max-width: 760px; }
.t-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.t-search input { flex: 1; min-width: 0; height: 54px; border: 0; border-radius: var(--r); padding: 0 16px 0 46px; font: inherit; font-size: 16px; color: var(--black); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.t-search .btn { height: 54px; padding: 0 24px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.qf { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--r-sm); padding: 7px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.qf .num { opacity: .7; font-weight: 500; margin-left: 4px; }
.qf:hover { border-color: var(--yellow); }
.qf[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.qf[aria-pressed="true"] .num { opacity: .8; }
.tabs.pills { border: 0; margin: 22px 0 0; gap: 4px; padding-bottom: 0; }
.tabs.pills .tab { color: rgba(255,255,255,.8); border: 0; border-radius: var(--r) var(--r) 0 0; padding: 12px 16px; margin: 0; }
.tabs.pills .tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.tabs.pills .tab[aria-selected="true"] { background: var(--bg); color: var(--ink); border: 0; }
.tabs.pills .count-dot { background: rgba(255,255,255,.14); border-color: transparent; color: inherit; }
.tabs.pills .tab[aria-selected="true"] .count-dot { background: var(--brand-50); color: var(--brand-text); }
.tview .app { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1021px) {
  .filters.fbar { position: static; display: grid; gap: 16px; background: var(--surface); border-radius: var(--r); box-shadow: var(--e1); border: 1px solid var(--line); padding: 18px 20px; }
  .filters.fbar .filter-btn { display: none !important; }
}
.fsecs { gap: 10px; }
.fbar .seclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; }
.fbar .secopt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 10px 12px; text-align: left; }
.fbar .secopt .si2 { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-50); color: var(--brand-text); }
.fbar .secopt .si2 svg { width: 17px; height: 17px; }
.fbar .secopt .sl { font-weight: 600; font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
.fbar .secopt .sn { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fbar .secopt:hover { border-color: var(--green); }
.fbar .secopt[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.fbar .secopt[aria-pressed="true"] .si2 { background: rgba(255,255,255,.16); color: #fff; }
.fbar .secopt[aria-pressed="true"] .sn { color: rgba(255,255,255,.8); }
.frow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.frow .fgroup > label { font-size: 11px; }
.ftoggles { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.ftoggles .link { margin-left: auto; font-size: 13.5px; }
.tgl { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl .sw { width: 38px; height: 22px; border-radius: 11px; background: var(--line-2); position: relative; transition: background .15s; flex: none; }
.tgl .sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--e1); transition: transform .15s; }
.tgl input:checked + .sw { background: var(--green); }
.tgl input:checked + .sw i { transform: translateX(16px); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--green); outline-offset: 2px; }
.viewsw { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.viewsw button { border: 0; background: var(--surface); color: var(--muted); padding: 7px 9px; cursor: pointer; display: grid; place-items: center; }
.viewsw button[aria-pressed="true"] { background: var(--green); color: #fff; }
.tview .list { border: 0; background: none; display: grid; gap: 10px; overflow: visible; }
.tview .list.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tgroup { grid-column: 1 / -1; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); padding: 14px 0 2px; display: flex; align-items: center; gap: 10px; }
.tgroup::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.row.tc { display: flex; flex-direction: column; padding: 0; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; box-shadow: var(--e1); transition: box-shadow .15s, transform .15s, border-color .15s; }
.row.tc:hover { box-shadow: var(--e2); transform: translateY(-2px); border-color: var(--line-2); background: var(--surface); }
.tc-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px;
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--green) 4%, transparent) 14px 15px), color-mix(in srgb, var(--green) 9%, var(--surface)); border-bottom: 1px solid var(--line); }
.tc-ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--green); color: #fff; }
.tc-ic svg { width: 21px; height: 21px; }
.tc-sec b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.tc-sec small { display: block; font-size: 12.5px; color: var(--muted); }
.tc .star { position: static; }
.tc-body { padding: 14px 16px 10px; flex: 1; display: grid; align-content: start; gap: 8px; }
.tc-body h3 { margin: 0; font-size: 15.5px; line-height: 1.42; font-weight: 600; overflow-wrap: anywhere; }
.tc-meta { margin: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.tc-meta span { display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
.tc-meta svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.tc .tags { margin: 0; }
.tc-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.tc-date small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tc-date b { display: block; font-size: 22px; font-weight: 400; font-family: var(--display); line-height: 1.1; }
.tc-date .r { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tc-date .r.urgent { color: var(--error); } .tc-date .r.soon { color: #8A6A10; }
.tc-right { display: grid; gap: 6px; justify-items: end; text-align: right; }
.tc-val { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; } .tc-val.muted { color: var(--muted); font-weight: 500; }
.tc-right .tbar { width: 100%; max-width: 160px; margin: 0; }
/* List mode: the same card laid out in one line */
.tview .list:not(.cards) .row.tc { display: grid; grid-template-columns: 190px minmax(0, 1fr) 200px; }
.tview .list:not(.cards) .tc-band { border-bottom: 0; border-right: 1px solid var(--line); grid-template-columns: auto minmax(0, 1fr); align-content: start; }
.tview .list:not(.cards) .tc-band .star { grid-column: 1; }
.tview .list:not(.cards) .tc-foot { border-top: 0; border-left: 1px solid var(--line); grid-template-columns: 1fr; align-content: center; }
.tview .list:not(.cards) .tc-right { justify-items: start; text-align: left; }
.calc2 { display: grid; gap: 8px; background: var(--bg-subtle); border-radius: var(--r); padding: 16px; margin: 10px 0; }
.calc2 label { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.calc2 input[type="range"] { width: 100%; accent-color: var(--green); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.calc-out div { background: var(--surface); border-radius: var(--r); padding: 10px 12px; box-shadow: var(--e1); }
.calc-out span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc-out b { font-size: 26px; font-weight: 400; } .calc-out small { color: var(--muted); margin-left: 4px; }
.calc-out .tot b { color: var(--brand-text); }
.calc-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; } .calc-bar i { display: block; height: 100%; background: var(--green); transition: width .15s; }
@media (max-width: 1020px) {
  .frow { grid-template-columns: 1fr 1fr; }
  .fbar .seclist { grid-template-columns: 1fr 1fr; }
  .tview .list:not(.cards) .row.tc { grid-template-columns: 1fr; }
  .tview .list:not(.cards) .tc-band { border-right: 0; border-bottom: 1px solid var(--line); }
  .tview .list:not(.cards) .tc-foot { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .t-band { padding-block: 24px 0; }
  .t-search .btn { padding: 0 14px; }
  .tabs.pills { overflow-x: auto; flex-wrap: nowrap; }
  .tview .list.cards { grid-template-columns: 1fr; }
  .calc-out b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .row.tc, .tgl .sw, .tgl .sw i { transition: none; } }

.upl { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 10px; background: var(--bg-subtle); }
.upl-btn { display: inline-flex !important; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--brand-text); margin: 0 !important; }
.upl-btn svg { width: 18px; height: 18px; } .upl-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upl-btn:focus-within { outline: 2px solid var(--green); outline-offset: 2px; border-radius: var(--r-sm); }
.upl-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.upl-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; background: var(--surface); border-radius: var(--r-sm); padding: 4px 4px 4px 10px; }
.upl-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upl-list li.ok small { color: var(--brand-text); } .upl-list li.err small { color: var(--error); }
.ppl { display: grid; gap: 8px; } .ppl-rows { display: grid; gap: 8px; }
.ppl-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ppl-row .input { height: 42px; font-size: 14px; }
.ppl .btn { justify-self: start; } .ppl-row .icon-btn { justify-self: end; } .ppl-row .input { min-width: 0; }

.res-search { margin: 6px 0 14px; }
.res-search .t-search { margin-top: 0; max-width: none; }
.res-search .t-search input { border: 1.5px solid var(--line-2, #c9cfcc); box-shadow: none; }
.res-search .t-search input:focus { border-color: var(--green, #1E5447); outline: none; }
.res-search .quick { margin-top: 10px; }
.res-search .quick .qf { border-color: var(--line, #e3e7e5) !important; }
.tview.searching #stories { display: none !important; }
.t-band .cwrap { margin: 10px 0 0; padding: 0; }
.t-band .cnav { display: none !important; }
.t-band .countries { gap: 8px !important; padding: 2px 0 4px !important; scroll-snap-type: none; }
.t-band .countries button, .t-band .countries button.c-flag { flex: none !important; height: 36px !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 6px; padding: 0 12px 0 10px !important; border-radius: 999px !important; background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.28) !important; color: #fff !important; font-size: 13.5px; font-weight: 700; transform: none !important; }
.t-band .countries button .flag { position: static !important; font-size: 17px !important; z-index: auto !important; display: inline !important; margin: 0 3px 0 0 !important; }
.t-band .countries button .cn { text-shadow: none; }
.t-band .countries button b { background: rgba(255,255,255,.18); font-size: 11.5px; }
.t-band .countries button[aria-pressed="true"] { background: var(--yellow, #FFB612) !important; border-color: var(--yellow, #FFB612) !important; color: #1d1500 !important; }
.t-band .countries button[aria-pressed="true"] b { background: rgba(0,0,0,.12); color: #1d1500 !important; }
.tview.is-biz .t-search, .tview.is-biz .quick, .tview.is-biz .region, .tview.is-biz #stories, .tview.is-biz #countries, .tview.is-biz .tabs { display: none !important; }
.tview.is-biz .t-band { display: none; }
#tenders.tview { padding-top: 0; }
#tenders.tview.is-biz { padding-top: 22px; }
@media (max-width: 720px) {
  .t-band .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .t-band .quick::-webkit-scrollbar { display: none; }
  .t-band .quick > * { flex: none; }
}
.soon-tag { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--yellow); color: var(--black); border-radius: 99px; padding: 2px 6px; margin-left: 4px; }
.login-btn { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--green) !important; color: var(--green); font-weight: 600; }
.acct { position: relative; }
.acct-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 14px; font-weight: 600; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--green); }
.acct-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.acct-btn { position: relative; }
.acct-dot { position: absolute; top: -3px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--yellow); color: var(--black); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.acct-dot[hidden] { display: none; }
.acct-menu .am-new { font-weight: 600; color: var(--brand-text); }
.acct-menu .am-bidq { color: #A0281C; }
.bid-next.ask { border-color: #F2C200; background: #FFF8E1; }
.acct-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; }
.am-head { padding: 16px; background: var(--g-deep); color: #fff; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.am-head b { display: block; font-size: 15px; }
.am-head small { display: block; color: rgba(255,255,255,.75); font-size: 12.5px; overflow-wrap: anywhere; }
.am-head .pill { margin-top: 6px; display: inline-block; background: var(--yellow); color: var(--black); }
.ring { position: relative; width: 74px; height: 74px; }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring .bg { stroke: rgba(255,255,255,.15); } .ring .fg { stroke: var(--yellow); transition: stroke-dashoffset .6s; }
.ring.low .fg { stroke: #F2B8B0; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1; font-weight: 700; font-size: 20px; }
.ring span small { display: block; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 2px; }
.am-note { padding: 10px 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.acct-menu a, .acct-menu button.am-item { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 10px; align-items: center; width: 100%; padding: 11px 16px; font-size: 14px; }
.acct-menu a:hover, .acct-menu button.am-item:hover { background: var(--brand-50); }
.acct-menu svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.acct-menu .am-out { border-top: 1px solid var(--line); color: var(--error, #9E2B21); font-weight: 600; }
.acct-menu .am-out svg { color: currentColor; }
/* Tender page: buyer, documents, submit */
.buyer-card { display: flex; gap: 12px; align-items: center; }
.buyer-card .b-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-50); color: var(--brand-text); flex: none; }
.buyer-card .b-ic svg { width: 20px; height: 20px; } .buyer-card b { display: block; } .buyer-card small { color: var(--muted); }
.rq-prog { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--muted); } .rq-prog .progress { flex: 1; }
.rq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rq { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface); display: grid; gap: 6px; }
.rq.yes { border-color: var(--green); background: color-mix(in srgb, var(--green) 5%, var(--surface)); } .rq.no { border-color: var(--yellow); }
.rq-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; } .rq-top b { font-size: 14.5px; }
.rq p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; } .rq p span { color: var(--muted); }
.yn { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; flex: none; }
.yn button { all: unset; cursor: pointer; padding: 5px 13px; font-size: 13px; font-weight: 600; color: var(--muted); }
.yn button + button { border-left: 1px solid var(--line); }
.yn button[data-yn="yes"][aria-pressed="true"] { background: var(--green); color: #fff; }
.yn button[data-yn="no"][aria-pressed="true"] { background: var(--yellow); color: var(--black); }
.yn button:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.rq .dfy { margin-top: 2px; }
.submit .sub-how { display: grid; gap: 6px; margin-bottom: 10px; } .submit .sub-how .pill { justify-self: start; }
.submit .sub-how ol { margin: 0; padding-left: 20px; font-size: 14px; display: grid; gap: 4px; color: var(--ink-2); }
.aisub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r); color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(254,203,2,.25), transparent 60%), var(--g-deep); margin-top: 6px; }
.aisub .eyebrow { color: var(--yellow); } .aisub b { display: block; font-size: 16px; margin: 2px 0 4px; } .aisub p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.8); }
.aisub-go { display: grid; gap: 4px; justify-items: center; text-align: center; } .aisub-go small { font-size: 12px; color: rgba(255,255,255,.75); }
.pack { margin-top: 14px; display: grid; gap: 8px; } .pack h4 { margin: 10px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mailbox { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mailbox > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; } .mailbox span { color: var(--muted); }
.mailbox b { font-weight: 600; overflow-wrap: anywhere; }
.mailbox pre, .pack .letter { margin: 0; padding: 12px; white-space: pre-wrap; font: 13.5px/1.55 var(--font); color: var(--ink-2); max-height: 280px; overflow: auto; }
.pack .letter { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-family: Georgia, serif; }
.pk-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.pk-pay { margin-top: 12px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); } .pk-pay p { margin: 0 0 10px; }
@media (max-width: 640px) { .aisub { grid-template-columns: 1fr; } .aisub-go { justify-items: start; text-align: left; } .rq-top { align-items: flex-start; } }
/* Marketing Studio */
.studio { margin-top: 26px; border-radius: var(--r) !important; padding: 28px; color: #fff; background: radial-gradient(50% 70% at 0% 0%, rgba(254,203,2,.35), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(226,58,46,.28), transparent 60%), linear-gradient(135deg, #14110A, #0E1512 60%, #10251F); box-shadow: var(--e3); overflow: hidden; }
.studio .eyebrow { color: var(--yellow); }
.st-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; margin: 6px 0 8px; color: #fff; letter-spacing: -.02em; }
.st-head p { margin: 0 0 20px; color: rgba(255,255,255,.78); max-width: 62ch; }
.st-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-card { border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); overflow: hidden; display: grid; }
.st-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.st-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.st-top b { font-size: 17px; } .st-top span { font-size: 24px; font-weight: 700; color: var(--yellow); }
.st-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.st-card li { display: flex; gap: 8px; align-items: flex-start; } .st-card li svg { width: 15px; height: 15px; color: var(--yellow); flex: none; margin-top: 2px; }
.studio .ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.studio .btn.gold[aria-pressed="true"] { background: #fff; border-color: #fff; }
.mock-doc { position: relative; height: 170px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(254,203,2,.18), rgba(255,255,255,.02)); }
.md-page { position: relative; z-index: 1; width: 112px; height: 150px; background: #fff; border-radius: 3px; box-shadow: 0 12px 30px rgba(0,0,0,.4); padding: 0 10px; display: grid; align-content: start; gap: 5px; color: var(--black); transform: rotate(-4deg); }
.md-page.back { position: absolute; z-index: 0; transform: rotate(6deg) translate(26px, 4px); background: #F4F1E8; }
.md-band { display: block; height: 46px; margin: 0 -10px 4px; background: linear-gradient(135deg, var(--green), #10251F); border-radius: 3px 3px 0 0; }
.md-page b { font-family: var(--display); font-weight: 400; font-size: 11px; line-height: 1.1; } .md-page small { font-size: 7px; color: #6B7570; }
.md-line { display: block; height: 3px; background: #E2DED2; border-radius: 2px; } .md-line.s { width: 60%; }
.md-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; } .md-grid i { height: 16px; background: var(--yellow); opacity: .7; border-radius: 2px; }
.mock-web { height: 170px; margin: 14px 14px 0; border-radius: 8px 8px 0 0; background: #fff; overflow: hidden; box-shadow: 0 -6px 30px rgba(0,0,0,.35); color: var(--black); }
.mw-bar { display: flex; gap: 4px; align-items: center; padding: 6px 8px; background: #EDEAE0; } .mw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CFCAB8; }
.mw-bar span { margin-left: 8px; flex: 1; font-size: 9.5px; background: #fff; border-radius: 99px; padding: 2px 8px; color: #56615A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-hero { padding: 16px 14px; display: grid; gap: 3px; background: linear-gradient(135deg, var(--green), #10251F); color: #fff; }
.mw-hero b { font-family: var(--display); font-weight: 400; font-size: 17px; } .mw-hero small { font-size: 9.5px; opacity: .8; }
.mw-hero em { font-style: normal; justify-self: start; margin-top: 6px; font-size: 9px; font-weight: 700; background: var(--yellow); color: var(--black); padding: 3px 8px; border-radius: 3px; }
.mw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 14px; } .mw-row i { height: 30px; border-radius: 4px; background: #EDEAE0; }
.studio.teaser { margin-top: 32px; }
.hs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hs-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .st-cards { grid-template-columns: 1fr; } .studio { padding: 20px; } }
/* By buyer */
.buyers { display: grid; gap: 14px; margin-bottom: 8px; }
.bt-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bt-pills button { all: unset; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 13.5px; font-weight: 600; }
.bt-pills button b { color: var(--muted); font-weight: 600; margin-left: 4px; }
.bt-pills button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; } .bt-pills button[aria-pressed="true"] b { color: rgba(255,255,255,.8); }
.bt-pills button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.buyer-q { max-width: 520px; }
.buyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.buyer-tile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--e1); }
.buyer-tile:hover { border-color: var(--green); } .buyer-tile:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.buyer-tile b { font-size: 14.5px; line-height: 1.3; } .buyer-tile small { color: var(--muted); font-size: 12.5px; }
.buyer-tile .bt-n { font-size: 13px; color: var(--ink-2); } .buyer-tile .bt-n em { font-style: normal; font-weight: 700; color: var(--brand-text); font-size: 16px; } .buyer-tile .bt-n i { font-style: normal; color: var(--error, #9E2B21); }
@media (max-width: 720px) { .bt-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .bt-pills button { flex: none; } }
/* My bids */
.mybids { border: 1.5px solid var(--green); }
.mb-sum { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-sum span { display: grid; padding: 8px 14px; border-radius: var(--r); background: var(--brand-50); font-size: 12.5px; color: var(--brand-text); min-width: 84px; }
.mb-sum b { font-size: 22px; line-height: 1.1; }
.mb-list { display: grid; gap: 8px; }
.mb-row { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.mb-row:hover { border-color: var(--green); box-shadow: var(--e1); }
.mb-row:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.mb-main { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.mb-main b { font-size: 15px; line-height: 1.3; }
.mb-main small { color: var(--muted); font-size: 12.5px; }
.mb-last { display: flex; gap: 7px; align-items: baseline; font-size: 13px; color: var(--ink-2); margin-top: 4px; max-width: 100%; }
.mb-last i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transform: translateY(-1px); }
.mb-last i.live { background: var(--yellow); box-shadow: 0 0 0 3px rgba(254,203,2,.25); }
.mb-last em { font-style: normal; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.mb-side { display: grid; gap: 6px; justify-items: end; }
.mb-side small { color: var(--muted); font-size: 12px; }
.mb-empty { text-align: center; padding: 24px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.mb-empty p { color: var(--muted); max-width: 52ch; margin: 6px auto 12px; }
.bstep { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.bstep li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.bstep li + li::before { content: ""; width: 18px; height: 2px; background: var(--line-2); margin: 0 6px; }
.bstep i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); font-style: normal; font-size: 11px; font-weight: 700; }
.bstep i svg { width: 12px; height: 12px; }
.bstep li.done i { background: var(--green); border-color: var(--green); color: #fff; }
.bstep li.done + li::before, .bstep li.on::before { background: var(--green); }
.bstep li.on i { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 3px rgba(30,84,71,.15); }
.bstep li.on span { color: var(--ink); font-weight: 600; }
.bstep li.awarded i { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.bstep li.not_awarded i, .bstep li.cancelled i { background: var(--error, #9E2B21); border-color: var(--error, #9E2B21); color: #fff; }
.mb-side .bstep span { display: none; } .mb-side .bstep li.on span { display: inline; }
.bid-modal { max-width: 980px; width: min(980px, calc(100vw - 24px)); }
.bid-title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 6px 0 0; }
.bid-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; }
.bid-h { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.bid-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 14px; }
.bid-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.bid-tl li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 0 0 14px; position: relative; }
.bid-tl li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.bid-tl li:last-child::before { display: none; }
.bid-tl .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-text); }
.bid-tl .ic svg { width: 15px; height: 15px; }
.bid-tl li.auto .ic { background: var(--yellow); color: var(--black); }
.bid-tl li.won .ic { background: var(--green); color: #fff; } .bid-tl li.lost .ic, .bid-tl li.cancelled .ic { background: var(--error, #9E2B21); color: #fff; }
.bid-tl p { margin: 4px 0 2px; font-size: 14px; line-height: 1.45; } .bid-tl small { color: var(--muted); font-size: 12px; }
.bid-ct { display: grid; gap: 4px; }
.bid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .bid-form .eyebrow, .bid-form .btn { grid-column: 1 / -1; } .bid-form .btn { justify-self: start; }
.bid-ups { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-size: 13.5px; }
@media (max-width: 820px) { .bid-grid { grid-template-columns: 1fr; } .mb-row { grid-template-columns: 1fr; } .mb-side { justify-items: start; } .bstep li + li::before { width: 10px; margin: 0 4px; } }
/* Suppliers */
.nav-links .soon-tag, .pagebar .soon-tag { font-size: 9px; padding: 1px 5px; vertical-align: 2px; }
.sup-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px; margin-bottom: 18px; border-radius: var(--r) !important; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(254,203,2,.2), transparent 60%), var(--g-deep); box-shadow: var(--e3); }
.sup-hero .eyebrow { color: var(--yellow); }
.sup-hero h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 6px 0 10px; color: #fff; }
.sup-hero p { color: rgba(255,255,255,.8); margin: 0 0 18px; max-width: 60ch; }
.sup-hero .ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.sup-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sup-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: rgba(255,255,255,.07); }
.sup-steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.sup-steps strong { display: block; } .sup-steps span { font-size: 13.5px; color: rgba(255,255,255,.8); }
.sup-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.sup-filters .select { min-width: 170px; }
.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sup-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 16px; display: grid; gap: 10px; align-content: start; box-shadow: var(--e1); }
.sup-card .top { display: flex; gap: 12px; align-items: center; }
.sup-card .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); background: var(--yellow); color: var(--black); font-weight: 700; flex: none; }
.sup-card b { display: block; } .sup-card small { color: var(--muted); font-size: 12.5px; }
.sup-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sup-tags { display: flex; flex-wrap: wrap; gap: 5px; } .sup-tags span { font-size: 11.5px; padding: 3px 8px; border-radius: 99px; background: var(--brand-50); color: var(--brand-text); }
.sup-tags span.ok { background: var(--green); color: #fff; }
.sup-card .actions { gap: 6px; }
.sup-lock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: var(--brand-50); font-size: 13px; color: var(--brand-text); }
.sup-lock svg { color: var(--brand-text); } .sup-lock .btn { grid-column: 1 / -1; justify-self: start; }
.sup-empty { grid-column: 1 / -1; text-align: center; padding: 28px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
#sup-apply { margin-top: 18px; scroll-margin-top: 90px; } #sup-list { scroll-margin-top: 90px; }
.vform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 14px 0; }
.vform .vf { display: grid; gap: 5px; align-content: start; } .vform .wide, .vform fieldset { grid-column: 1 / -1; }
.vform label { font-size: 13.5px; font-weight: 600; }
.vform fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vform legend { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.vform fieldset label { font-weight: 500; cursor: pointer; }
.vform fieldset input { position: absolute; opacity: 0; pointer-events: none; }
.vform fieldset span { display: inline-block; padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; background: var(--surface); }
.vform fieldset input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.vform fieldset input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.sup-near { margin-top: 18px; }
.sup-near .sup-grid { grid-template-columns: 1fr; }
@media (max-width: 820px) { .sup-hero { grid-template-columns: 1fr; padding: 22px; } .vform { grid-template-columns: 1fr; } }
.own-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 12px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-50); color: var(--brand-text); font-size: 14px; }
.own-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.to-desk { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 44px 16px 16px; margin-bottom: 18px; border-radius: var(--r); background: color-mix(in srgb, var(--yellow) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow) 50%, var(--line)); }
.to-desk[hidden] { display: none; }
.to-desk .td-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--green); color: var(--yellow); } .to-desk .td-ic svg { width: 22px; height: 22px; }
.to-desk b { display: block; } .to-desk p { margin: 2px 0 10px; font-size: 13.5px; color: var(--ink-2); }
.to-desk .td-x { position: absolute; top: 8px; right: 8px; }
.fshare { display: grid; gap: 6px; margin: 16px 0 0; font-size: 13.5px; } .fshare span { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.fshare a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: grid; gap: 4px; margin: 14px 0 0; font-size: 13.5px; } .socials a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.navlock { margin-left: 5px; vertical-align: -1px; opacity: .7; }
.hx-lock { border-radius: var(--r) !important; background: radial-gradient(60% 90% at 100% 0%, rgba(254,203,2,.2), transparent 60%), var(--g-deep); color: #fff; padding: 32px; box-shadow: var(--e3); }
.hx-lock .eyebrow { color: var(--yellow); }
.hx-lock h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin: 4px 0 8px; color: #fff; }
.hx-lock p { color: rgba(255,255,255,.8); max-width: 64ch; margin: 0 0 14px; }
.hx-lock ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.hx-lock li { display: flex; gap: 8px; align-items: center; } .hx-lock li svg { color: var(--yellow); width: 16px; height: 16px; }
.hx-lock .ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
/* Tender history: headline band, section tabs, one section at a time */
.hx-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r) !important; background: var(--g-deep); box-shadow: var(--e3), var(--hairline); color: #fff; overflow: hidden; margin-bottom: 18px; }
.hx-band > div { padding: 20px 22px; border-right: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px; align-content: start; }
.hx-band > div:last-child { border-right: 0; }
.hx-band b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hx-band > div:first-child b { color: var(--yellow); }
.hx-band span { font-size: 13px; color: rgba(255,255,255,.75); }
.hx-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.hx-tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--e1); }
.hx-tabs button b { font-size: 15px; }
.hx-tabs button small { font-size: 12.5px; color: var(--muted); }
.hx-tabs button:hover { border-color: var(--green); }
.hx-tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.hx-tabs button[aria-selected="true"] small { color: rgba(255,255,255,.75); }
.hx-tabs button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.hx-pane[hidden] { display: none !important; }
@media (max-width: 820px) {
  .hx-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-band > div { border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 16px; } .hx-band b { font-size: 26px; }
  .hx-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .hx-tabs::-webkit-scrollbar { display: none; }
  .hx-tabs button { flex: 0 0 auto; padding: 10px 14px; } .hx-tabs button small { display: none; }
}
/* Mzansi Business: one header block (company, score and numbers together) */
.bizwrap { border-radius: var(--r) !important; background: var(--g-deep); box-shadow: var(--e3), var(--hairline); margin-bottom: 18px; overflow: hidden; }
.bizwrap .bizhead { background: none !important; box-shadow: none !important; margin: 0; padding: 24px 24px 18px; }
.bizwrap .bh-eye { display: block; margin-bottom: 4px; color: var(--yellow); }
.bizwrap .bh-add { all: unset; cursor: pointer; color: #fff; border-bottom: 1px dashed rgba(255,255,255,.5); }
.bizwrap .bh-add:hover { border-bottom-color: var(--yellow); }
.bizwrap .kpis { margin: 0; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.12); }
.bizwrap .kpi { background: transparent; box-shadow: none; border: 0; border-right: 1px solid rgba(255,255,255,.12); border-radius: 0 !important; padding: 14px 20px 16px; color: #fff; cursor: pointer; }
.bizwrap .kpi:last-child { border-right: 0; }
.bizwrap .kpi:hover { background: rgba(255,255,255,.06); }
.bizwrap .kpis .kpi b { color: #fff; font-size: 26px; }
.bizwrap .kpi.warn b { color: var(--yellow); }
.bizwrap .kpi span { color: rgba(255,255,255,.72); font-size: 12.5px; }
@media (max-width: 820px) { .bizwrap .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bizwrap .kpi { border-bottom: 1px solid rgba(255,255,255,.12); } .bizwrap .kpi:nth-child(n+3) { border-bottom: 0; } }
@media (max-width: 640px) {
  .bizwrap .bizhead { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 18px 16px 14px; align-items: start; }
  .bizwrap .bizhead .av { width: 44px; height: 44px; font-size: 17px; }
  .bizwrap .bizhead h2 { font-size: 24px; line-height: 1.15; }
  .bizwrap .bizhead .bscore { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
  .bizwrap .bizhead .bscore b { font-size: 34px; }
  .bizwrap .kpi { padding: 12px 16px; }
}

/* ===================== Calm professional skin (go-live) =====================
   One quiet system: white cards on warm paper, solid brand green for the few anchors (hero, tender band,
   profile header, featured package), no glows, sentence-case labels, one button style. */
:root { --g-deep: #1E5447; --g-lamp: #1E5447; --hairline: 0 0 0 transparent; --e3: 0 1px 2px rgba(14,21,18,.05), 0 8px 24px rgba(14,21,18,.07); }
.hero, .t-band { background: var(--green) !important; }
/* Labels: sentence case, no tracking */
.eyebrow { font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--muted); margin-bottom: 4px; }
.dsec > h3, .fgroup > label, .fgroup > .flabel, .row-top .sec, .row-side .wd, .dl dt, .goods th, .svc-g, .otable th, .dfy b, .tgroup, .tc-sec b, .tc-date small,
.calc-out span, .sg .sk, .bid-h, .pack h4, .cal small, .region .lock, .soon-tag { text-transform: none !important; letter-spacing: 0 !important; }
.dsec > h3 { font-size: 15px !important; font-weight: 650 !important; color: var(--ink) !important; }
.svc-g, .tgroup { font-size: 13px !important; font-weight: 650 !important; color: var(--ink-2) !important; }
/* Buttons: one calm style. Green for the main action, outline for the rest. */
.btn { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 600 !important; border-radius: 6px !important; box-shadow: none !important; }
.btn.primary, .btn.gold, #nav-cta, .sw-b.save, .st-foot .btn.gold, .upsell .u-foot .btn { background: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
.btn.primary:hover, .btn.gold:hover, #nav-cta:hover { background: var(--green-l) !important; border-color: var(--green-l) !important; }
.hero .search .btn, .plan.featured .btn, .bizwrap .btn.primary, .t-band .btn.primary, .t-band .search .btn { background: #fff !important; border-color: #fff !important; color: var(--green) !important; }
.btn.ghost-w { background: transparent !important; color: var(--ink) !important; border-color: var(--line-2) !important; }
.btn.lg { height: 44px; }
/* Former dark feature blocks become plain cards */
.studio, .sup-hero, .aisub, .shop-hero, .hx-lock, .hx-band, .habit, .pk-pay { background: var(--surface) !important; color: var(--ink) !important; border: 1px solid var(--line) !important; box-shadow: var(--e1) !important; }
.studio h3, .studio p, .studio li, .studio b, .studio .st-top span, .sup-hero h2, .sup-hero p, .sup-hero strong, .sup-hero span, .aisub b, .aisub p, .aisub small, .aisub-go small,
.shop-hero h3, .shop-hero p, .shop-hero .shop-h, .hx-lock h3, .hx-lock p, .hx-lock li, .hx-band b, .hx-band span, .habit b, .habit p { color: var(--ink) !important; }
.studio p, .sup-hero p, .aisub p, .shop-hero p, .hx-lock p, .hx-band span, .habit p { color: var(--ink-2) !important; }
.studio .eyebrow, .sup-hero .eyebrow, .aisub .eyebrow, .shop-hero .eyebrow, .hx-lock .eyebrow { color: var(--brand-text) !important; }
.hx-band > div { border-color: var(--line) !important; } .hx-band > div:first-child b, .hx-band b { color: var(--brand-text) !important; }
.st-card { background: var(--bg) !important; border-color: var(--line) !important; }
.st-card li svg, .hx-lock li svg { color: var(--brand-text) !important; }
.st-top span { color: var(--brand-text) !important; }
.sup-steps li { background: var(--bg) !important; } .sup-steps b, .shop-steps b { background: var(--green) !important; color: #fff !important; }
.shop-steps span { background: var(--bg) !important; color: var(--ink) !important; }
.mock-doc { background: var(--bg) !important; }
/* Featured package: solid green, no glow. Full Package: solid near-black. */
.plan.featured { background: var(--green) !important; box-shadow: var(--e2) !important; }
.plan.premium { background: #13241F !important; box-shadow: var(--e2) !important; }
.plan.starter:not(.premium) { background: var(--surface) !important; border: 1.5px solid var(--green) !important; }
.plan.starter:not(.premium) .pill { background: var(--brand-50) !important; color: var(--brand-text) !important; }
.plan.premium .btn.primary { background: #fff !important; border-color: #fff !important; color: #13241F !important; }
/* Profile header and bubbles: flat */
.bizwrap { background: var(--green) !important; box-shadow: var(--e1) !important; }
.stb .ring { background: var(--green) !important; padding: 2px !important; }
.stb.seen .ring { background: var(--line-2) !important; }
.stb .in { border-width: 2px !important; }
/* Softer cards everywhere */
.card, .panel, .svc, .rq, .mb-row, .buyer-tile, .sup-card, .tile, .kpi { box-shadow: none !important; }
.panel { border: 1px solid var(--line); }

/* ===== Tenders: clear, uncrowded icons ===== */
.stories { gap: 16px !important; padding: 8px 2px 18px !important; }
.stb { width: 86px !important; gap: 8px !important; }
.stb .ring { width: 64px !important; height: 64px !important; padding: 2px !important; background: var(--green) !important; position: relative; transform: none; }
.stb:hover .ring { transform: translateY(-2px) !important; }
.stb.seen .ring { background: var(--line-2) !important; }
.stb .in { position: relative; background: var(--surface) !important; color: var(--green) !important; border: 3px solid var(--bg) !important; }
.stb .in svg { width: 26px !important; height: 26px !important; filter: none !important; }
.stb.hot .in { color: var(--error) !important; }
.stb .n { position: absolute !important; top: auto !important; left: auto !important; right: -8px !important; bottom: -6px !important; transform: none !important;
  min-width: 22px !important; height: 22px !important; padding: 0 6px !important; border-radius: 11px !important; background: var(--green) !important; color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important; border: 2px solid var(--bg) !important; display: grid !important; place-items: center !important; }
.stb.seen .n { background: var(--muted) !important; }
.stb span.l { max-width: 86px !important; white-space: normal !important; text-overflow: clip !important; text-align: center; line-height: 1.25 !important; font-size: 12px !important;
  font-weight: 600 !important; color: var(--ink-2) !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fbar .seclist { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; gap: 10px !important; }
.fbar .secopt { min-height: 56px; padding: 10px 14px !important; gap: 12px !important; }
.fbar .secopt .si2 { width: 34px !important; height: 34px !important; border-radius: 50% !important; flex: none; }
.fbar .secopt .si2 svg { width: 18px !important; height: 18px !important; }
.fbar .secopt .sl { font-size: 14px !important; overflow-wrap: normal !important; line-height: 1.25 !important; }
.tc-band { background: var(--surface) !important; padding: 14px 16px 10px !important; border-bottom: 0 !important; }
.tc-ic { width: 38px !important; height: 38px !important; border-radius: 10px !important; background: var(--brand-50) !important; color: var(--green) !important; }
.tc-ic svg { width: 20px !important; height: 20px !important; }
.tc-sec b { font-size: 13px !important; font-weight: 650 !important; color: var(--ink) !important; }
.tc-body { padding: 4px 16px 12px !important; }
.tc-right .tbar { display: none !important; }
.tc-foot { align-items: center !important; }
@media (max-width: 720px) { .fbar .seclist { grid-template-columns: 1fr 1fr !important; } .fbar .secopt .sl { white-space: normal; } }

/* Plain words */
.facts .fx { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-weight: 400; }
.glossary { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.glossary h3 { margin: 0 0 12px; font-size: 20px; }
.glossary dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.glossary dt { font-weight: 650; } .glossary dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 720px) { .glossary dl { grid-template-columns: 1fr; } }
/* Requirements checklist groups */
.rq-g { margin: 14px 0 2px; font-size: 14px; font-weight: 650; }
.rq-gsub { margin: 0 0 8px !important; }
.rq-tick { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--muted); flex: none; }
.rq-tick svg { width: 14px; height: 14px; }
.rq-tick[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rq-tick:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.rq-get { border-top: 1px dashed var(--line); padding-top: 8px; display: grid; gap: 6px; }
.rq-get ol { margin: 0; padding-left: 20px; font-size: 13.5px; display: grid; gap: 4px; color: var(--ink-2); }
.rq-time { margin: 0; font-size: 13px; color: var(--muted); } .rq-time b { color: var(--ink); }
/* Competition */
.comp-n { margin: 0; font-size: 15px; } .comp-n b { font-size: 22px; color: var(--brand-text); }
.co-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.co-chip { font-size: 12.5px; padding: 4px 9px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); }
.co-chip em { font-style: normal; color: var(--muted); margin-left: 2px; }
.comp-win { margin: 6px 0 0; font-size: 14px; }
/* ===== Our pricing ===== */
.free2 { font-size: 12px; font-weight: 700; color: var(--black); background: var(--yellow); border-radius: 99px; padding: 3px 9px; margin-left: 6px; }
#plans.plans.two { max-width: 900px; }
.plan .plus { margin: 2px 0 -6px !important; font-size: 13.5px !important; font-weight: 700; color: var(--brand-text) !important; }
.plan.featured .plus, .plan-full .plus { color: var(--yellow) !important; }
.plan-sa .pill { background: var(--brand-50) !important; color: var(--brand-text) !important; }
.addon-strip { margin-top: 12px !important; max-width: 900px; display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto auto !important; gap: 14px !important; align-items: center !important;
  padding: 12px 16px !important; border: 1px solid color-mix(in srgb, var(--yellow) 60%, var(--line)) !important; border-radius: var(--r) !important; background: color-mix(in srgb, var(--yellow) 14%, var(--surface)) !important; }
.addon-strip .ao-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 800; font-size: 13px; gap: 0 !important; }
.addon-strip b { display: block; font-size: 14.5px; } .addon-strip > div span { font-size: 13px; color: var(--ink-2); }
.addon-strip .ao-price { font-size: 13px; color: var(--muted); white-space: nowrap; } .addon-strip .ao-price b { display: inline; font-size: 18px; color: var(--ink); }
@media (max-width: 640px) { .addon-strip { grid-template-columns: auto minmax(0, 1fr) !important; } .addon-strip .ao-price, .addon-strip .btn { grid-column: 2; justify-self: start; } }
.compare { max-width: 900px; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare > summary { cursor: pointer; padding: 12px 16px; font-weight: 650; list-style: none; } .compare > summary::-webkit-details-marker { display: none; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 9px 16px; border-top: 1px solid var(--line); text-align: left; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; } .compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 26%; }
.compare td:nth-child(3) { background: color-mix(in srgb, var(--green) 6%, transparent); font-weight: 600; }
.compare tr.tot td { font-weight: 700; }
/* Start-up packages: the Full Package is clearly the bigger one */
.plan.starter:not(.premium) { border: 1px solid var(--line) !important; }
.plan.premium.plan-full { background: var(--green) !important; transform: translateY(-6px); box-shadow: 0 10px 30px rgba(14,21,18,.18) !important; }
.plan.premium.plan-full .pill { background: var(--yellow) !important; color: var(--black) !important; }
.plan.premium.plan-full .btn.primary { background: var(--yellow) !important; border-color: var(--yellow) !important; color: var(--black) !important; }
.plan.premium.plan-full .value { color: var(--yellow) !important; }
.plan.starter.plan-starter .btn.primary { background: var(--surface) !important; color: var(--green) !important; border-color: var(--green) !important; }
.svc-grid.pair { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 720px; }
@media (max-width: 640px) { .svc-grid.pair { grid-template-columns: 1fr !important; } .plan-full { transform: none; } }

/* ===== Tender cards in brand green ===== */
.row.tc { background: var(--green) !important; border-color: var(--green) !important; color: #fff; }
.row.tc:hover { background: var(--green-l) !important; border-color: var(--green-l) !important; }
.row.tc .tc-band { background: transparent !important; }
.row.tc .tc-ic { background: rgba(255,255,255,.12) !important; color: var(--yellow) !important; }
.row.tc .tc-sec b, .row.tc .tc-body h3, .row.tc .tc-date b, .row.tc .tc-val { color: #fff !important; }
.row.tc .tc-sec small, .row.tc .tc-meta, .row.tc .tc-date small, .row.tc .tc-val.muted { color: rgba(255,255,255,.72) !important; }
.row.tc .tc-meta svg { color: var(--yellow); }
.row.tc .tc-foot { border-top-color: rgba(255,255,255,.14) !important; }
.row.tc .tc-date .r { color: var(--yellow) !important; }
.row.tc .tags .pill, .row.tc .tags span { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: transparent !important; }
.row.tc .star { color: rgba(255,255,255,.8) !important; } .row.tc .star[aria-pressed="true"] { color: var(--yellow) !important; }
.bid-why { margin: 2px 0 12px; font-size: 14px; color: var(--ink-2); max-width: 70ch; }

/* Closing soon: short titles, urgency colours (1-2 days red, 3-5 amber, 6+ green) */
.soon-row { border-left: 4px solid transparent !important; }
.soon-row.u-red { background: color-mix(in srgb, #C0392B 9%, var(--surface)) !important; border-left-color: #C0392B !important; }
.soon-row.u-amber { background: color-mix(in srgb, #E67E22 10%, var(--surface)) !important; border-left-color: #E67E22 !important; }
.soon-row.u-green { background: color-mix(in srgb, var(--green) 7%, var(--surface)) !important; border-left-color: var(--green) !important; }
.soon-row .due-tag { font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; color: #fff; }
.soon-row.u-red .due-tag { background: #C0392B; } .soon-row.u-amber .due-tag { background: #E67E22; } .soon-row.u-green .due-tag { background: var(--green); }
.soon-row b { font-weight: 600 !important; }

/* Home: quick links + storefront */
#tiles .ql-h { grid-column: 1 / -1; margin: 0 0 -4px; font-size: 16px; font-weight: 650; }
.store { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.store-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; padding: 28px; background: var(--green); color: #fff; }
.store-kick { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--black); background: var(--yellow); padding: 3px 10px; border-radius: 99px; }
.store-hero h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; margin: 10px 0 8px; color: #fff; }
.store-hero p { margin: 0 0 14px; color: rgba(255,255,255,.82); max-width: 58ch; }
.store-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; } .store-trust span { display: inline-flex; gap: 6px; align-items: center; } .store-trust svg { width: 15px; height: 15px; color: var(--yellow); }
.store-bundle { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.store-bundle span { font-size: 12.5px; color: var(--yellow); font-weight: 700; } .store-bundle b { font-size: 18px; } .store-bundle em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.78); }
.store-bundle strong { font-size: 26px; margin: 4px 0 6px; } .store-bundle .btn { background: var(--yellow) !important; border-color: var(--yellow) !important; color: var(--black) !important; }
.store-cats { display: flex; gap: 8px; padding: 16px 20px 0; flex-wrap: wrap; }
.store-cats button { all: unset; cursor: pointer; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.store-cats button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.store-cats button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 16px 20px 22px; }
.pcard { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--green); transform: translateY(-2px); }
.pcard[hidden] { display: none !important; }
.pbadge { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--yellow); color: var(--black); }
.pic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--green); } .pic svg { width: 24px; height: 24px; }
.pname { font-size: 15px; line-height: 1.3; margin-top: 4px; } .pwhy { font-size: 12.5px; color: var(--muted); min-height: 1.2em; }
.pprice { font-size: 24px; font-weight: 700; color: var(--ink); margin: 2px 0 4px; }
.padd { width: 100%; justify-content: center; } .padd[aria-pressed="true"] { background: var(--surface) !important; color: var(--green) !important; border-color: var(--green) !important; }
.padd svg { width: 16px; height: 16px; display: none; } .padd[aria-pressed="true"] svg { display: inline; }
@media (max-width: 760px) { .store-hero { grid-template-columns: 1fr; padding: 22px; } .store-grid { grid-template-columns: 1fr 1fr; padding: 14px; } .store-cats { flex-wrap: nowrap; overflow-x: auto; padding: 14px 14px 0; scrollbar-width: none; } .store-cats button { flex: none; } }

/* Home: Closing soon and Quick links side by side, same height; quick links stacked */
@media (min-width: 1021px) {
  .home-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) !important; align-items: stretch !important; }
  #tiles { grid-template-columns: 1fr !important; grid-template-rows: auto repeat(4, 1fr); gap: 10px !important; align-content: stretch; }
  #tiles .ql-h { grid-row: auto; margin: 0; align-self: end; }
  #tiles > .ql-h { grid-auto-rows: auto; }
}
#tiles .tile { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; align-content: center; gap: 14px; padding: 14px 18px; }
#tiles .tile h3 { margin: 0; font-size: 15.5px; }
#tiles .tile .go { margin: 0; white-space: nowrap; font-size: 13.5px; }
#tiles .tile:hover { border-color: var(--green); transform: none; }

/* Storefront banner in brand red; the buying area stays green */
.store-hero { background: #9E2B21 !important; }
.store-hero .store-trust svg { color: #fff !important; }
.store-bundle { background: rgba(0,0,0,.14) !important; border-color: rgba(255,255,255,.22) !important; }
.store-bundle span { color: var(--yellow) !important; }

/* Storefront cards: names, prices and buttons on the same lines in every card */
.pcard { display: flex !important; flex-direction: column; gap: 6px; height: 100%; }
.pcard .pname { min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pwhy { min-height: 2.6em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pprice { margin-top: auto; }
.pcard .padd { margin-top: 2px; }
.store-grid { align-items: stretch; }

/* Storefront: monthly plans box in the red banner */
.store-plans { display: grid; gap: 8px; padding: 16px; border-radius: var(--r); background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.22); }
.store-plans > span { font-size: 12.5px; font-weight: 700; color: var(--yellow); }
.store-plans .sp-row { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "w w" "l l"; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: #fff; color: var(--ink) !important; text-decoration: none !important; }
.sp-row ul { grid-area: l; list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; color: var(--ink-2); }
.sp-row li { display: flex; gap: 6px; align-items: baseline; } .sp-row li::before { content: "✓"; color: var(--green); font-weight: 800; }
.sp-row .sp-go { grid-area: l; justify-self: end; align-self: end; font-size: 12.5px; font-weight: 700; color: var(--green); }
.sp-row b { grid-area: n; font-size: 17px; font-weight: 800; color: var(--green-ink, #0b3d2a); } .sp-row b i { font-style: normal; font-size: 11px; font-weight: 800; background: var(--yellow); color: #1d1500; border-radius: 99px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.sp-row em { grid-area: w; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink); }
.sp-row strong { grid-area: p; font-size: 20px; color: var(--green); } .sp-row strong small { font-size: 12px; color: var(--muted); font-weight: 600; }
.sp-row.hot { outline: 2px solid var(--yellow); }
.sp-row:hover { background: var(--warm); } .sp-row:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.sp-all { color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

/* Africa countries: flag cards in one sliding row */
.cwrap { position: relative; margin: 0 0 10px; padding: 0 44px; }
.cwrap:has(#countries[hidden]) { display: none; }
.countries { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 10px !important; padding: 2px 2px 6px !important; margin: 0 !important; }
.countries::-webkit-scrollbar { display: none; }
.countries button { position: relative; overflow: hidden; flex: 0 0 150px; height: 92px; scroll-snap-align: start; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px !important;
  padding: 10px 12px !important; border-radius: var(--r) !important; border: 2px solid transparent !important; color: #fff !important; text-align: left; font-size: 14px !important; font-weight: 700;
  background: var(--green) !important; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .15s, border-color .15s; }
.countries button.c-flag { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%), var(--flag) center / cover no-repeat, #444 !important; }
.countries button .flag { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; line-height: 1; z-index: -1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.countries button.c-all .flag { position: static; font-size: 26px; z-index: auto; display: block; margin-bottom: auto; }
.countries button .cn { text-shadow: 0 1px 3px rgba(0,0,0,.6); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.countries button b { font-size: 12px; padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.22); color: #fff !important; }
.countries button:hover { transform: translateY(-2px); }
.countries button[aria-pressed="true"] { border-color: var(--yellow, #FFB612) !important; box-shadow: 0 0 0 2px var(--yellow, #FFB612); }
.cnav { position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cnav.prev { left: 0; } .cnav.next { right: 0; }
@media (max-width: 720px) { .cwrap { padding: 0; } .cnav { display: none; } .countries button { flex-basis: 128px; height: 80px; } }


/* Plans box on phones: name, price, tagline and list stack (the narrow title column let "Most popular" run into the price) */
@media (max-width: 760px) {
  .store-plans .sp-row { grid-template-areas: "n n" "p p" "w w" "l l"; align-content: start; }
  .sp-row strong { justify-self: start; }
  .sp-row b { line-height: 1.35; }
  .sp-row b i { display: inline-block; margin: 4px 6px 0 0; vertical-align: baseline; }
}

/* Plans box: two plans side by side on desktop */
@media (min-width: 761px) {
  .store-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 560px) !important; }
  .store-plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .store-plans > span, .store-plans .sp-all { grid-column: 1 / -1; }
  .store-plans .sp-row { grid-template-areas: "n n" "p p" "w w" "l l"; align-content: start; }
  .sp-row strong { justify-self: start; }
}
.sp-row b { white-space: nowrap; } .sp-row b i { display: inline-block; white-space: nowrap; }

/* Rest of Africa: clearly marked Pro only */
.region button.r-pro { position: relative; border: 2px solid var(--yellow, #FFB612) !important; }
.t-band .region button.r-pro:not([aria-pressed="true"]) { background: rgba(255,182,18,.16) !important; }
.region .pro-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
  background: var(--yellow, #FFB612); color: #1d1500 !important; border-radius: 99px; padding: 4px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.region button.r-pro[aria-pressed="true"] .pro-badge { background: var(--yellow, #FFB612); }

/* Region buttons: map outlines of South Africa and Africa */
.region button .rmap { width: 46px !important; height: 40px !important; flex: none; }
.region button[data-region="sa"] .rmap { width: 50px !important; height: 40px !important; }
.region button[data-region="africa"] .rmap { width: 58px !important; height: 58px !important; margin: -8px 0; }
.region button[data-region="sa"] .rmap { color: var(--green); }
.region button[data-region="africa"] .rmap { color: var(--yellow, #FFB612); }
.region button[aria-pressed="true"][data-region="sa"] .rmap { color: var(--green); }
.t-band .region button:not([aria-pressed="true"])[data-region="sa"] .rmap { color: #fff; }
.region button[aria-pressed="true"][data-region="africa"] .rmap { color: var(--green); }

/* One look on every page: the Tenders green header band */
section.pg { padding-top: 0 !important; }
.pg-band { background: var(--green) !important; color: #fff; padding: 36px 0 30px; margin-bottom: 24px; }
.pg-band .sec-head { margin-bottom: 0; align-items: center; }
.pg-band .sec-head h2, .pg-band .sup-hero h2, .t-head h2 { font-family: var(--display) !important; font-weight: 400 !important; letter-spacing: -.02em; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 12px 0 0; }
.pg-band h2 em, .t-head h2 em { font-style: italic; color: var(--yellow, #FFB612); }
.pg-band .live { margin: 0; }
.pg-band .sec-head p, .pg-band .sup-hero p { color: rgba(255,255,255,.78) !important; margin: 6px 0 0; max-width: 64ch; }
.pg-band .sup-hero { background: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; display: block; }
.pg-band .sup-hero h2 { margin: 6px 0 6px; }
.pg-band .sup-hero .actions { margin-top: 18px; }
.pg-band .billing, .pg-band .billing span { color: #fff; }
.pg-band .eyebrow { color: var(--yellow) !important; }
.sc-intro { display: grid; gap: 10px; justify-items: start; max-width: 640px; }
.sc-intro h3 { margin: 0; }
@media (max-width: 720px) { .pg-band { padding: 24px 0 22px; margin-bottom: 18px; } }
/* Clean titles: the buyer's original underneath, one quiet line on cards */
.orig-title { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Checkout on phones: the pay button stays in reach at the bottom of the sheet */
@media (max-width: 760px) {
  #cart-body #co-msg:not(:empty) { position: sticky; bottom: 64px; z-index: 2; background: var(--surface); padding: 8px 2px; margin: 0; }
  #cart-body #co-pay { position: sticky; bottom: 8px; z-index: 2; box-shadow: 0 -10px 18px 6px var(--surface); }
}
/* Locked spots: the reason line in the welcome window */
.portal-why { margin: 10px auto 0; max-width: 46ch; padding: 8px 12px; border-radius: 10px; background: rgba(255,182,18,.16); color: #fff; font-weight: 600; font-size: 14px; }
/* Cart: what happens next, and why each suggestion */
.cart-next { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--yellow, #FFB612) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow, #FFB612) 45%, var(--line)); }
.cart-next b { display: block; font-size: 15px; } .cart-next span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.cart-next .actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.chipbtn.sugg { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; } .chipbtn.sugg small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
/* Tender page: who won this before */
.pw-list { list-style: none; margin: 6px 0 10px; padding: 0; }
.pw-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pw-list li > div:first-child { min-width: 0; }
.pw-list p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); }
.pw-co { all: unset; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.pw-co:hover { color: var(--green); text-decoration: underline; } .pw-co:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.pw-amt { text-align: right; flex: none; } .pw-amt b { display: block; font-size: 14.5px; white-space: nowrap; } .pw-amt small { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .pw-list li { flex-direction: column; gap: 2px; } .pw-amt { text-align: left; } }
/* Tender news: who won */
.aw { margin: 0 0 28px; }
.aw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; border-top: 4px solid var(--ink); padding-top: 10px; margin-bottom: 14px; }
.aw-kick { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.aw-head h3 { margin: 2px 0 4px; font-family: var(--font); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.aw-head p { margin: 0; color: var(--ink-2); max-width: 70ch; font-size: 14.5px; }
.aw-q { max-width: 340px; flex: 1 1 240px; }
.aw-years { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 14px; scrollbar-width: thin; }
.aw-y { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 0 104px; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.aw-y b { font-size: 17px; } .aw-y small { font-size: 12px; color: var(--muted); }
.aw-y[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; } .aw-y[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.aw-y:hover:not([disabled]) { border-color: var(--green); } .aw-y:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.aw-y[disabled] { cursor: default; }
.aw-y.now { justify-content: center; }
.aw-bar { display: flex; align-items: flex-end; height: 34px; margin-bottom: 6px; } .aw-bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--green) 30%, transparent); }
.aw-y[aria-pressed="true"] .aw-bar i { background: var(--yellow, #FFB612); }
.aw-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; }
.aw h4 { margin: 4px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.aw-list { list-style: none; margin: 0 0 12px; padding: 0; }
.aw-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.aw-who { min-width: 0; }
.aw-co { all: unset; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.aw-co:hover { color: var(--green); text-decoration: underline; } .aw-co:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.aw-size { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); vertical-align: 2px; }
.aw-plus { margin-left: 8px; font-size: 12px; color: var(--muted); }
.aw-who p { margin: 3px 0 2px; font-size: 14px; color: var(--ink-2); } .aw-who p b { font-weight: 600; color: var(--ink); }
.aw-who small, .aw-amt small { font-size: 12.5px; color: var(--muted); }
.aw-amt { text-align: right; flex: none; } .aw-amt b { display: block; font-size: 15px; white-space: nowrap; }
.aw-top { margin: 0 0 18px; padding-left: 22px; } .aw-top li { padding: 6px 0; border-bottom: 1px solid var(--line); } .aw-top li span { display: block; font-size: 12.5px; color: var(--muted); }
.aw-top .aw-co { font-size: 15px; }
.aw-size.unk { background: var(--surface, #f3f3f0); color: var(--muted, #6B7570); font-weight: 600; }
.pill.readv { background: #EEF0FB; color: #36407A; }
.aw-sizes { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 4px; } .aw-sizes span { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 13px; }
.aw-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; }
.aw-res h4 { text-transform: none; letter-spacing: 0; font-size: 18px; }
@media (max-width: 860px) { .aw-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .aw-row { flex-direction: column; gap: 4px; } .aw-amt { text-align: left; } .aw-q { max-width: none; } }
/* Tender news: the same newspaper front page, tender stories only */
.tn { margin: 0 0 26px; }
.tn-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; border-top: 4px solid var(--ink); padding-top: 8px; margin-bottom: 16px; }
.tn-top h3 { margin: 0; font-family: var(--font); font-weight: 800; font-size: 26px; }
.tn-top p { margin: 0; color: var(--muted); font-size: 13.5px; }
.tn .nw-grid { margin-top: 4px; }
.tn-foot { text-align: center; margin: 22px 0 0; }
.nw-also { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); font-style: italic; }
.nw-lead .nw-also { color: rgba(255,255,255,.72); }
/* Mzansi News: a newspaper front page */
.nw-mast { padding: 18px 0 22px !important; }
.nw-dateline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 0 10px; border-bottom: 1px solid rgba(255,255,255,.28); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.78); font-weight: 600; }
.nw-mast .live { margin: 0; text-transform: none; letter-spacing: 0; }
.nw-title { font-family: var(--font) !important; font-weight: 800 !important; text-align: center; font-size: clamp(2.8rem, 7.5vw, 5.2rem) !important; line-height: 1 !important; margin: 14px 0 8px !important; color: #fff; letter-spacing: -.02em !important; }
.nw-title em { font-style: normal; color: var(--yellow, #FFB612); }
.nw-mast .nw-title { margin-bottom: 4px !important; }
.nw-strap { text-align: center; margin: 0 auto !important; padding: 9px 0 0; border-top: 3px double rgba(255,255,255,.5); max-width: none !important; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 16px; color: rgba(255,255,255,.88) !important; }
.nw-sources { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding: 12px 0 4px; }
.nw-srcfold { margin: 18px 0 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nw-srcfold summary { cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 600; }
.nw-srcfold summary b { color: var(--ink); }
.nw-srcon { background: var(--yellow, #FFB612) !important; color: #1d1500 !important; border-color: var(--yellow, #FFB612) !important; font-weight: 700; }
.nw-sources > span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.nw-sources button { all: unset; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.2; border-bottom: 2px solid transparent; }
.nw-sources button small { font-family: var(--font); font-weight: 600; font-size: 11px; color: var(--muted); margin-left: 4px; }
.nw-sources button:hover, .nw-sources button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--yellow, #FFB612); }
.nw-sources button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.nw-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.nw-topics { display: flex; gap: 6px; flex-wrap: wrap; }
.nw-topics button { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.nw-topics button b { font-weight: 700; color: var(--muted); margin-left: 4px; font-size: 12px; }
.nw-topics button:hover { border-color: var(--green); color: var(--green); }
.nw-topics button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.nw-topics button[aria-pressed="true"] b { color: var(--yellow, #FFB612); }
.nw-topics button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.nw-q { max-width: 320px; flex: 1 1 220px; }
.nw-new { margin: -4px 0 14px; font-weight: 600; color: var(--green); }
.nw-h { font-family: var(--font); font-weight: 700; letter-spacing: -.005em; overflow-wrap: anywhere; }
.nw-src { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--nc, var(--green)); }
.nw-time { font-size: 12.5px; color: var(--muted); }
.nw-fresh { display: inline-block; background: #C0352B; color: #fff; font-weight: 700; font-size: 10.5px; padding: 1px 6px; border-radius: 99px; text-transform: uppercase; margin-right: 6px; vertical-align: 1px; }
.nw-front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 26px; }
.nw-front:empty { display: none; }
.nw-lead { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 28px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--green) var(--ph, none) center / cover no-repeat; }
.nw-lead .nw-bg, .nw-img .nw-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nw-lead::before { z-index: 1; content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,36,26,0) 25%, rgba(4,36,26,.55) 55%, rgba(4,36,26,.94)); }
.nw-lead > :not(.nw-bg):not(.nw-kick) { position: relative; z-index: 2; }
.nw-lead .nw-kick { z-index: 2; }
.nw-lead .nw-src { color: var(--yellow, #FFB612); }
.nw-lead .nw-h { font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 8px 0 10px; color: #fff; }
.nw-lead p { margin: 0 0 10px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.45; max-width: 62ch; }
.nw-lead .nw-time { color: rgba(255,255,255,.75); }
.nw-lead .nw-kick { position: absolute; top: 18px; left: 18px; background: var(--yellow, #FFB612); color: #1d1500; font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 4px; }
.nw-lead:hover .nw-h { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nw-lead:focus-visible, .nw-card:focus-visible, .nw-li:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.nw-latest { border-top: 4px solid var(--ink); padding-top: 4px; }
.nw-latest h3 { margin: 6px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.nw-li { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nw-li .nw-h { display: block; font-size: 16px; line-height: 1.35; margin: 3px 0 4px; }
.nw-li:hover .nw-h { color: var(--green); }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; }
.nw-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; border-top: 3px solid var(--nc, var(--green)); padding-top: 10px; }
.nw-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--bg); margin-bottom: 10px; }
.nw-img .nw-tag { z-index: 1; }
.nw-img .nw-tag { position: absolute; left: 8px; bottom: 8px; background: var(--nc, var(--green)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.nw-card .nw-tag.txt { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--nc, var(--green)); margin-bottom: 4px; }
.nw-card .nw-h { font-size: 17.5px; line-height: 1.35; margin: 4px 0 6px; }
.nw-card p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.nw-card:hover .nw-h { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nw-card .nw-time { margin-top: auto; }
.nw-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); }
.nw-more-wrap { text-align: center; margin: 22px 0 6px; }
.nw-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 22px 0 10px; padding: 18px 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.nw-cta b { display: block; font-size: 17px; } .nw-cta span { color: var(--ink-2); font-size: 14px; }
.nw-cta:empty { display: none; }
.nw-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 980px) { .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nw-front { grid-template-columns: 1fr; } .nw-lead { min-height: 380px; } }
@media (max-width: 640px) { .nw-grid { grid-template-columns: 1fr; } .nw-lead { min-height: 340px; padding: 60px 20px 20px; } .nw-q { max-width: none; } .nw-sources button { font-size: 15px; }
  .nw-topics { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; } .nw-topics button { flex: none; } .nw-dateline { justify-content: center; } }

.pg-band .btn.gold, .pg-band .btn.primary { background: #fff !important; border-color: #fff !important; color: var(--green) !important; }
.pg-band .btn.ghost-w { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.5) !important; }
/* Free score button in the top bar: red, like the Home storefront banner */
#nav-cta { background: #C0352B !important; border-color: #C0352B !important; color: #fff !important; }
#nav-cta:hover { background: #9E2B21 !important; border-color: #9E2B21 !important; }
#nav-cta.done { background: var(--surface, #fff) !important; border-color: var(--line, #d9ddd8) !important; color: var(--green, #1E5447) !important; }
#nav-cta.done:hover { background: var(--bg, #F6F3EC) !important; }
.sc-prev { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, #1E5447 8%, var(--surface)); font-size: 14px; }

/* My account menu: clean, grouped */
.acct-menu { width: 340px !important; border-radius: 16px !important; box-shadow: 0 18px 50px rgba(10,30,20,.22) !important; }
.am-head { display: grid !important; grid-template-columns: auto minmax(0,1fr); gap: 12px; align-items: center; padding: 18px !important; background: var(--green) !important; }
.am-av { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #1d1500; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.am-id b { font-size: 16px; color: #fff; } .am-id small { color: rgba(255,255,255,.75); font-size: 12.5px; display: block; overflow-wrap: anywhere; }
.am-plan { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; align-items: center; margin: 12px; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.am-plan.none { grid-template-columns: 1fr; }
.am-plan .ring, .am-plan .ring svg { width: 58px; height: 58px; }
.am-plan .ring .bg { stroke: var(--line); } .am-plan .ring .fg { stroke: var(--green); }
.am-plan .ring span { color: var(--ink); font-size: 16px; } .am-plan .ring span small { color: var(--muted); font-size: 7.5px; letter-spacing: 0 !important; text-transform: none !important; }
.am-pl { display: inline-block; font-weight: 800; font-size: 14px; color: var(--green); }
.am-plan small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 4px; }
.acct-menu .am-manage { all: unset; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.am-grp { padding: 4px 0 6px; border-top: 1px solid var(--line); }
.am-gh { display: block; padding: 10px 18px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.acct-menu .am-grp a { padding: 8px 18px !important; gap: 12px !important; }
.am-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-50, #E8F1EC); display: grid; place-items: center; flex: none; }
.am-ic svg { width: 16px !important; height: 16px !important; color: var(--green) !important; }
.am-tx b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); } .am-tx small { display: block; font-size: 12px; color: var(--muted); }
.acct-menu .am-out { padding: 13px 18px !important; justify-content: flex-start; }
.acct-btn { padding: 4px 12px 4px 4px !important; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.acct-btn .acct-av { background: var(--green); }
/* Page links in the top bar: clear pill for the page you're on */
.nav-links { gap: 2px !important; }
.nav-links a { padding: 8px 14px !important; border-radius: 99px !important; font-weight: 600 !important; }
.nav-links a:hover { background: var(--bg) !important; color: var(--green) !important; }
.nav-links a[aria-current="page"] { background: var(--green) !important; color: #fff !important; }
.nav-links a[aria-current="page"]::after { display: none !important; }
.nav-links a[aria-current="page"] .soon-tag { background: var(--yellow); color: #1d1500; }

/* "Coming soon" tags */
.soon-tag { display: inline-flex !important; align-items: center; gap: 4px; background: var(--yellow, #FFB612) !important; color: #1d1500 !important; font-size: 10.5px !important; font-weight: 800 !important; letter-spacing: .02em; border-radius: 99px !important; padding: 2px 8px !important; margin-left: 6px; vertical-align: 1px; line-height: 1.5; }
.soon-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1d1500; opacity: .55; }
.soon-big { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow, #FFB612); color: #1d1500; font-weight: 800; font-size: 13px; border-radius: 99px; padding: 6px 14px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.soon-big::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1d1500; animation: pulse 2s infinite; }
.sup-kick { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pg-band .sup-hero h2 { margin-top: 4px !important; }

.hero .live span { white-space: normal !important; overflow: visible !important; }
.hero .live { align-items: flex-start; }
.hero .live i { margin-top: 5px; }
.pg-band .sup-hero, .pg-band .sup-hero * { outline: 0; }
.pg-band .sup-hero { border: 0 !important; }

/* Tenders: bigger, visual story cards (they replace the sector tiles) */
.fgroup.fsecs { display: none !important; }
.stories { gap: 12px !important; padding: 6px 2px 18px !important; }
.stb { width: 132px !important; height: 150px; flex: none; position: relative; display: flex !important; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px !important;
  padding: 12px !important; border-radius: 16px !important; overflow: hidden; text-align: left; color: #fff !important;
  background: linear-gradient(160deg, color-mix(in srgb, var(--stc) 72%, #fff) 0%, var(--stc) 55%, color-mix(in srgb, var(--stc) 70%, #000) 100%) !important;
  box-shadow: 0 4px 14px rgba(10,30,20,.16); border: 3px solid transparent !important; transition: transform .15s, box-shadow .15s; }
.stb:not(.seen) { border-color: var(--yellow, #FFB612) !important; }
.stb:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,30,20,.22); }
.stb.ph { background: linear-gradient(180deg, rgba(6,20,15,.05), rgba(6,20,15,.7)), var(--ph) center / cover !important; }
.stb.hot { background: linear-gradient(160deg, #E0574B, #C0352B 55%, #8E2219) !important; }
.stb .ring { position: absolute !important; top: 12px; left: 12px; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; transform: none !important; }
.stb .in { width: 52px !important; height: 52px !important; border-radius: 14px !important; border: 0 !important; background: rgba(255,255,255,.2) !important; color: #fff !important; display: grid; place-items: center; backdrop-filter: blur(2px); }
.stb .in svg { width: 30px !important; height: 30px !important; filter: none !important; opacity: 1 !important; color: #fff !important; stroke: #fff; }
.stb.hot .in { color: #fff !important; }
.stb .n { display: none !important; }
.stb span.l { font-size: 15px !important; font-weight: 800 !important; color: #fff !important; max-width: 100% !important; white-space: normal !important; line-height: 1.15; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.stb .sub { font-size: 12px; font-weight: 700; background: rgba(0,0,0,.22); color: #fff; padding: 2px 8px; border-radius: 99px; margin-top: 4px; }
.stb.seen { opacity: 1; }
.st-all { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: calc(100% - 32px); margin: -6px 16px 16px; text-align: center; padding: 12px; border-radius: 12px; background: #fff; color: var(--green); font-weight: 800; font-size: 14.5px; position: relative; z-index: 3; }
.st-all:hover { background: var(--yellow, #FFB612); color: #1d1500; }
@media (max-width: 720px) { .stb { width: 116px !important; height: 146px; } .stb .in { width: 40px !important; height: 40px !important; } .stb .in svg { width: 24px !important; height: 24px !important; } .stb span.l { font-size: 13.5px !important; } }

#st-card { background: linear-gradient(170deg, color-mix(in srgb, var(--stc, #1E5447) 85%, #fff) 0%, var(--stc, #1E5447) 40%, color-mix(in srgb, var(--stc, #1E5447) 55%, #000) 100%) !important; border: 0 !important; color: #fff !important; }
#st-card.ph { background: linear-gradient(180deg, rgba(4,12,9,.55) 0%, rgba(4,12,9,.25) 35%, rgba(4,12,9,.85) 75%, #020c08 100%), var(--ph) center / cover !important; }

/* Tender history: Your tenders + Who keeps winning */
.hx-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
.cp-xh { margin: 22px 0 10px; font-size: 20px; }
.mt-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.mt-head h3 { margin: 0; font-size: 22px; } .mt-count { font-size: 13.5px; color: var(--muted); } .mt-count b { color: var(--green); }
.mt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.mt-row { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
.mt-row:hover { border-color: var(--green); transform: translateY(-1px); }
.mt-row b { font-size: 15px; line-height: 1.3; }
.mt-tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green); background: var(--brand-50, #E8F1EC); padding: 2px 8px; border-radius: 99px; }
.mt-meta { font-size: 13px; color: var(--muted); }
.mt-st { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #E6F4EA; color: #1E6B3A; }
.mt-st.urgent { background: #FDE8E6; color: #B3261E; } .mt-st.soon { background: #FFF3D6; color: #8A5A00; } .mt-st.cidb { background: #E8EEFB; color: #2B46AD; }
.mt-up { font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 6px; }
.mt-empty { display: grid; gap: 8px; justify-items: start; }
.cp-sec { margin-bottom: 26px; } .cp-h h3 { margin: 0 0 4px; font-size: 22px; } .cp-h .note { max-width: 80ch; }
.cp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 14px 0; }
.cp-kpis > div { background: var(--green); color: #fff; border-radius: var(--r); padding: 16px; display: grid; gap: 4px; }
.cp-kpis b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--yellow, #FFB612); }
.cp-kpis span { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.35; }
.cp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .cp-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-list { display: grid; gap: 2px; }
.cp-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.cp-row:last-child { border-bottom: 0; }
.cp-row i { font-style: normal; font-weight: 800; color: var(--green); text-align: center; }
.cp-row b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cp-row small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-row em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cp-big { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; } .cp-big b { font-family: var(--display); font-size: 40px; font-weight: 400; color: var(--green); } .cp-big span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .cp-grid, .cp-grid.two { grid-template-columns: 1fr; } }

.sup-soon { border: 1px dashed var(--green) !important; background: var(--brand-50, #E8F1EC); border-radius: var(--r); padding: 16px !important; }
.sup-soon .ss-top { display: grid; gap: 6px; justify-items: start; margin-bottom: 6px; }
.sup-soon .ss-top .soon-tag { margin-left: 0; }
.sup-soon h3 { margin: 0 !important; }
.sup-soon p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }

.stb.act { border-color: #fff !important; box-shadow: 0 0 0 3px var(--green), 0 10px 24px rgba(10,30,20,.25) !important; transform: translateY(-3px); opacity: 1 !important; }
.stb.act .sub { background: #fff; color: var(--green); }

.cp-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.cp-head h3 { margin: 0; font-size: 22px; }
.cp-sw { display: inline-flex; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.cp-sw button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.cp-sw button .rmap { width: 22px; height: 22px; color: var(--green); }
.cp-sw button[aria-pressed="true"] { background: var(--green); color: #fff; } .cp-sw button[aria-pressed="true"] .rmap { color: var(--yellow, #FFB612); }
/* Tender Radar: re-tenders expected from contract end dates (Business package) */
.rd-note { font-size: 13.5px; color: var(--ink-2); background: var(--bg-subtle); border-left: 3px solid var(--green); border-radius: 8px; padding: 10px 14px; margin: 16px 0; max-width: 90ch; }
.rd-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.rd-filters select, .rd-filters input { min-height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); padding: 0 10px; font: inherit; font-size: 14px; max-width: 100%; }
.rd-filters input[type=search] { flex: 1 1 220px; }
.rd-mine { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; }
.rd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.rd-kpis > div { background: var(--green); color: #fff; border-radius: var(--r); padding: 14px; display: grid; gap: 4px; }
.rd-kpis b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--yellow, #FFB612); }
.rd-kpis span { font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.35; }
.rd-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.rd-card { display: grid; gap: 7px; align-content: start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); min-width: 0; }
.rd-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rd-c { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.rd-c.high { background: #E6F4EA; color: #1E6B3A; } .rd-c.medium { background: #FFF3D6; color: #8A5A00; } .rd-c.low { background: var(--bg-subtle); color: var(--muted); }
.rd-adv { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #E8EEFB; color: #2B46AD; text-decoration: none; }
.rd-when { font-size: 13px; font-weight: 700; color: var(--ink); margin-left: auto; }
.rd-card h4 { margin: 0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.rd-meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.rd-ends { font-size: 13px; color: var(--ink-2); }
.rd-card details { border-top: 1px dashed var(--line); padding-top: 6px; font-size: 13px; }
.rd-card summary { cursor: pointer; font-weight: 700; color: var(--green); }
.rd-card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 10px; margin: 8px 0 0; }
.rd-card dt { color: var(--muted); } .rd-card dd { margin: 0; overflow-wrap: anywhere; }
.rd-card ul { margin: 4px 0 0; padding-left: 18px; }
.rd-empty { padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-2); }
@media (max-width: 700px) { .rd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-list { grid-template-columns: minmax(0, 1fr); } .rd-when { margin-left: 0; width: 100%; } }

.cp-src { max-width: 90ch; margin: 0 0 4px; }
.cp-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
@media (max-width: 720px) { .cp-list.cols { grid-template-columns: 1fr; } }

/* Company profile */
.co-modal { width: min(760px, 100%) !important; max-height: 90vh; overflow: auto; }
.co-name { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 6px 0 12px; }
.co-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.co-kpis > div { background: var(--green); color: #fff; border-radius: var(--r); padding: 12px 14px; display: grid; gap: 2px; }
.co-kpis b { font-size: 20px; color: var(--yellow, #FFB612); overflow-wrap: anywhere; } .co-kpis span { font-size: 12.5px; color: rgba(255,255,255,.8); }
.co-facts { display: grid; gap: 8px; margin: 0 0 6px; } .co-facts div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 10px; }
.co-facts dt { font-size: 13px; color: var(--muted); } .co-facts dd { margin: 0; font-size: 14px; font-weight: 600; } .co-facts dd.muted { font-weight: 400; color: var(--muted); }
.co-h { margin: 18px 0 8px; font-size: 16px; }
.co-list { display: grid; gap: 6px; }
.co-it { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.co-it.won { border-left: 4px solid var(--green); }
.co-it b { display: block; font-size: 13.5px; line-height: 1.3; } .co-it small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.co-it em { font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; color: var(--green); }
.cp-row[data-co] { cursor: pointer; border-radius: 8px; } .cp-row[data-co]:hover { background: var(--bg); }
@media (max-width: 600px) { .co-kpis { grid-template-columns: 1fr; } .co-facts div { grid-template-columns: 1fr; gap: 0; } }

/* Suppliers: specialised supplier application */
.sa-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.sa-side { position: sticky; top: 90px; display: grid; gap: 12px; }
.sa-prog, .sa-why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--e1); }
.sa-prog-top { display: flex; justify-content: space-between; align-items: baseline; } .sa-prog-top span { font-weight: 800; color: var(--green); }
.sa-bar { height: 8px; border-radius: 99px; background: var(--bg); margin: 8px 0 12px; overflow: hidden; } .sa-bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.sa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: sa; }
.sa-steps li { counter-increment: sa; } .sa-steps a { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.sa-steps a::before { content: counter(sa); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 800; flex: none; }
.sa-steps li.ok a::before { content: "✓"; background: var(--green); color: #fff; }
.sa-steps a:hover { background: var(--bg); }
.sa-why h4 { margin: 0 0 8px; } .sa-why ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.sa-why li { display: flex; gap: 8px; align-items: flex-start; } .sa-why li svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 2px; }
.sa-form { display: grid; gap: 14px; }
.sa-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--e1); scroll-margin-top: 90px; }
.sa-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; } .sa-h h3 { margin: 0; font-size: 18px; } .sa-h .note { margin: 2px 0 0; }
.sa-n { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: var(--yellow, #FFB612); display: grid; place-items: center; font-weight: 800; flex: none; }
.sa-form .consent, .sa-form #sup-send, .sa-form .msg { margin-left: 4px; }
@media (max-width: 900px) { .sa-wrap { grid-template-columns: 1fr; } .sa-side { position: static; } .sa-why { display: none; } }

.doc-st { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.doc-get { white-space: nowrap; background: var(--yellow, #FFB612) !important; border-color: var(--yellow, #FFB612) !important; color: #1d1500 !important; font-weight: 800 !important; }

/* Apply now */
.d-apply { display: grid; gap: 6px; padding: 14px; border-radius: var(--r); background: var(--green); margin: 4px 0 2px; }
.d-apply .btn { width: 100%; justify-content: center; font-size: 17px !important; font-weight: 800 !important; height: 52px; background: var(--yellow, #FFB612) !important; border-color: var(--yellow, #FFB612) !important; color: #1d1500 !important; }
.d-apply small { color: rgba(255,255,255,.85); font-size: 12.5px; text-align: center; }
.ap-cont { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 4px 0 2px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--green, #1E5447) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--green, #1E5447) 30%, var(--line)); font-size: 14px; }
.ap-cont > span { display: inline-flex; align-items: center; gap: 6px; } .ap-cont svg { width: 16px; height: 16px; color: var(--green, #1E5447); }
.ap-cont.warn { background: color-mix(in srgb, var(--yellow, #FFB612) 14%, var(--surface)); border-color: color-mix(in srgb, var(--yellow, #FFB612) 60%, var(--line)); font-weight: 700; }
.copy-ask { margin: 12px 0; } .sb-warn.copy-ask ol { margin: 6px 0 0; padding-left: 20px; } .sb-warn.copy-ask .actions { margin-top: 10px; }
.d-apply.closed { background: var(--bg); } .d-apply.closed b { color: var(--ink); } .d-apply.closed small { color: var(--muted); }
.tc-apply { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; padding: 11px; background: var(--yellow, #FFB612); color: #1d1500; font-weight: 800; font-size: 14.5px; border-radius: 0 0 var(--r) var(--r); }
.tc-apply:hover { background: #ffc94a; }
.tc-apply:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.hero .stat { font: inherit; text-align: left; cursor: pointer; color: inherit; transition: border-color .15s, transform .15s; }
.hero .stat:hover { border-color: var(--yellow, #FFB612) !important; transform: translateY(-2px); }

/* Home: how it works */
.how { margin: 0 0 22px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
.how-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.how-h h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; } .how-h p { margin: 0; color: var(--muted); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--bg); }
.how-n { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: var(--yellow, #FFB612); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 17px; }
.how-steps b { display: block; font-size: 15.5px; margin-bottom: 4px; } .how-steps p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 820px) { .how-steps { grid-template-columns: 1fr; } }

/* Search results: South Africa / Rest of Africa sections */
.rg-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; margin: 10px 0 2px; border-radius: var(--r); background: var(--green); color: #fff; }
.rg-head:first-child { margin-top: 0; }
.rg-t { display: inline-flex; align-items: center; gap: 10px; } .rg-t .rmap { width: 30px; height: 26px; color: var(--yellow, #FFB612); }
.rg-t b { font-size: 17px; } .rg-t small { color: rgba(255,255,255,.8); font-size: 13.5px; font-weight: 600; }
.rg-tg { all: unset; cursor: pointer; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.15); font-weight: 700; font-size: 13.5px; }
.rg-tg:hover { background: rgba(255,255,255,.28); }
.rg-head.closed { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.rg-head.closed .rg-t small { color: var(--muted); } .rg-head.closed .rg-tg { background: var(--green); color: #fff; }
.rg-none { color: rgba(255,255,255,.75); font-size: 13px; }

.rg-all { grid-column: 1 / -1; justify-self: center; all: unset; cursor: pointer; display: block; text-align: center; padding: 11px 18px; margin: 4px auto 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--green); color: var(--green); font-weight: 800; font-size: 14px; }
.rg-all:hover { background: var(--green); color: #fff; }
#list.cards .rg-all { grid-column: 1 / -1; }

/* Region switch: one look for both; the page you're on is solid white with a tick */
.t-band .region { display: inline-flex !important; gap: 4px !important; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.18); flex-wrap: nowrap; }
.t-band .region button, .t-band .region button.r-pro { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; border-radius: 12px !important; padding: 8px 14px !important; transition: background .2s, color .2s, transform .2s; }
.t-band .region button:not([aria-pressed="true"]):hover { background: rgba(255,255,255,.1) !important; }
.t-band .region button small { color: rgba(255,255,255,.7) !important; }
.t-band .region button .rmap { color: rgba(255,255,255,.85) !important; }
.t-band .region button[aria-pressed="true"] { background: #fff !important; color: var(--green) !important; box-shadow: 0 4px 14px rgba(0,0,0,.25) !important; }
.t-band .region button[aria-pressed="true"] small { color: var(--muted) !important; }
.t-band .region button[aria-pressed="true"] .rmap { color: var(--green) !important; }
.t-band .region button[aria-pressed="true"] > span:not(.pro-badge)::after { content: "✓ You're here"; display: block; font-size: 11px; font-weight: 800; color: var(--green); margin-top: 1px; }
.t-band .region .pro-badge { font-size: 11px !important; padding: 2px 8px !important; box-shadow: none !important; }
/* smooth switch between South Africa and the rest of Africa */
#tenders .app, #stories, .cwrap, #rtitle { transition: opacity .25s ease; }
#tenders.rg-switching .app, #tenders.rg-switching #stories, #tenders.rg-switching .cwrap, #tenders.rg-switching #rtitle { opacity: 0; }
@media (max-width: 720px) {
  .t-band .region { display: grid !important; grid-template-columns: 1fr 1fr; width: 100%; }
  .t-band .region button, .t-band .region button.r-pro { position: relative; display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 4px !important; padding: 10px 6px !important; min-width: 0; }
  .t-band .region button .rmap { width: 34px !important; height: 30px !important; margin: 0 !important; }
  .t-band .region button > span:not(.pro-badge) { font-size: 14px; line-height: 1.2; }
  .t-band .region button small { display: block; font-size: 11.5px !important; }
  .t-band .region button[aria-pressed="true"] > span:not(.pro-badge)::after { content: "✓ Here"; }
  .t-band .region .pro-badge { position: absolute; top: 6px; right: 6px; font-size: 10px !important; padding: 1px 6px !important; }
}

/* Tender news strip */
.tn { margin: 0 0 20px; }
/* Tenders: dropdown filters tucked behind one "More filters" button on desktop too */
@media (min-width: 1021px) {
  .filters.fbar:not(.open) { display: none !important; }
  .toolbar .filter-btn { display: inline-flex !important; }
  .filters.fbar .filters-head { display: none; }
}
#filters-open { font-weight: 700; }
#filters-open[aria-expanded="true"] { background: var(--green); color: #fff; border-color: var(--green); }


/* Tender news: the publisher's own photo when the feed gives one */

/* Application plan in the bid file */
.plan-box { margin: 14px 0 18px; padding: 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.pl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .pl-top h3 { margin: 0; font-size: 18px; } .pl-top span { font-weight: 800; color: var(--green); font-size: 13.5px; }
.plan-box .progress { margin: 8px 0 10px; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-steps > li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pl-steps > li.done { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.pl-steps summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pl-steps summary::-webkit-details-marker { display: none; }
.pl-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 800; font-size: 13px; flex: none; }
.pl-steps li.done .pl-n { background: var(--green); color: #fff; }
.pl-b { padding: 0 12px 12px 50px; font-size: 14px; display: grid; gap: 8px; justify-items: start; } .pl-b p { margin: 0; }
.pl-warn { color: var(--ink-2); font-size: 13px; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.pl-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .pl-list li.ok span { color: var(--green); font-weight: 600; }
.pl-cks { display: grid; gap: 4px; } .pl-ck { display: flex; gap: 8px; align-items: center; font-size: 13.5px; cursor: pointer; }
.pl-ol { margin: 0; padding-left: 18px; font-size: 13.5px; } .pl-how { margin: 0; }
@media (max-width: 600px) { .pl-b { padding-left: 12px; } }

/* Where your bid is now */
.track-box { margin: 14px 0 18px; padding: 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.track-box h3 { margin: 0 0 10px; font-size: 18px; }
.tk { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tk li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 0 0 14px; }
.tk li::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.tk li:last-child::before { display: none; }
.tk-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); position: relative; z-index: 1; }
.tk-done .tk-dot { background: var(--green); border-color: var(--green); } .tk-done .tk-dot::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 800; position: absolute; inset: 0; display: grid; place-items: center; }
.tk-now .tk-dot { border-color: var(--yellow, #FFB612); background: var(--yellow, #FFB612); box-shadow: 0 0 0 4px rgba(255,182,18,.25); }
.tk-likely .tk-dot { border-style: dashed; border-color: var(--muted); }
.tk li b { font-size: 14.5px; } .tk li p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.tk-likely b::after { content: " · estimate"; font-weight: 600; font-size: 12px; color: var(--muted); }
.tk-h { margin: 6px 0 6px; font-size: 15px; } .tk-todo { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; }
.tk-todo .btn { margin-left: 6px; } .tk-src { margin: 10px 0 0; font-size: 12px; }

/* Easy start */
.es { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.es-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.es-steps li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--muted); }
.es-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; flex: none; }
.es-steps li.now { border-color: var(--green); color: var(--ink); } .es-steps li.now span { background: var(--green); color: #fff; }
.es-steps li.done { color: var(--green); } .es-steps li.done span { background: var(--green); color: #fff; }
.es-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--e1); display: grid; gap: 14px; }
.es-body h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; } .es-body > .note { margin: -6px 0 0; }
.es-q { display: grid; gap: 6px; } .es-q small { color: var(--muted); }
.es-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.es-chip { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; }
.es-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.es-chip[aria-pressed="true"]::before { content: "✓ "; }
.es-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .es-row label { display: grid; gap: 6px; font-weight: 600; font-size: 13.5px; }
.es-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.es-card { all: unset; cursor: pointer; display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); }
.es-card b { font-size: 16px; } .es-card small { color: var(--muted); font-size: 13px; }
.es-card[aria-pressed="true"] { border-color: var(--green); background: var(--brand-50, #E8F1EC); } .es-card[aria-pressed="true"] b::before { content: "✓ "; color: var(--green); }
.es-card[disabled] { cursor: default; }
.es-up, .es-pro { padding: 14px; border-radius: 12px; background: #FFF6DE; border: 1px solid #F5D98B; display: grid; gap: 6px; justify-items: start; } .es-up p, .es-pro p { margin: 0; font-size: 13.5px; }
.es-tip { margin: 0; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.es-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; bottom: 10px; padding: 12px 16px; border-radius: 14px; background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(10,30,20,.25); }
.es-foot .es-n b { font-size: 22px; color: var(--yellow, #FFB612); } .es-foot > div { display: flex; gap: 8px; }
.es-foot .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); } .es-foot .btn.primary { background: #fff; color: var(--green); border-color: #fff; }
.es-big { margin: 0; font-size: 16px; } .es-big b { font-family: var(--display); font-size: 44px; font-weight: 400; color: var(--green); } .es-big b.es-af { font-size: 30px; }
.es-list { margin: 4px 0; } .es-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.es-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; } .es-next > div { padding: 14px; border-radius: 12px; background: var(--bg); } .es-next p { margin: 4px 0 6px; font-size: 13.5px; }
.nav-links a.nav-start:not([aria-current="page"]) { color: var(--green) !important; }
@media (max-width: 720px) { .es-steps { grid-template-columns: 1fr 1fr; } .es-row { grid-template-columns: 1fr; } .es-body { padding: 16px; } }

/* My documents */
.vault-safe { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--brand-50, #E8F1EC); margin-bottom: 10px; }
.vault-safe svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; } .vault-safe p { margin: 0; font-size: 13.5px; }
.v-row { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 14px; align-items: start; }
.v-main small { display: block; color: var(--muted); } .v-how { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-2); }
.v-file { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; } .v-file svg { width: 15px; height: 15px; color: var(--green); }
.v-side { display: grid; gap: 6px; justify-items: start; } .v-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.v-up { cursor: pointer; } .v-del { color: var(--error, #9E2B21); font-size: 13px; } .v-have, .v-exp { font-size: 13px; }
.v-read { margin: 0; font-size: 12.5px; color: var(--green); font-weight: 600; }
.v-row.has-file { background: color-mix(in srgb, var(--green) 4%, transparent); }
@media (max-width: 720px) { .v-row { grid-template-columns: 1fr; } }
.v-exp input { width: 170px !important; display: inline-block; margin-left: 6px; }

/* ---- Closing soon: one loud, boxed red style everywhere a tender is about to close ---- */
:root { --alert: #D62828; --alert-glow: rgba(214, 40, 40, .22); }
/* Every red label (closing soon, regret letter, not awarded, expired): a solid red box, white bold capitals */
.pill.urgent, .r.urgent, .row-side .r.urgent, .tc-date .r.urgent, .row.tc .tc-date .r.urgent, .soon-row.u-red .due-tag, #soon-n {
  display: inline-flex !important; align-items: center; gap: 6px; width: max-content; max-width: 100%;
  background: var(--alert) !important; color: #fff !important; border: 0 !important; border-radius: 3px !important;
  padding: 4px 9px !important; font-family: var(--sans, Inter, system-ui, sans-serif) !important; font-size: 11.5px !important;
  font-weight: 800 !important; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 0 3px var(--alert-glow); }
/* Live countdowns also get a pulsing dot, so "closes in 5 hours" catches the eye */
.r.urgent::before, .closing .pill.urgent::before, .sw-card .pill.urgent::before, .soon-row.u-red .due-tag::before, #soon-n::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: alert-pulse 1.3s ease-in-out infinite; }
@keyframes alert-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .r.urgent::before, .closing .pill.urgent::before, .sw-card .pill.urgent::before, .soon-row.u-red .due-tag::before, #soon-n::before { animation: none; } }
/* Bigger where it is the headline of the page: the tender detail and swipe cards */
.closing .pill.urgent, .sw-card .pill.urgent { font-size: 13px !important; padding: 6px 12px !important; }
/* Rows closing within 2 days: a red edge down the side */
.soon-row.u-red { border-left-width: 4px !important; border-left-color: var(--alert) !important; }
/* Stories: the red due box speaks in the same voice */
.st-body .due.urgent { background: var(--alert) !important; border-color: var(--alert) !important; box-shadow: 0 0 0 3px var(--alert-glow); }
.st-body .due.urgent span { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* ---- Home: "closing this week" stands out in red ---- */
.stats .stat.urgent { border-color: rgba(255, 107, 94, .55) !important; background: rgba(158, 43, 33, .28) !important; }
.stats .stat.urgent b { color: #FF6B5E !important; }
.stats .stat.urgent span { color: #FFC9C3 !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 12px !important; }
.stats .stat.urgent { box-shadow: 0 0 0 3px var(--alert-glow); }
/* Home numbers: one equal row, every number on the same line, every label in the same style */
.hero .stats { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-auto-rows: 1fr; align-items: stretch; }  /* any number of tiles, one equal row */
.hero .stats .stat { display: flex !important; flex-direction: column; justify-content: flex-start; align-items: flex-start; min-width: 0; }
.hero .stats .stat b { line-height: 1.1; margin: 0 0 6px; white-space: nowrap; }
.hero .stats .stat span, .stats .stat.urgent span { font-size: 13px !important; font-weight: 500; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.35; }
@media (max-width: 520px) {
  .hero .stats { gap: 8px !important; }
  .hero .stats:has(.stat:nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* four tiles: two even rows of two */
  .hero .stats .stat { padding: 11px 10px !important; }
  .hero .stats .stat b { font-size: 22px !important; }
  .hero .stats .stat span, .stats .stat.urgent span { font-size: 12px !important; }
}

/* ---- Welcome window: log in / register with a password, packages that open on tap, a tour that stands out ---- */
.portal .auth { display: grid; gap: 12px; }
.portal .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-subtle, #f1efe7); }
.portal .seg button { all: unset; box-sizing: border-box; text-align: center; padding: 10px 8px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.portal .seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.portal .seg button:focus-visible { outline: 2px solid var(--green, #1E5447); outline-offset: 2px; }
.portal #auth-form, .portal #forgot-form { display: grid; gap: 10px; }
.portal #auth-form[hidden], .portal #forgot-form[hidden] { display: none; }
.portal .fld { display: grid; gap: 5px; } .portal .fld[hidden] { display: none; }
.portal .fld label { font-size: 13px; font-weight: 700; color: var(--ink); } .portal .fld label small { font-weight: 500; color: var(--muted); }
.portal .fld .input { height: 48px; font-size: 16px; }
.portal .pw { position: relative; } .portal .pw .input { padding-right: 64px; }
.portal .pw-eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--brand-text, #1E5447); padding: 8px; cursor: pointer; }
.portal #auth-go, .portal #forgot-go { width: 100%; justify-content: center; height: 50px; font-size: 16px; }
.portal .remember { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; padding: 2px 0; }
.portal .remember input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--green, #1E5447); }
.portal .remember small { color: var(--muted); font-size: 12.5px; }
.portal .pk-or { display: grid; gap: 10px; } .portal .pk-or[hidden] { display: none; }
.portal .pk-or > span { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.portal .pk-or > span::before, .portal .pk-or > span::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.portal .pk-btn { width: 100%; justify-content: center; height: 50px; font-size: 15.5px; gap: 10px; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2, var(--line)); }
.portal .pk-btn:hover { border-color: var(--green, #1E5447); }
.pk-btn svg, .pk-ic svg { width: 22px; height: 22px; flex: none; }
.pk-offer { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); translate: -50% 0; z-index: 90; width: min(440px, calc(100vw - 32px)); box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.22); }
.pk-offer b { font-size: 16px; } .pk-offer p { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.pk-offer .pk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .pk-offer { bottom: calc(72px + env(safe-area-inset-bottom)); } } .pk-offer .msg { margin: 8px 0 0; } .pk-offer .msg:empty { display: none; }
.pk-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--green, #1E5447) 12%, var(--surface)); color: var(--green, #1E5447); }
.pk-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pk-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.pk-list li div { display: grid; gap: 2px; min-width: 0; } .pk-list small { color: var(--muted); font-size: 12.5px; }
#bz-pk .msg:empty { display: none; }
.portal .reg-go { background: var(--yellow, #FECB02) !important; color: #1a1200 !important; border-color: var(--yellow, #FECB02) !important; font-weight: 800; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(254,203,2,.35); }
.portal .reg-go:hover { filter: brightness(1.04); }
.portal .auth-links { display: flex; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.portal .auth-links [hidden] { display: none; }
.portal .lk { border: 0; background: none; padding: 0; font: inherit; color: var(--brand-text, #1E5447); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.portal .lk.strong { font-weight: 800; }
.portal .fine { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; } .portal .fine[hidden] { display: none; }
.portal .msg:empty { display: none; }
.portal .pk-head h3 { margin: 4px 0 4px; }
.portal .pk-head p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.portal .pks { display: grid; gap: 10px; }
.portal .pk { border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.portal .pk.pro { border-color: var(--yellow, #FECB02); background: color-mix(in srgb, var(--yellow, #FECB02) 7%, var(--surface)); }
.portal .pk-h { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.portal .pk-h:focus-visible { outline: 2px solid var(--green, #1E5447); outline-offset: -2px; }
.portal .pk-n { display: grid; gap: 3px; } .portal .pk-n b { font-size: 16px; }
.portal .pk-n small { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.portal .pk-n .bdg { position: static; justify-self: start; display: inline-block; background: var(--yellow, #FECB02); color: #1a1200; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; }
.portal .pk-p { display: grid; justify-items: end; gap: 0; text-align: right; }
.portal .pk-p b { font-size: 22px; font-weight: 800; color: var(--brand-text, #1E5447); line-height: 1.1; } .portal .pk-p small { font-size: 12px; color: var(--muted); }
.portal .pk-more { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand-text, #1E5447); display: inline-flex; align-items: center; gap: 4px; }
.portal .pk-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .15s; }
.portal .pk-h[aria-expanded="true"] .pk-more::after { rotate: 225deg; translate: 0 2px; }
.portal .pk-b { padding: 0 16px 16px; display: grid; gap: 10px; } .portal .pk-b[hidden] { display: none; }
.portal .pk-b .plus { margin: 0; font-size: 13px; font-weight: 700; }
.portal .pk-b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.4; }
.portal .pk-b li { display: flex; gap: 8px; } .portal .pk-b li::before { content: "✓"; color: var(--brand, #1E5447); font-weight: 800; }
.portal .pk-b .btn { width: 100%; justify-content: center; }
.portal .pk-b .btn.gold { background: var(--yellow, #FECB02); color: #1a1200; border-color: var(--yellow, #FECB02); font-weight: 800; }
.portal .pg-guest { display: grid; gap: 8px; margin-top: 2px; }
.portal .tour-go { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: linear-gradient(135deg, #0d3a27, #1E5447); color: #fff; box-shadow: 0 8px 22px rgba(13,58,39,.28); }
.portal .tour-go[hidden] { display: none; }
.portal .tour-go:hover { filter: brightness(1.08); } .portal .tour-go:focus-visible { outline: 3px solid var(--yellow, #FECB02); outline-offset: 2px; }
.portal .tg-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow, #FECB02); color: #0d3a27; display: grid; place-items: center; }
.portal .tg-ic svg { width: 18px; height: 18px; margin-left: 2px; }
.portal .tg-t { display: grid; gap: 2px; } .portal .tg-t b { font-size: 15px; } .portal .tg-t small { font-size: 12.5px; color: #cfe7da; line-height: 1.35; }
.portal .tg-ar { font-size: 20px; color: var(--yellow, #FECB02); font-weight: 800; }
.portal .notnow { justify-self: center; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 10px 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.portal .notnow:hover { color: var(--ink); }
.verify-bar { position: sticky; top: 0; z-index: 30; background: #FFF4CC; color: #3a2c00; border-bottom: 1px solid #f0d67a; font-size: 13.5px; padding: 8px 16px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.verify-bar form { display: flex; gap: 6px; align-items: center; margin: 0; }
.verify-bar input { width: 100px; height: 30px; padding: 0 8px; border: 1px solid #d9bf5c; border-radius: 3px; font: inherit; font-size: 15px; letter-spacing: .12em; background: #fff; color: #222; }
.verify-bar input[type=email] { width: 210px; letter-spacing: 0; }
.verify-bar .vb-l { background: none !important; color: #3a2c00 !important; text-decoration: underline; padding: 0 2px !important; font-weight: 600; }
.verify-bar .vb-msg:empty { display: none; } .verify-bar .vb-msg { font-weight: 600; }
.verify-bar button { border: 0; background: #1E5447; color: #fff; border-radius: 3px; padding: 5px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.aw-free .aw-list { margin-bottom: 4px; }
@media (max-width: 760px) {  /* phones: the reminder bars take one or two short lines, not a quarter of the screen */
  .verify-bar, .guest-bar { font-size: 12.5px !important; line-height: 1.35; padding: 7px 12px !important; gap: 10px !important; flex-wrap: nowrap !important; justify-content: space-between !important; text-align: left !important; }
  .verify-bar b { word-break: break-all; }
  .verify-bar.vb2 { flex-wrap: wrap !important; gap: 6px 10px !important; justify-content: flex-start !important; }
  .verify-bar.vb2 .vb-t { flex: 1 1 100%; } .verify-bar.vb2 form { flex: 1 1 auto; } .verify-bar.vb2 input[type=email] { flex: 1; width: auto; min-width: 0; }
  .verify-bar button, .guest-bar button { flex: none; padding: 6px 12px !important; font-size: 12.5px !important; }
  .guest-bar .lk { padding: 0 !important; }
}

/* ---- Services: five essentials first, the rest folded; free-at-the-department label ---- */
.svc-more { margin-top: 14px; }
.svc-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 700; color: var(--brand-text, #1E5447); background: var(--surface); }
.svc-more > summary::-webkit-details-marker { display: none; }
.svc-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; }
.svc-more[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.svc-more[open] > summary { margin-bottom: 8px; }
.pfree { display: block; font-size: 11.5px; font-weight: 700; color: var(--brand-text, #1E5447); background: color-mix(in srgb, var(--green, #1E5447) 9%, transparent); border-radius: 3px; padding: 3px 7px; margin: 4px 0 2px; width: max-content; max-width: 100%; }
.store-morewrap { display: flex; justify-content: center; padding: 4px 14px 16px; }
.store-morewrap .btn { min-height: 44px; }

/* ---- Honest coverage: where the tenders come from, and how many award prices we know ---- */
.t-src { margin: 6px 0 0; font-size: 12.5px; color: rgba(255,255,255,.72); }
.t-src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.aw-cov { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--brand-text, #1E5447); background: color-mix(in srgb, var(--green, #1E5447) 9%, transparent); border-radius: 3px; padding: 3px 8px; }

/* ---- Tender cards: the closing hour, the reference number, disposals ---- */
.tc-date b { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tc-hr { font-family: var(--sans, Inter, system-ui, sans-serif); font-size: .62em; font-weight: 800; letter-spacing: .02em; padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.tc-ref { margin: 2px 0 0; font-size: 12px; letter-spacing: .02em; opacity: .7; font-variant-numeric: tabular-nums; }
.pill.disp { background: #FFF1C2 !important; color: #5c4300 !important; border-color: transparent !important; font-weight: 700; }

/* ---- Phones: compact tender cards (more on screen) and finger-sized targets ---- */
@media (max-width: 760px) {
  .row.tc .tc-band { padding: 10px 14px !important; }
  .row.tc .tc-ic { width: 32px !important; height: 32px !important; }
  .row.tc .tc-body { padding: 2px 14px 10px !important; gap: 4px !important; }
  .row.tc .tc-body h3 { font-size: 15.5px !important; line-height: 1.3 !important; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .row.tc .tc-meta { display: flex !important; flex-wrap: nowrap !important; gap: 12px !important; min-width: 0; }
  .row.tc .tc-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; display: inline-flex !important; align-items: center !important; }
  .row.tc .tc-meta span:first-child { flex: 1 1 auto; } .row.tc .tc-meta span:last-child { flex: 0 1 auto; }
  .row.tc .tc-meta svg { margin-top: 0 !important; }
  .row.tc .tc-band { padding: 8px 14px !important; }
  .row.tc .tc-sec { display: flex !important; align-items: baseline; gap: 6px; flex-wrap: wrap; } .row.tc .tc-sec small { display: inline !important; }
  .row.tc .tc-sec small::before { content: "· "; }
  .row.tc .tc-val.muted { display: none; }
  .row.tc .tc-ref { margin: 0 !important; }
  .row.tc .tags { gap: 5px !important; } .row.tc .tags .pill:nth-child(n+3) { display: none; }
  .row.tc .tc-foot { padding: 8px 14px !important; }
  .row.tc .tc-date b { font-size: 19px !important; }
  .row.tc .tc-apply { min-height: 44px; padding: 10px !important; font-size: 15px !important; }
  .row.tc .orig, .row.tc .tc-orig { display: none; }
  a.link, button.link, .lk, .chip button, .aw-co, .sp-all, .am-manage { min-height: 44px; display: inline-flex; align-items: center; }
  .chip { min-height: 36px; }
  .star, .icon-btn { min-width: 44px !important; min-height: 44px !important; }
  footer a { display: inline-block; padding: 8px 0; }
}


/* ---- The door welcome, quieter: shorter, no pulsing rings, a smaller logo ---- */
.intro { cursor: pointer; }
.intro .ring, .intro .line { display: none !important; }
.intro .door { transition-duration: .7s !important; }
.intro .core { gap: 12px !important; transition-duration: .45s, .7s !important; }
.intro img { width: min(220px, 56vw) !important; animation-duration: .7s !important; animation-delay: .05s !important; }
.intro .tag { font-size: 13px !important; animation-duration: .5s !important; animation-delay: .35s !important; }


/* ---- Why Mzansi Tenders (for people who haven't joined): screenshots, live numbers, packages vs services ---- */
.why .wl-hero { background: radial-gradient(120% 140% at 50% 0%, #1E5447, #0d3a27 60%, #062016); color: #fff; padding: 40px 0 34px; }
.why .wl-hero h1 { font-family: var(--display, "Instrument Serif", serif); font-weight: 400; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; margin: 12px 0 10px; color: #fff; }
.why .wl-hero h1 em { color: #f6c862; } .why .wl-lede { color: #cfe7da; max-width: 60ch; font-size: 16px; line-height: 1.55; }
.why-acct { display: block; margin-top: 8px; } .why-acct form { display: inline; margin: 0; }
.why-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.why-shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.why-shot img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.why-shot figcaption { padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.45; } .why-shot figcaption b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.why-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 10px 0 24px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.why-card h2 { margin: 0; font-size: 22px; } .why-card p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.why-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; } .why-card li { display: flex; gap: 8px; } .why-card li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brand-text, var(--brand)); }
.why-svc { display: grid; gap: 8px; }
.why-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.why-s b { font-size: 14.5px; } .why-s small { grid-column: 1; color: var(--ink-2); font-size: 12.5px; line-height: 1.35; } .why-s .pr { font-weight: 700; white-space: nowrap; }
.why-s .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .why-shots, .why-two { grid-template-columns: 1fr; } .why-s { grid-template-columns: minmax(0, 1fr); } .why-s .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
/* ---- Not paying: the welcome page; the menus show only Home and Mzansi News; no locks anywhere ---- */
body.locked-site .nav-links a:not([data-nav="home"]):not([data-nav="news"]):not([data-nav="why"]):not([data-nav="pricing"]), body.locked-site .pagebar a:not([data-nav="home"]):not([data-nav="news"]):not([data-nav="why"]):not([data-nav="pricing"]),
body:not(.locked-site) .why-nav,
body.locked-site #nav-cart, body.locked-site #nav-bell, body.locked-site .navlock, body.locked-site #portal-guest, body.locked-site #portal-tour, body.locked-site #guest-bar { display: none !important; }
.welcome .wl-hero { background: radial-gradient(120% 140% at 50% 0%, #1E5447, #0d3a27 60%, #062016); color: #fff; padding: 46px 0 40px; }
.welcome .wl-hero h1 { font-family: var(--display, "Instrument Serif", serif); font-weight: 400; font-size: clamp(38px, 7vw, 64px); line-height: 1.02; margin: 12px 0 10px; color: #fff; }
.welcome .wl-hero h1 em { color: var(--yellow, #FECB02); }
.welcome .wl-lede { max-width: 58ch; font-size: 17px; line-height: 1.5; color: #d7e8df; margin: 0 0 18px; }
.welcome .live { color: #d7e8df; }
.wl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 680px; margin: 0 0 20px; }
.wl-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 2px; }
.wl-stats b { font-size: 26px; font-weight: 800; } .wl-stats div:nth-child(2) b { color: var(--yellow, #FECB02); } .wl-stats div:nth-child(3) b { color: #FF6B5E; }
.wl-stats span { font-size: 13px; color: #cfe7da; }
.wl-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-acts .btn { min-height: 48px; }
.welcome .btn.gold { background: var(--yellow, #FECB02); color: #1a1200; border-color: var(--yellow, #FECB02); font-weight: 800; }
.welcome #wl-see, .wl-plan .btn.gold { background: #FECB02 !important; color: #1a1200 !important; border-color: #FECB02 !important; font-weight: 800; }
.wl-ghost { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5) !important; }
.wl-me { margin: 14px 0 0; color: #fff; }
.welcome h2 { font-family: var(--display, "Instrument Serif", serif); font-weight: 400; font-size: 34px; margin: 0 0 12px; }
.wl-how { padding: 32px 0 8px; } .wl-how ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wl-how li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.wl-how li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--green, #1E5447); color: #fff; display: grid; place-items: center; font-weight: 800; }
.wl-how li span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.wl-pk { padding: 28px 0 8px; scroll-margin-top: 70px; } .wl-sub { margin: -6px 0 14px; color: var(--ink-2); }
.wl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.wl-plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 10px; }
.wl-plan.pro { background: #1E5447; color: #fff; border-color: #1E5447; box-shadow: 0 14px 34px rgba(30,84,71,.28); }
.wl-plan h3 { margin: 0; font-size: 18px; } .wl-plan p { margin: 0; font-size: 14px; color: var(--ink-2); } .wl-plan.pro p { color: #d7e8df; }
.wl-badge { position: absolute; top: -11px; right: 14px; background: var(--yellow, #FECB02); color: #1a1200; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 3px; text-transform: uppercase; letter-spacing: .05em; }
.wl-price b { font-size: 36px; font-weight: 800; letter-spacing: -.02em; } .wl-price span { margin-left: 6px; color: var(--muted); } .wl-plan.pro .wl-price span { color: #cfe7da; }
.wl-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.wl-plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; } .wl-plan li svg { width: 16px; height: 16px; margin-top: 2px; color: var(--green, #1E5447); }
.wl-plan.pro li svg { color: var(--yellow, #FECB02); }
.wl-plan .btn { width: 100%; justify-content: center; min-height: 48px; margin-top: 4px; }
.wl-plan.pro .btn.gold { box-shadow: 0 6px 18px rgba(254,203,2,.3); }
.wl-found { margin: -6px 0 16px; padding: 10px 14px; border-radius: var(--r); background: #FFF4CC; color: #3a2c00; font-size: 14px; }
.wl-year { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.wl-free { padding: 28px 0 8px; } .wl-free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-fc { all: unset; box-sizing: border-box; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; }
.wl-fc:hover { border-color: var(--green, #1E5447); } .wl-fc:focus-visible { outline: 2px solid var(--green, #1E5447); outline-offset: 2px; }
.wl-fc b { font-size: 17px; } .wl-fc span { color: var(--ink-2); font-size: 14px; line-height: 1.45; } .wl-fc em { font-style: normal; font-weight: 700; color: var(--brand-text, #1E5447); }
.wl-member { text-align: center; margin: 22px 0 40px; color: var(--ink-2); }
@media (max-width: 760px) {
  .welcome .wl-hero { padding: 28px 0 26px; }
  .wl-stats b { font-size: 21px; } .wl-stats span { font-size: 12px; } .wl-stats div { padding: 10px; }
  .wl-how ol, .wl-plans, .wl-free-grid { grid-template-columns: 1fr; }
  .wl-plan.pro { order: -1; }
}

/* ---- Header: the member's company name and signed-in email, on every page ---- */
.acct-id { display: grid; line-height: 1.15; text-align: left; min-width: 0; max-width: 220px; }
.acct-id b { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-id small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-id small:empty { display: none; }
@media (max-width: 760px) { .acct-id { max-width: 150px; } .acct-id small { display: none; } .acct-id b { font-size: 12.5px; } }
@media (max-width: 380px) { .acct-id { max-width: 96px; } }

/* ---- Bid file: one clear next step, from "submit your bid" to the result ---- */
.bid-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; margin: 14px 0 6px; border: 1.5px solid var(--line); background: var(--surface); }
.bid-next .bn-t { display: grid; gap: 4px; } .bid-next .bn-t b { font-size: 17px; } .bid-next .bn-t span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.bid-next .bn-a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.bid-next .bn-a .btn { min-height: 44px; }
.bid-next.go { border-color: #FECB02; background: #FFF8DC; box-shadow: 0 8px 22px rgba(254,203,2,.22); }
.bid-next.go .btn.gold { background: #FECB02; color: #1a1200; border-color: #FECB02; font-weight: 800; }
.bid-next.closed { border-color: #D62828; background: #FDECEA; }
.bid-next.done { border-color: #1E5447; background: color-mix(in srgb, #1E5447 7%, var(--surface)); }
.bid-next.done .bn-t b { color: #1E5447; }
.bid-next.final { background: var(--bg-subtle, #f4f1e8); }
@media (max-width: 760px) { .bid-modal { width: 100% !important; } #bid-body { min-width: 0; max-width: 100%; overflow-wrap: anywhere; } .bid-modal .bid-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .bid-next { grid-template-columns: 1fr; } .bid-next .bn-a { justify-content: stretch; } .bid-next .bn-a .btn { flex: 1 1 auto; justify-content: center; } }

.pc-how { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pc-how summary { padding: 12px 14px; font-weight: 800; cursor: pointer; }
.pc-how ol { margin: 0; padding: 0 14px 0 34px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.pc-how .note { padding: 0 14px 12px; }
.pc-ex { display: grid; gap: 4px; margin: 12px 14px; padding: 12px; border-radius: 10px; background: color-mix(in srgb, #1E5447 7%, var(--surface)); font-size: 14px; line-height: 1.5; }

#pk-done { width: 100%; justify-content: center; white-space: normal; text-align: center; margin-top: 12px; }
#pk-done svg, #pk-send svg { width: 18px; height: 18px; flex: none; }

/* ---- Tender page: step shortcuts, submit last, back to top ---- */
.dhead { flex-wrap: wrap; row-gap: 10px; }
.d-jump { flex: 1 0 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px 2px 2px; }
.d-jump::-webkit-scrollbar { display: none; }
.d-jump button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.d-jump button i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); font-style: normal; font-size: 11.5px; }
.d-jump button[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }
.d-jump button[aria-current] i { background: rgba(255,255,255,.2); }
.d-jump .j-sub { border-color: var(--yellow, #FFB612); }
.d-jump .j-sub i { background: var(--yellow, #FFB612); color: #1d1500; }
.j-a { display: block; height: 0; }
.d-last { margin: 8px 0 -6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.d-top { position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); margin: 8px 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--ink, #111); color: #fff; font: inherit; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.2); cursor: pointer; z-index: 2; }
.d-top svg { width: 16px; height: 16px; }
.d-top[hidden] { display: none; }

.rq-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.rq-form .btn small { font-weight: 500; opacity: .75; margin-left: 4px; }
.rq-form .rq-up { cursor: pointer; }
.rq-have { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; font-weight: 700; color: #1E5447; }
.rq-have svg { width: 16px; height: 16px; flex: none; } .rq-have span { overflow-wrap: anywhere; }
.rq-fhint { flex: 1 0 100%; color: var(--muted); font-size: 12.5px; }

.rq-quote { margin: 0 0 14px; padding: 14px; border: 1.5px solid var(--yellow, #FFB612); border-radius: 12px; background: #FFFCF0; }
.rq-quote.yes { border-color: #1E5447; background: color-mix(in srgb, #1E5447 6%, var(--surface)); }
.rq-quote > b { font-size: 15.5px; } .rq-quote p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.sb-note { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.sb-ack { padding: 10px 12px; border-radius: 8px; background: #FDECEA; }

/* ---- Members' loading screen: shown instead of the visitor page while a member's tenders load ---- */
html.mboot body > * { visibility: hidden !important; }
html.mboot body::before { content: "Loading your tenders…"; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 9999;
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding-top: 130px; visibility: visible;
  background: var(--bg, #F6F3EC) url("/logo-light.svg") no-repeat center calc(50% - 30px) / 170px auto;
  color: var(--muted, #69736e); font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---- My profile: skipping a document ---- */
.bz-skip { margin-left: 6px; padding: 2px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.bz-skipped { margin-left: 6px; color: var(--muted); font-size: 12.5px; }
.pill.skip { background: var(--bg, #F1EEE6); color: var(--muted); border-color: var(--line); }
.dz-skipbtn { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.dz-ai { margin-top: 6px !important; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, #1E5447 6%, var(--surface)); }

/* ---- Matching tenders: email alerts as one question ---- */
.al-ask, .al-sum { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.al-ask .note { margin: 4px 0 0; }
.al-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }
.al-sum { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.al-sum > span { display: block; flex: 1 1 200px; min-width: 0; line-height: 1.45; overflow-wrap: anywhere; }
.al-sum svg { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: #1E5447; } .al-sum.off { color: var(--muted); }
.alert-form .al-lab { display: block; margin: 10px 0 4px; font-size: 13px; font-weight: 700; }

/* ---- One application flow: numbered steps on the tender page ---- */
.step-n { margin: 22px 0 -6px; padding-top: 16px; border-top: 2px solid var(--green, #1E5447); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green, #1E5447); }
.step-n.last { border-top-color: var(--yellow, #FFB612); }
.int-h { margin: 26px 0 0; padding-top: 18px; border-top: 2px solid var(--green, #1E5447); }
/* The application, one step per page: 1 Documents (and Interested?), 2 Forms, 3 Quotation, 4 Send */
.ap-pg[hidden] { display: none !important; }
.ap-pg > .step-n:first-child { margin-top: 4px; }
.ap-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 24px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.ap-nav .btn:only-child, .ap-nav .ap-next { margin-left: auto; }
.ap-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--yellow, #FFB612) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--yellow, #FFB612) 55%, var(--line)); font-size: 14px; }
.up-ok { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, #1E5447 9%, var(--surface)); color: var(--green, #1E5447); font-size: 14px; font-weight: 700; }
.up-ok svg { width: 18px; height: 18px; flex: none; }
.up-ok span { font-weight: 400; color: var(--ink-2); overflow-wrap: anywhere; }
.up-err { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEA; color: #7a1f17; font-size: 14px; }
.up-err .btn { background: #fff; }
.fw-alldone { margin: 12px 0; }
.sb-ready { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 6px; }
.sb-ready li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; }
.sb-ready li > span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sb-ready li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; background: #FDECEA; color: #7a1f17; }
.sb-ready li.ok i { background: var(--green, #1E5447); color: #fff; }
.sb-safe { margin: 14px 0; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--yellow, #FFB612); background: color-mix(in srgb, var(--yellow, #FFB612) 9%, var(--surface)); font-size: 14px; line-height: 1.5; }
.sb-safe b { display: block; margin-bottom: 4px; font-size: 15px; }
.sb-safe ol { margin: 6px 0 0; padding-left: 20px; }
.sb-safe .actions { margin-top: 10px; }
.sb-after { display: grid; gap: 8px; }
.sb-after ol { margin: 0; padding-left: 20px; }
.pr-est { display: grid; gap: 2px; margin: 0 0 12px; font-size: 14px; } .pr-est span { color: var(--muted); font-size: 13px; }
.pr-how { margin-top: 12px; } .pr-how > .dsec { border: 0; padding: 0; margin: 0; }
.sub-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.sub-step:first-of-type { border-top: 0; }
.sub-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green, #1E5447); color: #fff; font-weight: 800; font-size: 14px; }
.sub-h { display: block; margin: 3px 0 8px; font-size: 15.5px; } .sub-body { min-width: 0; }
#sub-done { width: 100%; justify-content: center; white-space: normal; margin-top: 4px; } #sub-done svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 560px) { .bstep { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .bstep li { flex-direction: column; text-align: center; gap: 4px; font-size: 11.5px; line-height: 1.25; } .bstep li + li::before { display: none; } .bstep li span { word-break: keep-all; overflow-wrap: normal; } }
.bid-quiet { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---- The application: interested?, forms guide, quotation maker, PDF reader, email ---- */
.int-box { display: grid; gap: 6px; margin: 14px 0 0; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); }
.int-box b { font-size: 16px; } .int-box span { color: var(--ink-2); font-size: 14px; }
.int-box.ask { border-color: var(--yellow, #FFB612); background: #FFFCF0; } .int-box.yes { border-color: #1E5447; background: color-mix(in srgb, #1E5447 7%, var(--surface)); }
.int-box.yes b svg { width: 18px; height: 18px; vertical-align: -3px; color: #1E5447; } .int-box.no { color: var(--muted); }
.int-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; } .int-btns .btn { justify-content: center; }
.fw-card { display: grid; gap: 8px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); margin: 12px 0; }
.fw-card.ok { border-color: #1E5447; } .fw-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fw-card h4 { margin: 0; font-size: 17px; } .fw-card p { margin: 0; font-size: 14px; line-height: 1.5; } .fw-how { color: var(--ink-2); }
.fw-do { margin: 2px 0; padding-left: 20px; font-size: 14px; line-height: 1.6; } .fw-act { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-self { justify-self: start; font-size: 13px; color: var(--muted); } .fw-nav { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.fw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fw-list button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.fw-list button span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); font-size: 12px; font-weight: 800; }
.fw-list button.on { border-color: #1E5447; font-weight: 700; } .fw-list button.ok span { background: #1E5447; color: #fff; }
.fw-regs { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; } .fw-regs ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.fw-regs li { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .fw-regs li small { color: var(--muted); } .fw-regs li.ok span { color: #1E5447; }
.rq-quote > b svg, .fw-card svg, .sb-done svg { width: 18px; height: 18px; flex: none; vertical-align: -3px; margin-right: 4px; color: #1E5447; }
.qt-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qt-tabs button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.qt-tabs button[aria-pressed="true"] { background: #1E5447; color: #fff; }
.qmaker { display: grid; gap: 12px; } .qrows { display: grid; gap: 10px; }
.qrow { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.qnums { display: grid; grid-template-columns: 70px 80px minmax(0, 1fr) 70px 80px; gap: 8px; } .qnums label, .qf { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qmaker .input, .qmaker .select { font-size: 16px; height: 42px; } .qmaker textarea.input { height: auto; font-family: inherit; }
.qline { display: flex; justify-content: space-between; align-items: center; font-size: 13px; } .qline b { font-size: 15px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .qwide { grid-column: 1 / -1; } .qnum { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.qnum .check { font-weight: 500; color: var(--ink); font-size: 14px; } .qnum small { color: var(--muted); }
.qbank { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; } .qbank.need { border: 1.5px solid var(--yellow, #FFB612); background: #FFFCF0; }
.qbank legend { padding: 0 6px; font-weight: 800; font-size: 14px; } .qbank legend small { font-weight: 500; color: var(--muted); }
.qtot { display: grid; gap: 4px; margin-left: auto; width: min(100%, 320px); font-size: 14px; } .qtot div { display: flex; justify-content: space-between; }
.qtot .gt { margin-top: 4px; padding-top: 6px; border-top: 2px solid var(--ink); font-size: 17px; }
#q-make { width: 100%; justify-content: center; }
.doc-rd { display: flex; align-items: center; gap: 10px; } .doc-rd .doc { flex: 1; min-width: 0; text-align: left; cursor: pointer; font: inherit; }
.doc-rd .doc em { margin-left: auto; flex: none; white-space: nowrap; font-style: normal; font-weight: 800; color: #1E5447; font-size: 13px; }
.doc-rd .doc span { flex: 1; min-width: 0; }
.doc-rd > .link { flex: none; white-space: nowrap; font-size: 13px; }
.pdfv { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #3b3f3d; }
.pdfv[hidden] { display: none; }
.pv-bar { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pv-bar #pv-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.pv-nav { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; white-space: nowrap; }
.pv-tip { display: grid; gap: 2px; padding: 10px 14px; background: #FFFCF0; border-bottom: 1px solid var(--yellow, #FFB612); font-size: 13.5px; } .pv-tip span { color: var(--ink-2); }
.pv-pages { flex: 1; overflow: auto; display: grid; justify-items: center; gap: 10px; padding: 8px; align-content: start; }
.pv-pages canvas { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3); } .pv-load { color: #fff; }
.sendbox.ol { padding: 0; overflow: hidden; background: var(--surface); border-color: var(--line); }
.sendbox.ol > :not(.ol-bar) { margin-left: 16px; margin-right: 16px; } .sendbox.ol > :last-child { margin-bottom: 16px; }
.ol-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: #1E5447; color: #fff; }
.ol-bar span { font-weight: 800; } .ol-bar small { opacity: .8; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sendbox.ol .sb-files li label { border-radius: 10px; }
.sub-ai { margin-top: 12px; } .sub-other, .sub-tell { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sub-tell #sub-done { width: 100%; justify-content: center; } .sub-alt { margin-top: 12px; text-align: center; }
@media (max-width: 560px) { .qnums { grid-template-columns: 1fr 1fr 1fr; } .qnums .qp { grid-column: span 2; } .qgrid { grid-template-columns: 1fr; } }

/* ---- Requirements check (Step 1) ---- */
.rqc .rqc-v { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid; }
.rqc .rqc-v b { font-size: 16.5px; line-height: 1.3; } .rqc .rqc-v ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5; } .rqc .rqc-v span { font-size: 14px; }
.rqc.red .rqc-v { border-color: #C0352B; background: #FDECEA; color: #7a1f17; } .rqc.red .rqc-v b { color: #C0352B; }
.rqc.amber .rqc-v { border-color: var(--yellow, #FFB612); background: #FFFCF0; } .rqc.amber .rqc-v b { color: #8a5a00; }
.rqc.green .rqc-v { border-color: #1E5447; background: color-mix(in srgb, #1E5447 7%, var(--surface)); } .rqc.green .rqc-v b { color: #1E5447; }
.rqc-h { margin: 14px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rqc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rqc-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; line-height: 1.45; }
.rqc-list i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; }
.rqc-list .ok i { background: #1E5447; } .rqc-list .bad i { background: #C0352B; } .rqc-list .warn i { background: #c98a00; } .rqc-list .info i { background: var(--muted); }
.rqc-src { margin-top: 10px !important; font-size: 12.5px; }
.int-box.red { border-color: #C0352B; background: #FDECEA; } .int-box.red b { color: #C0352B; }
.int-v { font-weight: 700; } .int-v.amber { color: #8a5a00; } .int-v.green { color: #1E5447; }

.pf-open { margin: 6px 0 0; font-size: 13px; }

/* ---- Requirements check: what the AI read ---- */
.rqc-ai { margin-top: 14px; } .rqc-ai-load { font-style: italic; }
.rqc-ai-ask { display: grid; gap: 6px; padding: 12px 14px; border: 1px dashed var(--line-2, #c9cfcc); border-radius: 12px; font-size: 14px; } .rqc-ai-ask span { color: var(--ink-2); }
.rqc-ai-ask .btn { justify-self: start; }
.rqc-sum { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); } .rqc-sub { margin: 8px 0 6px; font-size: 13px; font-weight: 800; }
.rqc-list.ai li span { display: grid; gap: 2px; } .rqc-list.ai b { font-weight: 600; } .rqc-list.ai em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.rqc-list.ai .bad em { color: #C0352B; } .rqc-list.ai .check em { color: #8a5a00; }
.rqc-list.ai small { color: var(--muted); font-size: 12.5px; font-style: italic; }
.rqc-list .check i { background: #c98a00; }
.rqc-more { margin-top: 8px; } .rqc-more summary { cursor: pointer; font-size: 13.5px; font-weight: 700; }

/* ---- Tenders page as a portal ---- */
.t-portal { margin-bottom: 18px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.pt-who { display: flex; align-items: center; gap: 12px; }
.pt-av { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--yellow, #FFB612); color: #1d1500; font-weight: 800; }
.pt-id { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; min-width: 0; flex: 1; } .pt-id > * { min-width: 0; } .pt-id b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-id small { color: rgba(255,255,255,.75); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-eye { white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow, #FFB612); }
.pt-edit { flex: none; padding: 7px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pt-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pt-k { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: #fff; color: var(--ink, #111); font: inherit; cursor: pointer; }
.pt-k b { font-size: 22px; line-height: 1.1; color: var(--green, #1E5447); } .pt-k span { font-size: 12.5px; color: var(--muted); line-height: 1.25; }
.pt-k.hot b { color: #C0352B; } .pt-k.warn b { color: #9a6700; }
@media (max-width: 700px) { .pt-kpis { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .pt-kpis::-webkit-scrollbar { display: none; } .pt-k { flex: 0 0 132px; } }
.quick .qf { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #fff; color: var(--green, #1E5447); font-size: 13.5px; font-weight: 700; }
.quick .qf .num { color: var(--muted); opacity: 1; font-weight: 600; } .quick .qf[data-qf="week"] .num { color: #C0352B; font-weight: 800; }
.quick .qf:hover { border-color: var(--yellow, #FFB612); }
.quick .qf[aria-pressed="true"] { background: var(--yellow, #FFB612); border-color: var(--yellow, #FFB612); color: #1d1500; }

/* ---- My profile as an Instagram-style business dashboard ---- */
.ig { margin-bottom: 14px; padding: 18px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ig-top { display: flex; align-items: center; gap: 18px; }
.ig-av { position: relative; flex: none; width: 88px; height: 88px; padding: 3px; border-radius: 50%; border: 0; background: conic-gradient(var(--yellow, #FFB612), #C0352B, var(--green, #1E5447), var(--yellow, #FFB612)); cursor: pointer; }
.ig-av > span, .ig-av > img { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--surface); background: var(--green, #1E5447); color: #fff; font-size: 26px; font-weight: 800; object-fit: cover; }
.ig-av em { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); background: #2b6cff; color: #fff; font-style: normal; font-weight: 800; font-size: 15px; line-height: 1; }
.ig-av.sm { width: 56px; height: 56px; padding: 2px; display: inline-block; } .ig-av.sm > span { font-size: 17px; }
.ig-counts { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.ig-counts button { display: grid; justify-items: center; gap: 1px; border: 0; background: none; font: inherit; cursor: pointer; color: var(--ink); }
.ig-counts b { font-size: 20px; } .ig-counts span { font-size: 12.5px; color: var(--muted); }
.ig-name { margin-top: 12px; } .ig-name h2 { margin: 0; font-size: 18px; line-height: 1.25; } .ig-name small { color: var(--muted); font-size: 12.5px; }
.ig-bio { margin: 6px 0 2px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; } .ig-bio .link, .ig-meta .link { text-align: left; padding: 0; }
.ig-meta { margin: 0; font-size: 13.5px; color: var(--ink-2); } .ig-meta span { color: var(--muted); }
.ig-actions { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 6px; margin-top: 14px; }
.ig-actions .btn { min-width: 0; padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-actions .btn { justify-content: center; height: 36px; font-size: 13.5px; font-weight: 700; background: var(--bg); border-color: var(--bg); color: var(--ink); }
.ig-hl { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 16px -16px 4px; padding: 2px 16px; } .ig-hl::-webkit-scrollbar { display: none; }
.ig-h { flex: none; display: grid; justify-items: center; gap: 5px; width: 64px; border: 0; background: none; font: inherit; cursor: pointer; }
.ig-h i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); font-style: normal; font-weight: 800; font-size: 14px; color: var(--green, #1E5447); box-shadow: inset 0 0 0 3px var(--surface); }
.ig-h.ok i { border-color: var(--green, #1E5447); } .ig-h.miss i { color: var(--muted); border-style: dashed; } .ig-h.sec i { border-color: var(--yellow, #FFB612); }
.ig-h.add i { color: var(--muted); font-size: 24px; font-weight: 500; }
.ig-h span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--ink-2); }
.ig-ready { display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font: inherit; text-align: left; cursor: pointer; }
.ig-rn { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); font-size: 18px; font-weight: 800; color: #9a6700; }
.ig-ready.bad .ig-rn { color: #C0352B; } .ig-ready.good .ig-rn { color: var(--green, #1E5447); }
.ig-rt { display: grid; gap: 2px; flex: 1; min-width: 0; } .ig-rt small { color: var(--muted); font-size: 12.5px; }
.ig-bar { display: block; height: 6px; margin-top: 4px; border-radius: 99px; background: var(--line); overflow: hidden; } .ig-bar em { display: block; height: 100%; background: var(--green, #1E5447); border-radius: 99px; }
.ige { max-width: 560px; display: grid; gap: 12px; max-height: 92vh; overflow: auto; }
.ige-top { position: sticky; top: -1px; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 4px 0 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ige-top h2 { margin: 0; font-size: 17px; } .ige-save { font-weight: 800; }
.ige-logo { display: flex; align-items: center; gap: 12px; } .ige-logo small { color: var(--muted); }
.ige label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; } .ige label small { font-weight: 500; color: var(--muted); }
.ige .input, .ige .select { font-size: 16px; } .ige textarea.input { height: auto; min-height: 96px; padding: 10px 12px; font-family: inherit; line-height: 1.45; }
.ige fieldset { border: 0; margin: 0; padding: 0; } .ige legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; } .ige legend small { display: block; font-weight: 500; color: var(--muted); }
#ige-save2 { width: 100%; justify-content: center; }

/* ---- Tender news: awards ---- */
.aw-head.aw-head-min { border-top: 0; padding-top: 0; justify-content: flex-start; } .aw-head-min .aw-q { flex: 1 1 280px; max-width: 520px; }
.aw-y b, .aw-y small { white-space: nowrap; }  /* one line each, so every year's amount sits on the same row */
.aw-y.now { background: #123b31 !important; border-color: #123b31 !important; color: #fff; }
.aw-y.now small { color: rgba(255,255,255,.8); } .aw-y.now[aria-pressed="false"] { opacity: .92; }
.aw-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--yellow, #FFB612); }
.aw-ic svg { width: 17px; height: 17px; }
.aw-y.now::before { display: none !important; } .aw-y.now .aw-ic { width: 34px; height: 34px; margin-bottom: 6px; }
@media (max-width: 760px) { .aw-y.now .aw-ic { width: 30px; height: 30px; } }
.aw-just { display: inline-flex !important; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #123b31; color: #fff !important; letter-spacing: .06em; }

/* ---- Home headline: the hero of the page ---- */
.hero h1 { font-family: var(--font, system-ui, sans-serif) !important; font-weight: 800 !important; font-size: clamp(2.6rem, 6.4vw, 4.6rem) !important;
  line-height: 1.02 !important; letter-spacing: -.04em !important; max-width: 13ch !important; color: #fff !important; margin: 18px 0 18px !important; }
.hero h1 em { display: block; margin-top: .06em; font-family: var(--display) !important; font-weight: 400 !important; font-style: italic !important;
  font-size: 1.14em; line-height: .95; letter-spacing: -.02em; color: var(--yellow, #FFB612) !important; }
.hero h1 + p, .hero .lede { color: rgba(255,255,255,.82) !important; font-size: clamp(15px, 1.6vw, 18px) !important; max-width: 46ch; }

/* ---- Visitor home: search teaser ---- */
.wl-try { margin: 18px 0 6px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.wl-try > b { display: block; margin-bottom: 10px; font-size: 16px; color: #fff; }
.wl-tq { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.wl-tq input { height: 48px; padding: 0 14px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); min-width: 0; }
.wl-tq .btn { height: 48px; }
.wl-tchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.wl-tchips button { padding: 6px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: none; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.wl-tchips button:hover { background: rgba(255,255,255,.12); }
.wl-tnote { margin: 12px 0 0; color: rgba(255,255,255,.85); font-size: 14px; }
.wl-thead { margin: 14px 0 8px; color: #fff; font-size: 15px; } .wl-thead b { color: var(--yellow, #FFB612); }
.wl-tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wl-tcard { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); }
.wl-tcard b { font-size: 14.5px; line-height: 1.3; } .wl-tcard span { font-size: 12.5px; color: var(--muted); }
.wl-tcard em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--green, #1E5447); } .wl-tcard em.hot { color: #C0352B; }
.wl-tlist > li { display: block; } .wl-tcard { width: 100%; text-align: left; border: 0; font: inherit; cursor: pointer; }
.wl-tcard.locked { background: rgba(255,255,255,.75); } .wl-tcard.locked b { color: var(--muted); }
.wl-topen { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--green, #1E5447); margin-top: 2px; }
.wl-tlock { display: grid; gap: 6px; margin-top: 10px; padding: 14px; border-radius: 12px; background: #123b31; color: #fff; border: 1px dashed rgba(255,255,255,.35); }
.wl-tlock b { font-size: 20px; color: var(--yellow, #FFB612); } .wl-tlock span { font-size: 14px; color: rgba(255,255,255,.85); }
.wl-tlock .btn { justify-self: start; margin-top: 4px; }

/* ---- Pricing: one main page, Business documents services, money-back guarantee ---- */
.pg-split { display: grid; gap: 4px; margin: 34px 0 14px; padding-top: 18px; border-top: 3px solid var(--ink, #111); }
.pg-split span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green, #1E5447); }
.pg-split p { margin: 0; color: var(--ink-2); font-size: 15px; }
.store .pg-split { margin-top: 26px; }
.mb-guar { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #1E5447 8%, var(--surface)); border: 1px solid color-mix(in srgb, #1E5447 25%, transparent); font-size: 14px; }
.mb-guar b { color: var(--green, #1E5447); }
.wl-pread { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--green, #1E5447); }
.wl-dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 8px; }
.wl-dcard { display: grid; gap: 3px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.wl-dcard span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9a6700; }
.wl-dcard b { font-size: 17px; } .wl-dcard strong { font-size: 24px; color: var(--green, #1E5447); } .wl-dcard em { font-style: normal; font-size: 13.5px; color: var(--ink-2); }
.wl-dcard.more { background: #123b31; border-color: #123b31; color: #fff; } .wl-dcard.more span { color: var(--yellow, #FFB612); } .wl-dcard.more strong { color: #fff; } .wl-dcard.more em { color: var(--yellow, #FFB612); font-weight: 700; }

/* ---- Tender news: awarded by sector ---- */
.aw-secs { margin: 4px 0 22px; } .aw-secs h4 { margin: 0 0 10px; }
.aw-schips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding-bottom: 2px; } .aw-schips::-webkit-scrollbar { display: none; }
.aw-schips button { flex: none; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.aw-schips button span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.aw-schips button[aria-pressed="true"] { background: #123b31; border-color: #123b31; color: #fff; } .aw-schips button[aria-pressed="true"] span { color: var(--yellow, #FFB612); }

/* ---- Score certificate, kept visible ---- */
.cert-card { display: grid; gap: 10px; margin: 0 0 14px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cert-top { display: flex; gap: 12px; align-items: center; } .cert-top > div { display: grid; gap: 1px; min-width: 0; } .cert-top small { color: var(--muted); font-size: 12.5px; }
.cert-ic { display: grid; place-items: center; flex: none; width: 42px; height: 50px; border-radius: 6px; background: #C0352B; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.cert-card .actions { margin: 0; flex-wrap: wrap; } .cert-card .sc-pdf { width: 100%; max-height: 520px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.auth-agree { align-items: flex-start !important; font-size: 13.5px; line-height: 1.4; } .auth-agree a { text-decoration: underline; }

.ai-chk { margin: 0 0 10px; padding: 8px 11px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; background: #EEF5F1; color: #1E5447; }
.ai-chk.v-check { background: #FFF6E0; color: #7A5300; } .ai-chk.v-wrong, .ai-chk.v-unreadable { background: #FDECEA; color: #A0281C; }
.upl-list li .ai-chk { flex-basis: 100%; margin: 6px 0 0; }

.go-b.info { background: #E8EEF6; color: #2B4A6F; }
.go-box.info { border-color: #C9D6E6; background: #F3F7FB; } .go-box .go-n.go-i { font-style: italic; font-family: Georgia, serif; color: #2B4A6F; }

/* ---- Send my bid by email ---- */
.sendbox { display: grid; gap: 12px; margin: 14px 0; padding: 18px; border: 1.5px solid #FECB02; border-radius: 14px; background: #FFFCF0; }
.sendbox h4 { margin: 0; font-size: 17px; }
.sendbox label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.sendbox .input, .sendbox .select { font-size: 16px; } .sendbox textarea.input { font-family: inherit; height: auto; min-height: 180px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.sb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-from { margin: -4px 0 0; }
.sb-files ul { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.sb-files li label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; font-weight: 500; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
.sb-files li label span { display: grid; min-width: 0; } .sb-files li b { overflow-wrap: anywhere; } .sb-files li small { color: var(--muted); font-weight: 500; }
.sb-total { margin: 4px 0; font-size: 13px; font-weight: 700; color: #9E2B21; } .sb-total.ok { color: #1E5447; }
.sb-warn { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEA; color: #7a1f17; font-size: 14px; }
.sb-agree { font-weight: 500 !important; display: flex !important; gap: 8px; align-items: flex-start; }
.sendbox #sb-go { width: 100%; justify-content: center; background: #FECB02; color: #1a1200; border-color: #FECB02; font-weight: 800; }
.sendbox #sb-go:disabled { opacity: .5; cursor: not-allowed; }
.sb-done { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: color-mix(in srgb, #1E5447 9%, var(--surface)); border: 1.5px solid #1E5447; }
.sb-done b { color: #1E5447; font-size: 16px; }
@media (max-width: 560px) { .sb-row { grid-template-columns: 1fr; } }

/* ---- Data alignment: numbers and titles start on the same line in every tile and card ---- */
.stats .stat { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left; }
.aw-y.now { justify-content: flex-start !important; }
.aw-y.now::before { content: ""; flex: none; height: 40px; }  /* same space as the year cards' bar (34px + 6px) */
@media (max-width: 760px) { .aw-y.now::before { height: 36px; } }  /* phone bar is 30px + 6px */


/* ---- My profile: section menu, next steps, compact documents ---- */
.bz-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; scroll-margin-top: 90px; }
.bz-nav::-webkit-scrollbar { display: none; }
.bz-nav button { flex: 0 0 auto; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.bz-nav button small { font-size: 11.5px; font-weight: 700; background: var(--bg-subtle, #f1f1ee); color: var(--ink-2); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.bz-nav button:hover { color: var(--ink); }
.bz-nav button[aria-current="true"] { background: var(--green, var(--brand)); color: #fff; }
.bz-nav button[aria-current="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.bz-sec > .panel:first-child, .bz-sec > .biz-grid:first-child { margin-top: 0; }
.bz-steps ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.bz-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); }
.bz-steps li .tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; }
.bz-steps li.ok .tick { background: var(--green, var(--brand)); border-color: var(--green, var(--brand)); }
.bz-steps li .tick svg { width: 15px; height: 15px; }
.bz-steps li b { display: block; font-size: 15px; } .bz-steps li small { color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.bz-steps li.ok b { color: var(--ink-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-2) 40%, transparent); }
.bz-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: conic-gradient(var(--green, var(--brand)) calc(var(--p) * 1%), var(--line) 0); }
.bz-ring b { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 14px; }
.bz-up { display: grid; gap: 8px; }
.bizwrap .kpi .kpi-na { font-style: normal; font-size: 15px; font-weight: 700; color: var(--yellow, #ffb612); text-decoration: underline; text-underline-offset: 3px; }
.dz-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 12px; font-size: 13.5px; color: var(--ink-2); }
.dz-meter { flex: 1 1 160px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; } .dz-meter i { display: block; height: 100%; background: var(--green, var(--brand)); border-radius: 99px; }
.docs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
details.dz { border-top: 1px solid var(--line); background: var(--surface); } details.dz:first-child { border-top: 0; }
details.dz > summary { list-style: none; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; padding: 13px 16px; cursor: pointer; }
details.dz > summary::-webkit-details-marker { display: none; }
details.dz > summary:hover { background: var(--bg-subtle, #f6f6f3); }
.dz-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red, #c0392b); }
details.dz.r1 .dz-dot { background: var(--gold, #ffb612); } details.dz.r2 .dz-dot { background: var(--green, #1e7a4f); }
.dz-name { min-width: 0; } .dz-name b { display: block; font-size: 14.5px; } .dz-name small { display: block; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-chev { width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s; justify-self: center; margin-top: -4px; }
details.dz[open] .dz-chev { transform: rotate(225deg); margin-top: 4px; }
details.dz[open] > summary { background: var(--bg-subtle, #f6f6f3); }
details.dz > .doc-row { padding: 6px 16px 16px 38px !important; border: 0 !important; background: none !important; }
details.dz > .doc-row .v-main > small { display: none; }
@media (max-width: 760px) {
  .bizwrap .kpis { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bizwrap .kpis::-webkit-scrollbar { display: none; }
  .bizwrap .kpi { flex: 0 0 38%; scroll-snap-align: start; border-bottom: 0 !important; border-right: 1px solid rgba(255,255,255,.12) !important; padding: 12px 14px !important; }
  .bizwrap .kpi:last-child { grid-column: auto; }
  .bizwrap .kpis .kpi b { font-size: 22px; }
  .bz-nav { border-radius: 14px; margin-left: -2px; margin-right: -2px; }
  .bz-nav button { padding: 9px 13px; font-size: 13.5px; }
  .bz-steps li { grid-template-columns: 26px minmax(0, 1fr); } .bz-steps li .btn { grid-column: 2; justify-self: start; }
  details.dz > summary { grid-template-columns: 10px minmax(0, 1fr) 16px; padding: 12px 14px; }
  details.dz > summary .pill { grid-column: 2; justify-self: start; margin-top: -6px; }
  details.dz > summary .dz-chev { grid-row: 1; grid-column: 3; }
  details.dz > .doc-row { padding: 4px 14px 14px !important; }
}
.dz-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 22px; padding: 6px 16px 18px 38px; }
.dz-info p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); } .dz-info .v-how b { color: var(--ink); } .dz-info .v-how.ok { color: var(--green, #1e7a4f); font-weight: 600; }
.dz-get { display: grid; gap: 6px; justify-items: start; margin-top: 10px; } .dz-get small { color: var(--ink-2); font-size: 12px; }
.dz-act { display: grid; gap: 10px; align-content: start; }
.dz-upload { width: 100%; justify-content: center; gap: 8px; min-height: 46px; font-size: 15px; } .dz-upload svg { width: 18px; height: 18px; }
.dz-act .v-have { font-size: 13.5px; }
.dz-date { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink); } .dz-date input { width: 100%; } .dz-date small { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.dz-file { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-subtle, #f6f6f3); }
.bz-lab { display: inline-flex; align-items: center; gap: 6px; }
.bz-i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand-text, var(--brand)); font: 700 11px/1 Georgia, serif; font-style: italic; display: inline-grid; place-items: center; padding: 0; cursor: pointer; flex: none; }
.bz-i:hover, .bz-i:focus-visible { background: var(--brand); color: #fff; }
.bz-info { border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); border-radius: 12px; padding: 14px 16px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.bz-info h4 { margin: 0; font-size: 15px; } .bz-info p { margin: 0; color: var(--ink-2); } .bz-info .fine { font-size: 12px; color: var(--muted); }
.bz-info .calc { display: grid; gap: 10px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px; background: var(--surface); } .bz-info .calc.two { grid-template-columns: 1fr 1fr; }
.bz-info .calc label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.calc-out { font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .calc-out:empty { display: none; } .calc-out .warn { color: #8a5b00; width: 100%; }
.calc-out p { margin: 0; width: 100%; }
.bz-svc { font-size: 13px; color: var(--muted) !important; } .bz-svc .link { font-weight: 600; }
.own-rows { display: grid; gap: 8px; } .own-row { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.own-row .input { width: 110px; } .own-row .check { font-size: 13px; }
.bz-own-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; } .bz-own-h span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .bz-info .calc.two { grid-template-columns: 1fr; } }
.dz-link { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-subtle, #f6f6f3); font-size: 13px; }
.dz-link > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.dz-link p { margin: 3px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .dz-link svg { width: 14px; height: 14px; color: var(--green, #1e7a4f); }
.dz-miss { width: 8px; height: 8px; border-radius: 50%; background: var(--gold, #ffb612); display: inline-block; }
.dz-ref { font-size: 13px; color: var(--ink-2); }
.dz-differ { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff5db; font-size: 13px; } .dz-differ p { margin: 0; }
.bz-proof { margin-left: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-block; margin-top: 3px; max-width: 100%; text-align: left; }
.bz-proof.ok { color: var(--green, #1e7a4f); border-color: color-mix(in srgb, var(--green, #1e7a4f) 35%, transparent); }
.bz-proof.warn { color: #8a5b00; background: #fff5db; border-color: #f1d48a; } .bz-proof.add { color: var(--ink-2); border-style: dashed; }
.dz-thumb { position: relative; flex: 0 0 auto; width: 72px; height: 96px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.08); display: block; transition: transform .12s, box-shadow .12s; }
.dz-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.dz-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; background: #fff; }
.dz-ficon { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 4px; background: #fdeceb; color: #c0392b; }
.dz-ficon svg { width: 26px; height: 26px; } .dz-ficon em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; }
.dz-open { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; }
.dz-fname { min-width: 0; } .dz-fname b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dz-fname small { color: var(--ink-2); font-size: 12px; }
.dz-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dz-t { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; font-size: 11.5px; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; }
.dz-t svg { width: 18px; height: 18px; color: var(--green, #1e7a4f); } .dz-t:hover { border-color: var(--green, #1e7a4f); }
.dz-manage { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; } .dz-manage .link { cursor: pointer; }
.dz-manage .v-del { color: var(--red, #c0392b); }
@media (max-width: 760px) { .dz-body { grid-template-columns: 1fr; padding: 4px 14px 16px; gap: 14px; } .dz-act { order: -1; } }
/* ---- Mobile app shell (phones only): bottom tab bar, sheets, no zoom-on-tap, finger-sized targets ---- */
.tabbar, .more-sheet { display: none; }
@media (max-width: 760px) {
  html { -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-text-size-adjust: 100%; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); overscroll-behavior-y: none; }
  html.has-cartbar body { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
  .cartbar { left: 0; right: 0; bottom: calc(61px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto; border-radius: 0; padding: 8px 10px 8px 14px; animation: cb-up .22s ease backwards; }
  @keyframes cb-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  /* Typing never zooms the page on iPhone (iOS zooms when text is under 16px) */
  input, select, textarea, .input { font-size: 16px !important; }
  /* A compact header; the page menu moves to the bottom tab bar */
  .nav .container { height: 56px !important; gap: 10px; }
  .logo-img { width: 104px !important; }
  .pagebar, .member .pagebar { display: none !important; }
  .nav-right .btn.sm, .nav-right .icon-btn { min-height: 40px; min-width: 40px; }
  .btn { min-height: 44px; } .btn.sm { min-height: 40px; }
  .chip, .pill-tab, .quick button, .tabs button { min-height: 38px; }
  /* Press feedback, like an app */
  .btn:active, .tabbar a:active, .row.tc:active, .card:active { transform: scale(.97); transition: transform .08s; }
  /* Opacity only, and nothing left applied afterwards: a lingering transform would unpin fixed panels inside the page */
  [data-view]:not([hidden]) { animation: view-in .2s ease; }
  @keyframes view-in { from { opacity: 0; } to { opacity: 1; } }

  /* Bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    background: color-mix(in srgb, var(--surface, #fff) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid var(--line); padding: 4px 4px env(safe-area-inset-bottom, 0px); transition: transform .2s ease; }
  .tabbar.away { transform: translateY(110%); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; align-content: center; gap: 2px; height: 56px; border: 0; background: none; font: inherit;
    font-size: 10.5px; font-weight: 600; letter-spacing: .01em; color: var(--muted); text-decoration: none; position: relative; cursor: pointer; padding: 0; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar [aria-current="page"], .tabbar .on { color: var(--brand-text, #1E5447); }
  .tabbar [aria-current="page"]::before, .tabbar .on::before { content: ""; position: absolute; top: 4px; width: 46px; height: 30px; border-radius: 15px;
    background: color-mix(in srgb, var(--green, #1E5447) 12%, transparent); z-index: -1; }
  .tabbar .soon-tag, .tabbar .navlock { display: none; }

  /* Pop-ups slide up from the bottom as sheets */
  .modal-bg { place-items: end center !important; padding: 0 !important; }
  .modal-bg > .modal { width: 100% !important; max-width: none !important; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 20px 20px 0 0 !important; border-bottom: 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important; animation: sheet-up .26s cubic-bezier(.2,.8,.2,1) backwards; }
  .modal-bg > .modal::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2, #d0d4d2); margin: -12px auto 2px; }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }

  /* "More" sheet */
  .more-sheet { display: block; position: fixed; inset: 0; z-index: 41; background: var(--overlay, rgba(0,0,0,.4)); }
  .more-sheet[hidden] { display: none; }
  .more-sheet .ms { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface, #fff); border-radius: 20px 20px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    animation: sheet-up .26s cubic-bezier(.2,.8,.2,1) backwards; max-height: 85dvh; overflow-y: auto; }
  .more-sheet .ms::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2, #d0d4d2); margin: 0 auto 12px; }
  .more-sheet h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .more-sheet .ms-top { position: sticky; top: -10px; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -16px 6px; padding: 0 10px 6px 16px; background: var(--surface, #fff); }
  .more-sheet .ms-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-subtle, #f1f3f2); color: var(--ink, #111); cursor: pointer; }
  .more-sheet .ms-x svg { width: 20px; height: 20px; }
  .more-sheet .ml { display: grid; gap: 2px; }
  .more-sheet .ms { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .more-sheet .ms-sec { display: grid; gap: 2px; padding-bottom: 6px; }
  .more-sheet .ms-sec + .ms-sec { border-top: 1px solid var(--line); padding-top: 6px; }
  .more-sheet .ms-sec h4 { margin: 8px 12px 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .more-sheet .ms-out { margin: 0; } .more-sheet .ms-out button { width: 100%; color: #C0352B !important; font-weight: 700; }
  .more-sheet .ml a, .more-sheet .ml button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; border-radius: 12px; border: 0; background: none;
    font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
  .more-sheet .ml a:active, .more-sheet .ml button:active { background: var(--bg-subtle); }
  .more-sheet .ml [aria-current="page"] { background: color-mix(in srgb, var(--green, #1E5447) 10%, transparent); color: var(--brand-text, #1E5447); }
  .more-sheet .ml .soon-tag { margin-left: auto; }
  .more-sheet .ml .ms-score { color: var(--brand-text, #1E5447); }
  .more-sheet .ml a::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 22px; font-weight: 400; }
  .more-sheet .ml a:has(.soon-tag)::after { content: none; }
  body.typing .tabbar { display: none; }  /* keyboard open: give the screen to the form */
}
/* ---- Mobile polish: even spacing, no cut-off edges, tidy toolbars ---- */
@media (max-width: 760px) {
  /* Tenders: one spacing rhythm inside the green band, and the green never stops flush under the search */
  .t-band { padding-top: 22px !important; }
  .t-band .t-head h2, .t-band #rtitle { margin-bottom: 14px; }
  .t-band .region { margin: 0 !important; }
  .res-search { position: sticky; top: var(--navh, 58px); z-index: 5; margin: 0 -16px 10px; padding: 8px 16px 8px; background: var(--bg, #f6f7f6); box-shadow: 0 6px 10px -10px rgba(0,0,0,.25); }
  .res-search .t-search input { height: 48px; }
  .res-search .t-search .btn { height: 48px; }
  .res-search .quick { margin-top: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .res-search .quick::-webkit-scrollbar { display: none; }
  .res-search .quick > * { flex: none; }
  .t-band .t-search .btn, .t-band .t-search button { height: 52px; border-radius: var(--r); }
  .t-band .quick { margin-top: 12px !important; margin-inline: -20px !important; padding-inline: 20px !important; scroll-padding-inline: 20px; }
  .t-band .quick > * { flex: none; }
  .t-band .tabs.pills { margin: 20px -20px 0 !important; padding-inline: 20px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .t-band .tabs.pills::-webkit-scrollbar, .t-band .quick::-webkit-scrollbar { display: none; }
  .t-band .tabs.pills > * { flex: none; }
  .t-band:not(:has(.tabs.pills:not([hidden]))) { padding-bottom: 26px !important; }
  /* Sector stories: scroll edge to edge, so the cut-off reads as "swipe for more" */
  #stories { margin-inline: -20px; padding-inline: 20px !important; scroll-padding-inline: 20px; scroll-snap-type: x mandatory; }
  #stories .stb { scroll-snap-align: start; }
  /* Result toolbar: count on its own line, then three equal controls */
  .toolbar { display: grid !important; grid-template-columns: 1fr .85fr 1.25fr; gap: 8px; }
  .toolbar .left > .select { font-size: 13.5px !important; padding-right: 26px !important; text-overflow: ellipsis; }
  .toolbar > .left { display: contents !important; }
  .toolbar .total { grid-column: 1 / -1; order: -2; font-size: 15px; font-weight: 700; color: var(--ink); }
  .toolbar #chips { grid-column: 1 / -1; order: -1; } .toolbar #chips:empty { display: none !important; }
  .toolbar .left > .btn, .toolbar .left > .select { height: 44px !important; width: 100% !important; justify-content: center; border: 1px solid var(--line-2) !important; background-color: var(--surface) !important; font-size: 14px !important; font-weight: 600; border-radius: var(--r); }
  .toolbar .left > .select { padding-left: 12px; }
  .toolbar .left > .btn[aria-expanded="true"] { background-color: var(--green) !important; border-color: var(--green) !important; color: #fff !important; }
  .swipe-btn { border-color: var(--line-2) !important; }
  .toolbar { margin-bottom: 16px; }
  /* Account button: the count badge sits on the corner, not over the initials */
  .acct-btn { position: relative; }
  .acct-dot { top: -6px !important; left: auto !important; right: -6px; }
  /* Home: popular searches line up as one row of chips */
  .popular { align-items: center; gap: 8px !important; }
  .popular > span:first-child { flex-basis: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
  /* Tender news: the year bars read as a chart, not as empty image boxes */
  .aw-bar { justify-content: flex-start; height: 30px; }
  .aw-bar i { width: 10px !important; border-radius: 5px !important; background: var(--green) !important; opacity: .75; }
  .aw-y[aria-pressed="true"] .aw-bar i { background: var(--yellow, #FECB02) !important; opacity: 1; }
  /* Section heads with a button beside them stay on one line */
  .panel-row h3 { margin: 0; }
  .panel-row > .btn.ghost { border: 1px solid var(--line-2); }
  /* Anything pinned to the bottom sits above the tab bar; full-screen panels cover it */
  .es-foot, .shop-bar { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  .tour { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
  .filters { z-index: 45 !important; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .drawer { z-index: 38 !important; }
  /* Long titles never push the layout sideways */
  h1, h2, h3 { overflow-wrap: anywhere; }
}
@media (max-width: 760px) and (display-mode: standalone) {
  .nav { padding-top: env(safe-area-inset-top, 0px); top: 0 !important; }
}
/* ---- Phones: compact tender cards (title, buyer, Go score, closing) so about twice as many fit on screen; the tender opens
   on tap with everything else, including Apply. And the portal's company name gets two lines instead of being cut. ---- */
@media (max-width: 760px) {
  .tview .list .row.tc .tc-band { padding: 8px 12px 0 !important; gap: 8px !important; }
  .tview .list .row.tc .tc-ic { width: 26px !important; height: 26px !important; }
  .tview .list .row.tc .tc-ic svg { width: 15px !important; height: 15px !important; }
  .tview .list .row.tc .tc-sec { font-size: 12px !important; line-height: 1.25; }
  .tview .list .row.tc .tc-sec { display: flex !important; flex-wrap: nowrap !important; align-items: baseline; gap: 6px; min-width: 0; }
  .tview .list .row.tc .tc-sec > b { min-width: 0; flex: 0 1 auto; display: block; }
  .res-search.stuck .quick { display: none !important; }  /* scrolling the results: just the search bar stays on top */
  .tview .list .row.tc .tc-sec > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tview .list .row.tc .tc-sec > small { flex: none; }
  .tview .list .row.tc .tc-band .star { margin: -9px -8px -9px 0 !important; }  /* keeps its 44px tap area without making the band taller */
  .tview .list .row.tc .tc-date > small { display: none !important; }
  .tview .list .row.tc .tc-date { display: flex !important; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
  .tview .list .row.tc .tc-date > b { font-size: 16px !important; }
  .tview .list .row.tc .tc-body { padding: 4px 12px 8px !important; gap: 4px !important; }
  .tview .list .row.tc h3 { font-size: 16px !important; line-height: 1.3 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; }
  .tview .list .row.tc .orig-title, .tview .list .row.tc .tc-ref { display: none !important; }
  .tview .list .row.tc .tags > :not(:first-child) { display: none !important; }
  .tview .list .row.tc .tc-foot { padding: 8px 12px 10px !important; gap: 8px !important; }
  .tview .list .row.tc .tc-apply { display: none !important; }
  #t-portal .pt-id b { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
  #t-portal .pt-edit { padding: 7px 10px !important; }
}
