/* Official raster identity, verified against the supplied kit. No animated glow. */
:root {
  --bg: #f7f9fc; --panel2: #f0f4f9; --text: #142235; --muted: #536577; --muted2: #536577;
  --line: #dfe6ee; --line2: #c3cfdd; --line-strong: #c3cfdd;
  --accent: #174a77; --accent2: #174a77;
  --th-navy: #0b1728; --th-lifted: #132840; --th-silver: #d6e0ec;
  --th-gold: #e3b85c; --th-gold-ink: #805919;
  --ui-shadow: 0 4px 22px rgb(19 40 64 / 4%);
}
:focus-visible {outline-color: #174a77 !important;}
input[type=checkbox], input[type=radio] {accent-color: var(--accent);}
.tui-sidebar {
  background: var(--th-navy); color: var(--th-silver);
  border-inline-end: 1px solid #23364d;
}
.tui-sidebar :focus-visible {outline-color: var(--th-gold) !important;}
.tui-sidebar :is(.brand,.cw-brand,.sv-brand,.bl-brand) {gap: 10px; padding-inline: 4px;}
.tui-sidebar :is(.brand-mark,.sv-brand>b,.bl-brand>b),.auth-brand-panel .auth-mark {
  background: transparent; box-shadow: none; border-radius: 11px; width: 40px; height: 40px; flex: 0 0 40px;
}
.th-brand-icon {display: block; width: 40px; height: 40px; border-radius: 11px; object-fit: contain; flex-shrink: 0;}
.tui-sidebar :is(.brand-name,strong),.auth-brand-panel .brand-name strong {color: #f5f7fb;}
.tui-sidebar .th-wordmark-gold,.auth-brand-panel .th-wordmark-gold,.th-mobile-brand .th-wordmark-gold {color: var(--th-gold);}
.tui-sidebar :is(.brand-sub,.cw-brand small,.sv-brand small,.bl-brand small) {color: #aebed0;}
.tui-sidebar nav button {color: #bccbdc; transition: background .18s,border-color .18s,color .18s;}
.tui-sidebar nav button.active {
  background: #1b3049; border-color: #40516a; color: #fff;
  box-shadow: inset 3px 0 var(--th-gold);
}
[dir=rtl] .tui-sidebar nav button.active {box-shadow: inset -3px 0 var(--th-gold);}
.tui-sidebar nav button:hover:not(:disabled) {background: #1b3049; border-color: #536077;}
.tui-sidebar nav button:disabled {color: #94a6bd;}
.tui-sidebar :is(.soon,.sidebar-footer,.cw-side-note,.sv-core,.bl-core,.system-pill,.bl-core strong) {color: #aebed0;}
.tui-sidebar :is(.dot,.cw-dot,.bl-core-dot) {background: var(--th-gold);}
.tui-sidebar .th-auth-user {border-color: #34465d; color: var(--th-silver);}
.tui-sidebar .th-auth-user button,.ui-nav-close {background: #1b3049; border-color: #40516a; color: #e0e9f5;}
.tui-main :is(.primary-button,.supplier-primary,.cw-button.primary,.bl-primary,.bl-plan-action.primary),
.sv-main .sv-tender-actions .openTender,.auth-card .auth-primary,
.detail-drawer :is(.ai-button,.translation-button,.source-button) {
  background: #174a77; border-color: #174a77; color: #fff;
  box-shadow: 0 2px 5px rgb(19 40 64 / 10%);
  transition: background .18s,border-color .18s,box-shadow .18s;
}
.tui-main :is(.primary-button,.supplier-primary,.cw-button.primary,.bl-primary,.bl-plan-action.primary):hover:not(:disabled),
.auth-card .auth-primary:hover,.sv-main .sv-tender-actions .openTender:hover,
.detail-drawer :is(.ai-button,.translation-button,.source-button):hover:not(:disabled) {
  background: #123c62; border-color: #b28a41; box-shadow: 0 3px 12px rgb(167 123 42 / 14%);
}
.bl-main .bl-primary:disabled,.bl-main .bl-plan-action:disabled {background: #f0f4f8; color: #536577; border-color: #cbd5e1; box-shadow: none;}
.hero-strip,.awards-hero {
  background: linear-gradient(110deg,#eef3fa,#f9fafc 70%,#faf6ed);
  border-color: #d4deeb; border-block-start: 2px solid #d2b16b;
}
.eyebrow,.bl-eyebrow,.bl-kicker,.cw-kicker,.drawer-kicker,.sv-main .sv-section-kicker {color: #174a77;}
.hero-badge,.award-hero-badge {border-color: #d5dfeb; background: rgb(255 255 255 / 90%);}
.hero-badge strong,.award-hero-badge strong,.stat-card strong,.supplier-stats strong {color: #193a5b;}
.tab.active {color: #174a77; border-color: #174a77;}
.ui-density button[aria-pressed=true],.sv-main .sv-tab.active,.bl-main .bl-cycle button.active {color: #174a77;}
/* Monetary emphasis is independent of ranking. Unknown amounts stay neutral. */
.commercial-card-panel.has-value .contract-value strong,
.detail-drawer .value-spotlight-main.has-value strong,
.award-card .award-value-panel strong,.detail-drawer .award-spotlight-main>strong {
  color: var(--th-gold-ink);
  text-shadow: 0 0 12px rgb(227 184 92 / 26%),0 1px 2px rgb(227 184 92 / 16%);
}
.commercial-card-panel.has-value .contract-value,.detail-drawer .value-spotlight-main.has-value {
  background: linear-gradient(110deg,#fff9eb, #fffdf8);
  border: 1px solid #e9d8b6; border-radius: 10px; padding: 12px;
  box-shadow: 0 2px 12px rgb(197 151 61 / 6%);
}
.commercial-card-panel.no-value .contract-value strong,.detail-drawer .value-spotlight-main.no-value strong {
  color: var(--muted); text-shadow: none; font-size: 14px; line-height: 1.6;
}
.opportunity-card .commercial-card-panel {gap: 16px;}
.commercial-card-panel .contract-value strong {font-size: 25px;}
.premium-match-head strong {color: #174a77;}
.premium-match-track {background: #e8eef6; height: 5px; border-radius: 8px; overflow: visible;}
.premium-match-track i {
  background: linear-gradient(90deg,#386492,#6388ad); border-radius: inherit;
  box-shadow: 0 0 7px rgb(85 133 183 / 28%),1px 0 4px rgb(227 184 92 / 18%);
}
.opportunity-title button:hover {color: #174a77;}
.opportunity-card.premium-opportunity-card,.award-card,.supplier-main .supplier-card,.sv-main :is(.sv-card,.sv-tender-card),.bl-main .bl-plan {
  transition: border-color .18s,box-shadow .18s;
}
:is(.opportunity-card.premium-opportunity-card,.award-card,.supplier-main .supplier-card,.sv-main .sv-card,.sv-main .sv-tender-card,.bl-main .bl-plan):is(:hover,:focus-within) {
  border-color: #b99650; box-shadow: 0 5px 20px rgb(19 40 64 / 7%);
}
.detail-drawer :is(.value-spotlight-metric,.detail-field),.detail-drawer :is(.award-spotlight-main,.award-spotlight-secondary,.winner-card) {background: #f3f6fa; border-color: var(--line);}
.detail-drawer :is(strong,h4,summary),.detail-drawer .detail-section.collapsible>summary,.supplier-drawer :is(strong,h3) {color: #193a5b;}
.detail-drawer .value-spotlight-metric strong {color: #174a77;}
.cw-main :is(.cw-step,.cw-badge,.cw-chip),.sv-main .sv-note,
.supplier-main :is(.top-chip,.value-pill,.chip,.verified-toggle,.money-policy) {background: #f0f4f9; color: #34536f; border-color: #d4dfeb;}
.cw-main .cw-country code,.supplier-main :is(.top-rank,.top-wins,.value-label) {color: #34536f;}
.supplier-main .pro-kpis strong,.supplier-main .supplier-metric strong,.sv-main .sv-tender-meta>div:first-child strong {color: #193a5b;}
.supplier-main .value-block {background: #f3f6fa;}
.supplier-drawer .geo-bar i,.bl-main .bl-progress i {background: #5d80a5;}
.bl-main .bl-plan.featured {background: #f8fafd; border-color: #cbd8e8;}
.bl-main .bl-plan.current {border-color: #839db9;}
.bl-main .bl-price strong {color: #193a5b;}
.bl-main .bl-plan-badge {color: #174a77; background: #eaf1f9;}
/* Auth is the richer brand surface. The workspace remains light and quiet. */
.auth-bg,.auth-side {background: var(--bg);}
.auth-brand-panel {
  background: radial-gradient(ellipse at 95% 5%,#193655 0,transparent 58%),var(--th-navy);
  color: #f5f7fb;
}
.auth-brand-panel :is(.brand-name span,.brand-status,.auth-copy p,.auth-proof small,.brand-footer) {color: #bccbdc;}
.auth-brand-panel .brand-status {border-color: #40516a;}
.auth-brand-panel :is(.status-dot) {background: var(--th-gold);}
.auth-brand-panel .auth-kicker {color: var(--th-gold);}
.auth-brand-panel .source-strip span {background: #162d47; border-color: #40516a; color: var(--th-silver);}
.auth-proof .proof-icon {background: #1b3049; border-color: #5e573e; color: var(--th-gold);}
.auth-proof strong {color: #f5f7fb;}
.th-auth-emblem {display: block; width: 128px; height: 128px; border-radius: 28px; margin-block-end: 24px; box-shadow: 0 12px 36px #0003;}
.auth-copy {margin-block: 36px;}
.auth-copy h1 {font-size: clamp(32px,3.2vw,46px);}
.auth-card {box-shadow: 0 16px 50px rgb(19 40 64 / 7%);}
.auth-card :is(.auth-kicker,.auth-bottom,.auth-link,.auth-secondary) {color: #34536f;}
.auth-card .auth-tabs {background: #f0f4f9; border-color: var(--line);}
.auth-card .auth-tabs button {color: var(--muted);}
.auth-card .auth-tabs button.active {color: #174a77;}
.th-auth-mobile-brand {display: none;}
.th-mobile-masthead {display: none;}
@media(max-width:1023px) {
  .th-mobile-masthead {display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: var(--th-navy);}
  .th-mobile-brand {display: flex; align-items: center; gap: 10px; color: #f5f7fb; font-weight: 750; font-size: 17px; text-decoration: none; letter-spacing: -.025em; min-height: 44px;}
  .th-mobile-masthead :is(.menu-button,.ui-menu-button) {margin: 0; width: 44px; height: 44px; background: #1b3049; border: 1px solid #53657e; color: #fff;}
  .th-mobile-masthead :focus-visible {outline-color: var(--th-gold) !important;}
}
@media(max-width:767px) {
  .th-auth-mobile-brand {display: flex; align-items: center; gap: 12px; margin-block-end: 26px; font-size: 19px; color: #142235;}
  .th-auth-mobile-brand .th-wordmark-gold {color: var(--th-gold-ink);}
  .th-auth-emblem {display: none;}
  .auth-copy {margin: 0;}
  .commercial-card-panel.has-value .contract-value {padding: 10px;}
  .commercial-card-panel.has-value .contract-value strong {font-size: 23px; text-shadow: 0 0 7px rgb(227 184 92 / 15%);}
  .detail-drawer .value-spotlight-main.has-value strong {text-shadow: 0 0 7px rgb(227 184 92 / 15%);}
  .premium-match-track i {box-shadow: 0 0 5px rgb(85 133 183 / 20%);}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation: none !important; transition: none !important; scroll-behavior: auto !important;}
}
@media(forced-colors:active) {
  .premium-match-track {border: 1px solid CanvasText;}
  .premium-match-track i {background: Highlight; forced-color-adjust: none;}
  .commercial-card-panel.has-value .contract-value strong,.detail-drawer .value-spotlight-main.has-value strong {text-shadow: none;}
}
/* Legacy auth span styles also target the split wordmark. Keep it on one line. */
.auth-brand-panel .brand-name strong .th-wordmark-gold {display: inline; font: inherit; color: var(--th-gold); margin: 0;}
@media(max-width:1023px) {
  html {scroll-padding-top: 88px;}
  .th-mobile-masthead {position: sticky; top: 0; z-index: 30;}
}
/* Keep stacked company selection and its action separated on narrow saved pages. */
.sv-main .sv-company {gap: 12px;}
