/* Bids — the public supplier portal. Follows the principles of Apple's Human Interface Guidelines without copying the look:
   one white canvas, content first, hierarchy by type size and weight (not by boxes), hairline separators, one brand colour
   for everything tappable, grouped lists for related rows, 44 px targets. Plain static file, not in any asset bundle. */
:root {
    --bg: #ffffff;
    --fill: #f4f6f9;
    --label: #141a26;
    --label2: #4b5466;
    --label3: #8a93a3;
    --sep: #d3d8e0;
    --sep2: #e6e9ef;
    --tint: #1f4fd1;
    --tint-h: #1a43b3;
    --tint-bg: #eaf0fd;
    --green: #1d7a35;
    --green-bg: #e7f5ea;
    --orange: #a14f00;
    --orange-bg: #fff3e0;
    --red: #c4001a;
    --red-bg: #fdecee;
    --r: 8px;
    --r-lg: 12px;
    --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-d: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; }
body:not(.bd-printdoc) { min-height: 100vh; display: flex; flex-direction: column; }
body:not(.bd-printdoc) > .bd-main { flex: 1 0 auto; width: 100%; }
body { margin: 0; background: var(--bg); color: var(--label); font: 400 15px/1.5 var(--font); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--tint); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-d); color: var(--label); margin: 0; }
p { margin: 0 0 12px; }
b, strong { font-weight: 600; }
svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
button { font: inherit; }
form { margin: 0; }
:focus-visible { outline: 3px solid rgba(31, 79, 209, .35); outline-offset: 2px; border-radius: 6px; }
.bd-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.bd-mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.bd-muted { color: var(--label2); }
.bd-small { font-size: 14px; }
.bd-mt { margin-top: 10px; }
.nowrap { white-space: nowrap; }
.r { text-align: right; }
.c { text-align: center; }
.bd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-skip { position: absolute; left: -9999px; }
.bd-skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
.bd-2lines { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- bar */
.bd-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--sep2); box-shadow: 0 1px 2px rgba(20, 26, 38, .04); }
.bd-header .bd-wrap { display: flex; align-items: center; gap: 24px; min-height: 54px; }
.bd-brand { display: flex; align-items: center; gap: 10px; color: var(--label); font: 700 19px/1 var(--font-d); }
.bd-brand:hover { text-decoration: none; }
.bd-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--tint); position: relative; }
.bd-mark::after { content: ""; position: absolute; inset: 7px 6px; border: 2px solid #fff; border-top-width: 5px; border-radius: 2px; }
.bd-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.bd-navbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 8px; color: var(--label); font-size: 14px; font-weight: 500; }
.bd-navbtn:hover { background: var(--fill); text-decoration: none; }
.bd-navbtn.on { background: var(--tint-bg); color: var(--tint); font-weight: 700; box-shadow: inset 0 0 0 1px #c7d6f7; }
.bd-navbtn svg { width: 16px; height: 16px; }
.bd-navbtn-tinted { background: var(--tint-bg); color: var(--tint); font-weight: 600; }
.bd-navbtn-tinted:hover { background: #d9e8fa; }
.bd-navbtn-primary { background: var(--tint); color: #fff; font-weight: 600; }
.bd-navbtn-primary:hover, .bd-navbtn-primary.on { background: var(--tint-h); color: #fff; }

/* ---------------------------------------------------------------- page title */
.bd-hero { padding: 18px 0 2px; }
.bd-hero h1 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.bd-hero-sol h1 { font-size: 25px; max-width: 1000px; }
.bd-back { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0 0 10px; padding: 0 12px 0 8px; border: 1px solid var(--sep2); border-radius: 8px; background: var(--fill); color: var(--label2); font-size: 14px; font-weight: 500; }
.bd-back:hover { border-color: var(--sep); color: var(--label); text-decoration: none; }
.bd-back svg { width: 16px; height: 16px; }
.bd-kicker { margin: 0 0 4px; color: var(--label2); font-size: 14px; }
.bd-herometa { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 8px; color: var(--label2); font-size: 14px; }
.bd-herometa b { color: var(--label); }
.bd-main { max-width: 1280px; margin: 0 auto; padding: 12px 24px 56px; }

/* ---------------------------------------------------------------- status */
.bd-badge, .bd-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; background: var(--fill); color: var(--label2); }
.bd-badge-open, .bd-pill-ok { background: var(--green-bg); color: var(--green); }
.bd-badge-awarded { background: var(--tint-bg); color: var(--tint); }
.bd-badge-cancelled { background: var(--red-bg); color: var(--red); }
.bd-pill-due { background: var(--orange-bg); color: var(--orange); }
.bd-type { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--tint-bg); color: var(--tint); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.bd-warn { color: var(--orange) !important; }

/* ---------------------------------------------------------------- buttons */
.bd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--tint); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.bd-btn:hover { background: var(--tint-h); color: #fff; text-decoration: none; }
.bd-btn:disabled { opacity: .5; cursor: default; }
.bd-btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; border-radius: 8px; }
.bd-btn-block { display: flex; width: 100%; }
.bd-btn-secondary { background: var(--tint-bg); color: var(--tint); }
.bd-btn-outline { background: #fff; color: var(--tint); box-shadow: inset 0 0 0 1.5px var(--tint); }
.bd-btn-outline:hover { background: #f0f4fd; color: var(--tint); }
.bd-btn-danger { background: var(--red); color: #fff; }
.bd-btn-danger:hover { background: #a30016; color: #fff; }
.bd-btn-secondary:hover { background: #d9e8fa; color: var(--tint); }
.bd-btn-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--tint); font-size: 15px; font-weight: 500; cursor: pointer; }
.bd-btn-ghost:hover { background: var(--tint-bg); text-decoration: none; }
.bd-link { border: 0; background: none; padding: 0; color: var(--tint); font-size: 15px; cursor: pointer; }
.bd-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- grouped containers */
.bd-card { background: var(--bg); border: 1px solid var(--sep2); border-radius: var(--r-lg); }
.bd-group { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--sep2); border-radius: var(--r); overflow: hidden; }
.bd-group > li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 16px; border-top: 1px solid var(--sep2); }
.bd-group > li:first-child { border-top: 0; }
.bd-group > li > div { flex: 1; min-width: 0; }
.bd-group b { display: block; font-size: 15px; }
.bd-group p { margin: 1px 0 0; color: var(--label2); font-size: 14px; }
.bd-empty { padding: 40px 24px; text-align: center; color: var(--label2); }
.bd-empty h2 { font-size: 20px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- list page */
.bd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; border: 1px solid var(--sep2); border-radius: var(--r-lg); overflow: hidden; }
.bd-kpi.bd-card { border: 0; border-left: 1px solid var(--sep2); border-radius: 0; padding: 12px 18px; display: flex; flex-direction: column-reverse; gap: 2px; color: var(--label); }
.bd-kpi.bd-card:first-child { border-left: 0; }
.bd-kpi:hover { background: #f0f4fd; text-decoration: none; }
.bd-kpi span { color: var(--label2); font-size: 14px; }
.bd-kpi b { font: 700 24px/1.1 var(--font-d); }
.bd-listlayout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.bd-side { position: sticky; top: 84px; }
.bd-filters.bd-card { border: 0; border-radius: 0; }
.bd-filters-h { margin: 16px 0 4px; padding: 0 12px; color: var(--label); font-size: 14px; font-weight: 700; }
.bd-filters .bd-filters-h:first-child { margin-top: 0; }
.bd-filter { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 6px; color: var(--label); font-size: 14px; }
.bd-filter:hover { background: #eef2f8; color: var(--tint); text-decoration: none; }
.bd-filter span { color: var(--label3); font-size: 13px; font-variant-numeric: tabular-nums; }
.bd-filter.on { background: var(--tint-bg); color: var(--tint); font-weight: 600; box-shadow: inset 3px 0 0 var(--tint); }
.bd-filter.on span { color: var(--tint); }
.bd-howto.bd-card { margin-top: 28px; padding: 18px 16px; background: var(--fill); border: 0; border-radius: var(--r); }
.bd-howto .bd-filters-h { margin: 0 0 10px; padding: 0; font-size: 15px; }
.bd-howto ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.bd-howto li { counter-increment: s; position: relative; padding: 0 0 10px 30px; color: var(--label2); font-size: 14px; line-height: 1.4; }
.bd-howto li:last-child { padding-bottom: 0; }
.bd-howto li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; }
.bd-howto li b { color: var(--label); }

.bd-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.bd-search { display: flex; flex: 1 1 320px; gap: 8px; }
.bd-search label { flex: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--sep); border-radius: 8px; color: var(--label3); }
.bd-search label:focus-within { border-color: var(--tint); box-shadow: 0 0 0 3px rgba(31, 79, 209, .2); }
.bd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--label); }
.bd-search .bd-btn { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.bd-seg { display: inline-flex; padding: 2px; border: 1px solid var(--sep); border-radius: 8px; }
.bd-seg a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 6px; color: var(--label); font-size: 14px; font-weight: 500; white-space: nowrap; }
.bd-seg a:hover { background: var(--fill); text-decoration: none; }
.bd-seg a.on { background: var(--tint-bg); color: var(--tint); font-weight: 600; }
.bd-seg svg { width: 16px; height: 16px; }

.bd-rows.bd-card { border-radius: var(--r-lg); overflow: hidden; }
.bd-row { display: flex; align-items: center; gap: 18px; padding: 12px 14px 12px 18px; color: var(--label); border-top: 1px solid var(--sep2); }
.bd-row:first-child { border-top: 0; }
.bd-row:hover { background: #f0f4fd; box-shadow: inset 3px 0 0 var(--tint); text-decoration: none; }
.bd-row:hover .bd-row-main > b { color: var(--tint); }
.bd-row:hover .bd-row-go { color: var(--tint); }
.bd-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bd-row-main > b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.bd-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--label2); font-size: 14px; }
.bd-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.bd-row-side small { color: var(--label2); font-size: 13px; }
.bd-row-side > b { font-size: 16px; }
.bd-row-go { color: var(--label3); width: 18px; height: 18px; }
.bd-rows-flat { border-top: 1px solid var(--sep2); }

