/* F1 additions reuse the existing brand, native dialogs and page layouts. */
.op-country { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.op-country .flag-icon { width: 17px; height: 12px; border-radius: 1px; }
.op-compact > a { display: block; min-height: 0; margin: 0; padding: 12px 0; border-radius: 0; }
.op-compact:nth-child(even) > a { background: transparent; }
.op-compact + .op-compact { border-top: 1px solid var(--line); }
.op-compact-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.op-compact .tender-title { font-size: 13px; font-weight: 500; line-height: 1.55; min-height: 40px; }
.op-buyer { display: block; min-width: 0; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-compact .op-buyer { margin-top: 4px; }
.op-compact-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; }
.op-compact-bottom .tender-amount { font-size: 12px; font-weight: 500; }
.op-compact-bottom .tender-date { font-size: 10px; }
.op-related-reason { color: var(--gold-ink); }
.op-not-found { padding: 90px 0; }
.op-not-found h1 { font-size: 30px; }
.op-not-found p { margin: 14px 0 25px; color: var(--muted); }

/* Home: broad brand rhythm around a compact opportunity board. */
.home-page .hero { padding-top: 46px; }
.home-page .hero-layout { grid-template-columns: minmax(0,1fr) 304px; gap: 58px; align-items: start; }
.home-page .hero-copy { padding-top: 17px; }
.home-page .hero-subtitle { font-size: 17px; line-height: 1.9; }
.home-page .hero-search { margin-top: 25px; }
.home-page .hero-search input { font-size: 13px; }
.home-page .hero-search button { padding-inline: 18px; font-size: 13px; gap: 12px; }
.home-page .hero-stats { margin-top: 28px; }
.home-page .hero-stats dd { font-size: 24px; }
.market-rail { padding: 20px 22px; }
.market-rail-note { margin: 1px 0 12px; font-size: 10px; color: var(--muted); }
.market-rail .op-compact > a { padding: 11px 0; }
.market-rail .op-compact .tender-title { min-height: 0; -webkit-line-clamp: 1; font-size: 12px; }
.market-rail .op-compact .op-buyer { display: none; }
.market-rail .op-compact-bottom { margin-top: 5px; }
.market-rail .rail-trial { margin-top: 10px; }
.home-page .partner-row { margin-top: 25px; padding-bottom: 30px; }
.partner-row > p small { font-size: 10px; letter-spacing: 0; color: var(--muted); }
.buyer-wordmark { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 142px; height: 50px; }
.buyer-wordmark strong { font: 600 21px/1.3 Georgia, "Times New Roman", serif; letter-spacing: -.04em; color: var(--text-secondary); white-space: nowrap; }
.buyer-wordmark small { font-size: 9px; color: var(--muted); margin-top: 2px; }
.buyer-wordmark:hover strong { color: var(--accent); }
.home-page .tenders-section { padding-block: 42px; }
.home-page .tenders-nav-bar { margin-bottom: 22px; }
.board-data-note { margin-top: 9px; color: var(--muted); font-size: 11px; }
.home-page .tenders-carousel-track { gap: 20px; }
.home-page .tender-group { flex-basis: calc((100vw - max(40px, (100vw - var(--content-width)) / 2) - 110px - 60px) / 3); padding: 18px 20px 10px; border-radius: 7px; box-shadow: none; }
.home-page .tender-group-header { margin-bottom: 8px; }
.home-page .tender-group-header h2 { font-size: 16px; }
.home-page .tender-list-labels { display: none; }
.section-subtitle { margin-top: 12px; font-size: 13px; color: var(--muted); }
.industry-count { display: block; margin-top: 10px; font-size: 11px; color: var(--gold-ink); }
.home-page .category-grid { gap: 8px 20px; }
.home-page .category-card { padding: 17px 8px; min-height: 118px; }
.home-page .categories-section { padding-bottom: 40px; }
.home-page .browse-section { padding-top: 35px; }
.home-page .browse-grid { gap: 34px 36px; }
.browse-question { margin-bottom: 7px; color: var(--gold-ink); font-size: 10px; }
.home-page .browse-card-heading { padding-inline: 10px; }
.home-page .browse-card-heading h3 { font-size: 14px; }
.home-page .browse-card-heading > i { font-size: 12px; width: 14px; }
.home-page .browse-more { font-size: 11px; }
.home-page .browse-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
.home-page .browse-list a { font-size: 12px; }
















.final-search-section { background: var(--soft); text-align: center; padding-block: 64px; }
.final-search-section h2 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.final-search-section h2 + p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.final-search-section .hero-search { max-width: 800px; margin: 26px auto 0; }
.final-search-section .hero-search-row { background: white; }
.modal-legal button { border: 0; padding: 0; color: var(--accent); background: transparent; font: inherit; }

/* Discovery: the same search and filters stay available while browsing. */
.search-page .workbench { width: min(1496px,calc(100% - 64px)); padding-top: 8px; }
.search-page .workbench-heading { margin-top: 6px; }
.search-page .workbench-heading h1 { font-size: 25px; }
.search-page .workbench-heading p { margin-top: 4px; font-size: 12px; }
.discovery-sticky { position: sticky; top: var(--header-height); z-index: 25; padding-top: 0; margin-bottom: 12px; background: rgb(255 255 255 / 98%); }
.search-page .workbench-search { margin-top: 0; gap: 12px; padding: 4px 4px 4px 16px; border-radius: 6px; }
.search-page .workbench-search input { min-height: 40px; font-size: 14px; }
.search-page .workbench-search > button { min-height: 40px; font-size: 13px; padding-inline: 23px; }
/* One set of native controls, restyled as consistent label/value fields. */
.search-page .quick-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) 128px; align-items:stretch; gap:10px; padding:13px 0 15px; }
.search-page .quick-filter-field { display:flex; flex-direction:column; justify-content:center; gap:3px; min-width:0; min-height:61px; padding:8px 12px; border-radius:6px; background:#f5f5f1; cursor:pointer; transition:background-color 140ms ease; }
.search-page .quick-filter-field:hover { background:#efefea; }
.search-page .quick-filter-label { color:var(--muted); font-size:10px; line-height:1.5; }
.search-page .quick-filter-field select { width:100%; min-width:0; max-width:none; height:25px; margin:0; padding:0 20px 0 0; border:0; border-radius:0; background:transparent; color:var(--ink); font:500 13px/1.5 var(--font); cursor:pointer; outline:none; }
.search-page .quick-filter-field:focus-within { outline:2px solid var(--accent); outline-offset:2px; }
.search-page .quick-filter-field.is-selected { background:rgb(var(--accent-rgb) / 6%); }
.search-page .quick-filter-field.is-selected .quick-filter-label, .search-page .quick-filter-field.is-selected select { color:var(--accent); }
.search-page #toggleFilters { display:flex; align-items:center; justify-content:center; gap:8px; min-height:61px; margin:0; padding:10px 12px; border:0; border-radius:6px; background:rgb(var(--accent-rgb) / 6%); color:var(--accent); font-size:12px; white-space:nowrap; }
.search-page #toggleFilters:hover, .search-page #toggleFilters[aria-expanded="true"] { background:rgb(var(--accent-rgb) / 10%); }
.search-page #mobileFilterCount:empty { display:none; }
.search-page #mobileFilterCount:not(:empty) { display:inline-grid; place-items:center; min-width:18px; height:18px; padding-inline:4px; border-radius:9px; background:var(--accent); color:white; font-size:10px; }
.discovery-sticky.is-compact { box-shadow:0 5px 8px -7px rgb(0 0 0 / 25%); }
@media(max-width:1023px) {
  .search-page .quick-filters { grid-template-columns:repeat(2,minmax(0,1fr)) 120px; }
  #mobileQuickFiltersSlot { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
  .search-page #mobileQuickFiltersSlot .quick-filter-field select { font-size:14px; }
}
@media(max-width:600px) {
  .search-page .quick-filters { grid-template-columns:repeat(2,minmax(0,1fr)) 84px; gap:8px; padding:12px 0; }
  .search-page .quick-filter-field { min-height:60px; padding:8px 10px; }
  .search-page .quick-filter-field select { font-size:12px; }
  .search-page #toggleFilters { position:relative; flex-direction:column; gap:6px; min-height:60px; padding:8px 5px; font-size:11px; }
  .search-page #mobileFilterCount:not(:empty) { position:absolute; top:4px; right:5px; }
  #mobileQuickFiltersSlot { grid-template-columns:1fr; }
  .search-page #mobileQuickFiltersSlot .quick-filter-field select { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .search-page .quick-filter-field { transition:none; } }
.search-page .workbench-layout { grid-template-columns: 218px minmax(0,1fr); gap: 28px; }
.search-page .workbench-layout.filters-collapsed { grid-template-columns: minmax(0,1fr); }
.filters-collapsed .workbench-sidebar { display: none; }
.search-page .workbench-sidebar { top: calc(var(--header-height) + var(--discovery-toolbar-height,112px) + 12px); max-height: calc(100dvh - var(--header-height) - var(--discovery-toolbar-height,112px) - 26px); border-radius: 5px; }
.search-page .workbench-filter-content { padding: 16px; }
.search-page .workbench-filter-heading { margin-bottom: 0; }
.search-page .workbench-filter-field { margin-top: 15px; }
.search-page .workbench-filter-field > label { margin-bottom: 6px; color: var(--text-secondary); }
.search-page .workbench-filter-field select { height: 34px; }
.search-page .workbench-results-toolbar { scroll-margin-top: calc(var(--discovery-toolbar-height,112px) + 12px); }
.search-page .workbench-views button { min-height: 43px; font-size: 14px; }
.result-scope { font-size: 10px; color: var(--muted); }
.search-page .workbench-result-summary { min-height: 46px; }
.result-sort-controls { display: flex; align-items: center; gap: 10px; }
.search-page .workbench-active-filters { padding-top: 10px; }
.search-page .workbench-result { display: grid; grid-template-columns: minmax(0,1fr) 245px 32px; column-gap: 15px; padding: 9px 8px 8px; margin-inline: -8px; min-height: 106px; }
.search-page .workbench-result:hover { background: #fafaf8; }
.search-page .workbench-result-meta { gap: 5px 12px; font-size: 10px; flex-wrap: nowrap; min-width: 0; }
.op-published { margin-left: auto; }
.op-fact-tag { color: var(--gold-ink); white-space: nowrap; }
.search-page .workbench-result h2 { font-size: 15px; line-height: 1.5; margin-top: 4px; font-weight: 500; }
.search-page .workbench-result-title { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.op-topics { font-size: 11px; color: var(--text-secondary); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-page .workbench-result-bottom { display: flex; flex-wrap: nowrap; margin-top: 2px; gap: 12px; }
.search-page .workbench-result-open { flex-shrink: 0; font-size: 10px; min-height: 22px; }
.search-page .workbench-result-numbers { display: grid; grid-template-columns: 95px 1fr; align-content: center; column-gap: 18px; row-gap: 0; padding: 0; margin: 0; background: transparent; text-align: right; }
.search-page .workbench-result-numbers dd { font-size: 13px; margin-top: 4px; }
.search-page .workbench-result-numbers > div { display: block; }
.search-page .workbench-result-numbers > div:first-child dd { color: var(--accent); }
.workbench-result-numbers small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.search-page .workbench-favorite { align-self: center; position: static; width: 32px; height: 36px; font-size: 14px; }
.sort-note { margin: 0 0 12px; font-size: 11px; color: var(--muted); }
.pagination-total { font-size: 11px; color: var(--muted); margin-left: 10px; }
.search-page .workbench-empty { padding: 40px 15px; }
.search-page .workbench-empty h2 { margin-top: 0; }
.search-page .workbench-empty .relax-suggestion { display: block; padding: 10px 15px; margin: 12px auto 0; font-size: 12px; min-height: 40px; }
.empty-related { text-align: left; margin-top: 32px; }
.empty-related > h3 { font-size: 16px; font-weight: 500; }
.empty-related > a { display: inline-block; margin: 15px 20px 0 0; color: var(--accent); font-size: 13px; }
.empty-related .op-compact .tender-title { min-height: 0; }
.empty-related .op-compact .op-buyer { margin-top: 3px; }
.empty-related > p { margin-bottom: 16px; }
#subscriptions, [id$="Filter"] { scroll-margin-top: calc(var(--header-height) + var(--discovery-toolbar-height,112px) + 24px); }

/* Local action dialogs. Native dialog supplies keyboard isolation. */









.action-modal { width: min(520px,calc(100% - 32px)); max-width: 100%; max-height: calc(100dvh - 32px); border-radius: 12px; }
.action-modal .modal-card { padding: 26px; }
.action-modal .modal-header h2 { font-size: 21px; }
.action-lead { margin-top: 6px; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.action-note { font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 12px; }
.subscription-criteria { padding: 15px; margin-top: 20px; border-radius: 5px; font-size: 14px; background: var(--soft); overflow-wrap: anywhere; }
.action-fields { display: grid; gap: 16px; margin-top: 18px; }
.action-fields label { display: grid; gap: 7px; font-size: 12px; color: var(--text-secondary); }
.action-fields input, .action-fields textarea, .action-fields select, input#shareLink { display: block; width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid var(--control-line); border-radius: 5px; color: var(--ink); background: white; font-size: 14px; }
.action-fields textarea { resize: vertical; }
.action-checks { border: 0; padding: 0; margin: 22px 0 14px; display: grid; gap: 12px; }
.action-checks legend { margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 500; }
.action-checks label, .action-check { display: flex; align-items: center; gap: 9px; min-height: 28px; font-size: 12px; }
.action-checks input, .action-check input { accent-color: var(--accent); }
.action-checks label:has(input:disabled) { color: var(--muted); }
.action-form-buttons { display: flex; gap: 10px; margin-top: 22px; }
.action-form-buttons .detail-button { flex: 1; border: 0; min-height: 44px; padding: 10px 12px; }
.action-form-buttons .detail-button--secondary { background: var(--soft); }
.action-feedback { padding: 12px 14px; margin-top: 16px; border-left: 2px solid var(--gold); background: var(--soft); color: var(--text-secondary); font-size: 12px; }
.action-delete { display: block; min-height: 36px; margin-top: 12px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
/* The common action buttons must also work on the homepage and search page. */
.action-modal .detail-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font: 500 13px/1.6 var(--font); }
.action-modal .detail-button--primary { background: var(--accent); color: white; }

/* Opportunity detail: extend the original article, timeline and action rail. */
.detail-page .detail-main { padding-top: 15px; }
.detail-page .detail-layout { margin-top: 18px; }
.detail-page .detail-snapshot { margin: 10px 0 24px; font-size: 11px; }
.personalized-context { padding: 11px 15px; margin-top: 16px; background: var(--soft); color: var(--text-secondary); font-size: 12px; overflow-wrap: anywhere; }
.detail-page .detail-hero h1 { font-size: clamp(27px,2.5vw,34px); margin-top: 16px; }
.detail-rail-actions button { min-height: 32px; padding: 0; border: 0; color: var(--text-secondary); background: transparent; font-size: 12px; }
.detail-rail-actions button[aria-pressed="true"] { color: var(--accent); }
.detail-page .detail-facts { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 16px 0 22px; padding: 18px 20px; gap: 18px 20px; }
.detail-page .detail-facts dt { font-size: 11px; margin-bottom: 5px; }
.detail-page .detail-facts dd { font-size: 14px; overflow-wrap: anywhere; }
.detail-page .detail-facts dd small { margin-top: 3px; font-size: 10px; }
.opportunity-fit { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 70px); }
.opportunity-fit > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.opportunity-fit h2 { font-size: 22px; font-weight: 600; }
.opportunity-fit .section-kicker { margin-bottom: 4px; }
.opportunity-fit header > span { color: var(--muted); font-size: 11px; }
.opportunity-fit > a { display: inline-flex; align-items: center; min-height: 40px; margin-top: 12px; font-size: 12px; color: var(--accent); gap: 12px; }
.detail-page .detail-action-panel { padding: 23px; }
.detail-rail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.detail-rail-actions button { min-height: 40px; background: white; border-radius: 5px; }
.detail-track-button { width: 100%; min-height: 42px; margin-top: 9px; border: 0; border-radius: 5px; background: white; font-size: 13px; color: var(--accent); }
.detail-rail-note { margin-top: 10px; font-size: 10px; color: var(--muted); }

.company-fit-slot { padding: 23px 8px; border-bottom: 1px solid var(--line); }
.company-fit-slot h2 { font-size: 14px; font-weight: 500; }
.company-fit-slot p { margin: 8px 0 13px; font-size: 12px; color: var(--muted); }
.company-fit-slot button { width: 100%; min-height: 44px; text-align: left; padding: 10px 13px; border: 0; border-radius: 5px; background: rgb(var(--accent-rgb) / 6%); color: var(--accent); font-size: 12px; }
.company-fit-slot small { display: block; margin-top: 10px; font-size: 10px; color: var(--muted); }
.detail-documents li > div { min-width: 0; }
.detail-documents small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.detail-documents li > a { margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.related-opportunities .op-compact > a { display: grid; grid-template-columns: minmax(0,1fr) 150px; gap: 5px 18px; }
.related-opportunities .op-compact-meta { grid-column: 1 / -1; margin: 0; }
.related-opportunities .tender-title { min-height: 0; grid-column: 1; font-size: 14px; }
.related-opportunities .op-buyer { grid-column: 1; margin: 0; }
.related-opportunities .op-compact-bottom { grid-column: 2; grid-row: 2 / span 2; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; margin: 0; }
.detail-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; padding: 20px 0 0; font-size: 12px; color: var(--muted); }
.detail-feedback button { min-height: 36px; border: 0; padding: 0; background: transparent; color: var(--accent); font-size: 12px; }
.detail-feedback small { margin-left: auto; font-size: 10px; }

@media (min-width:1600px) {
  .home-page .tender-group { flex-basis: 385px; }
}
@media (max-width:1200px) {
  .home-page .hero-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 30px; }
  .home-page .hero-copy h1 { font-size: 39px; }
  .home-page .tender-group { flex-basis: calc((100vw - 200px) / 2.4); }
  .search-page .workbench-layout { grid-template-columns: 195px minmax(0,1fr); gap: 23px; }
  .search-page .workbench-result { grid-template-columns: minmax(0,1fr) 195px 28px; column-gap: 12px; }
  .search-page .workbench-result-numbers { grid-template-columns: 76px 1fr; column-gap: 10px; }
  .op-published { display: none; }
}
@media (max-width:1023px) {
  .home-page .hero-layout { gap: 24px; }
  .home-page .hero-subtitle { font-size: 15px; }
  .home-page .hero-stats dd { font-size: 21px; }
  .home-page .tender-group { flex-basis: calc((100vw - 180px) / 2); }
  .search-page .workbench { width: calc(100% - 48px); }
  .search-page .workbench-layout { display: block; }
  .search-page .workbench-filters-modal .workbench-filter-field select { height: 44px; }
  .detail-mobile-action-slot .detail-action-panel { display: block; }
  .detail-mobile-action-slot .detail-due-date { display: inline-block; margin-right: 20px; }
  .detail-mobile-action-slot .detail-rail-actions { display: inline-grid; width: calc(50% - 6px); vertical-align: top; margin-top: 10px; }
  .detail-mobile-action-slot .detail-track-button { display: inline-block; width: calc(50% - 7px); margin-left: 8px; margin-top: 10px; }
  .detail-page .detail-mobile-action-slot .detail-button { display: inline-flex; width: calc(50% - 7px); margin: 12px 0 0; padding: 10px 16px; }
  .detail-page .detail-mobile-action-slot .detail-button--secondary { margin-left: 8px; }

  .company-fit-slot { padding: 15px 0 24px; margin-bottom: 24px; }
  .company-fit-slot button { width: auto; }
}
@media (max-width:760px) {
  .home-page .hero { padding-top: 26px; }
  .home-page .hero-layout { display: block; }
  .home-page .hero-copy { padding-top: 0; }
  .home-page .hero-copy h1 { font-size: clamp(30px,6.3vw,42px); }
  .home-page .hero-subtitle { font-size: 15px; }
  .home-page .hero-stats { margin: 23px 0; }
  .market-rail { display: block; padding: 16px 18px; margin-top: 26px; }
  .market-rail .category-rail-header { margin: 0; padding: 0 0 5px; }
  #heroOpportunities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .market-rail .op-compact + .op-compact { border: 0; }
  .market-rail .op-compact .tender-title { -webkit-line-clamp: 2; min-height: 38px; }
  .market-rail .op-compact-bottom { flex-wrap: wrap; gap: 2px 10px; }
  .home-page .partner-row { padding-block: 15px 25px; margin-top: 14px; }
  .buyer-wordmark { width: 120px; }
  .buyer-wordmark strong { font-size: 19px; }
  .home-page .tender-group { flex-basis: calc(100vw - 92px); }
  .home-page .tenders-section { padding-block: 32px; }
  .home-page .browse-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .home-page .browse-card-heading { flex-wrap: wrap; gap: 6px; }
  .home-page .browse-card-heading h3 { font-size: 13px; }
  .home-page .browse-more { min-height: 30px; }








  .final-search-section { padding-block: 42px; }
  .final-search-section h2 { font-size: 25px; }
  .search-page .workbench { width: calc(100% - 40px); }
}
@media (max-width:640px) {
  .home-page .hero-search-row { flex-wrap: wrap; }
  .home-page .hero-search input { min-height: 48px; font-size: 16px; }
  .home-page .hero-search button { width: 100%; min-height: 45px; margin: 0; }
  .home-page .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 26px; }
  .home-page .hero-stats dd { font-size: 24px; }
  .home-page .hero-stats dt { font-size: 11px; }
  #heroOpportunities { display: block; }
  .market-rail .op-compact + .op-compact { border-top: 1px solid var(--line); }
  .market-rail .op-compact .tender-title { min-height: 0; -webkit-line-clamp: 1; }
  .market-rail .op-compact .op-compact-bottom { margin-top: 4px; }
  .home-page .category-grid { gap: 0 18px; }
  .home-page .category-card { grid-template-columns: 24px minmax(0,1fr); gap: 8px; min-height: 127px; padding: 18px 0; }
  .home-page .category-card strong { font-size: 13px; }
  .home-page .category-icon, .home-page .industry-line-icon { width: 23px; }
  .home-page .category-card small { font-size: 10px; line-height: 1.8; }
  .home-page .category-arrow { display: none; }
  .industry-count { font-size: 10px; }
  .home-page .browse-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-page .browse-card-heading { flex-wrap: nowrap; }
  .home-page .browse-list a { min-height: 42px; font-size: 13px; }
  .home-page .browse-card-heading h3 { font-size: 14px; }
  .home-page .browse-more { min-height: 40px; }
  .home-page .tenders-nav-bar { align-items: flex-end; gap: 12px; }
  .home-page .tenders-nav-info h2 { font-size: 23px; }
  .home-page .carousel-position { display: none; }
  .home-page .carousel-nav-buttons { gap: 6px; }
  .home-page .carousel-nav-btn { width: 34px; height: 34px; }
  .board-data-note { font-size: 10px; line-height: 1.7; }
  .home-page .tenders-nav-info .section-kicker { font-size: 10px; }
  .home-page .tender-group { padding-inline: 17px; }



  .trust-section .section-heading { display: block; }
  .trust-section .text-link { margin-top: 10px; }
  .final-search-section .section-kicker { font-size: 10px; }
  .final-search-section h2 { font-size: 25px; line-height: 1.6; }
  .final-search-section h2 + p { font-size: 12px; }
  .search-page .workbench { width: calc(100% - 32px); }
  .search-page .workbench-heading h1 { font-size: 24px; }
  .search-page .workbench-heading p { font-size: 11px; }
  .search-page .workbench-search { padding: 4px 4px 4px 11px; gap: 8px; }
  .search-page .workbench-search input { font-size: 16px; }
  .search-page .workbench-search > button { min-height: 42px; padding-inline: 13px; }
  .search-page .workbench-search > button i { display: none; }
  .search-page .workbench-save { font-size: 11px; }
  .search-page .result-scope { display: none; }
  .search-page .workbench-result-summary { gap: 8px; font-size: 11px; }
  .search-page .result-sort-controls { gap: 1px; }
  .search-page .workbench-result-summary select { padding-inline: 4px; font-size: 11px; }
  .search-page .workbench-result { display: grid; grid-template-columns: minmax(0,1fr) 28px; padding: 12px 0; margin: 0; row-gap: 8px; min-height: 0; }
  .search-page .workbench-result-content { grid-column: 1 / -1; }
  .search-page .workbench-result-meta { padding-right: 0; gap: 5px 9px; flex-wrap: wrap; }
  .search-page .workbench-result h2 { font-size: 15px; line-height: 1.65; margin-top: 5px; }
  .search-page .workbench-result-title { -webkit-line-clamp: 2; }
  .search-page .op-topics { margin-top: 5px; font-size: 11px; }
  .search-page .workbench-result-bottom { margin-top: 4px; }
  .search-page .workbench-result-open { font-size: 11px; min-height: 30px; }
  .search-page .workbench-result-numbers { grid-column: 1; display: flex; justify-content: space-between; align-items: start; text-align: left; gap: 12px; }
  .search-page .workbench-result-numbers > div { display: block; }
  .search-page .workbench-result-numbers dt { display: none; }
  .search-page .workbench-result-numbers dd { margin: 0; font-size: 12px; }
  .search-page .workbench-result-numbers small { font-size: 10px; }
  .search-page .workbench-favorite { grid-column: 2; align-self: start; min-height: 40px; width: 30px; }
  .search-page .workbench-pagination { flex-wrap: wrap; }
  .pagination-total { font-size: 10px; }
  .search-page .workbench-filters-modal .workbench-filter-content { padding: 12px 22px 22px; }
  .search-page .workbench-data-note { font-size: 11px; }



  .action-modal .modal-card { padding: 22px 18px; }
  .action-modal .modal-header h2 { font-size: 19px; }
  .action-form-buttons { flex-wrap: wrap; }
  .action-form-buttons .detail-button { flex-basis: 100%; }
  .detail-page .detail-snapshot { margin-bottom: 17px; }
  .detail-page .detail-hero h1 { font-size: clamp(23px,6.4vw,28px); }
  .detail-page .detail-facts { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px; gap: 16px; }
  .detail-page .detail-facts > div:last-child { display: block; grid-column: auto; border: 0; padding: 0; }
  .detail-page .detail-facts > div:last-child dd { display: block; }
  .detail-page .detail-facts dd { font-size: 13px; }
  .detail-page .detail-mobile-action-slot .detail-action-panel { padding: 18px; }
  .detail-page .detail-mobile-action-slot .detail-button { width: 100%; margin: 9px 0 0; }
  .detail-page .detail-mobile-action-slot .detail-due-date { font-size: 25px; }
  .detail-mobile-action-slot .detail-rail-actions { display: grid; width: 100%; }
  .detail-mobile-action-slot .detail-track-button { display: block; width: 100%; margin: 9px 0 0; }
  .opportunity-fit header { align-items: flex-start; }
  .opportunity-fit h2 { font-size: 20px; }
  .opportunity-fit header > span { font-size: 10px; padding-top: 5px; }
  .detail-page .detail-documents li { flex-wrap: wrap; }
  .detail-page .detail-documents li > div { flex: 1; }
  .detail-documents li > a { margin-left: 40px; font-size: 11px; min-height: 34px; }
  .related-opportunities .op-compact > a { display: block; }
  .related-opportunities .op-compact-meta { margin-bottom: 6px; }
  .related-opportunities .op-compact-bottom { flex-direction: row; justify-content: space-between; align-items: baseline; margin-top: 8px; }
  .detail-feedback small { width: 100%; margin: 0; }
}
@media print {
  .detail-rail-actions, .detail-track-button, .company-fit-slot, .detail-feedback, .related-opportunities, [data-global-overlays], .site-footer { display: none; }
}
/* Final density and typography corrections from the desktop review. */
.buyer-wordmark { overflow: visible; }
.search-page .workbench-breadcrumb { display: none; }
.search-page .workbench-heading { margin: 12px 0 10px; }
.search-page .workbench-heading > div { display: flex; align-items: baseline; gap: 18px; }
.search-page .workbench-results-toolbar { flex-wrap: wrap; gap: 0 20px; }
.search-page .workbench-result-summary { margin-left: auto; gap: 14px; }
.search-page .workbench-result { padding-block: 7px; min-height: 102px; }
.search-page .workbench-result-open { min-height: 20px; }
@media (max-width: 760px) {
  .search-page .workbench-heading > div { display: block; }
  .search-page .workbench-results-toolbar { gap: 0 8px; }
  .search-page .workbench-result-summary { width: 100%; margin: 0; min-height: 42px; }
  .search-page .workbench-result { padding-block: 12px; min-height: 0; }
}

/* Sprint 1.1: commercial copy, visual emphasis and action affordances only. */
.hero-stat { position: relative; }
.hero-stats dd .hero-stat-value { display: inline-block; font: inherit; line-height: inherit; cursor: help; }
.hero-stats dd .hero-stat-hint { display: none; position: absolute; z-index: 35; top: calc(100% + 10px); left: 0; width: 250px; max-width: calc(100vw - 40px); padding: 12px 14px; border-radius: 5px; color: white; background: var(--brand-deep); font-size: 11px; font-weight: 400; line-height: 1.8; letter-spacing: 0; }
.hero-stat:hover .hero-stat-hint, .hero-stat:focus-within .hero-stat-hint { display: block; }
.hero-stat:last-child .hero-stat-hint { left: auto; right: 0; }
.home-page .market-rail { display: flex; flex-direction: column; min-height: 423px; }
.home-page .market-rail #heroOpportunities { display: block; flex: 1; }
.home-page .market-rail .op-compact > a { padding-block: 17px; }
.home-page .market-rail .op-compact .tender-title { font-size: 14px; line-height: 1.8; -webkit-line-clamp: 3; min-height: 0; font-weight: 500; }
.home-page .market-rail .op-compact .op-buyer { display: block; margin-top: 14px; font-size: 11px; }
.home-page .market-rail .op-compact-bottom { margin-top: 14px; }
.hero-procurement { margin-top: 14px; font-size: 12px; color: var(--text-secondary); line-height: 1.9; }
.op-compact .op-buyer:empty { min-height: 18px; }
.op-compact-meta { min-height: 18px; }



/* One real procurement story, with a single continuous reading direction. */
.opportunity-story .section-heading { margin-bottom: 22px; }
.opportunity-story .section-heading h2 { font-size: 30px; line-height: 1.55; }
.story-intro { margin-top: 15px; max-width: 850px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.story-example { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; font-size: 12px; margin-bottom: 28px; }
.story-example > span:not(.flag-icon) { color: var(--muted); }
.story-example .flag-icon { width: 18px; height: 13px; }
.story-example a { min-height: 32px; display: inline-flex; align-items: center; }
.opportunity-story-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 25px; }
.opportunity-story-steps > li { position: relative; min-width: 0; }
.opportunity-story-steps > li:not(:last-child)::before { content: ""; position: absolute; top: 13px; left: 32px; right: -18px; height: 1px; background: var(--line); }
.opportunity-story-steps > li:not(:last-child)::after { content: "›"; position: absolute; top: -1px; right: -18px; color: var(--muted); font-size: 19px; line-height: 26px; }
.story-step-number { display: inline-block; padding-right: 8px; font-size: 15px; font-weight: 500; color: var(--gold-ink); background: white; }
.opportunity-story-steps h3 { margin-top: 17px; font-size: 16px; font-weight: 600; line-height: 1.6; }
.opportunity-story-steps > li > p { margin-top: 10px; color: var(--text-secondary); font-size: 12px; line-height: 1.9; }
.story-original { margin-top: 16px; padding: 12px 13px; background: var(--soft); border-radius: 4px; }
.story-original > span { font-size: 10px; color: var(--muted); }
.story-original p { margin-top: 8px; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.story-original a, .story-discovery a, .story-actions a { display: inline-flex; min-height: 36px; align-items: center; font-size: 11px; color: var(--accent); }
.story-discovery { margin-top: 18px; }
.story-discovery span, .story-discovery small { display: block; color: var(--muted); font-size: 11px; }
.story-discovery strong { display: block; font-size: 13px; font-weight: 500; margin: 8px 0; }
.story-translation .story-step-number, .story-translation h3 { color: var(--accent); }
.story-summary { margin-top: 16px; padding: 12px; background: rgb(var(--accent-rgb) / 4%); border-left: 2px solid var(--accent); }
.story-summary > div { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 6px; font-size: 11px; line-height: 1.8; }
.story-summary > div + div { margin-top: 9px; }
.story-summary dt { color: var(--muted); }
.story-summary dd { color: var(--ink); }
.story-fit { margin-top: 17px; display: grid; gap: 13px; }
.story-fit > li { color: var(--text-secondary); font-size: 11px; line-height: 1.85; }
.story-fit strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 500; }
.story-actions { display: flex; flex-direction: column; margin-top: 14px; gap: 2px; }
.story-actions > span { margin-top: 10px; color: var(--muted); font-size: 11px; }
.story-end { margin-top: 30px; padding-top: 19px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 15px 28px; }
.story-end > p { color: var(--muted); font-size: 11px; line-height: 1.9; }
.story-end .text-link { color: var(--accent); font-weight: 500; }

/* Keep the 102px desktop row; make procurement content the second reading level. */
.search-page .workbench-result-meta { min-height: 16.5px; }
.search-page .workbench-result h2 { font-weight: 600; }
.search-page .op-topics { display: flex; align-items: baseline; min-width: 0; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--text-secondary); }
.op-topics-label { flex-shrink: 0; padding-right: 8px; margin-right: 8px; border-right: 1px solid var(--control-line); font-weight: 600; color: var(--accent); }
.op-topics > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-page .workbench-result { cursor: pointer; }
.search-page .workbench-result:hover { background: #f7f6f3; }
.search-page .workbench-result-open { color: var(--accent); font-weight: 500; opacity: 0; transition: opacity 140ms ease; }
.workbench-result:hover .workbench-result-open, .workbench-result:focus-within .workbench-result-open { opacity: 1; }

@media (min-width:761px) { .search-page .workbench-result h2 { font-size: 16px; line-height: 23px; } }
@media (hover:none), (max-width:760px) { .search-page .workbench-result-open { opacity: 1; } }

/* Commercial decision module: same anchor and column width, stronger purpose. */
.opportunity-fit { padding: 24px; margin-top: 22px; border: 0; background: #faf6f3; border-radius: 5px; }
.opportunity-fit h2 { font-size: 24px; }
.opportunity-fit .section-kicker { color: var(--gold-ink); font-size: 11px; }
.detail-action-panel > .company-fit-slot { margin: 17px -6px 0; padding: 17px 15px; border: 0; border-radius: 4px; background: white; }
.company-fit-slot h2 { font-size: 16px; font-weight: 600; line-height: 1.65; color: var(--ink); }
.company-fit-slot p { margin: 9px 0 14px; font-size: 12px; line-height: 1.85; }
.company-fit-slot .company-fit-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--accent); border-radius: 6px; background: rgb(var(--accent-rgb) / 3%); color: var(--accent); font-size: 13px; font-weight: 600; }
.company-fit-slot small { margin-top: 9px; font-size: 10px; line-height: 1.8; }
.detail-track-button { color: var(--text-secondary); font-size: 12px; }
.detail-action-panel > .detail-button--secondary { margin-top: 12px; min-height: 38px; padding: 7px 0; background: transparent; color: var(--text-secondary); font-size: 12px; font-weight: 400; }
.detail-action-panel > .detail-button--secondary:hover { color: var(--accent); background: transparent; }
.detail-rail-actions button:hover, .detail-track-button:hover { color: var(--accent); background: #eceae6; }
.detail-page .detail-mobile-action-slot .detail-action-panel > .detail-button { width: 100%; margin-left: 0; }
#documents .detail-section-heading h2 { color: var(--accent); }
.detail-documents li > a { color: var(--accent); font-weight: 500; }
@media (max-width:1023px) {
  .opportunity-story-steps { display: block; }
  .opportunity-story-steps > li { display: grid; grid-template-columns: 30px minmax(0,1fr); column-gap: 18px; padding-bottom: 28px; }
  .opportunity-story-steps > li > :not(.story-step-number) { grid-column: 2; }
  .opportunity-story-steps > li:not(:last-child)::before { top: 30px; bottom: 7px; left: 12px; right: auto; width: 1px; height: auto; }
  .opportunity-story-steps > li:not(:last-child)::after { display: none; }
  .opportunity-story-steps h3 { grid-row: 1; margin-top: 0; }
  .story-step-number { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .story-original, .story-summary, .story-discovery, .story-fit, .story-actions { margin-top: 12px; }
  .story-fit { gap: 9px; }
  .story-end { margin-top: 0; flex-wrap: wrap; }
}
@media (max-width:640px) {
  .hero-stat:nth-child(even) .hero-stat-hint { left: auto; right: 0; }
  .home-page .market-rail { min-height: 0; }
  .home-page .market-rail .op-compact .tender-title { font-size: 14px; }
  .home-page .market-rail .op-compact .op-buyer { margin-top: 9px; }
  .home-page .market-rail .op-compact-bottom { margin-top: 10px; }

  .opportunity-story .section-heading h2 { font-size: 24px; }
  .story-intro { font-size: 12px; }
  .story-example { gap: 5px 8px; font-size: 11px; }
  .story-example > a { width: 100%; font-size: 12px; }
  .story-end .text-link { font-size: 12px; white-space: normal; }
  .opportunity-fit { padding: 20px 17px; }
  .opportunity-fit h2 { font-size: 21px; }
  .detail-action-panel > .company-fit-slot { margin-inline: 0; padding: 16px; }
  .company-fit-slot h2 { font-size: 16px; }
}
.detail-original-evidence { margin-top: 6px; }
.detail-original-evidence summary { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; list-style: none; cursor: pointer; font-size: 12px; color: var(--text-secondary); }
.detail-original-evidence summary::-webkit-details-marker { display: none; }
.detail-original-evidence summary span { color: var(--gold-ink); }
.detail-original-evidence[open] summary span { transform: rotate(45deg); }
.detail-original-evidence .detail-quote { padding: 11px 14px; border-left: 2px solid var(--gold); background: var(--soft); font-size: 12px; line-height: 1.8; }
.tender-amount.is-unpublished { color: var(--muted); font-weight: 400; }
.hero-stat.is-tooltip-dismissed .hero-stat-hint { display: none; }

/* Homepage review: concise section headers and compact opportunity titles. */
#latest-tenders .op-inline-country { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-right: 7px; vertical-align: baseline; }
#latest-tenders .op-inline-country .flag-icon { width: 17px; height: 12px; }
#latest-tenders .op-buyer:empty { display: none; }
.home-page .browse-section > .container { border-top: 1px solid var(--line); padding-top: 36px; }

@media (max-width:640px) {


  .home-page .partner-row > p { max-width: 110px; white-space: normal; }
  .home-page .browse-section > .container { padding-top: 28px; }
}

/* Customer education: notice the new idea, understand the change, then act. */
.sales-lesson { padding: 68px 0; background: var(--soft); }
.sales-lesson-heading h2 { font-size: clamp(32px,4vw,48px); line-height: 1.3; font-weight: 600; letter-spacing: -.045em; }
.sales-lesson-heading h2 span { color: var(--accent); }
.sales-lesson-heading > p { margin-top: 17px; font-size: 18px; line-height: 1.8; color: var(--text-secondary); }
.sales-start-shift { display: grid; grid-template-columns: .8fr 60px 1.2fr; align-items: center; gap: 32px; margin-top: 36px; padding-bottom: 30px; border-bottom: 1px solid #dddfdb; }
.sales-start-before > span, .sales-start-after > span { display: block; margin-bottom: 11px; font-size: 12px; }
.sales-start-before { color: var(--muted); }
.sales-start-before > p { font-size: 18px; line-height: 1.8; }
.sales-shift-arrow { color: var(--gold-ink); text-align: center; font-size: 28px; font-weight: 400; }
.sales-start-after > span { color: var(--accent); }
.sales-start-after > p { font-size: 21px; line-height: 1.8; color: var(--ink); }
.sales-start-after strong { font-weight: 600; }
.sales-lesson-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; margin-top: 28px; }
.sales-lesson-steps > li { min-width: 0; }
.sales-step-heading { display: flex; align-items: baseline; gap: 11px; }
.sales-step-heading > span { flex-shrink: 0; color: var(--gold-ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.sales-step-heading > h3 { font-size: 16px; line-height: 1.7; font-weight: 600; text-wrap: initial; }
.sales-lesson-steps > li > p { margin-top: 10px; color: var(--text-secondary); font-size: 13px; line-height: 1.9; }
.sales-lesson-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
.sales-lesson-action > p { color: var(--muted); font-size: 13px; }
.sales-lesson-cta { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 46px; padding: 11px 20px; border-radius: 5px; background: var(--accent); color: white; font-size: 13px; font-weight: 500; }
.sales-lesson-cta:hover { color: white; background: var(--accent-hover); }
.sales-lesson-cta > span { font-size: 18px; }
@media (max-width:1023px) {
  .sales-start-shift { grid-template-columns: .85fr 34px 1.15fr; gap: 22px; }
  .sales-lesson-steps { gap: 24px; }
  .sales-step-heading { gap: 8px; }
  .sales-step-heading > h3 { font-size: 14px; }
}
@media (max-width:640px) {
  .sales-lesson { padding-block: 42px; }
  .sales-lesson-heading > p { margin-top: 12px; font-size: 15px; }
  .sales-start-shift { grid-template-columns: 1fr; gap: 13px; margin-top: 27px; padding-bottom: 24px; }
  .sales-start-before > span, .sales-start-after > span { margin-bottom: 6px; font-size: 11px; }
  .sales-start-before > p { font-size: 15px; }
  .sales-start-before br { display: none; }
  .sales-shift-arrow { justify-self: start; font-size: 24px; line-height: 1; transform: rotate(90deg); }
  .sales-start-after > p { font-size: 18px; }
  .sales-lesson-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 25px; }
  .sales-step-heading > h3 { font-size: 15px; }
  .sales-step-heading > span { font-size: 11px; }
  .sales-lesson-steps > li > p { margin-top: 7px; font-size: 12px; }
  .sales-lesson-action { margin-top: 27px; gap: 13px; }
  .sales-lesson-action > p { font-size: 12px; }
  .sales-lesson-cta { width: 100%; justify-content: space-between; }
}

/* Search sequence: query, scope, then result actions. */
.search-page #discoveryToolbar #activeFilters { padding: 0 0 10px; }
.search-page #resultsTop > #saveSearch { margin-left: 8px; padding: 0 8px; min-height: 34px; color: var(--accent); font-size: 12px; }
.search-page #resultsTop > #saveSearch i { color: inherit; }

@media (max-width:760px) {
  .search-page #resultsTop > #saveSearch { margin-left: auto; padding-inline: 0; font-size: 11px; }
}
@media (max-width:360px) { .search-page #resultsTop > #saveSearch i { display: none; } }

/* Detail review: original title stays visible, tools keep their icons after state changes. */
.detail-mobile-action-slot .detail-track-button { display: inline-flex; vertical-align: top; }
.company-fit-cta i { font-size: 12px; }
.detail-rail-actions button, .detail-track-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 12px; border: 1px solid #e0dfdb; border-radius: 6px; background: white; color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.detail-rail-actions button i, .detail-track-button i { font-size: 14px; color: var(--gold-ink); }
.detail-rail-actions button:hover, .detail-track-button:hover { color: var(--accent); border-color: rgb(var(--accent-rgb) / 28%); background: rgb(var(--accent-rgb) / 4%); }
.detail-rail-actions button[aria-pressed="true"] { color: var(--accent); border-color: rgb(var(--accent-rgb) / 25%); background: rgb(var(--accent-rgb) / 5%); }
.detail-rail-actions button[aria-pressed="true"] i { color: inherit; }
@media (max-width:640px) {
  .detail-original { margin-top: 9px; font-size: 12px; line-height: 1.75; }
  .detail-mobile-action-slot .detail-track-button { display: flex; }
}

/* Group file access beside project tracking, below save/share. */
.detail-page .detail-action-panel .detail-rail-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
.detail-page .detail-action-panel .detail-rail-actions > .detail-button,
.detail-page .detail-action-panel .detail-rail-actions > .detail-track-button { grid-column: auto; grid-row: auto; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin: 0; padding: 9px 8px; font-size: 12px; }
