/* EPC Feed — design system and components. One stylesheet, no inline styles anywhere.
   Themes: Paper space (light) and Model space (dark), after the two spaces of a CAD drawing.
   Typefaces: EPC Feed Sans (from Mona Sans, OFL) with a 100–125 width axis; Newsreader (OFL) for
   long reading; EPC Feed Mono (from IBM Plex Mono, OFL) only for official identifiers. */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Noto Sans Arabic'; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/9b8d8584802c/fonts/noto-sans-arabic.woff2") format('woff2'); }
@font-face { font-family: 'EPC Feed Sans'; font-style: normal; font-display: swap; font-weight: 400 800; font-stretch: 100% 125%; src: url("/assets/375d8f883bb0/fonts/epcfeed-sans-latin.woff2") format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2009, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212, U+2264-2265, U+25CF, U+2713; }
@font-face { font-family: 'EPC Feed Sans'; font-style: normal; font-display: swap; font-weight: 400 800; font-stretch: 100% 125%; src: url("/assets/5a1d70078267/fonts/epcfeed-sans-latin-ext.woff2") format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+20B9-20BA, U+0300-030C, U+0326-0328; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 400 600; src: url("/assets/bb4deffb9bcd/fonts/newsreader-latin.woff2") format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2009, U+2010-2015, U+2018-201E, U+2020-2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212, U+2264-2265, U+25CF, U+2713; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 400 600; src: url("/assets/d988129c423f/fonts/newsreader-latin-ext.woff2") format('woff2'); unicode-range: U+0100-017F, U+0218-021B, U+20B9-20BA, U+0300-030C, U+0326-0328; }
@font-face { font-family: 'EPC Feed Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/b6336507beba/fonts/epcfeed-mono-latin.woff2") format('woff2'); unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201E, U+2026; }
@font-face { font-family: 'EPC Feed Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/4635b4df565d/fonts/epcfeed-mono-latin-ext.woff2") format('woff2'); unicode-range: U+0100-017F, U+0218-021B; }
/* Metric-matched fallbacks keep text from moving when the web fonts arrive (CLS). */
@font-face { font-family: 'EPC Feed Sans Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('Helvetica'); size-adjust: 104%; ascent-override: 104.8%; descent-override: 30.8%; line-gap-override: 0%; }
@font-face { font-family: 'Newsreader Fallback'; src: local('Georgia'), local('Times New Roman'), local('Liberation Serif'), local('Times'); size-adjust: 102.6%; ascent-override: 71.6%; descent-override: 25.8%; line-gap-override: 0%; }
@font-face { font-family: 'EPC Feed Mono Fallback'; src: local('Courier New'), local('Liberation Mono'), local('Menlo'); size-adjust: 100%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }

/* Arabic uses system shaping fonts when the Latin-only brand faces have no glyphs. */
:lang(ar) { --sans: "Noto Sans Arabic", system-ui, sans-serif; --serif: "Noto Sans Arabic", system-ui, sans-serif; letter-spacing: 0; font-stretch: normal; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .hero-title, :lang(ar) .wordmark { letter-spacing: 0; font-stretch: normal; }
:lang(ar) .wordmark { font-family: 'EPC Feed Sans', 'EPC Feed Sans Fallback', sans-serif; }
:lang(ar) time, :lang(ar) code, :lang(ar) .ref, :lang(ar) .numeric { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
[dir="rtl"] { letter-spacing: 0; font-stretch: normal; }
[dir="rtl"] time, [dir="rtl"] code, [dir="rtl"] .ref, [dir="rtl"] .numeric, [dir="rtl"] .money, [dir="rtl"] data { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }

/* ---------- Tokens ---------- */
:root {
  --sans: 'EPC Feed Sans', 'EPC Feed Sans Fallback', system-ui, sans-serif;
  --serif: 'Newsreader', 'Newsreader Fallback', Georgia, serif;
  --mono: 'EPC Feed Mono', 'EPC Feed Mono Fallback', ui-monospace, monospace;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5rem;
  --step-3: clamp(1.7rem, 1.35rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  --hero: clamp(2.1rem, .9rem + 5.6vw, 5.5rem);
  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  /* Paper space */
  --bg: #F4F5F3; --surface: #FFFFFF; --sunk: #E9ECEA;
  --ink: #111517; --ink-2: #3A4448; --ink-3: #58646A;
  --rule: #CDD3D2; --rule-strong: #9AA5A7;
  --link: #0E5E78; --mark: #E8701A; --signal: #A84B00;
  --st-open: #1C6B45; --st-soon: #A84B00; --st-closed: #58646A; --st-award: #0E5E78; --st-cancel: #A3342A;
  --bar-open: #1C6B45; --bar-soon: #C2570A; --bar-closed: #9AA5A7; --bar-award: #0E5E78;
  --glow: transparent;
  --focus: #0E5E78;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="paper"]) {
    --bg: #161D22; --surface: #1D262C; --sunk: #11171B;
    --ink: #E7ECEB; --ink-2: #B3BEC0; --ink-3: #8A989D;
    --rule: #2E3A41; --rule-strong: #4A5A62;
    --link: #6CCDE6; --mark: #F2A541; --signal: #F2A541;
    --st-open: #5FCB93; --st-soon: #F2A541; --st-closed: #8A989D; --st-award: #6CCDE6; --st-cancel: #F08A7C;
    --bar-open: #5FCB93; --bar-soon: #F2A541; --bar-closed: #4A5A62; --bar-award: #6CCDE6;
    --glow: rgba(108, 205, 230, .16);
    --focus: #6CCDE6;
    color-scheme: dark;
  }
}
:root[data-theme="model"] {
  --bg: #161D22; --surface: #1D262C; --sunk: #11171B;
  --ink: #E7ECEB; --ink-2: #B3BEC0; --ink-3: #8A989D;
  --rule: #2E3A41; --rule-strong: #4A5A62;
  --link: #6CCDE6; --mark: #F2A541; --signal: #F2A541;
  --st-open: #5FCB93; --st-soon: #F2A541; --st-closed: #8A989D; --st-award: #6CCDE6; --st-cancel: #F08A7C;
  --bar-open: #5FCB93; --bar-soon: #F2A541; --bar-closed: #4A5A62; --bar-award: #6CCDE6;
  --glow: rgba(108, 205, 230, .16);
  --focus: #6CCDE6;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); font-stretch: 100%; font-kerning: normal; font-variant-numeric: lining-nums; overflow-x: hidden; }
main { display: block; outline: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--mark); color: #111517; }
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; font-family: var(--sans); font-weight: 650; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-4); font-stretch: 118%; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); font-stretch: 112%; line-height: 1.15; letter-spacing: -.012em; }
h3 { font-size: var(--step-1); line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
code, .ref { font-family: var(--mono); font-size: .88em; }
code.protocol-version { white-space: nowrap; }
.ref { color: var(--ink-2); word-break: break-word; }
small, .small { font-size: var(--step--1); }
.muted { color: var(--ink-3); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.note { color: var(--ink-3); font-size: var(--step--1); margin-top: .75rem; }
.h-small { font-size: var(--step-1); font-stretch: 108%; letter-spacing: 0; display: flex; align-items: baseline; gap: .6rem; }
.n { color: var(--ink-3); font-weight: 450; font-size: var(--step--1); font-stretch: 100%; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.glyph { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout ---------- */
.site-header, main > *, .site-footer { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.band { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--rule); }
.band.tight { padding-block: 1.5rem 3rem; border-top: 0; }
.page-head { padding-block: clamp(2rem, 1.4rem + 2.6vw, 4rem) 1.5rem; max-width: 62rem; }
.page-head .lede { margin-top: 1rem; }
.page-head.with-glyph h1 { display: flex; align-items: center; gap: .5em; }
.head-glyph { width: 1.1em; height: 1.1em; color: var(--ink-2); stroke-width: 1; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 46rem; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; align-items: end; margin-bottom: 1.75rem; }
.section-head p { grid-column: 1; color: var(--ink-2); max-width: 44rem; margin: 0; }
.section-head .more { grid-column: 2; grid-row: 1 / span 2; align-self: end; white-space: nowrap; font-weight: 550; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; padding: 1.25rem 0 0; margin: 0; font-size: var(--step--1); color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: .6rem; color: var(--rule-strong); }
.crumbs a { color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; width: 100%; max-width: none; background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header[data-scrolled] { border-bottom-color: var(--rule); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.bar { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 50; border-radius: var(--radius); }
.skip:focus { top: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; flex: none; }
.mark { width: 30px; height: 30px; }
.mark-bars rect { fill: currentColor; }
.mark-halo { fill: var(--bg); }
.mark-now { fill: var(--mark); }
.wordmark { font-size: 1.12rem; font-stretch: 125%; font-weight: 500; letter-spacing: -.01em; }
.wordmark b { font-weight: 750; }
.nav { flex: 1; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .75rem; color: var(--ink-2); text-decoration: none; font-weight: 520; border-radius: var(--radius); }
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--mark); border-radius: 0; }
.tools { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
.tool { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .7rem; border: 1px solid var(--rule); border-radius: var(--radius); background: transparent; color: var(--ink-2); text-decoration: none; font: inherit; font-size: var(--step--1); cursor: pointer; }
.tool:hover { color: var(--ink); border-color: var(--rule-strong); }
.tool kbd { font-family: var(--mono); font-size: .75rem; padding: 0 .35rem; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-3); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu .shut, .menu[open] .open { display: none; }
.menu[open] .shut { display: block; }
.menu-sheet { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(300px, 86vw); background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: .5rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.language-switch { flex: none; display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-2); font-size: .78rem; }
.language-switch a { padding: .3rem .35rem; color: inherit; text-decoration: none; border-radius: var(--radius); }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: var(--ink); background: var(--sunk); }
:dir(rtl) .nav ul, :dir(rtl) .menu-sheet ul { padding-inline-start: 0; }
:dir(rtl) .edition, :dir(rtl) .fgrid { direction: rtl; }
:dir(rtl) .crumbs ol { padding-inline-start: 0; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet a { display: block; padding: .7rem .8rem; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.menu-sheet a:hover { background: var(--sunk); }

/* ---------- Buttons, chips, status ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--sunk); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.quiet { border-color: var(--rule-strong); color: var(--ink-2); }
.btn.small { min-height: 36px; padding: .35rem .8rem; font-size: var(--step--1); }
.btn .count { padding: 0 .45rem; border-radius: 3px; background: var(--mark); color: #111517; font-size: .85em; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips.plain { margin: 0; }
.chips a, .chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: var(--step--1); background: var(--surface); }
.chips a:hover, .chip:hover { border-color: var(--rule-strong); color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .glyph { width: 1.1em; height: 1.1em; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--step--1); font-weight: 600; color: var(--st-closed); white-space: nowrap; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; flex: none; }
.st-open .status, .status.st-open { color: var(--st-open); }
.status.st-closing-soon { color: var(--st-soon); }
.status.st-closing-soon .status-dot { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s var(--ease) infinite; }
.status.st-awarded { color: var(--st-award); }
.status.st-cancelled, .status.st-suspended { color: var(--st-cancel); }
.status.st-closed .status-dot, .status.st-reported-closed .status-dot { background: transparent; border: 2px solid currentColor; }
.chip-time { font-weight: 450; color: var(--ink-2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 .5rem transparent; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1.5rem, .5rem + 3vw, 3.5rem); }
.hero-title { font-size: var(--hero); font-stretch: 125%; font-weight: 680; line-height: .98; letter-spacing: -.028em; max-width: none; text-wrap: initial; }
.hero-title .ln { display: block; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 50rem) auto; justify-content: space-between; gap: 1.25rem 3rem; align-items: end; margin-top: clamp(1.25rem, .75rem + 1.5vw, 2rem); }
.hero-sub .lede { margin: 0; }
.stage { margin: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 0; }
.stage-frame { position: relative; aspect-ratio: 2.39 / 1; background: var(--sunk); border-radius: 6px; overflow: hidden; isolation: isolate; }
.stage-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px var(--glow); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s var(--ease); }
.stage.is-live .stage-canvas { opacity: 1; }
.stage-poster { position: absolute; inset: 0; display: grid; place-items: center; padding: 3% 4%; transition: opacity .9s var(--ease); }
.stage.is-live .stage-poster { opacity: 0; }
.poster { width: 100%; height: 100%; }
.poster path { fill: none; stroke: var(--ink-2); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.poster .pe { stroke-dasharray: 6 5; stroke: var(--ink-3); }
.poster .pp { stroke-dasharray: 0 7; stroke-linecap: round; stroke-width: 3; stroke: var(--ink-2); }
.poster .pc.f { fill: var(--ink-2); stroke: none; }
.poster .pc { stroke: var(--ink-2); }
.poster-now { stroke: var(--mark) !important; stroke-width: 2 !important; stroke-dasharray: none !important; }
.stage-bar { display: flex; align-items: stretch; gap: 1rem; margin-top: 1rem; }
.phases { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.phases button { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; width: 100%; height: 100%; padding: .9rem 0 1rem; border: 0; border-top: 2px solid var(--rule); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.phases button:disabled { cursor: default; }
.ph-mark { grid-row: 1 / span 2; font-size: 2rem; line-height: 1; font-stretch: 125%; font-weight: 750; color: var(--ink-3); transition: color .4s; }
.ph-name { font-weight: 650; font-stretch: 112%; }
.ph-note { color: var(--ink-3); font-size: var(--step--1); line-height: 1.4; }
.ph-progress { position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--mark); transform-origin: left; transform: scaleX(0); }
.phases button[aria-current="step"] .ph-mark { color: var(--signal); }
.phases button[aria-current="step"] .ph-name { color: var(--ink); }
.stage-pause { flex: none; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; margin-top: .6rem; border: 1px solid var(--rule); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.stage-pause .i-play { display: none; }
.stage-pause[aria-pressed="true"] .i-play { display: block; }
.stage-pause[aria-pressed="true"] .i-pause { display: none; }
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) {
  .hero-title .ln { animation: stretch 1.15s var(--ease) both; }
  .hero-title .ln + .ln { animation-delay: .14s; }
  @keyframes stretch { from { font-stretch: 100%; letter-spacing: -.045em; opacity: 0; } to { font-stretch: 125%; letter-spacing: -.028em; opacity: 1; } }
}

/* ---------- Next deadlines strip ---------- */
.next { border-top: 1px solid var(--rule); margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.next-list li + li { border-left: 1px solid var(--rule); }
.next-list a { display: grid; gap: .3rem; padding: 1.1rem 1.1rem 1.25rem; color: var(--ink); text-decoration: none; height: 100%; }
.next-list li:first-child a { padding-left: 0; }
.next-list a:hover .next-title { text-decoration: underline; text-underline-offset: .18em; }
.next-when { display: flex; gap: .6rem; align-items: baseline; font-size: var(--step--1); }
.next-when time { font-weight: 650; }
.next-when .rel { color: var(--signal); font-weight: 600; }
.next-title { font-weight: 560; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.next-where { color: var(--ink-3); font-size: var(--step--1); }

/* ---------- Tender windows (Gantt) ---------- */
.windows { margin: 0; }
.wrows { list-style: none; margin: 0; padding: 0; }
.wrow { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) 8.5rem; gap: 1.25rem; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.wrow.head { border-bottom: 0; padding-bottom: 0; }
.wrow-label { display: grid; text-decoration: none; color: var(--ink); min-width: 0; }
.wrow-label b { font-weight: 560; font-size: var(--step--1); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow-label span { color: var(--ink-3); font-size: .8rem; }
.wrow-label:hover b { text-decoration: underline; }
.wrow-date { display: grid; justify-items: end; font-size: var(--step--1); }
.wrow-date time { font-weight: 600; }
.wrow-date .rel { color: var(--ink-3); font-size: .8rem; }
.wrow.st-closing-soon .wrow-date .rel { color: var(--signal); font-weight: 600; }
.track, .axis { width: 100%; overflow: visible; }
.track-bg { fill: var(--rule); }
.track-now { fill: var(--mark); }
.win { fill: var(--bar-open); transform-box: fill-box; transform-origin: left center; }
.win.st-closing-soon { fill: var(--bar-soon); }
.win.st-closed, .win.st-reported-closed { fill: var(--bar-closed); }
.win.st-awarded { fill: var(--bar-award); }
.axis-tick { fill: var(--rule-strong); }
.axis-label { fill: var(--ink-3); font: 500 11px var(--sans); }
.axis-now { fill: var(--signal); font: 650 11px var(--sans); }
.windows figcaption { margin-top: 1rem; color: var(--ink-3); font-size: var(--step--1); max-width: 52rem; }
.windows.is-armed .win { transform: scaleX(0); }
.windows.is-shown .win { transform: scaleX(1); transition: transform 1.1s var(--ease); }
.windows.is-shown .wrow:nth-child(2) .win { transition-delay: .05s; } .windows.is-shown .wrow:nth-child(3) .win { transition-delay: .1s; } .windows.is-shown .wrow:nth-child(4) .win { transition-delay: .15s; } .windows.is-shown .wrow:nth-child(5) .win { transition-delay: .2s; } .windows.is-shown .wrow:nth-child(6) .win { transition-delay: .25s; } .windows.is-shown .wrow:nth-child(n+7) .win { transition-delay: .3s; }

/* ---------- Tender rows ---------- */
.trows, .crows { list-style: none; margin: 0; padding: 0; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.trows > .trow:first-child { border-top: 1px solid var(--rule); }
.trow-status { margin: 0 0 .35rem; }
.trow h3 { font-size: var(--step-0); font-weight: 600; line-height: 1.4; }
.trow h3 a { color: var(--ink); text-decoration: none; }
.trow h3 a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: .4rem 0 0; color: var(--ink-3); font-size: var(--step--1); }
.meta a { color: var(--ink-2); }
.trow-when { display: grid; align-content: start; justify-items: end; text-align: right; font-size: var(--step--1); }
.when-label { color: var(--ink-3); }
.trow-when time { font-weight: 650; }
.when-sub { color: var(--ink-3); }
.trow-when .rel { color: var(--st-open); font-weight: 600; }
.trow.st-closing-soon .trow-when .rel { color: var(--signal); }
.trows.compact .trow { grid-template-columns: 1fr; gap: .4rem; padding: .85rem 0; }
.trows.compact .trow-when { justify-items: start; text-align: left; display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.result-count { color: var(--ink-3); font-size: var(--step--1); margin: 0 0 1rem; }

/* ---------- Filters and search ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin-top: 1.5rem; }
.filters label { display: grid; gap: .25rem; font-size: var(--step--1); color: var(--ink-3); min-width: 0; max-width: 100%; }
.filters select { width: 100%; }
select, input, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: .55rem .7rem; min-height: 44px; max-width: 100%; }
select { padding-right: 2rem; }
textarea { min-height: 10rem; resize: vertical; }
.search-form { display: flex; gap: .6rem; margin-top: 1.25rem; max-width: 40rem; }
.search-form input { flex: 1; min-width: 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5rem; }
.news-list { display: grid; align-content: start; }
.news { display: grid; gap: 1rem; }
.news.row { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.news.row:first-child { padding-top: 0; }
.news-art { display: block; border-radius: 6px; overflow: hidden; background: var(--sunk); aspect-ratio: 40 / 21; }
.kicker { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; margin: 0 0 .5rem; color: var(--ink-3); font-size: var(--step--1); }
.kicker > span:first-child, .kicker > a:first-child { color: var(--ink-2); font-weight: 600; }
.kicker a { color: var(--ink-2); }
.news h3 { font-size: var(--step-1); line-height: 1.3; }
.news.row h3 { font-size: var(--step-0); font-weight: 600; line-height: 1.4; }
.news.lead h3 { font-size: var(--step-3); font-stretch: 110%; line-height: 1.15; }
.news h3 a { color: var(--ink); text-decoration: none; }
.news h3 a:hover { text-decoration: underline; }
.dek { color: var(--ink-2); margin: .6rem 0 0; }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.75rem; margin-top: 2rem; }
.plate { width: 100%; height: 100%; }
.plate-grid { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate-glyph path { fill: none; stroke: var(--ink-2); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.plate-bar { fill: var(--ink-3); }
.plate-bar.last { fill: var(--ink-2); }
.plate-now { stroke: var(--mark); stroke-width: 2.5; vector-effect: non-scaling-stroke; }

/* ---------- Story page ---------- */
.story-head { padding-top: clamp(1.75rem, 1rem + 3vw, 3.5rem); max-width: 54rem; }
.story-head h1 { font-size: var(--step-4); font-stretch: 112%; }
.story-head .dek { font-size: var(--step-1); line-height: 1.5; }
.story-dates, .award-facts, .arow-facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 1.5rem 0 0; }
.story-dates div, .award-facts div, .arow-facts div { display: grid; }
.story-dates dt, .award-facts dt, .arow-facts dt { color: var(--ink-3); font-size: .8rem; }
.story-dates dd, .award-facts dd, .arow-facts dd { margin: 0; font-weight: 560; }
.story-art { margin: 2rem 0 0; }
.story-art .plate, .story-art img { border-radius: 6px; background: var(--sunk); width: 100%; aspect-ratio: 40 / 15; height: auto; object-fit: cover; }
.story-art figcaption { color: var(--ink-3); font-size: .8rem; margin-top: .5rem; }
.story-grid, .tender-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: clamp(2rem, 1rem + 3vw, 4rem); padding-block: 2.5rem 3rem; }
.story-grid > *, .tender-grid > *, .company-grid > *, .news-grid > *, .network > *, .contact-grid > *, .hub > * { min-width: 0; }
.prose { max-width: 42rem; }
.story-body { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.68; }
.story-body h2 { font-family: var(--sans); font-size: var(--step-2); margin: 2rem 0 .75rem; }
.story-body ul { padding-left: 1.2rem; }
.story-body li { margin-bottom: .5rem; }
blockquote { margin: 2rem 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--mark); }
blockquote p { font-size: 1.3rem; line-height: 1.5; margin-bottom: .6rem; }
blockquote footer { font-family: var(--sans); font-size: var(--step--1); color: var(--ink-3); }
.story-side, .tender-facts, .company-facts { display: grid; align-content: start; gap: 2rem; font-size: var(--step--1); }
.story-side h2, .tender-facts h2, .company-facts h2, .sources h2, .corrections h2 { font-size: var(--step-0); font-stretch: 112%; font-weight: 650; margin-bottom: .8rem; }
.keyfacts dl, .tender-facts dl, .company-facts dl { margin: 0; display: grid; }
.keyfacts dl div, .tender-facts dl div, .company-facts dl div { display: grid; gap: .15rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.keyfacts dt, .tender-facts dt, .company-facts dt { color: var(--ink-3); }
.keyfacts dd, .tender-facts dd, .company-facts dd { margin: 0; color: var(--ink); line-height: 1.45; }
.value-box .v { font-size: var(--step-2); font-stretch: 112%; font-weight: 650; margin: 0; line-height: 1.2; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.links.peers { display: block; columns: 3 14rem; column-gap: 2rem; }
.links.peers li { break-inside: avoid; padding: .2rem 0; }
.sources { margin-top: 2.5rem; font-family: var(--sans); font-size: var(--step--1); }
.sources ol { padding-left: 1.4rem; margin: 0; display: grid; gap: .8rem; }
.sources li a { font-weight: 560; }
.src-meta { display: flex; flex-wrap: wrap; gap: .1rem .9rem; color: var(--ink-3); margin-top: .15rem; }
.src-type { color: var(--ink-2); font-weight: 600; }
.src-type.t-official-notice { color: var(--st-open); }
.corrections { margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); font-family: var(--sans); font-size: var(--step--1); }
.corrections ul { margin: 0; padding-left: 1.1rem; }
.desk-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--ink-3); font: var(--step--1)/1.5 var(--sans); }
.cite { font-size: .7em; margin-left: .15em; }
.cite a { margin-right: .2em; text-decoration: none; padding: 0 .15em; border-radius: 2px; background: var(--sunk); }

/* ---------- Tender page ---------- */
.tender-head { padding-top: clamp(1.75rem, 1rem + 3vw, 3.25rem); max-width: 60rem; }
.tender-head h1 { font-size: var(--step-4); font-stretch: 110%; }
.tender-head .kicker { gap: .5rem 1.2rem; }
.orig { color: var(--ink-3); margin: .6rem 0 0; font-size: var(--step--1); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.status-note { margin: 1.75rem 0 0; padding: .9rem 1.1rem; background: var(--sunk); border-radius: var(--radius); color: var(--ink-2); font-size: var(--step--1); max-width: 60rem; }
.deadline { margin-top: 1.75rem; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 3px solid var(--bar-open); max-width: 60rem; }
.deadline.st-closing-soon { border-left-color: var(--bar-soon); }
.deadline.st-closed, .deadline.st-reported-closed { border-left-color: var(--bar-closed); }
.deadline.st-awarded { border-left-color: var(--bar-award); }
.deadline h2 { font-size: var(--step-0); font-stretch: 112%; color: var(--ink-3); font-weight: 600; }
.countdown { font-size: var(--step-3); font-stretch: 118%; font-weight: 650; margin: .3rem 0 1rem; line-height: 1.15; }
.deadline.st-closing-soon .countdown .rel { color: var(--signal); }
.deadline dl { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin: 0; }
.deadline dl div { display: grid; }
.deadline dt { color: var(--ink-3); font-size: .8rem; }
.deadline dd { margin: 0; font-weight: 600; }
.deadline .zone { font-weight: 450; color: var(--ink-2); }
.history { margin-top: 1rem; font-size: var(--step--1); }
.history summary { cursor: pointer; color: var(--link); }
.tender-main section + section { margin-top: 2.5rem; }
.tender-main h2 { font-size: var(--step-2); margin-bottom: .8rem; }
.vline { display: block; }
.vline + .vline { margin-top: .35rem; }
.basis { color: var(--ink-3); }
.lots, .prose .lots { list-style: none; padding: 0; display: grid; gap: 0; margin: 0; }
.lots li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--rule); }
.docs, .prose .docs { list-style: none; padding: 0; display: grid; gap: .6rem; }
.docs li { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.award { padding-top: .25rem; }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
caption { text-align: left; color: var(--ink-3); padding: .75rem 0; caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--rule); }
thead th { color: var(--ink-3); font-weight: 550; white-space: nowrap; }
tbody th { font-weight: 600; }
td.num { min-width: 12rem; }
.bids tr.o-awarded th, .bids tr.o-awarded td { color: var(--ink); background: color-mix(in srgb, var(--st-award) 9%, transparent); }
.bids tr.o-rejected { color: var(--ink-3); }
.reason { display: block; color: var(--ink-3); font-size: .8rem; }
.bidbar { margin-top: .4rem; }
.bid { fill: var(--rule-strong); }
.bid.won { fill: var(--bar-award); }
th small, td small { display: block; color: var(--ink-3); font-weight: 400; }

/* ---------- Awards ---------- */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.arow { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.arow h3 { font-size: var(--step-0); font-weight: 600; line-height: 1.4; }
.arow h3 a { color: var(--ink); text-decoration: none; }
.arow h3 a:hover { text-decoration: underline; }
.arow-facts { margin-top: .8rem; gap: .6rem 1.75rem; font-size: var(--step--1); }

/* ---------- Network ---------- */
.network { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem; align-items: start; }
.graph-wrap { margin: 0; }
.graph { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; }
.graph-wrap.small .graph { max-height: 26rem; }
.e { stroke: var(--rule-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.e-client { stroke: var(--ink-3); stroke-width: 1.4; }
.e-competitor { stroke-dasharray: 2 3; }
.e-financier { stroke: var(--signal); stroke-dasharray: 6 4; opacity: .6; }
.e-co-mention { opacity: .45; }
.e-joint-venture { stroke: var(--st-award); stroke-width: 2; }
.node circle { fill: var(--ink-3); stroke: var(--surface); stroke-width: 2; vector-effect: non-scaling-stroke; transition: r .2s; }
.node.n-buyer circle { fill: var(--st-award); }
.node.n-owner circle { fill: var(--st-open); }
.node.n-contractor circle { fill: var(--ink); }
.node.n-financier circle { fill: var(--signal); }
.node text { fill: var(--ink-2); font: 500 13px var(--sans); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.node:hover text, .node:focus text { fill: var(--ink); }
.e.on { stroke-width: 1.8; }
.node.self circle { stroke: var(--mark); stroke-width: 3; }
.node.self text { fill: var(--ink); font-weight: 650; }
.graph.hovering .e { opacity: .12; }
.graph.hovering .e.lit { opacity: 1; stroke: var(--ink); stroke-dasharray: 5 4; animation: flow .8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -9; } }
.graph.hovering .node { opacity: .3; }
.graph.hovering .node.lit { opacity: 1; }
.graph-wrap figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .75rem; color: var(--ink-3); font-size: .8rem; }
.lg::before { content: ''; display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; margin-right: .4rem; vertical-align: -.05rem; background: var(--ink-3); }
.lg-buyer::before { background: var(--st-award); } .lg-owner::before { background: var(--st-open); } .lg-contractor::before { background: var(--ink); } .lg-financier::before { background: var(--signal); }
.network-side h3 { font-size: var(--step-0); font-stretch: 112%; margin-bottom: .8rem; }
.linked { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.linked li { padding: .55rem 0; border-top: 1px solid var(--rule); font-size: var(--step--1); }
.linked a { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.linked a:hover span { text-decoration: underline; }
.linked b { color: var(--ink-2); }
.linked small { color: var(--ink-3); }

/* ---------- Sectors, countries, hubs, companies ---------- */
.sector-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.sector-index li { border-bottom: 1px solid var(--rule); }
.sector-index li:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.sector-index a { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; padding: 1.2rem 1.2rem 1.3rem; color: var(--ink); text-decoration: none; height: 100%; }
.sector-index .glyph { grid-row: 1 / span 3; width: 2rem; height: 2rem; color: var(--ink-2); }
.si-name { font-weight: 650; font-stretch: 110%; }
.si-text { color: var(--ink-2); font-size: var(--step--1); }
.si-count { color: var(--ink-3); font-size: var(--step--1); }
.sector-index a:hover { background: var(--surface); }
.sector-index a:hover .glyph { color: var(--mark); }
.hub { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.hub-col h2 { font-size: var(--step-1); font-stretch: 112%; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin-bottom: 1rem; }
.region + .region { margin-top: 2.5rem; }
.country-list { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; }
.country-list a { display: grid; padding: .6rem 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.country-list small { color: var(--ink-3); font-weight: 400; }
.cgroup + .cgroup { margin-top: 2.5rem; }
.crows { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 0 2rem; margin-top: .9rem; }
.crow { padding: .9rem 0; border-top: 1px solid var(--rule); }
.crow h3 { font-size: var(--step-0); font-weight: 600; }
.crow h3 a { color: var(--ink); text-decoration: none; }
.crow h3 a:hover { text-decoration: underline; }
.crow-counts { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: .35rem 0 0; font-size: .8rem; color: var(--ink-2); }
.crows.compact { grid-template-columns: 1fr; }
.company-head { padding-top: clamp(1.75rem, 1rem + 3vw, 3.25rem); max-width: 56rem; }
.company-head h1 { font-size: var(--step-4); font-stretch: 116%; }
.company-head .lede { margin-top: 1rem; }
.company-head .chips { margin-top: 1rem; }
.company-grid { display: grid; grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); padding-block: 2.5rem 3rem; }
.company-main > section + section { margin-top: 2.75rem; }
.company-main h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.company-main h3 { font-size: var(--step-0); margin: 1.5rem 0 .3rem; font-stretch: 108%; }
.summary-line { color: var(--ink-2); }
.tiny { font-size: .78rem; margin-left: .4rem; }
.projects td, .projects th { font-size: var(--step--1); }

/* ---------- Home sections ---------- */
.method .steps, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-size: var(--step-3); font-stretch: 125%; font-weight: 700; line-height: 1; color: var(--signal); margin-bottom: .8rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.6; margin: 0; }
.steps.compact { grid-template-columns: 1fr; gap: .9rem; }
.steps.compact li { padding-top: .6rem; border-top-width: 1px; }
.steps.compact li::before { font-size: var(--step-1); margin-bottom: .3rem; }
.data-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.data-links a { display: flex; gap: .8rem; align-items: start; padding: 1.1rem; border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); text-decoration: none; height: 100%; background: var(--surface); }
.data-links a:hover { border-color: var(--rule-strong); }
.data-links .icon { margin-top: .15rem; color: var(--ink-2); }
.data-links b { display: block; }
.data-links small { color: var(--ink-3); }

/* ---------- Pages ---------- */
.prose h2 { margin: 2.25rem 0 .75rem; font-size: var(--step-2); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.code-list { list-style: none; padding: 0 !important; }
.code-list li { padding: .5rem 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; }
.glossary div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.glossary dt { font-weight: 650; font-stretch: 108%; }
.glossary dd { margin: .3rem 0 0; color: var(--ink-2); }
.corr-log { list-style: none; padding: 0; margin: 0; }
.corr-log li { padding: 1rem 0; border-top: 1px solid var(--rule); display: grid; gap: .25rem; }
.register small { display: block; color: var(--ink-3); font-weight: 400; overflow-wrap: anywhere; }
.feed-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.feed-list li { padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.feed-list p { margin: .4rem 0 0; color: var(--ink-2); }
.feed-list a + a { margin-left: 1rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 36rem) minmax(14rem, 1fr); gap: 3rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 550; min-width: 0; }
.contact-form > * { min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; }
.contact-form label small { font-weight: 400; color: var(--ink-3); }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--rule-strong); }
.notice.bad { border-color: var(--st-cancel); color: var(--st-cancel); }
.notice.good { border-color: var(--st-open); }
.empty { color: var(--ink-3); padding: 1.5rem 0; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.pg { color: var(--ink-3); font-size: var(--step--1); }
.page-numbers { display: grid; justify-items: center; gap: .4rem; min-width: 0; }
.page-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem; }
.page-links a, .page-links [aria-current] { min-width: 2rem; min-height: 2.75rem; padding: .55rem .35rem; text-align: center; }
.page-links [aria-current] { background: var(--sunk); border-radius: var(--radius); font-weight: 650; }
.pager { gap: .5rem; }
.edition-languages { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1.5rem; font-size: var(--step--1); }
.edition-languages a { min-height: 2.75rem; padding-block: .6rem; }
.hub-more { margin-block-start: 1rem; }
.hub-more summary { cursor: pointer; padding-block: .75rem; font-weight: 600; }
.void { padding-block: clamp(3rem, 2rem + 6vw, 8rem); max-width: 48rem; }
.void-code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-stretch: 125%; font-weight: 750; line-height: 1; color: var(--signal); margin: 0 0 1rem; }
.void h1 { font-size: var(--step-4); }
.void .lede { margin: 1rem 0 2rem; }
.preview-flag { position: sticky; top: 64px; z-index: 15; margin: 0; padding: .6rem 1rem; background: var(--mark); color: #111517; font-weight: 650; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); margin-top: 4rem; padding: 3rem 0 2.5rem; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.fbrand p { color: var(--ink-2); font-size: var(--step--1); max-width: 26rem; margin-top: 1rem; }
.fcol h2 { font-size: var(--step--1); font-stretch: 100%; font-weight: 650; color: var(--ink-3); margin-bottom: .75rem; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: var(--step--1); }
.fcol a { color: var(--ink); text-decoration: none; }
.fcol a:hover { text-decoration: underline; }
.edition { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: var(--step--1); }
.edition div { display: flex; gap: .6rem; }
.edition dt { color: var(--ink-3); }
.edition dd { margin: 0; }
.fine { color: var(--ink-3); font-size: .8rem; margin-top: 1.25rem; max-width: 60rem; }

/* ---------- Search palette and consent ---------- */
.palette { position: fixed; inset: 0; z-index: 60; background: rgba(10, 14, 17, .55); display: grid; align-items: start; justify-items: center; padding: 10vh 1rem 1rem; }
.palette[hidden] { display: none; }
.palette-panel { width: min(40rem, 100%); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.palette form { display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-bottom: 1px solid var(--rule); }
.palette input { flex: 1; border: 0; background: transparent; min-height: 48px; font-size: var(--step-1); }
.palette input:focus { outline: none; }
.palette kbd { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 3px; padding: 0 .35rem; }
.palette-results { list-style: none; margin: 0; padding: .4rem; max-height: 52vh; overflow: auto; }
.palette-results a { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; padding: .6rem .7rem; color: var(--ink); text-decoration: none; border-radius: 4px; }
.palette-results a[aria-selected="true"], .palette-results a:hover { background: var(--sunk); }
.palette-results .t { color: var(--ink-3); font-size: .8rem; padding-top: .15rem; }
.palette-results small { display: block; color: var(--ink-3); }
.hint-row { padding: .8rem; color: var(--ink-3); }
.palette-foot { display: flex; gap: 1.2rem; margin: 0; padding: .6rem 1rem; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: .78rem; }
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto; display: grid; gap: .8rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 18px 48px rgba(0, 0, 0, .2); font-size: var(--step--1); }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent div { display: flex; gap: .6rem; }

/* ---------- Motion and transitions ---------- */
/* WebKit can retain a snapshot over the language links after a cross-locale redirect.
   Keep native navigation interactive; component motion does not need document snapshots. */
@view-transition { navigation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .windows.is-armed .win { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .tool .hint, .tool kbd { display: none; }
  .menu { display: block; }
  .hub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hub-col:first-child { grid-column: 1 / -1; }
  .network { grid-template-columns: 1fr; }
  .data-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-list { grid-template-columns: repeat(2, 1fr); }
  .next-list li:nth-child(3) { border-left: 0; }
  .next-list li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .next-list li:nth-child(3) a { padding-left: 0; }
}
@media (max-width: 900px) {
  .nav, .tool .hint, .tool kbd { display: none; }
  .menu { display: block; }
  .hero-sub { grid-template-columns: 1fr; }
  .stage-frame { aspect-ratio: 16 / 10; }
  .news-grid, .story-grid, .tender-grid, .company-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awards { grid-template-columns: 1fr; }
  .sector-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-index li:not(:nth-child(3n)) { border-right: 0; }
  .sector-index li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .method .steps, .steps { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: 1 / -1; }
  .glossary, .feed-list { grid-template-columns: 1fr; }
  .wrow { grid-template-columns: minmax(0, 1fr) 7rem; gap: .25rem 1rem; }
  .wrow .track { grid-column: 1 / -1; grid-row: 2; }
  .wrow.head .axis { grid-column: 1 / -1; }
  .wrow.head .wrow-label, .wrow.head .wrow-date { display: none; }
  .company-facts { order: 2; }
}
@media (max-width: 640px) {
  :root { --step-0: 1rem; }
  .bar { gap: .35rem .75rem; min-height: 58px; flex-wrap: wrap; padding-block: .45rem; }
  .language-switch { flex-basis: 100%; justify-content: flex-end; gap: .2rem; }
  .language-switch a { padding-inline: .2rem; }
  .wordmark { font-size: 1rem; }
  .tool.search-open { width: 40px; padding: 0; justify-content: center; }
  .hero-title { letter-spacing: -.02em; font-stretch: 112%; line-height: 1.02; text-wrap: balance; }
  .hero-title .ln { display: inline; }
  .stage-frame { aspect-ratio: 4 / 3; }
  .phases { gap: .5rem; }
  .ph-note { display: none; }
  .phases button { grid-template-columns: 1fr; row-gap: .2rem; padding-top: .7rem; }
  .ph-mark { grid-row: auto; font-size: 1.4rem; }
  .ph-name { font-size: .82rem; }
  .stage-bar { gap: .6rem; }
  .stage-pause { width: 40px; height: 40px; }
  .next-list { grid-template-columns: 1fr; }
  .next-list li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .next-list a { padding-left: 0; }
  .news-cards, .data-links, .sector-index { grid-template-columns: 1fr; }
  .sector-index li:nth-child(odd) { border-right: 0; }
  .trow { grid-template-columns: 1fr; gap: .6rem; }
  .trow-when { justify-items: start; text-align: left; display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
  .hub { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .more { grid-column: 1; grid-row: auto; }
  .story-head h1, .tender-head h1, .company-head h1 { font-size: 1.9rem; font-stretch: 106%; }
  .story-body { font-size: 1.125rem; }
  .countdown { font-size: 1.6rem; }
  .deadline { padding-left: 1rem; }
  .crows { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .edition { gap: .4rem 1.5rem; }
  .search-form { flex-direction: column; }
  .filters label { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .ph-name { font-size: .74rem; letter-spacing: -.01em; }
  .phases { gap: .4rem; }
}
@media print {
  .site-header, .site-footer, .palette, .consent, .stage, .filters, .actions, .desk-note { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* Arabic heading rhythm and identifier isolation also apply at narrow viewports. */
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .hero-title { line-height: 1.45; font-stretch: normal; letter-spacing: 0; }

/* Phase labels can expand in languages with longer technical terms. */
.phases { min-width: 0; }
.phases li, .phases button, .ph-name { min-width: 0; }
.ph-name { overflow-wrap: anywhere; hyphens: auto; }