.bd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bd-solcard.bd-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; color: var(--label); transition: box-shadow .2s, border-color .2s; }
.bd-solcard:hover { text-decoration: none; border-color: var(--tint); box-shadow: 0 8px 24px rgba(31, 79, 209, .12); }
.bd-solcard:hover h2 { color: var(--tint); }
.bd-solcard-top { display: flex; justify-content: space-between; align-items: center; color: var(--label2); font-size: 13px; }
.bd-solcard h2 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.bd-solcard p { margin: 0; }
.bd-cardfacts { margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; }
.bd-cardfacts div { display: flex; justify-content: space-between; gap: 12px; }
.bd-cardfacts dt { color: var(--label2); }
.bd-cardfacts dd { margin: 0; text-align: right; }
.bd-solcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--sep2); display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--label2); font-size: 14px; }
.bd-due b { color: var(--orange); }
/* time left, coloured by urgency (bids.js): under a day red, under a week orange, later blue */
.bd-pill-due.is-urgent { background: var(--red-bg); color: var(--red); }
.bd-pill-due.is-soon { background: var(--orange-bg); color: var(--orange); }
.bd-pill-due.is-later { background: var(--tint-bg); color: var(--tint); }
.bd-due.is-urgent b, .bd-count.is-urgent b { color: var(--red); }
.bd-due.is-soon b, .bd-count.is-soon b { color: var(--orange); }
.bd-due.is-later b { color: var(--tint); }

