/* GOVCLOUD INTELLIGENCE (2026-11-03): the federal panes. The ws-* shell from user.css carries the
   layout (head, strip, rail, main, the phone strip); everything under .gx re-colours it federal
   (navy, federal blue, seal gold) and adds what only these panes draw. Light first: most people
   run the panel light. */

.gx {
    --gx-navy: #0f2347; --gx-navy2: #17325f; --gx-blue: #2b5797; --gx-sky: #8fb3e8; --gx-gold: #c9a227;
    --gx-ok: #37c27a; --gx-warn: #e6a700; --gx-bad: #ff6b6b; --gx-info: #8fb3e8;
    --gx-line: rgba(143, 179, 232, .16); --gx-card: rgba(143, 179, 232, .045); --gx-card2: rgba(143, 179, 232, .08);
    --gx-text: var(--white, #fff); --gx-mute: var(--gray-light, #aeaeb2); --gx-accent: #8fb3e8;
    --gx-mono: var(--font-mono, ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace);
    position: relative;
}
html.light .gx {
    --gx-ok: #157a46; --gx-warn: #94660a; --gx-bad: #b3261e; --gx-info: #2b5797;
    --gx-line: rgba(15, 35, 71, .12); --gx-card: #fff; --gx-card2: #f4f7fc;
    --gx-text: #0d1b33; --gx-mute: #566176; --gx-accent: #2b5797;
}

/* ── the boundary band: always navy, in either theme ──────────────────── */
.gx-banner {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin: 0 0 18px; padding: 10px 14px 10px 10px; border-radius: 14px;
    background: linear-gradient(100deg, #0b1b38 0%, #13305c 55%, #1d4378 100%);
    border: 1px solid rgba(143, 179, 232, .28); color: #e6eefb;
    box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -30px rgba(9, 24, 52, .9);
    position: relative; overflow: hidden;
}
.gx-banner::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
    background: linear-gradient(90deg, #d42a2a 0 33%, #f5f7fb 33% 66%, #2b5797 66% 100%); opacity: .75;
}
.gx-banner > img { width: 38px; height: 38px; flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.gx-banner-t { display: flex; flex-direction: column; gap: 1px; margin-right: auto; min-width: 0; }
.gx-banner-t b { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.gx-banner-t span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #a9c2e8; }
.gx-banner-c { display: flex; gap: 6px; flex-wrap: wrap; }
.gx-bc {
    display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 100px; color: #dbe7f8;
    background: rgba(255,255,255,.07); border: 1px solid rgba(143, 179, 232, .25);
}
button.gx-bc { cursor: pointer; }
button.gx-bc:hover { background: rgba(255,255,255,.13); }
.gx-bc b { font-weight: 800; color: #fff; }
.gx-bc i { width: 7px; height: 7px; border-radius: 50%; background: #5bd69a; box-shadow: 0 0 0 3px rgba(91, 214, 154, .18); }
.gx-bc.is-bad i { background: #ff7b7b; box-shadow: 0 0 0 3px rgba(255, 123, 123, .2); }
.gx-bc .ws-i { width: 13px; height: 13px; }

/* ── the shell, re-coloured ───────────────────────────────────────────────
   `html .gx` and `html.light .gx` on purpose: user.css colours the shell red with
   `html.light .ws-*` rules, and these have to outrank them in both themes. */
html .gx .ws-eyebrow { color: var(--gx-accent); display: flex; align-items: center; gap: 7px; }
html .gx .ws-eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--gx-gold); border-radius: 2px; }
.gx .ws-head { border-bottom-color: var(--gx-line); }
.gx .ws-meta span.gx-id { font-family: var(--gx-mono); letter-spacing: .02em; }
.gx .ws-meta span.is-ok { color: var(--gx-ok); border-color: color-mix(in srgb, var(--gx-ok) 35%, transparent); }
.gx .ws-meta span.is-warn { color: var(--gx-warn); border-color: color-mix(in srgb, var(--gx-warn) 35%, transparent); }
.gx .ws-kpi::before { background: linear-gradient(90deg, var(--gx-sky), transparent 65%); }
html.light .gx .ws-kpi::before { background: linear-gradient(90deg, var(--gx-blue), transparent 65%); }
.gx .ws-kpi.is-warn::before { background: linear-gradient(90deg, #e0a03b, transparent 65%); }
html.light .gx .ws-kpi.is-warn::before { background: linear-gradient(90deg, #a8690f, transparent 65%); }
.gx .ws-kpi.is-busy b { opacity: .35; }
/* the active row keeps the panel's shape (a 2px bar and a tint), in federal blue */
html .gx .ws-nav.is-on { background: rgba(43, 87, 151, .26); border-color: transparent; box-shadow: inset 2px 0 0 var(--gx-sky); color: var(--white, #fff); }
html .gx .ws-nav.is-on .ws-i { color: var(--gx-sky); }
html.light .gx .ws-nav.is-on { background: rgba(43, 87, 151, .09); border-color: transparent; box-shadow: inset 2px 0 0 #2b5797; color: var(--black, #111); }
html.light .gx .ws-nav.is-on .ws-i { color: #2b5797; }
.gx .ws-nav .gx-jump { width: 13px; height: 13px; opacity: .6; }
html .gx .ws-dot { background: #e0a03b; }
html.light .gx .ws-dot { background: #b7791f; }
.gx-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gx-acts .ws-i { width: 14px; height: 14px; }
.gx-head-btn { padding: 10px 16px; font-size: 13px; border-radius: 11px; }
.gx-head-btn .ws-i { width: 15px; height: 15px; }

/* ── type, cards, sections ────────────────────────────────────────────── */
.gx-mod { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gx-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.gx-h h2 { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.015em; color: var(--gx-text); }
.gx-h p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--gx-mute); max-width: 78ch; }
.gx-card {
    border: 1px solid var(--gx-line); border-radius: 16px; padding: 16px 18px; min-width: 0;
    background: var(--gx-card); display: flex; flex-direction: column; gap: 12px;
}
html.light .gx-card { box-shadow: 0 1px 2px rgba(15, 35, 71, .04), 0 16px 34px -32px rgba(15, 35, 71, .45); }
.gx-card > h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--gx-text); }
.gx-card > h3 .ws-i { width: 15px; height: 15px; color: var(--gx-accent); }
.gx-card > h3 .gx-n { margin-left: auto; }
.gx-n { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 100px; background: var(--gx-card2); color: var(--gx-mute); font-variant-numeric: tabular-nums; }
.gx-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; align-items: start; }
.gx-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.gx-quiet { font-size: 12.5px; line-height: 1.55; color: var(--gx-mute); }
.gx-quiet a, .gx-link { color: var(--gx-accent); text-decoration: none; font-weight: 600; }
.gx-quiet a:hover, .gx-link:hover { text-decoration: underline; }
.gx-mono { font-family: var(--gx-mono); font-size: .94em; letter-spacing: .01em; }
.gx-note {
    display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.55; color: var(--gx-mute);
    padding: 10px 12px; border-radius: 12px; border: 1px solid var(--gx-line); background: var(--gx-card2);
}
.gx-note .ws-i { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: var(--gx-accent); }
.gx-note.is-warn { border-color: color-mix(in srgb, var(--gx-warn) 40%, transparent); }
.gx-note.is-warn .ws-i { color: var(--gx-warn); }
.gx-note.is-bad { border-color: color-mix(in srgb, var(--gx-bad) 40%, transparent); }
.gx-note.is-bad .ws-i { color: var(--gx-bad); }
.gx-note b { color: var(--gx-text); }
.gx-src { font-size: 11px; color: var(--gx-mute); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.gx-src .ws-i { width: 12px; height: 12px; }
.gx-empty { border: 1px dashed var(--gx-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.gx-empty h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--gx-text); }
.gx-empty p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--gx-mute); max-width: 68ch; }
.gx-spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gx-line); border-top-color: var(--gx-accent); animation: gx-spin .8s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes gx-spin { to { transform: rotate(360deg); } }
.gx-loading { padding: 22px; font-size: 12.5px; color: var(--gx-mute); }

/* chips and pills: one vocabulary */
.gx-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 100px; white-space: nowrap; color: var(--gx-mute); background: var(--gx-card2); border: 1px solid transparent; }
.gx-chip .ws-i { width: 11px; height: 11px; }
.gx-chip.is-ok { color: var(--gx-ok); background: color-mix(in srgb, var(--gx-ok) 13%, transparent); }
.gx-chip.is-check { color: var(--gx-warn); background: color-mix(in srgb, var(--gx-warn) 13%, transparent); }
.gx-chip.is-bad { color: var(--gx-bad); background: color-mix(in srgb, var(--gx-bad) 12%, transparent); }
.gx-chip.is-info { color: var(--gx-info); background: color-mix(in srgb, var(--gx-info) 13%, transparent); }
.gx-chip.is-gold { color: #9a7a12; background: rgba(201, 162, 39, .14); }
html:not(.light) .gx-chip.is-gold { color: #e3c766; }
.gx-chip.is-line { background: transparent; border-color: var(--gx-line); }

/* buttons inside the panes */
.gx-btn {
    display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 700;
    padding: 6px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap;
    border: 1px solid var(--gx-line); background: transparent; color: var(--gx-text);
}
.gx-btn:hover { border-color: var(--gx-accent); }
.gx-btn .ws-i { width: 13px; height: 13px; }
.gx-btn.is-primary { background: linear-gradient(180deg, #2f5fa5, #23497f); border-color: #1d3f70; color: #fff; }
.gx-btn.is-primary:hover { background: linear-gradient(180deg, #3769b3, #284f8a); }
.gx-btn.is-done { color: var(--gx-ok); border-color: color-mix(in srgb, var(--gx-ok) 40%, transparent); }
.gx-btn.is-danger:hover { border-color: var(--gx-bad); color: var(--gx-bad); }
.gx-btn[disabled] { opacity: .5; cursor: default; }
.gx-ib {
    width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--gx-mute); cursor: pointer; font: inherit;
}
.gx-ib .ws-i { width: 15px; height: 15px; }
.gx-ib:hover { border-color: var(--gx-line); color: var(--gx-text); }
.gx-ib.is-on { color: var(--gx-gold); }
.gx-ib.is-on .ws-i { fill: currentColor; }

/* ── the score ring ───────────────────────────────────────────────────── */
.gx-ring { position: relative; width: 48px; height: 48px; flex: 0 0 auto; }
.gx-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gx-ring circle { fill: none; stroke-width: 4.5; }
.gx-ring .bg { stroke: var(--gx-line); }
.gx-ring .fg { stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.2, .8, .2, 1); }
.gx-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 850; letter-spacing: -.03em; color: var(--gx-text); font-variant-numeric: tabular-nums; }
.gx-ring.is-lg { width: 74px; height: 74px; }
.gx-ring.is-lg b { font-size: 23px; }
.gx-ring.is-strong .fg { stroke: #2fa86a; } .gx-ring.is-good .fg { stroke: #3d7bd0; }
.gx-ring.is-possible .fg { stroke: #c9a227; } .gx-ring.is-weak .fg { stroke: #8a94a6; }
.gx-ring.is-out .fg { stroke: #b3261e; } .gx-ring.is-out b { color: var(--gx-mute); }
html:not(.light) .gx-ring.is-good .fg { stroke: #6fa0e6; }
.gx-band { font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.gx-band.is-strong { color: #2fa86a; } .gx-band.is-good { color: var(--gx-accent); } .gx-band.is-possible { color: #b18d1c; }
.gx-band.is-weak { color: var(--gx-mute); } .gx-band.is-out { color: var(--gx-bad); }

/* ── the feed ─────────────────────────────────────────────────────────── */
.gx-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--gx-line); background: var(--gx-card); }
.gx-sel, .gx-in {
    font: inherit; font-size: 12px; padding: 7px 10px; border-radius: 9px; min-width: 0;
    border: 1px solid var(--gx-line); background-color: transparent; color: var(--gx-text);
}
html.light .gx-sel, html.light .gx-in { background-color: #fff; }
.gx-sel option { color: #111; }
.gx-in.is-search { flex: 1 1 200px; }
.gx-in.is-mono { font-family: var(--gx-mono); text-transform: uppercase; letter-spacing: .04em; }
.gx-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--gx-card2); }
.gx-tab { font: inherit; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; border: 0; background: transparent; color: var(--gx-mute); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.gx-tab b { font-size: 10.5px; font-weight: 800; opacity: .75; font-variant-numeric: tabular-nums; }
.gx-tab.is-on { background: var(--gx-card); color: var(--gx-text); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
html:not(.light) .gx-tab.is-on { background: rgba(143, 179, 232, .16); }
.gx-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gx-mute); cursor: pointer; user-select: none; }
.gx-check input { accent-color: var(--gx-blue); }
.gx-meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--gx-mute); align-items: center; }
.gx-meta-line b { color: var(--gx-text); font-weight: 700; }

.gx-list { display: flex; flex-direction: column; gap: 8px; }
.gx-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
    padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gx-line); background: var(--gx-card);
    cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; outline: none;
    font: inherit; color: inherit; text-align: left; width: 100%;
}
.gx-row:hover, .gx-row:focus-visible { border-color: color-mix(in srgb, var(--gx-accent) 55%, transparent); transform: translateY(-1px); }
html.light .gx-row:hover { box-shadow: 0 10px 26px -20px rgba(15, 35, 71, .55); }
.gx-row.is-out { opacity: .72; }
.gx-row.is-dismissed { opacity: .5; }
.gx-row-m { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gx-row-t { font-size: 14px; font-weight: 750; color: var(--gx-text); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gx-row-s { font-size: 11.5px; color: var(--gx-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-row-c { display: flex; gap: 5px; flex-wrap: wrap; }
.gx-row-d { text-align: right; display: flex; flex-direction: column; gap: 1px; min-width: 76px; }
.gx-row-d b { font-size: 15px; font-weight: 850; color: var(--gx-text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.gx-row-d b.is-warn { color: var(--gx-warn); } .gx-row-d b.is-bad { color: var(--gx-bad); }
.gx-row-d small { font-size: 10.5px; color: var(--gx-mute); }
.gx-row-a { display: flex; gap: 2px; align-items: center; }
.gx-pager { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--gx-mute); padding: 6px 0; }

/* ── the notice drawer ────────────────────────────────────────────────── */
.gx-drawer-bg { position: fixed; inset: 0; z-index: 9000; background: rgba(5, 12, 26, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s ease; }
.gx-drawer-bg.is-in { opacity: 1; }
.gx-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 9001; width: min(640px, 100vw);
    display: flex; flex-direction: column; background: #0d1626; color: #eef3fb;
    border-left: 1px solid rgba(143, 179, 232, .22); box-shadow: -30px 0 60px -30px rgba(0,0,0,.6);
    transform: translateX(102%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}
html.light .gx-drawer { background: #fbfcfe; color: #0d1b33; border-left-color: rgba(15, 35, 71, .14); }
.gx-drawer.is-in { transform: none; }
.gx-drawer .gx { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.gx-dh { padding: 16px 18px 14px; border-bottom: 1px solid var(--gx-line); display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(180deg, rgba(43, 87, 151, .16), transparent); }
.gx-dh-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.gx-dh-k { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gx-accent); }
.gx-dh h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; color: var(--gx-text); }
.gx-db { flex: 1; overflow-y: auto; padding: 16px 18px 22px; display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.gx-df { padding: 12px 18px; border-top: 1px solid var(--gx-line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--gx-card2); }
.gx-df .gx-btn.is-primary { margin-left: auto; }
.gx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.gx-facts div { min-width: 0; }
.gx-facts dt { font-size: 9.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--gx-mute); margin-bottom: 2px; }
.gx-facts dd { margin: 0; font-size: 12.5px; color: var(--gx-text); line-height: 1.45; overflow-wrap: anywhere; }
.gx-facts .is-wide { grid-column: 1 / -1; }
.gx-sec-t { font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--gx-mute); margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.gx-sec-t::after { content: ""; flex: 1; height: 1px; background: var(--gx-line); }
.gx-parts { display: flex; flex-direction: column; gap: 9px; }
.gx-part { display: grid; grid-template-columns: 112px 1fr 46px; gap: 10px; align-items: center; }
.gx-part-l { font-size: 11.5px; font-weight: 700; color: var(--gx-text); }
.gx-part-b { height: 7px; border-radius: 4px; background: var(--gx-line); overflow: hidden; }
.gx-part-b i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2b5797, #6fa0e6); }
.gx-part-n { font-size: 11.5px; font-weight: 800; text-align: right; color: var(--gx-text); font-variant-numeric: tabular-nums; }
.gx-part-t { grid-column: 2 / 4; font-size: 11.5px; line-height: 1.45; color: var(--gx-mute); margin-top: -4px; }
.gx-reasons { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gx-reasons li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--gx-text); }
.gx-reasons .gx-mk { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.gx-reasons .gx-mk .ws-i { width: 11px; height: 11px; }
.gx-mk.is-ok { color: var(--gx-ok); background: color-mix(in srgb, var(--gx-ok) 15%, transparent); }
.gx-mk.is-bad { color: var(--gx-bad); background: color-mix(in srgb, var(--gx-bad) 14%, transparent); }
.gx-mk.is-check { color: var(--gx-warn); background: color-mix(in srgb, var(--gx-warn) 15%, transparent); }

/* bars: agencies, recipients */
.gx-bars { display: flex; flex-direction: column; gap: 8px; }
.gx-bars.is-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 9px 22px; margin-top: 12px; }
.gx-nums.is-wide { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gx-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: baseline; }
.gx-bar-n { font-size: 12.5px; font-weight: 650; color: var(--gx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-bar-n a { color: inherit; text-decoration: none; } .gx-bar-n a:hover { text-decoration: underline; }
.gx-bar-v { font-size: 12px; font-weight: 800; color: var(--gx-text); font-variant-numeric: tabular-nums; }
.gx-bar-b { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--gx-line); overflow: hidden; }
.gx-bar-b i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #23497f, #5b8fd6); }
.gx-bar small { grid-column: 1 / -1; font-size: 10.5px; color: var(--gx-mute); margin-top: -2px; }
.gx-bar-b i.is-warn { background: linear-gradient(90deg, #a8690f, #e0a03b); }
button.gx-bar { width: 100%; color: inherit; }
button.gx-rc { width: 100%; color: inherit; }
button.gx-rc:hover, button.gx-bar:hover .gx-bar-n { border-color: color-mix(in srgb, var(--gx-accent) 55%, transparent); }
.gx-fc .gx-form { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--gx-line); }
.gx-table td .gx-flags { margin-top: 6px; }
.gx-table input[type="checkbox"] { accent-color: var(--gx-blue); }

/* tables */
.gx-tablewrap { overflow-x: auto; border: 1px solid var(--gx-line); border-radius: 12px; background: var(--gx-card); }
.gx-table { width: 100%; border-collapse: collapse; font-size: 12.5px; color: var(--gx-text); }
.gx-table thead th { text-align: left; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-mute); padding: 9px 11px; border-bottom: 1px solid var(--gx-line); white-space: nowrap; background: var(--gx-card2); }
.gx-table td { padding: 9px 11px; border-bottom: 1px solid var(--gx-line); vertical-align: top; }
.gx-table tr:last-child td { border-bottom: 0; }
.gx-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gx-table small { display: block; font-size: 10.5px; color: var(--gx-mute); margin-top: 2px; }
.gx-table a { color: var(--gx-accent); text-decoration: none; font-weight: 600; }
.gx-table a:hover { text-decoration: underline; }
.gx-table tr.is-click { cursor: pointer; }
.gx-table tr.is-click:hover td { background: var(--gx-card2); }

/* ── recompete timeline ───────────────────────────────────────────────── */
.gx-rc { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gx-line); background: var(--gx-card); }
.gx-rc-d { display: flex; flex-direction: column; gap: 2px; }
.gx-rc-d b { font-size: 20px; font-weight: 850; letter-spacing: -.03em; color: var(--gx-text); font-variant-numeric: tabular-nums; line-height: 1; }
.gx-rc-d span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-mute); }
.gx-rc-d.is-soon b { color: var(--gx-warn); }
.gx-rc-m { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gx-rc-t { font-size: 13.5px; font-weight: 750; color: var(--gx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-rc-s { font-size: 11.5px; color: var(--gx-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gx-rc-a { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.gx-rc-a b { font-size: 14px; font-weight: 850; color: var(--gx-text); font-variant-numeric: tabular-nums; }
.gx-tl { height: 5px; border-radius: 3px; background: var(--gx-line); position: relative; margin-top: 2px; overflow: hidden; }
.gx-tl i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: linear-gradient(90deg, #c9a227, #e3c766); }

/* ── vehicles and forecasts ───────────────────────────────────────────── */
.gx-vh { display: flex; flex-direction: column; gap: 12px; }
.gx-vh-top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.gx-vh-t { font-size: 15px; font-weight: 800; color: var(--gx-text); letter-spacing: -.01em; }
.gx-vh-s { font-size: 11.5px; color: var(--gx-mute); margin-top: 3px; }
.gx-cap { position: relative; height: 12px; border-radius: 6px; background: var(--gx-line); overflow: visible; }
.gx-cap > i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; background: linear-gradient(90deg, #23497f, #5b8fd6); }
.gx-cap > i.is-warn { background: linear-gradient(90deg, #a8690f, #e0a03b); }
.gx-cap > em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--gx-gold); border-radius: 1px; }
.gx-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gx-nums div { display: flex; flex-direction: column; gap: 1px; }
.gx-nums span { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-mute); }
.gx-nums b { font-size: 15px; font-weight: 850; color: var(--gx-text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.gx-flags { display: flex; flex-direction: column; gap: 5px; }
.gx-flag { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--gx-text); }
.gx-flag::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; background: var(--gx-info); }
.gx-flag.is-warn::before { background: var(--gx-warn); } .gx-flag.is-bad::before { background: var(--gx-bad); }
.gx-q { display: flex; flex-direction: column; gap: 10px; }
.gx-q-h { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: var(--gx-mute); }
.gx-q-h b { font-size: 14px; font-weight: 850; color: var(--gx-text); letter-spacing: .02em; }
.gx-fc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--gx-line); background: var(--gx-card); }
.gx-fc.is-dropped { opacity: .55; }
.gx-fc-t { font-size: 14px; font-weight: 780; color: var(--gx-text); }
.gx-fc-s { font-size: 11.5px; color: var(--gx-mute); margin-top: 3px; }
.gx-fc-v { text-align: right; }
.gx-fc-v b { display: block; font-size: 15px; font-weight: 850; color: var(--gx-text); font-variant-numeric: tabular-nums; }
.gx-fc-v small { font-size: 10.5px; color: var(--gx-mute); }
.gx-fc-c, .gx-fc-a { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.gx-fc-a { justify-content: flex-end; }

/* ── readiness and the profile editor ─────────────────────────────────── */
.gx-ready { display: flex; flex-direction: column; gap: 12px; }
.gx-ready-b { height: 8px; border-radius: 4px; background: var(--gx-line); overflow: hidden; }
.gx-ready-b i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c9a227, #2fa86a); transition: width .5s ease; }
.gx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.gx-step { display: flex; gap: 9px; align-items: flex-start; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--gx-line); background: var(--gx-card2); }
.gx-step .gx-mk { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1.5px solid var(--gx-line); color: var(--gx-mute); }
.gx-step .gx-mk .ws-i { width: 11px; height: 11px; }
.gx-step.is-done .gx-mk { border-color: transparent; color: #fff; background: #2fa86a; }
.gx-step b { display: block; font-size: 12px; color: var(--gx-text); }
.gx-step small { display: block; font-size: 10.5px; line-height: 1.4; color: var(--gx-mute); margin-top: 2px; }

.gx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.gx-form label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gx-form label > span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-mute); }
.gx-form label > small { font-size: 10.5px; line-height: 1.4; color: var(--gx-mute); }
.gx-form .is-wide { grid-column: 1 / -1; }
.gx-form .gx-in, .gx-form .gx-sel { width: 100%; padding: 9px 11px; font-size: 13px; }
.gx-form textarea.gx-in { resize: vertical; min-height: 64px; font-family: inherit; }
.gx-inline { display: flex; gap: 8px; }
.gx-inline .gx-in { flex: 1; }
.gx-seg { display: inline-flex; border: 1px solid var(--gx-line); border-radius: 8px; overflow: hidden; }
.gx-seg button { font: inherit; font-size: 11px; font-weight: 700; padding: 4px 9px; border: 0; background: transparent; color: var(--gx-mute); cursor: pointer; }
.gx-seg button + button { border-left: 1px solid var(--gx-line); }
.gx-seg button.is-on { background: var(--gx-blue); color: #fff; }
.gx-seg button.is-on.is-no { background: #6b7385; }
.gx-seg button.is-on.is-unset { background: var(--gx-card2); color: var(--gx-warn); }
.gx-certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.gx-cert { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--gx-line); background: var(--gx-card); cursor: pointer; text-align: left; font: inherit; color: var(--gx-text); }
.gx-cert:hover { border-color: var(--gx-accent); }
.gx-cert .gx-box { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--gx-line); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; color: transparent; }
.gx-cert .gx-box .ws-i { width: 12px; height: 12px; }
.gx-cert.is-on { border-color: color-mix(in srgb, var(--gx-blue) 60%, transparent); background: color-mix(in srgb, var(--gx-blue) 9%, var(--gx-card)); }
.gx-cert.is-on .gx-box { background: var(--gx-blue); border-color: var(--gx-blue); color: #fff; }
.gx-cert b { display: block; font-size: 12.5px; }
.gx-cert small { display: block; font-size: 10.5px; line-height: 1.35; color: var(--gx-mute); margin-top: 1px; }
.gx-savebar {
    position: sticky; bottom: 12px; z-index: 3; display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap;
    padding: 10px 12px; border-radius: 14px; border: 1px solid var(--gx-line);
    background: color-mix(in srgb, var(--gx-card) 88%, transparent); backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -26px rgba(9, 24, 52, .6);
}
.gx-savebar .gx-quiet { margin-right: auto; }
.gx-savebar.is-dirty { border-color: color-mix(in srgb, var(--gx-gold) 55%, transparent); }

/* ── audit trail ──────────────────────────────────────────────────────── */
.gx-verify { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gx-ok) 40%, transparent); background: color-mix(in srgb, var(--gx-ok) 7%, var(--gx-card)); }
.gx-verify.is-bad { border-color: color-mix(in srgb, var(--gx-bad) 45%, transparent); background: color-mix(in srgb, var(--gx-bad) 7%, var(--gx-card)); }
.gx-verify.is-busy { border-color: var(--gx-line); background: var(--gx-card); }
.gx-verify-i { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #2fa86a; flex: 0 0 auto; }
.gx-verify.is-bad .gx-verify-i { background: #b3261e; }
.gx-verify.is-busy .gx-verify-i { background: var(--gx-card2); color: var(--gx-mute); }
.gx-verify-i .ws-i { width: 20px; height: 20px; }
.gx-verify-m { flex: 1; min-width: 200px; }
.gx-verify-m b { display: block; font-size: 14px; color: var(--gx-text); }
.gx-verify-m span { font-size: 11.5px; color: var(--gx-mute); }
.gx-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.gx-ctl { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--gx-line); background: var(--gx-card); }
.gx-ctl b { font-family: var(--gx-mono); font-size: 11.5px; color: var(--gx-accent); }
.gx-ctl span { display: block; font-size: 12px; font-weight: 700; color: var(--gx-text); margin-top: 2px; }
.gx-ctl small { display: block; font-size: 10.5px; line-height: 1.4; color: var(--gx-mute); margin-top: 3px; }
.gx-diff { display: grid; grid-template-columns: minmax(90px, auto) 1fr 1fr; gap: 4px 10px; font-size: 11.5px; margin-top: 8px; }
.gx-diff span { color: var(--gx-mute); }
.gx-diff s { color: var(--gx-bad); text-decoration: line-through; overflow-wrap: anywhere; }
.gx-diff ins { color: var(--gx-ok); text-decoration: none; overflow-wrap: anywhere; }
.gx-hash { font-family: var(--gx-mono); font-size: 10.5px; color: var(--gx-mute); overflow-wrap: anywhere; margin-top: 6px; }

/* ── the commercial side: where to find this ──────────────────────────── */
.gx-elsewhere {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 44px 26px; border-radius: 22px;
    background: radial-gradient(120% 90% at 50% 0%, rgba(43, 87, 151, .3), transparent 70%), linear-gradient(180deg, #0c1a33, #0a1427);
    border: 1px solid rgba(143, 179, 232, .25); color: #e8effa;
}
.gx-elsewhere img { width: 112px; height: 112px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.45)); }
.gx-elsewhere h2 { margin: 4px 0 0; font-size: 24px; font-weight: 850; letter-spacing: -.02em; color: #fff; }
.gx-elsewhere p { margin: 0; max-width: 62ch; font-size: 13.5px; line-height: 1.65; color: #b8c9e4; }
.gx-elsewhere .gx-elsewhere-l { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 6px 0 4px; }
.gx-elsewhere .gx-btn.is-primary { padding: 10px 18px; font-size: 13px; text-decoration: none; }

/* ── phones and tablets ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .gx .ws-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .gx-banner { padding: 9px 10px; }
    .gx-banner-c { width: 100%; }
    .gx .ws-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gx-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
    .gx-row-d { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; min-width: 0; }
    .gx-row-a { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid var(--gx-line); padding-top: 6px; }
    .gx-rc { grid-template-columns: 70px minmax(0, 1fr); }
    .gx-rc-a { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .gx-form { grid-template-columns: 1fr; }
    .gx-facts { grid-template-columns: 1fr; }
    .gx-part { grid-template-columns: 92px 1fr 40px; }
    .gx-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gx-fc { grid-template-columns: 1fr; }
    .gx-fc-v { text-align: left; }
    .gx-filters .gx-sel { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) {
    .gx-row, .gx-drawer, .gx-drawer-bg, .gx-ring .fg, .gx-ready-b i { transition: none; }
    .gx-spin { animation: none; }
}

/* ── SECTIONS A TO E (2026-11-16): the flow, the stat, the due chip, the row actions ── */
.gx-flowcard h3 { display: flex; align-items: center; gap: 8px; }
.gx-flow-sub { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--gx-mute); }
.gx-flow { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--gx-flow-n, 7), minmax(0, 1fr)); gap: 0; }
.gx-flow.is-cont { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--gx-line); }
.gx-flow-s { position: relative; padding: 0 4px; }
.gx-flow-s::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 2px; background: var(--gx-line); z-index: 0; }
.gx-flow-s:first-child::before { display: none; }
.gx-flow-s.is-ok::before, .gx-flow-s.is-warn::before, .gx-flow-s.is-bad::before { background: color-mix(in srgb, var(--gx-accent) 45%, transparent); }
.gx-flow-s button { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 2px 8px; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: center; border-radius: 10px; }
.gx-flow-s button:hover .gx-flow-t b, .gx-flow-s button:focus-visible .gx-flow-t b { color: var(--gx-accent); }
.gx-flow-s button:focus-visible { outline: 2px solid var(--gx-accent); outline-offset: 2px; }
.gx-flow-n { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; color: var(--gx-mute); background: var(--gx-card2); border: 1.5px solid var(--gx-line); }
.gx-flow-n .ws-i { width: 15px; height: 15px; }
.gx-flow-s.is-ok .gx-flow-n { color: #fff; background: var(--gx-ok); border-color: transparent; }
.gx-flow-s.is-warn .gx-flow-n { color: #1b1300; background: var(--gx-warn); border-color: transparent; }
.gx-flow-s.is-bad .gx-flow-n { color: #fff; background: var(--gx-bad); border-color: transparent; }
.gx-flow-s.is-na .gx-flow-n { opacity: .55; }
.gx-flow-t b { display: block; font-size: 12px; line-height: 1.3; font-weight: 750; color: var(--gx-text); }
.gx-flow-t small { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.35; color: var(--gx-mute); }
.gx-flow-c { font-style: normal; font-size: 10.5px; font-weight: 750; padding: 1px 7px; border-radius: 999px; color: var(--gx-accent); background: color-mix(in srgb, var(--gx-accent) 12%, transparent); }
.gx-flow-s.is-bad .gx-flow-c { color: var(--gx-bad); background: color-mix(in srgb, var(--gx-bad) 12%, transparent); }
.gx-flow-s.is-warn .gx-flow-c { color: var(--gx-warn); background: color-mix(in srgb, var(--gx-warn) 13%, transparent); }
.gx-stat { gap: 3px; }
.gx-stat b { font-size: 26px; font-weight: 850; letter-spacing: -.02em; color: var(--gx-text); line-height: 1.1; }
.gx-stat small { font-size: 11px; color: var(--gx-mute); }
.gx-stat.is-bad b { color: var(--gx-bad); }
.gx-stat.is-warn b { color: var(--gx-warn); }
.gx-stat.is-ok b { color: var(--gx-ok); }
.gx-due { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 0 6px; border-radius: 999px; color: var(--gx-mute); background: var(--gx-card2); white-space: nowrap; }
.gx-due.is-warn { color: var(--gx-warn); background: color-mix(in srgb, var(--gx-warn) 13%, transparent); }
.gx-due.is-bad { color: var(--gx-bad); background: color-mix(in srgb, var(--gx-bad) 12%, transparent); }
.gx-table td.gx-row-act { white-space: nowrap; text-align: right; width: 1%; }
@media (max-width: 720px) {
    .gx-flow { grid-template-columns: 1fr; gap: 6px; }
    .gx-flow-s::before { display: none; }
    .gx-flow-s button { flex-direction: row; text-align: left; padding: 4px 2px; }
    .gx-flow-c { margin-left: auto; }
}