.bd-cal.bd-card { overflow: hidden; }
.bd-cal-head { display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.bd-cal-head b { font: 700 18px/1.2 var(--font-d); margin: 0 8px; min-width: 150px; text-align: center; }
.bd-cal-head .bd-btn-ghost { font-size: 22px; width: 36px; justify-content: center; padding: 0; }
.bd-cal-head .bd-muted { margin-left: auto; font-size: 14px; }
.bd-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--sep2); }
.bd-cal-dn { padding: 8px 10px; color: var(--label2); font-size: 12px; font-weight: 600; text-align: right; }
.bd-cal-day { min-height: 92px; padding: 6px 5px 8px; border-top: 1px solid var(--sep2); border-left: 1px solid var(--sep2); display: flex; flex-direction: column; gap: 3px; }
.bd-cal-day:nth-child(7n+1) { border-left: 0; }
.bd-cal-day.out .bd-cal-n { color: #c7c7cc; }
.bd-cal-n { align-self: flex-end; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; color: var(--label); font-size: 14px; font-weight: 500; line-height: 26px; text-align: center; }
.bd-cal-day.today .bd-cal-n { background: var(--tint); color: #fff; font-weight: 600; }
.bd-cal-item { display: flex; flex-direction: column; gap: 1px; padding: 5px 7px; border-radius: 6px; border-left: 3px solid var(--tint); background: var(--tint-bg); color: var(--label); min-width: 0; }
.bd-cal-item:hover { background: #dbe5fb; text-decoration: none; }
.bd-cal-item.is-awarded { border-left-color: var(--green); background: var(--green-bg); }
.bd-cal-meta { color: var(--tint); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-cal-item.is-awarded .bd-cal-meta { color: var(--green); }
.bd-cal-title { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.bd-recent.bd-card { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; }
.bd-recent-h { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px 10px; }
.bd-recent-h b { font: 700 18px/1.2 var(--font-d); }
.bd-recent-h a { font-size: 15px; }
.bd-recent-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 200px) auto; gap: 16px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--sep2); color: var(--label); font-size: 15px; }
.bd-recent-row:hover { background: #f0f4fd; box-shadow: inset 3px 0 0 var(--tint); text-decoration: none; }
.bd-recent-row:hover .bd-recent-t { color: var(--tint); }
.bd-recent-row .bd-mono { color: var(--label2); font-size: 13px; }
.bd-recent-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }

/* ---------------------------------------------------------------- a solicitation */
.bd-flash { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--r); background: var(--green-bg); color: #10451e; font-size: 15px; }
.bd-alert { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r); background: var(--red-bg); color: var(--red); font-size: 15px; font-weight: 500; }
.bd-linkbox { flex-basis: 100%; display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.bd-linkbox code { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 10px; background: #fff; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; color: var(--label); }

.bd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; grid-template-areas: "nav side" "main side"; gap: 0 36px; align-items: start; }
/* section tabs: all of them always in view: they fit one line on a desktop and wrap to a second line on narrow screens */
.bd-secwrap { grid-area: nav; position: relative; min-width: 0; margin: 0 0 16px; border-bottom: 1px solid var(--sep2); }
.bd-secnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 8px 0 10px; background: #fff; }
.bd-secnav-h { display: none; }
.bd-secnav a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--sep); border-radius: 8px; background: #fff; color: var(--label); font-size: 14px; font-weight: 500; white-space: nowrap; }
.bd-secnav a:hover { border-color: var(--tint); color: var(--tint); text-decoration: none; }
.bd-secnav a.on { background: var(--tint); border-color: var(--tint); color: #fff; font-weight: 600; }
.bd-secnav a span { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--fill); color: var(--label2); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.bd-secnav a.on span { background: rgba(255, 255, 255, .25); color: #fff; }
.bd-content { grid-area: main; min-width: 0; }
.bd-aside { grid-area: side; position: sticky; top: 66px; display: flex; flex-direction: column; gap: 12px; }

.bd-content > section.bd-sec { border: 0; border-radius: 0; background: none; padding: 0; margin: 0 0 40px; }
.bd-tabbed.js .bd-content > section { display: none; }
.bd-tabbed.js .bd-content > section.on { display: block; }
.bd-tabbed.js .bd-content > section.on ~ section.on { padding-top: 22px; border-top: 1px solid var(--sep2); margin-top: -18px; }
.bd-sechead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bd-sechead h2 { font-size: 20px; line-height: 1.2; font-weight: 700; }
.bd-sechead > .bd-muted { font-size: 15px; }
.bd-tools { display: flex; gap: 2px; flex-wrap: wrap; }
.bd-sec h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 700; }
.bd-lead { font-size: 15px; line-height: 1.55; color: var(--label); max-width: 820px; margin-bottom: 10px; }
.bd-doctext { font-size: 15px; line-height: 1.6; max-width: 820px; }
.bd-doctext > :first-child { margin-top: 0; }
.bd-doctext ol, .bd-doctext ul { margin: 0 0 12px; padding-left: 22px; }
.bd-doctext li { margin: 0 0 6px; padding-left: 4px; }
.bd-doctext p:empty { display: none; }
.bd-pre { white-space: pre-line; }

.bd-timeline { list-style: none; display: flex; margin: 0 0 18px; padding: 0; }
.bd-timeline li { flex: 1; position: relative; padding: 18px 10px 0 0; font-size: 13px; line-height: 1.4; }
.bd-timeline li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: #c3c9d4; }
.bd-timeline li::after { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #aab2c0; }
.bd-timeline li.done:has(+ li.done)::before { background: var(--tint); }
.bd-timeline li.done::after { background: var(--tint); border-color: var(--tint); }
.bd-timeline li:last-child::before { right: auto; width: 12px; }
.bd-timeline b { display: block; font-weight: 600; }
.bd-timeline span { color: var(--label2); }

.bd-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--sep2); }
.bd-facts > div { display: flex; flex-direction: column; gap: 1px; padding: 9px 0; border-bottom: 1px solid var(--sep2); min-width: 0; }
.bd-facts dt { color: var(--label2); font-size: 13px; }
.bd-facts dd { margin: 0; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.bd-yourtime { display: block; font-size: 13px; font-weight: 400; }
.bd-yourtime:empty { display: none; }

.bd-files { margin-top: 28px; }
.bd-filelink { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--sep2); font-size: 15px; font-weight: 500; }
.bd-filelink svg { color: var(--label3); }

.bd-ltable, .bd-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bd-ltable th, .bd-table th { padding: 0 12px 10px; border-bottom: 1px solid var(--sep); color: var(--label2); font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
.bd-ltable td, .bd-table td { padding: 10px 12px; border-bottom: 1px solid var(--sep2); vertical-align: top; }
.bd-ltable th:first-child, .bd-ltable td:first-child, .bd-table th:first-child, .bd-table td:first-child { padding-left: 0; }
.bd-ltable th:last-child, .bd-ltable td:last-child, .bd-table th:last-child, .bd-table td:last-child { padding-right: 0; }
.bd-ltable .r, .bd-table .r { text-align: right; }
.bd-lno { width: 64px; }
.bd-lnum { font-family: var(--mono); font-size: 13px; color: var(--label2); }
.bd-litem { font-weight: 500; }
.bd-lqty { font-weight: 600; font-variant-numeric: tabular-nums; }

.bd-factors > li { align-items: flex-start; }
.bd-fno { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--tint-bg); color: var(--tint) !important; color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.bd-doclist > li { align-items: center; }
.bd-req, .bd-opt { flex: none; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.bd-req { background: var(--orange-bg); color: var(--orange); box-shadow: inset 0 0 0 1px #f5d3a8; }
.bd-opt { background: var(--fill); color: var(--label2); }

.bd-amend { margin: 0 0 10px; border: 1px solid var(--sep); border-radius: var(--r-lg); overflow: hidden; }
.bd-amend-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 9px 16px; background: var(--fill); border-bottom: 1px solid var(--sep2); }
.bd-amend-head .bd-pill { margin-left: auto; }
.bd-amend-no { font-weight: 700; }
.bd-amend-t { padding: 10px 16px 0; font-size: 16px; font-weight: 600; }
.bd-amend-b { padding: 4px 16px 0; color: var(--label2); max-width: 800px; }
.bd-amend-due { display: inline-flex; align-items: center; gap: 8px; margin: 10px 16px 0; padding: 5px 10px; border-radius: 8px; background: var(--orange-bg); color: var(--orange); font-size: 14px; }
.bd-amend > :last-child { margin-bottom: 12px; }
.bd-amend > .bd-amend-head:last-child { margin-bottom: 0; }
.bd-amend-files { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 14px 0; }

.bd-qa { margin: 0 0 10px; padding: 12px 16px; border: 1px solid var(--sep); border-radius: var(--r-lg); }
.bd-q { font-weight: 600; }
.bd-q::before { content: "Q  "; color: var(--label3); font-weight: 700; }
.bd-a { margin-top: 6px; color: var(--label2); white-space: pre-line; }
.bd-a::before { content: "A  "; color: var(--tint); font-weight: 700; }
.bd-myqs { margin-top: 8px; }
.bd-myq { padding: 10px 0; border-bottom: 1px solid var(--sep2); font-size: 15px; }
.bd-myq-q { display: flex; gap: 10px; align-items: baseline; }
.bd-myq-a { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--green, #1f8a4c); background: #f3faf6; border-radius: 0 8px 8px 0; white-space: pre-wrap; }
.bd-myq-a small { display: block; margin-top: 4px; white-space: normal; }
.bd-state { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--orange-bg); color: var(--orange); font-size: 12px; font-weight: 600; }
.bd-state.bd-ok { background: var(--green-bg); color: var(--green); }
.bd-askform { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; max-width: 760px; }
.bd-askform label { font-weight: 600; }

/* side panel */
.bd-status.bd-card, .bd-who.bd-card { padding: 14px 18px; border-radius: var(--r-lg); }
.bd-status { display: flex; flex-direction: column; gap: 9px; }
.bd-status .bd-badge { align-self: flex-start; }
.bd-status p { margin: 0; font-size: 15px; }
.bd-count b { display: block; font: 700 22px/1.1 var(--font-d); font-variant-numeric: tabular-nums; }
.bd-count span { color: var(--label2); font-size: 14px; }
.bd-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--sep2); border-bottom: 1px solid var(--sep2); }
.bd-glance div { display: flex; flex-direction: column; }
.bd-glance b { font: 600 17px/1.2 var(--font-d); }
.bd-glance span { color: var(--label2); font-size: 12px; line-height: 1.3; }
.bd-mini { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bd-mini div { display: flex; flex-direction: column; }
.bd-mini dt { color: var(--label2); font-size: 13px; }
.bd-mini dd { margin: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.bd-who h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.bd-acct { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r); background: var(--fill); }
.bd-acct > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.bd-acct b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-acct small { color: var(--label2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-avatar { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--tint); color: #fff; font-size: 14px; font-weight: 700; line-height: 36px; text-align: center; }
.bd-path { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: p; }
.bd-path li { counter-increment: p; position: relative; padding: 0 0 10px 30px; color: var(--label2); font-size: 14px; line-height: 20px; }
.bd-path li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--sep); color: var(--label2); font-size: 12px; font-weight: 700; line-height: 17px; text-align: center; }
.bd-path li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 2px; width: 1.5px; background: var(--sep2); }
.bd-path li.on { color: var(--label); font-weight: 600; }
.bd-path li.on::before { background: var(--tint); border-color: var(--tint); color: #fff; }
.bd-who p { margin: 0 0 10px; }
.bd-checklist { list-style: none; margin: 14px 0; padding: 0; font-size: 14px; }
.bd-checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--label2); }
.bd-checklist li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sep); }
.bd-checklist li.ok { color: var(--label); }
.bd-checklist li.ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.bd-more { margin-top: 14px; border-top: 1px solid var(--sep2); padding-top: 12px; }
.bd-more summary { cursor: pointer; color: var(--tint); font-size: 15px; font-weight: 500; list-style: none; }
.bd-more summary::-webkit-details-marker { display: none; }
.bd-more summary::before { content: "+ "; }
.bd-more[open] summary::before { content: "− "; }
.bd-more[open] summary { margin-bottom: 12px; }
.bd-reg { display: flex; flex-direction: column; gap: 12px; }

/* ---------------------------------------------------------------- the offer */
.bd-result { margin: 0 0 20px; padding: 16px 18px; border-radius: var(--r); background: var(--fill); font-size: 15px; }
.bd-result-won { background: var(--green-bg); color: #10451e; }
.bd-receipt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 12px 20px; align-items: end; margin: 0 0 24px; padding: 18px 20px; border: 1px solid var(--sep2); border-radius: var(--r); }
.bd-receipt div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.bd-receipt b { font-size: 16px; }
.bd-ack { margin: 0 0 24px; padding: 18px 20px; border-radius: var(--r); background: var(--orange-bg); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bd-ack h3 { margin: 0; font-size: 18px; }
.bd-ack p { margin: 0; }
.bd-note { padding: 12px 16px; border-radius: var(--r); background: var(--tint-bg); color: #00376e; font-size: 15px; }
.bd-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 8px; padding: 0; flex-wrap: wrap; counter-reset: st; }
.bd-steps li { counter-increment: st; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 8px; background: var(--fill); font-size: 14px; font-weight: 500; }
.bd-steps li::before { content: counter(st); width: 22px; height: 22px; border-radius: 6px; background: var(--tint); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.bd-form h3 { margin: 22px 0 10px; font-size: 18px; }
.bd-start { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--r); background: var(--tint-bg); color: #10306f; font-size: 14px; }
.bd-steps button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.bd-form.js .bd-step { display: none; }
.bd-form.js .bd-step.on { display: block; }
.bd-form.js .bd-step > h3:first-child { margin-top: 18px; }
.bd-form.js .bd-steps li { cursor: pointer; border: 1px solid var(--sep2); background: #fff; color: var(--label2); }
.bd-form.js .bd-steps li::before { background: #fff; color: var(--label2); border: 1.5px solid var(--sep); line-height: 19px; }
.bd-form.js .bd-steps li:hover { border-color: var(--tint); color: var(--tint); }
.bd-form.js .bd-steps li.on { border-color: var(--tint); background: var(--tint); color: #fff; }
.bd-form.js .bd-steps li.on::before { background: #fff; color: var(--tint); border-color: #fff; }
.bd-form.js .bd-steps li.ok:not(.on)::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.bd-form.is-collapsed { display: none; }
.bd-submitted h3:first-child { margin-top: 4px; }
.bd-submitted .bd-ltable tfoot td { border-bottom: 0; padding-top: 12px; font-size: 15px; }
.bd-revise-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sep2); }
.bd-stepnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sep2); }
.bd-stepnav [data-prev][disabled] { visibility: hidden; }
.bd-form.js .bd-submitrow { border-top: 0; padding-top: 8px; margin-top: 8px; }
.bd-form.js .bd-submitrow .bd-btn { display: none; }
.bd-stepnav .bd-btn { white-space: nowrap; }
.bd-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(31, 79, 209, .35); }
.bd-who-h { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--label2); }
.bd-form h3 .bd-muted { font-size: 15px; font-weight: 400; }
.bd-tablewrap { overflow-x: auto; }
.bd-prices { table-layout: fixed; }
.bd-prices td { vertical-align: middle; }
.bd-prices .bd-price { width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
.bd-prices .bd-amount, .bd-prices tfoot td { white-space: normal; overflow-wrap: anywhere; }
.bd-prices td:nth-child(2) { overflow-wrap: anywhere; }
.bd-prices tfoot td { border-bottom: 0; padding-top: 16px; font-size: 16px; }
.bd-amount { font-variant-numeric: tabular-nums; }
.bd-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.bd-wide { grid-column: 1 / -1; }
.bd-docs { display: flex; flex-direction: column; border: 1px solid var(--sep2); border-radius: var(--r); overflow: hidden; }
.bd-doc { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--sep2); }
.bd-doc:first-child { border-top: 0; }
.bd-doc.bad { background: var(--red-bg); }
.bd-doc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bd-docgroup-h { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 8px; }
.bd-docgroup-h b { font-size: 15px; }
.bd-docs-req { border-color: #f0c999; }
.bd-docs-req .bd-doc { background: #fffaf3; }
.bd-file { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; cursor: pointer; }
.bd-file input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.bd-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px dashed #b8c2d3; border-radius: var(--r); background: #fff; color: var(--label2); font-size: 14px; text-align: center; transition: border-color .15s, background .15s; }
.bd-drop svg { width: 20px; height: 20px; color: var(--tint); }
.bd-drop b { color: var(--tint); }
.bd-file:hover .bd-drop, .bd-drop.over { border-color: var(--tint); background: #f0f4fd; }
.bd-file:focus-within .bd-drop { box-shadow: 0 0 0 3px rgba(31, 79, 209, .25); }
.bd-file.has-files .bd-drop { min-height: 40px; }
.bd-doc.bad .bd-drop { border-color: var(--red); }
.bd-file-names, .bd-saved { display: flex; flex-direction: column; gap: 6px; }
.bd-file-names:empty { display: none; }
.bd-fileitem { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--sep2); border-radius: 8px; background: #fff; font-size: 14px; color: var(--label); cursor: default; }
.bd-fileitem svg { flex: none; width: 18px; height: 18px; color: var(--tint); }
.bd-fileitem a, a.bd-fileitem > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tint); font-weight: 500; }
a.bd-fileitem { cursor: pointer; }
a.bd-fileitem:hover { border-color: var(--tint); text-decoration: none; }
.bd-fileitem small { flex: none; color: var(--label2); font-size: 12px; }
.bd-fileitem-x { flex: none; border: 0; border-radius: 6px; padding: 4px 8px; background: var(--red-bg); color: var(--red); font-size: 12px; font-weight: 600; cursor: pointer; }
.bd-fileitem-x:hover { background: #f9d6db; }
.bd-saved { margin-top: 2px; gap: 8px; }
.bd-saved .bd-check { margin: 4px 0 2px; }
.bd-certs { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border: 1px solid var(--sep2); border-radius: var(--r); margin-bottom: 16px; }
.bd-certs.bad { border-color: var(--red); }
.bd-submitrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--sep2); }
.bd-offer-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.bd-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ---------------------------------------------------------------- the offer on a page of its own (?offer=1) */
.bd-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; padding: 18px 20px; border: 1.5px solid var(--tint); border-radius: var(--r-lg); background: #f5f8fe; }
.bd-cta > div { display: flex; flex-direction: column; gap: 2px; }
.bd-cta b { font-size: 17px; }
.bd-focus .bd-layout { display: block; max-width: 900px; }
.bd-focus .bd-secwrap, .bd-focus .bd-secnav, .bd-focus .bd-aside, .bd-focus .bd-content > section:not(#offer), .bd-focus #offer > .bd-sechead,
.bd-focus .bd-submitted, .bd-focus .bd-receipt, .bd-focus .bd-cta { display: none !important; }
.bd-focus .bd-tabbed.js .bd-content > section#offer { display: block; }
.bd-focus .bd-hero .bd-wrap, .bd-focus .bd-main { max-width: 948px; }
.bd-focus .bd-steps { position: sticky; top: 54px; z-index: 5; margin: 0 -2px; padding: 10px 2px; background: #fff; border-bottom: 1px solid var(--sep2); }
.bd-focus .bd-stepnav { position: sticky; bottom: 0; z-index: 5; margin-top: 24px; padding: 12px 0; background: #fff; box-shadow: 0 -1px 0 var(--sep2); }
.bd-focus .bd-step { min-height: 360px; }

/* ---------------------------------------------------------------- fields */
.bd-field { display: flex; flex-direction: column; gap: 6px; }
.bd-field label { font-size: 14px; font-weight: 600; }
.bd-field em, .bd-field label em { color: var(--red); font-style: normal; }
.bd-input { width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--sep); border-radius: 8px; background: #fff; color: var(--label); font: inherit; font-size: 15px; }
textarea.bd-input { display: block; min-height: 64px; resize: none; overflow: hidden; line-height: 1.5; }
grammarly-extension, grammarly-desktop-integration { display: none !important; }
select.bd-input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2386868b' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E") right 10px center/20px no-repeat; padding-right: 36px; }
.bd-input:focus { outline: 0; border-color: var(--tint); box-shadow: 0 0 0 3px rgba(31, 79, 209, .2); }
.bd-input::placeholder { color: #a1a1a6; }
.bd-input:disabled { background: var(--fill); color: var(--label3); }
.bd-input-sm { min-height: 36px; padding: 6px 12px; font-size: 15px; width: auto; }
.bd-field.bad .bd-input, .bd-input[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.bd-err { color: var(--red); font-size: 13px; }
.bd-field small.bd-muted { font-size: 13px; }
.bd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bd-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.bd-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tint); }
.bd-check.bad span { color: var(--red); }
.bd-chiprow { display: flex; gap: 8px; flex-wrap: wrap; }
.bd-chk input { position: absolute; opacity: 0; }
.bd-chk span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--sep); border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.bd-chk input:checked + span { background: var(--tint); border-color: var(--tint); color: #fff; }
.bd-chk input:focus-visible + span { box-shadow: 0 0 0 3px rgba(31, 79, 209, .3); }

/* ---------------------------------------------------------------- accounts */
.bd-auth { display: flex; justify-content: center; padding: 24px 0 40px; }
.bd-authcard.bd-card { width: 100%; max-width: 420px; padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 12px; border-top: 3px solid var(--tint); box-shadow: 0 8px 28px rgba(20, 26, 38, .06); }
.bd-authcard h1 { font-size: 23px; font-weight: 700; text-align: center; }
.bd-authcard > p.bd-muted { margin: -8px 0 4px; text-align: center; font-size: 15px; }
.bd-authcard .bd-flash { margin: 0; }
.bd-authalt { margin: 0; text-align: center; color: var(--label2); font-size: 15px; }
.bd-accgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.bd-accgrid > .bd-sec.bd-card { border: 0; padding: 0; }
.bd-accside { display: flex; flex-direction: column; gap: 16px; }
.bd-accside .bd-sec.bd-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bd-accside .bd-sechead { margin: 0; }
.bd-accside .bd-sechead h2 { font-size: 20px; }
.bd-accside .bd-mini { gap: 12px; }
.bd-accgrid .bd-rows-flat { border: 1px solid var(--sep2); border-radius: var(--r-lg); overflow: hidden; }

/* ---------------------------------------------------------------- footer */
.bd-foot { border-top: 1px solid var(--sep2); padding: 18px 0 28px; color: var(--label2); font-size: 13px; }
.bd-foot .bd-wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.bd-foot b { color: var(--label); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 1000px) {
    .bd-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "nav" "side" "main"; }
    .bd-aside { position: static; margin-bottom: 32px; }
    .bd-listlayout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .bd-side { position: static; }
    .bd-filters.bd-card { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
    .bd-filters-h { flex-basis: 100%; margin: 12px 0 2px; padding: 0; }
    .bd-filter { border: 1px solid var(--sep2); border-radius: 999px; min-height: 34px; }
    .bd-howto { display: none; }
    .bd-accgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    /* phone: one-line bar on top, the navigation as a tab bar at the bottom */
    body { padding-bottom: 68px; }
    .bd-header { position: static; }
    .bd-header .bd-wrap { min-height: 52px; }
    .bd-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 0;
              padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sep); box-shadow: 0 -2px 10px rgba(20, 26, 38, .06); }
    .bd-nav .bd-navbtn { flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 4px 2px; border-radius: 8px; font-size: 12px; line-height: 1.15; text-align: center; box-shadow: none; }
    .bd-nav .bd-navbtn svg { width: 18px; height: 18px; }
    .bd-nav .bd-navbtn.on { background: var(--tint-bg); }
    .bd-nav .bd-navbtn-primary, .bd-nav .bd-navbtn-tinted { background: none; color: var(--label); }
    .bd-nav .bd-navbtn.on, .bd-nav .bd-navbtn-primary.on { background: var(--tint-bg); color: var(--tint); }
    .bd-nav .bd-navbtn-signout { display: none; }
    /* the list: four figures in one row, filters as one scrolling row of chips */
    .bd-kpis { grid-template-columns: repeat(4, 1fr) !important; margin-bottom: 14px; }
    .bd-kpi.bd-card { padding: 10px 8px; border-left: 1px solid var(--sep2) !important; border-top: 0 !important; }
    .bd-kpi.bd-card:first-child { border-left: 0 !important; }
    .bd-kpi b { font-size: 20px; }
    .bd-kpi span { font-size: 11px; line-height: 1.2; }
    .bd-filters.bd-card { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .bd-filters.bd-card::-webkit-scrollbar { display: none; }
    .bd-filters .bd-filters-h { display: none; }
    .bd-filter { flex: none; white-space: nowrap; }
    .bd-listlayout { gap: 12px; }
    .bd-row { flex-wrap: wrap; padding: 12px 14px; gap: 8px; }
    .bd-row-main { flex: 1 1 100%; }
    .bd-row-side { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
    .bd-toolbar { gap: 8px; }
    .bd-seg { flex: 1 1 auto; overflow-x: auto; }
    .bd-seg a { flex: 1 0 auto; justify-content: center; }
    /* a solicitation: tabs, the way in, the text, then the status */
    .bd-layout { display: flex; flex-direction: column; align-items: stretch; }
    .bd-layout > *, .bd-aside > * { min-width: 0; max-width: 100%; }
    .bd-secnav, .bd-secwrap { width: 100%; }
    .bd-content .bd-ltable, .bd-content .bd-tablewrap { display: block; max-width: 100%; overflow-x: auto; }
    .bd-receipt { grid-template-columns: 1fr 1fr; }
    .bd-facts { grid-template-columns: 1fr 1fr !important; }
    .bd-aside { display: contents; }
    .bd-secwrap { order: 0; margin-bottom: 12px; }
    .bd-who { order: 1; margin-bottom: 16px; }
    .bd-content { order: 2; }
    .bd-status { order: 3; margin-top: 8px; }
    .bd-secnav a { height: 32px; padding: 0 10px; font-size: 13px; }
    .bd-sechead h2 { font-size: 19px; }
    .bd-tools { width: 100%; }
    .bd-hero { padding-top: 12px; }
    /* prices: one card per line */
    .bd-prices, .bd-prices tbody, .bd-prices tfoot { display: block; }
    .bd-prices colgroup, .bd-prices thead { display: none; }
    .bd-prices tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--sep2); }
    .bd-prices td { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 !important; border: 0; text-align: left !important; }
    .bd-prices td[data-label]::before { content: attr(data-label); color: var(--label2); font-size: 12px; font-weight: 600; }
    .bd-prices td.bd-pl-desc { grid-column: 1 / -1; order: -1; font-weight: 600; }
    .bd-prices td.bd-pl-line { order: -2; }
    .bd-prices .bd-price { width: 100%; text-align: left; }
    .bd-prices tfoot tr { grid-template-columns: 1fr auto; border-bottom: 0; }
    .bd-prices tfoot td { flex-direction: row; font-size: 16px; }
    .bd-prices tfoot td:empty { display: none; }
    /* the offer page: steps in one scrolling row, buttons at the bottom above the tab bar */
    .bd-focus .bd-steps { top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .bd-focus .bd-steps li { flex: none; }
    .bd-focus .bd-stepnav { bottom: 68px; }
    .bd-cta { flex-direction: column; align-items: stretch; }
    .bd-revise-bar > * { flex: 1 1 auto; }
    .bd-revise-bar .bd-btn { width: 100%; }
    .bd-wrap, .bd-main { padding-left: 16px; padding-right: 16px; }
    .bd-header .bd-wrap { gap: 8px; }
    .bd-nav { gap: 2px; }
    .bd-navbtn { padding: 0 10px; font-size: 14px; }
    .bd-hero h1 { font-size: 30px; }
    .bd-hero-sol h1 { font-size: 26px; }
    .bd-kpis { grid-template-columns: 1fr 1fr; }
    .bd-kpi.bd-card:nth-child(3) { border-left: 0; }
    .bd-kpi.bd-card:nth-child(n+3) { border-top: 1px solid var(--sep2); }
    .bd-facts { grid-template-columns: 1fr 1fr; }
    .bd-fields, .bd-two { grid-template-columns: 1fr; }
    .bd-timeline { flex-direction: column; gap: 12px; }
    .bd-timeline li { padding: 0 0 0 24px; }
    .bd-timeline li::before { display: none; }
    .bd-row { flex-wrap: wrap; gap: 8px; }
    .bd-row-side { align-items: flex-start; flex-direction: row; gap: 10px; text-align: left; }
    .bd-row-go { display: none; }
    .bd-recent-row { grid-template-columns: 1fr auto; }
    .bd-recent-row .bd-mono, .bd-recent-row .bd-muted { display: none; }
    .bd-cal-day { min-height: 64px; }
    .bd-cal-item { min-height: 8px; padding: 0; border-left-width: 0; background: var(--tint); }
    .bd-cal-item > span { display: none; }
    .bd-receipt { grid-template-columns: 1fr 1fr; }
    .bd-authcard.bd-card { padding: 28px 20px; box-shadow: none; }
}

/* ---------------------------------------------------------------- print: the whole solicitation as a document */
@media print {
    @page { margin: 16mm 14mm; }
    body { font-size: 10.5pt; line-height: 1.45; color: #000; }
    .bd-header, .bd-secwrap, .bd-secnav, .bd-aside, .bd-tools, .bd-back, .bd-foot, .bd-offer-actions, .bd-checklist, .bd-askform, .bd-flash, .bd-skip, .bd-side, .bd-toolbar, .bd-kpis, form, button { display: none !important; }
    .bd-hero { padding: 0 0 10pt; border-bottom: 1.5pt solid #000; margin-bottom: 14pt; }
    .bd-hero h1, .bd-hero-sol h1 { font-size: 20pt; }
    .bd-main { padding: 0; max-width: none; }
    .bd-layout { display: block; }
    .bd-tabbed.js .bd-content > section, .bd-content > section { display: block !important; margin: 0 0 18pt; break-inside: auto; }
    .bd-sechead { margin-bottom: 8pt; }
    .bd-sechead h2 { font-size: 14pt; border-bottom: .75pt solid #999; padding-bottom: 3pt; width: 100%; }
    .bd-sec h3 { font-size: 12pt; margin: 12pt 0 6pt; }
    .bd-facts { grid-template-columns: 1fr 1fr 1fr; column-gap: 18pt; }
    .bd-facts > div { padding: 4pt 0; border-color: #ccc; }
    .bd-facts dt, .bd-facts dd { font-size: 10pt; }
    .bd-timeline { display: none; }
    .bd-group, .bd-docs, .bd-card { border-color: #ccc; border-radius: 0; }
    .bd-group > li { padding: 6pt 8pt; break-inside: avoid; }
    .bd-fno { background: none; color: #000; border: .75pt solid #000; width: 18pt; height: 18pt; line-height: 17pt; font-size: 9pt; }
    .bd-ltable th, .bd-ltable td { padding: 5pt 6pt; border-color: #ccc; }
    .bd-ltable tr { break-inside: avoid; }
    .bd-badge, .bd-pill { border: .75pt solid #999; background: none !important; color: #000 !important; }
    a { color: #000; }
    .bd-muted, .bd-group p, .bd-a { color: #333; }
}

.bd-pill-reg { background: var(--tint-bg); color: var(--tint); }

/* ---------------------------------------------------------------- printable documents (?print=1 · ?print=offer)
   US practice: Letter page, black on white, numbered blocks in a ruled grid, small caps labels, sections by letter */
body.bd-printdoc { background: #e4e6ea; color: #000; font: 400 10pt/1.35 Arial, "Helvetica Neue", Helvetica, sans-serif; letter-spacing: 0; }
.pd-bar { display: flex; justify-content: space-between; align-items: center; max-width: 8.5in; margin: 0 auto; padding: 14px 0; background: none; }
.pd-barlink { color: #1f4fd1; font: 600 14px/1 var(--font); }
.pd-barbtn { border: 0; border-radius: 8px; padding: 10px 16px; background: #1f4fd1; color: #fff; font: 600 14px/1 var(--font); cursor: pointer; }
.pd-page { box-sizing: border-box; width: 8.5in; min-height: 11in; margin: 0 auto 32px; padding: 0.55in 0.6in; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 8px; border-bottom: 3px double #000; margin-bottom: 10px; }
.pd-kind { font-size: 17pt; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pd-sub { font-size: 10pt; margin-top: 2px; }
.pd-no { display: flex; flex-direction: column; align-items: flex-end; border: 1.5px solid #000; padding: 4px 10px; }
.pd-no span { font-size: 7pt; font-weight: 700; text-transform: uppercase; }
.pd-no b { font-size: 11pt; }
.pd-mono { font-family: "Courier New", Courier, monospace; letter-spacing: 0; color: #000; font-size: inherit; }
.pd-grid { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0 0 10px; }
.pd-grid td { border: 1px solid #000; padding: 3px 6px 5px; vertical-align: top; }
.pd-l { display: block; font-size: 6.8pt; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px; }
.pd-v { display: block; font-size: 9.5pt; overflow-wrap: anywhere; }
.pd-pre { white-space: pre-line; }
.pd-sec { margin: 14px 0 6px; padding: 3px 6px; background: #000; color: #fff; font-size: 9pt; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pd-h3 { margin: 10px 0 4px; font-size: 9pt; font-weight: 700; text-transform: uppercase; }
.pd-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: 9pt; }
.pd-table th { border: 1px solid #000; padding: 3px 6px; background: #eee; font-size: 7pt; font-weight: 700; text-transform: uppercase; text-align: left; }
.pd-table td { border: 1px solid #000; padding: 4px 6px; vertical-align: top; overflow-wrap: anywhere; }
.pd-table .pd-r { text-align: right; white-space: nowrap; }
.pd-table .pd-c { text-align: center; width: 0.6in; }
.pd-blank { min-width: 0.9in; height: 18px; }
.pd-text { font-size: 9.5pt; }
.pd-text ol, .pd-text ul { margin: 4px 0 8px; padding-left: 22px; }
.pd-text li { margin-bottom: 3px; }
.pd-text p { margin: 0 0 6px; }
.pd-p { margin: 0 0 6px; font-size: 9.5pt; }
.pd-cert { display: flex; gap: 8px; margin: 0 0 6px; font-size: 9pt; }
.pd-box { flex: none; font-size: 12pt; line-height: 1; }
.pd-sign { margin-top: 14px; }
.pd-sign td { height: 0.55in; }
.pd-esig { font-style: italic; }
.pd-qa { margin: 0 0 8px; font-size: 9.5pt; }
.pd-qa p { margin: 0 0 2px; }
.pd-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 6px; border-top: 1px solid #000; font-size: 7.5pt; }
@media print {
    @page { size: letter; margin: 0.5in; }
    body.bd-printdoc { background: #fff; }
    .pd-bar { display: none; }
    .pd-page { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
    .pd-sec, .pd-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pd-table tr, .pd-cert, .pd-qa, .pd-grid tr { break-inside: avoid; }
    .pd-sec { break-after: avoid; }
}

/* offer steps: what stops Next */
.bd-steperr { margin: 12px 0 0; }
.bd-certs[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.bd-doc.bad-js .bd-drop { border-color: var(--red); background: #fffafa; }
.bd-err-pick { display: block; }

/* supplier verification (Radar) and the password link */
.bd-verify { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--r); font-size: 14px; }
.bd-verify b { font-size: 14px; }
.bd-verify.is-ok { background: var(--green-bg); color: #10451e; }
.bd-verify.is-wait { background: var(--orange-bg); color: #6b3400; }
.bd-verify.is-bad { background: var(--red-bg); color: var(--red); }
#offer .bd-verify { margin: 0 0 20px; padding: 16px 18px; }
.bd-forgot { align-self: flex-end; font-size: 13px; font-weight: 500; }

/* longer forms (company details): groups with a small heading, buttons apart at the end */
.bd-authcard.bd-formcard { max-width: 520px; gap: 18px; }
/* company details: two columns that fit one screen */
.bd-authcard.bd-formcard.bd-formwide { max-width: 1180px; width: 100%; gap: 14px; padding: 24px 28px 20px; }
.bd-formwide h1 { text-align: left; margin: 0; font-size: 21px; }
.bd-formcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 32px; align-items: start; }
.bd-formcol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bd-formwide .bd-fset { gap: 10px; }
.bd-formwide .bd-formfoot { margin-top: 0; padding-top: 14px; }
.bd-formcols.bd-formcols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 26px; }
.bd-formwide .bd-field { gap: 4px; }
.bd-formwide .bd-input { height: 38px; }
.bd-formwide textarea.bd-input { height: auto; min-height: 38px; }
@media (max-width: 1100px) { .bd-formcols.bd-formcols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bd-formcols, .bd-formcols.bd-formcols3 { grid-template-columns: minmax(0, 1fr); } .bd-authcard.bd-formcard.bd-formwide { padding: 20px 16px; } }
.bd-fset { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bd-fset legend { margin: 0 0 2px; padding: 0 0 6px; width: 100%; border-bottom: 1px solid var(--sep2); color: var(--label2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bd-formfoot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--sep2); }
.bd-formfoot .bd-btn { min-width: 120px; }
#offer .bd-verify { margin: 0 0 20px; }

/* the portal's logo (logo.svg, 794 × 411) */
.bd-logo { display: block; height: 18px; width: auto; flex: none; }
.bd-brand { gap: 10px; }
.bd-footbrand { display: inline-flex; align-items: center; gap: 8px; }
.bd-footbrand .bd-logo { height: 14px; }
@media (max-width: 700px) { .bd-brand { font-size: 17px; } .bd-logo { height: 16px; } }

/* 404: the whole screen; the 0 is an offer that gets stamped Rejected */
body.nf { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.nf-main { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 16px 64px; text-align: center; }
.nf-404 { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); line-height: 1; }
.nf-digit { font: 800 clamp(120px, 24vw, 280px)/0.9 var(--font-d); letter-spacing: -0.04em; color: var(--label); }
.nf-offer { position: relative; display: block; width: clamp(84px, 16vw, 190px); }
.nf-offer svg { display: block; width: 100%; height: auto; overflow: visible; animation: nf-drop .5s cubic-bezier(.2, .8, .2, 1) both; }
.nf-paper { fill: #fff; stroke: var(--label); stroke-width: 5; stroke-linejoin: round; }
.nf-fold { fill: var(--tint-bg); stroke: var(--label); stroke-width: 5; stroke-linejoin: round; }
.nf-line { fill: none; stroke: #c3c9d4; stroke-width: 6; stroke-linecap: round; }
.nf-stamp { position: absolute; left: 50%; top: 56%; padding: .16em .42em; border: .14em solid var(--red); border-radius: .18em; color: var(--red); background: rgba(255, 255, 255, .86);
    font: 800 clamp(15px, 3.1vw, 36px)/1 var(--font-d); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-14deg); box-shadow: inset 0 0 0 .05em rgba(196, 0, 26, .35); animation: nf-stamp .45s .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.nf-offer::after { content: ""; position: absolute; inset: 0; pointer-events: none; animation: nf-shake .3s .95s both; }
.nf-404 { animation: nf-shake .32s .98s both; }
.nf-title { margin: 18px 0 0; font: 800 clamp(22px, 3.4vw, 34px)/1.15 var(--font-d); letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.nf-text { margin: 0; color: var(--label2); font-size: 16px; }
.nf-btn { margin-top: 10px; min-width: 200px; }
@keyframes nf-drop { from { transform: translateY(-24px) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nf-stamp { 0% { transform: translate(-50%, -50%) rotate(-24deg) scale(2.6); opacity: 0; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-14deg) scale(1); opacity: 1; } }
@keyframes nf-shake { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 2px); } 50% { transform: translate(3px, -2px); } 75% { transform: translate(-2px, 1px); } }
@media (prefers-reduced-motion: reduce) { .nf-offer svg, .nf-stamp, .nf-404 { animation: none; } }
.bd-copy { display: inline-flex; align-items: baseline; gap: 0; color: var(--label2); font-size: 13px; font-variant-numeric: tabular-nums; }
.bd-copy .bd-c { margin-right: .3em; font-size: 1.08em; line-height: 1; }
.bd-foot .bd-wrap { align-items: center; }

/* segmented switches: a fixed 40 px track, the chosen segment always centred in it */
.bd-seg { box-sizing: border-box; height: 40px; align-items: stretch; padding: 3px; line-height: 1; vertical-align: middle; }
.bd-seg a { height: auto; min-height: 0; align-items: center; line-height: 1; }
.bd-navform { display: contents; }
.bd-navform button.bd-navbtn { border: 0; background: none; font: inherit; font-size: inherit; cursor: pointer; }
.bd-navform button.bd-navbtn:hover { background: var(--fill); }
.bd-accmain { display: flex; flex-direction: column; gap: 14px; }
.bd-offerslink.bd-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; color: var(--label); }
.bd-offerslink:hover { border-color: var(--tint); text-decoration: none; box-shadow: 0 6px 18px rgba(31, 79, 209, .1); }
.bd-offerslink > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.bd-offerslink b { font-size: 18px; }
.bd-offerslink small { color: var(--label2); font-size: 14px; }
.bd-ofchips { margin: 0 0 14px; }
.bd-ofchips .bd-filter { flex: none; border: 1px solid var(--sep2); border-radius: 8px; }
.bd-kpis { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .bd-kpis { grid-template-columns: repeat(2, 1fr) !important; } }

/* phone: one inner edge — every card's content starts 16 px inside it */
@media (max-width: 700px) {
    .bd-row { padding: 12px 16px !important; }
    .bd-kpi.bd-card { padding: 10px 16px !important; }
    .bd-offerslink.bd-card, .bd-accside .bd-sec.bd-card, .bd-status.bd-card, .bd-who.bd-card, .bd-solcard.bd-card { padding: 16px !important; }
    .bd-authcard.bd-card { padding: 22px 16px !important; }
    .bd-cal-head, .bd-recent-h, .bd-recent-row { padding-left: 16px !important; padding-right: 16px !important; }
    .bd-group > li, .bd-doc, .bd-amend-head, .bd-amend-t, .bd-amend-b, .bd-qa, .bd-certs, .bd-receipt, .bd-cta, .bd-verify, .bd-result, .bd-note, .bd-flash, .bd-alert { padding-left: 16px !important; padding-right: 16px !important; }
    .bd-amend-due { margin-left: 16px; margin-right: 16px; }
    .bd-row-side { gap: 10px; }
    .bd-row-side small { margin-left: auto; }
    .bd-foot .bd-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 1000px) { .bd-accgrid { gap: 14px; } }

/* My account: every company detail, grouped as in the form; label and value on one line */
.bd-card.bd-coinfo { margin-top: 18px; padding: 22px 24px 18px; }
.bd-coinfo .bd-sechead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.bd-coinfo .bd-sechead h2 { margin: 0; font-size: 19px; }
.bd-cogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; }
.bd-cogroup h3 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--sep2); color: var(--label2); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bd-coinfo .bd-mini { gap: 0; }
.bd-coinfo .bd-mini > div { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #f0f2f6; }
.bd-coinfo .bd-mini > div:last-child { border-bottom: 0; }
.bd-coinfo .bd-mini dt { font-size: 13px; }
.bd-coinfo .bd-mini dd { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bd-unset { color: #a3abb9; font-weight: 400; }
@media (max-width: 1000px) { .bd-cogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bd-cogrid { grid-template-columns: minmax(0, 1fr); } .bd-card.bd-coinfo { padding: 18px 16px; } }
/* e-mail code */
.bd-input.bd-code { height: 52px; font-size: 26px; font-weight: 700; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.bd-btn.bd-btn-link { background: transparent; border-color: transparent; color: var(--tint); box-shadow: none; }
.bd-btn.bd-btn-link:hover { background: var(--tint-bg); }
.bd-entering { text-align: center; }
.bd-entering h1::after { content: ""; display: block; width: 28px; height: 28px; margin: 14px auto 0; border-radius: 50%; border: 3px solid var(--tint-bg); border-top-color: var(--tint); animation: bd-spin .8s linear infinite; }
@keyframes bd-spin { to { transform: rotate(360deg); } }
/* the site's own confirmation dialog */
.bd-ask { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 24, 39, 0); transition: background-color .16s ease; }
.bd-ask.on { background: rgba(17, 24, 39, .38); }
.bd-ask-box { width: min(420px, 100%); padding: 22px 22px 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(17, 24, 39, .25); opacity: 0; transform: scale(.96); transition: opacity .16s ease, transform .16s ease; }
.bd-ask.on .bd-ask-box { opacity: 1; transform: none; }
.bd-ask-box h2 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--label); }
.bd-ask-box p { margin: 0 0 18px; color: var(--label2); font-size: 14.5px; }
.bd-ask-box p:empty { display: none; }
.bd-ask-btns { display: flex; justify-content: flex-end; gap: 8px; }
.bd-btn-danger { background: #c4001a; border-color: #c4001a; }
.bd-btn-danger:hover { background: #a30016; border-color: #a30016; }
/* ---------- motion: soft cross-fades, no rising blocks (off when the system asks for reduced motion) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: bd-fade-out .16s ease both; }
::view-transition-new(root) { animation: bd-fade-in .22s ease both; }
@keyframes bd-fade-out { to { opacity: 0; } }
@keyframes bd-fade-in { from { opacity: 0; } }
html { scroll-behavior: smooth; }
.bd-btn, .bd-navbtn, .bd-secnav a, .bd-seg a, .bd-filter, .bd-row, .bd-card, .bd-steps li, .bd-chip, .bd-drop,
.bd-wrap input, .bd-wrap select, .bd-wrap textarea {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .22s ease, transform .18s ease, opacity .18s ease; }
.bd-btn:active, .bd-navbtn:active, .bd-secnav a:active, .bd-seg a:active, .bd-filter:active { transform: scale(.97); }
.bd-solcard.bd-card:hover { box-shadow: 0 6px 22px rgba(17, 24, 39, .10); }
/* while a list loads in place: a thin bar runs along the top, the old list dims a little */
body.bd-loading::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 40%; z-index: 1000; background: var(--tint); animation: bd-bar 1s ease-in-out infinite; }
body.bd-loading #main { opacity: .6; transition: opacity .15s ease .1s; }
@keyframes bd-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
/* a tab that is switched to fades in; a wizard step slides in from the side it comes from */
@keyframes bd-side { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes bd-side-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.bd-content > section.bd-anim { animation: bd-fade-in .24s ease both; }
.bd-form.js .bd-step.on.bd-anim { animation: bd-side .28s cubic-bezier(.2, .8, .2, 1) both; }
.bd-form.js .bd-step.on.bd-anim.bd-back { animation-name: bd-side-back; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
