:root {
  --ink: #14261f;
  --muted: #66756f;
  --paper: #f3f1e9;
  --panel: #fbfaf6;
  --line: #d9ddd5;
  --green: #165c46;
  --dark: #14261f;
  --lime: #cce86b;
  --gold: #c78b33;
  --white: #fff;
  --module-procurement: #f1f6f7;
  --module-procurement-line: #d7e3e5;
  --module-company: #f7f2e9;
  --module-company-line: #e7dccb;
  --module-participant: #f5f2f8;
  --module-participant-line: #e2dbe9;
  --module-result: #f0f6ef;
  --module-result-line: #d8e5d5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: var(--paper); font-size: 16px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; border-radius: 9px; color: var(--white); background: var(--green); font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }
.topbar { position: relative; z-index: 50; height: 76px; padding: 0 clamp(18px,3.5vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(20,38,31,.12); }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--paper); background: var(--green); font-weight: 850; letter-spacing: -.08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.brand small { color: var(--muted); margin-top: 1px; font-size: 12px; }
.site-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-left: auto; }
.module-navigation, .utility-navigation { display: flex; align-items: center; gap: 16px; }
.utility-navigation { gap: 12px; }
.module-navigation a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 720; white-space: nowrap; }
.module-navigation a:hover, .module-navigation a[aria-current="page"] { color: var(--green); }
.module-navigation a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--green); background: var(--panel); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.local-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.45); font-size: 12px; color: var(--muted); }
.local-pill i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #5ca77f; margin-right: 5px; }
.source-link { color: var(--green); text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; }
.signal-nav-link { padding: 9px 13px; border: 1px solid var(--green); border-radius: 99px; color: var(--green); text-decoration: none; font-weight: 750; font-size: 12px; }
.signal-nav-link:hover { color: var(--white); background: var(--green); }
main { width: min(1420px, 90vw); margin: 0 auto; }
.hero { min-height: 330px; padding: 72px 0 58px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 42px; }
.eyebrow { color: var(--green); font-weight: 800; font-size: 11px; letter-spacing: .16em; margin: 0 0 16px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; margin: 0; }
.intro { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.6; margin: 24px 0 0; }
.metrics { display: grid; grid-template-columns: repeat(5,1fr); background: var(--green); color: var(--white); border-radius: 24px; overflow: hidden; }
.metrics article { padding: 28px 32px; border-right: 1px solid rgba(255,255,255,.13); }
.metrics article:last-child { border: 0; }
.metrics span { font-family: Georgia, serif; color: var(--lime); font-size: 38px; }
.metrics p { margin: 7px 0 0; color: #cbd8d2; font-size: 12px; }
.workspace { padding: 70px 0 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
h2 { font-family: Georgia, serif; font-size: 42px; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.result-count { color: var(--muted); font-size: 13px; }
.controls { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.search { width: min(520px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.search span { color: var(--muted); font-size: 22px; }
.search input { width: 100%; padding: 14px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.filters { display: flex; padding: 4px; border: 1px solid var(--line); background: rgba(255,255,255,.45); border-radius: 13px; }
.filters button { border: 0; color: var(--muted); background: transparent; border-radius: 9px; padding: 9px 14px; cursor: pointer; font-size: 12px; }
.filters button.active { color: var(--white); background: var(--green); }
.filter-help { margin: -5px 0 22px; padding: 12px 14px; border-left: 3px solid #8ca89d; color: var(--muted); background: rgba(255,255,255,.42); line-height: 1.5; }
.filter-help strong { color: var(--ink); }
.procurement-list { display: grid; gap: 10px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.pagination button { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--green); background: var(--panel); cursor: pointer; font-size: 13px; font-weight: 750; }
.pagination button.active { color: var(--white); border-color: var(--green); background: var(--green); }
.pagination button:disabled { opacity: .38; cursor: default; }
.pagination span { padding: 0 3px; color: var(--muted); }
.procurement-card { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 24px; align-items: center; width: 100%; padding: 22px 24px; text-align: left; text-decoration: none; color: inherit; background: var(--module-procurement); border: 1px solid var(--module-procurement-line); border-radius: 17px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.procurement-card:hover { transform: translateY(-2px); border-color: #bdc9c1; box-shadow: 0 12px 26px rgba(20,38,31,.07); }
.card-id { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); font-size: 12px; }
.card-title { font-family: Georgia, serif; font-size: 18px; line-height: 1.35; margin: 0 0 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 11px; }
.card-side { min-width: 125px; text-align: right; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 99px; font-size: 11px; font-weight: 750; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-active { color: #1d7255; background: #e0f1e8; }
.status-complete { color: #796638; background: #f0eadb; }
.status-suspended { color: #8b342d; background: #f6ded9; }
.status-terminated { color: #5f3632; background: #eadfdd; }
.card-amount { display: block; margin-top: 10px; font-weight: 750; font-size: 13px; }
.loading, .empty { padding: 60px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 16px; }
.detail-kicker { color: var(--green); font: 700 12px ui-monospace, monospace; margin-top: 8px; }
.detail-title { font-family: Georgia, serif; font-size: 34px; line-height: 1.16; letter-spacing: -.03em; padding-right: 35px; }
.detail-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 28px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.detail-summary div { padding: 16px; background: var(--white); }
.detail-summary small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 7px; }
.detail-summary strong { font-size: 13px; }
.detail-section { margin-top: 32px; }
.detail-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.procurement-history { margin: 34px 0 42px; padding: 24px; border: 1px solid var(--module-result-line); border-radius: 17px; background: var(--module-result); }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.history-heading h2 { margin: 5px 0 0; font-family: Georgia,serif; }
.history-heading > p { margin: 0; color: var(--muted); font-weight: 750; text-align: right; }
.history-current { display: flex; align-items: center; gap: 14px; margin: 20px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.72); }
.history-current strong { color: var(--ink); }
.history-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.history-table { width: 100%; border-collapse: collapse; }
.history-table th { padding: 12px 14px; color: var(--muted); background: #f1f3ee; text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.history-table td { padding: 15px 14px; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
.history-table td:first-child { width: 220px; }
.history-table td:last-child { width: 150px; }
.history-table time, .history-table small, .history-table strong { display: block; }
.history-table small { margin-top: 5px; color: var(--muted); }
.history-table p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.history-table a { color: var(--green); font-weight: 750; text-decoration: none; }
.history-note { margin: 14px 2px 0; color: var(--muted); line-height: 1.55; }
.section-source-link { display: inline-block; margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 750; text-decoration: none; }
.detail-row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-row strong, .detail-row span { display: block; }
.detail-row strong { font-size: 13px; }
.detail-row span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.position-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.position-number { width: 30px; height: 30px; display: grid !important; place-items: center; margin: 0 !important; border-radius: 9px; color: var(--green) !important; background: #e4eee8; font-weight: 800; }
.result-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.result-table { width: 100%; min-width: 790px; border-collapse: collapse; background: var(--white); font-size: 12px; }
.result-table th { padding: 12px 14px; color: var(--muted); background: #f1f3ee; text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.result-table td { padding: 14px; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.4; }
.result-table td:first-child { max-width: 265px; }
.table-lot-title { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.number-cell { text-align: right !important; white-space: nowrap; }
.description-disclosure { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.description-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; color: var(--green); cursor: pointer; font-weight: 800; list-style: none; }
.description-disclosure summary::-webkit-details-marker { display: none; }
.description-disclosure summary::after { content: "+"; font-size: 22px; line-height: 1; }
.description-disclosure[open] summary::after { content: "−"; }
.description-content { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.description-content p { max-width: 100%; margin: 14px 0 0; overflow-wrap: anywhere; color: var(--muted); line-height: 1.7; }
.external-button { display: inline-block; margin-top: 28px; padding: 12px 16px; color: var(--white); background: var(--green); border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 700; }
.appeal-card { margin-top: 12px; padding: 18px; border: 1px solid #e4c6be; border-left: 4px solid #a6463c; border-radius: 14px; background: #fff8f5; }
.appeal-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.appeal-head strong { font-size: 14px; }
.appeal-state { color: #8b342d; font-size: 11px; font-weight: 800; }
.appeal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 16px; }
.appeal-grid small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.appeal-grid span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; }
.appeal-outcome { margin-top: 16px; padding: 13px; border-radius: 10px; background: #f3ede8; }
.appeal-outcome strong, .appeal-outcome span { display: block; }
.appeal-outcome strong { font-size: 11px; }
.appeal-outcome span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.appeal-link { display: inline-block; margin-top: 14px; color: var(--green); font-size: 11px; font-weight: 750; text-decoration: none; }
.dossier-page { width: min(1500px, 92vw); padding: 44px 0 100px; }
.dossier-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; }
.dossier-nav a { color: var(--green); font-size: 13px; font-weight: 750; text-decoration: none; }
.dossier-nav button { padding: 10px 14px; color: var(--green); background: transparent; border: 1px solid #aabbb1; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 750; }
.dossier-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: start; }
.dossier-title { max-width: 1100px; font-size: clamp(38px, 5vw, 68px); line-height: 1.03; }
.dossier-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(340px, .8fr); gap: 54px; align-items: start; }
.decision-list { margin-top: 22px; }
.decision-list h4 { margin: 0 0 8px; color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.decision-item { margin-top: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.decision-meta { display: flex; justify-content: space-between; gap: 12px; }
.decision-meta strong { font-size: 11px; }
.decision-meta span { color: var(--muted); font-size: 9px; }
.decision-item p { margin: 12px 0; font-size: 12px; line-height: 1.55; }
.decision-result { display: block; padding: 9px; color: #245b48; background: #e4eee8; border-radius: 8px; font-size: 10px; font-weight: 800; }
.decision-item small { display: block; margin-top: 11px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.company-stage { padding: 20px; border: 1px dashed #aabbb1; border-radius: 14px; background: #f2f5ef; }
.company-stage p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.companies-section { margin-top: 70px; padding-top: 42px; border-top: 1px solid var(--line); }
.companies-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.companies-title > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.company-card { padding: 22px; border: 1px solid var(--module-company-line); border-radius: 16px; background: var(--module-company); }
.company-head, .person-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.company-head strong, .company-head span, .person-head strong, .person-head span { display: block; }
.company-head strong { font-family: Georgia, serif; font-size: 21px; }
.company-head > div > span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.participation-roles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.company-head .participation-roles span { margin: 0; padding: 7px 10px; border-radius: 999px; color: var(--green); background: #e4eee8; font-size: 16px; font-weight: 800; line-height: 1; }
.participants-summary-section { padding: 20px; border: 1px solid var(--module-participant-line); border-radius: 16px; background: var(--module-participant); }
.participant-summary { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.participant-summary:first-of-type { border-top: 0; }
.participant-summary strong, .participant-summary > span { display: block; }
.participant-summary strong { font-size: 18px; line-height: 1.3; }
.participant-summary > span { margin-top: 5px; color: var(--muted); font-size: 16px; }
.participant-summary-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.participant-summary-roles small { padding: 6px 9px; border-radius: 999px; color: var(--green); background: #e4eee8; font-size: 16px; font-weight: 800; }
.position-participants { border-top: 1px solid var(--line); }
.position-participants:first-of-type { margin-top: 8px; }
.position-participants summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 0; cursor: pointer; list-style: none; }
.position-participants summary::-webkit-details-marker { display: none; }
.position-participants summary span { font-size: 17px; font-weight: 800; line-height: 1.35; }
.position-participants summary small { flex: 0 0 auto; color: var(--green); font-size: 16px; font-weight: 800; }
.position-participants summary::after { content: "+"; color: var(--green); font-size: 22px; font-weight: 700; }
.position-participants[open] summary::after { content: "−"; }
.position-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.position-stage > div { padding: 12px; background: var(--white); }
.position-stage small, .position-stage strong { display: block; font-size: 16px; }
.position-stage small { color: var(--muted); }
.position-stage strong { margin-top: 4px; }
.position-offer { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 8px 10px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.offer-order { grid-row: 1 / span 3; color: var(--muted); font-size: 16px; }
.offer-identity strong, .offer-identity small, .offer-submitted small, .offer-submitted strong, .offer-price small, .offer-price strong { display: block; font-size: 16px; }
.offer-identity small, .offer-submitted small, .offer-price small { margin-top: 3px; color: var(--muted); }
.offer-submitted, .offer-price { padding-top: 6px; }
.participants-fallback > p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.company-status { padding: 6px 9px; border-radius: 99px; color: #1d7255; background: #e0f1e8; font-size: 9px; font-weight: 800; }
.person-card { margin-top: 18px; padding: 16px; border: 1px solid var(--module-participant-line); border-radius: 12px; background: var(--module-participant); }
.person-head strong { font-size: 13px; }
.person-head span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.person-head a { color: var(--green); font-size: 10px; font-weight: 700; text-decoration: none; }
.identity-note { margin: 14px 0; padding: 9px 11px; color: #6e633e; background: #f4eedc; border-radius: 8px; font-size: 9px; line-height: 1.45; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.check-grid div { padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.check-grid span { display: block; color: var(--green); font: 700 22px Georgia, serif; }
.check-grid small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.25; }
.no-results, .company-pending { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.person-results { margin: 12px 0 0; padding: 0; list-style: none; }
.person-results li { padding: 9px 0; border-top: 1px solid var(--line); }
.person-results a { color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; }
.person-results small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.discovery-note { margin-top: 14px; padding: 12px; border: 1px solid #cfd9d2; border-radius: 10px; background: #f1f6f2; }
.discovery-note span { color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.discovery-note p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.result-groups { margin-top: 15px; padding: 10px 12px; border: 1px solid var(--module-result-line); border-radius: 11px; background: var(--module-result); }
.result-group { padding: 12px 0; border-top: 1px solid var(--line); }
.result-group:first-child { border-top: 0; }
.result-group-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-group-title strong { font-size: 10px; }
.result-group-title span { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 99px; color: var(--green); background: #e4eee8; font-size: 9px; font-weight: 850; }
.result-group .person-results { margin-top: 7px; }
.result-group .person-results li:first-child { border-top: 0; }
.result-group .no-results { margin-top: 8px; }
.company-card footer { margin-top: 14px; color: var(--muted); font-size: 9px; }
.company-card footer a { color: var(--green); }
.company-dossier-link { display: inline-block; margin-top: 15px; color: var(--green); font-size: 10px; font-weight: 800; text-decoration: none; }
.company-card-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.company-card-links .sigma-link { color: var(--muted); }
.company-dossier-header { align-items: center; }
.company-profile-page { margin-top: 35px; padding-top: 0; border-top: 0; }
.company-profile-page .company-list { grid-template-columns: minmax(0, 900px); }
.company-dossier-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 42px; align-items: end; padding: 18px 0 40px; border-bottom: 1px solid var(--line); }
.company-dossier-hero > div:first-child > p:last-child { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.company-verification { min-width: 190px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.company-verification small, .company-verification a { display: block; margin-top: 9px; font-size: 9px; }
.company-verification small { color: var(--muted); }
.company-verification a { color: var(--green); font-weight: 750; text-decoration: none; }
.company-dossier-metrics { display: grid; grid-template-columns: repeat(4,1fr); margin: 28px 0 70px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.company-dossier-metrics article { padding: 24px; border-right: 1px solid var(--line); }
.company-dossier-metrics article:last-child { border-right: 0; }
.company-dossier-metrics strong, .company-dossier-metrics span { display: block; }
.company-dossier-metrics strong { color: var(--green); font: 500 34px Georgia, serif; }
.company-dossier-metrics span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.dossier-data-section { margin-top: 66px; }
.dossier-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.dossier-section-heading h2 { font-size: 34px; }
.dossier-section-heading > p { max-width: 460px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.dossier-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.dossier-table { width: 100%; min-width: 1080px; border-collapse: collapse; font-size: 10px; }
.dossier-table th { padding: 12px 14px; color: var(--muted); background: #edf1ec; text-align: left; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.dossier-table td { padding: 16px 14px; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
.dossier-table td:nth-child(3) { min-width: 340px; }
.dossier-table td > a { color: var(--ink); font-weight: 800; text-decoration: none; }
.dossier-table td p { margin: 7px 0 0; color: var(--ink); }
.dossier-table td small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.date-cell, .amount-cell { white-space: nowrap; }
.record-badge { display: inline-block; padding: 5px 7px; color: var(--green); background: #e4eee8; border-radius: 99px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.source-chip { color: var(--green) !important; font-size: 9px; white-space: nowrap; }
.compact-empty { padding: 28px; }
.dossier-people-list { display: grid; gap: 16px; }
.dossier-person { padding: 24px; border: 1px solid var(--module-participant-line); border-radius: 16px; background: var(--module-participant); }
.dossier-person-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.dossier-person-head h3 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.dossier-person-head span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.dossier-person-head a { color: var(--green); font-size: 10px; font-weight: 750; text-decoration: none; }
.person-stat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.person-stat-row span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--muted); font-size: 9px; }
.person-stat-row strong { color: var(--green); }
.source-result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
.source-result-list a { padding: 12px; border: 1px solid var(--module-result-line); border-radius: 10px; color: var(--ink); background: var(--module-result); text-decoration: none; }
.source-result-list span, .source-result-list small { display: block; }
.source-result-list span { font-size: 10px; font-weight: 750; line-height: 1.4; }
.source-result-list small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.person-result-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--module-participant-line); }
.person-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.person-result-heading h4 { margin: 0; font-size: 18px; }
.person-result-heading span { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; color: var(--green); background: #e4eee8; font-size: 16px; font-weight: 800; }
.person-result-section > p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.political-result-section { padding: 18px; border: 1px solid #c8d7cb; border-radius: 12px; background: #edf4ef; }
.political-result-section .source-result-list a { border-color: #b9d0bf; background: #fff; }
.political-result-section .source-result-list span,
.political-result-section .source-result-list small { font-size: 16px; }
.company-records { margin-top: 20px; }
.company-records h4 { margin: 0 0 8px; color: var(--green); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.company-record { margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-left: 3px solid #9eb0a5; border-radius: 10px; background: var(--white); }
.company-record.record-consortium_award { border-left-color: var(--green); }
.company-record.record-award { border-left-color: #2f7b5d; }
.company-record.record-evaluation { border-left-color: var(--gold); }
.company-record.record-media { border-left-color: #806a9a; }
.company-record.record-sigma_profile { border-left-color: #3d6e9f; }
.company-record.record-eu_beneficiary_procurement { border-left-color: #477f8d; }
.company-record.record-eufunds_profile,
.company-record.record-eu_funded_contract,
.company-record.record-eu_project_participation { border-left-color: #356db0; }
.record-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.record-top span { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.record-top time { color: var(--muted); font-size: 8px; }
.company-record > a { color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.35; text-decoration: none; }
.company-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 12px 0 0; }
.company-record dl div { min-width: 0; }
.company-record dt { color: var(--muted); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }
.company-record dd { margin: 3px 0 0; font-size: 9px; line-height: 1.35; }
.company-record p { margin: 11px 0 0; font-size: 10px; line-height: 1.45; }
.company-record > small { display: block; margin-top: 9px; padding: 8px; color: var(--muted); background: #f3f1e9; border-radius: 7px; font-size: 8px; line-height: 1.4; }
.company-record > footer { margin-top: 9px; color: var(--muted); font-size: 8px; }
.signal-button { display: block; margin-top: 12px; padding: 13px 16px; border: 1px solid #ad5147; border-radius: 12px; color: #853d35; background: #fbebe8; text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; }
.signal-button:hover { background: #f6ded9; }
.signal-page { max-width: 850px; padding: 62px 0 90px; }
.signal-page .dossier-nav { margin-bottom: 42px; }
.signal-intro { max-width: 690px; margin: 20px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.signal-form { display: grid; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.signal-form label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 800; }
.signal-form input, .signal-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: var(--white); font: inherit; font-size: 13px; }
.signal-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.signal-form input:focus, .signal-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,92,70,.08); }
.signal-form .readonly-field { color: var(--muted); background: #f1efe7; }
.signal-form button { justify-self: start; padding: 13px 20px; border: 0; border-radius: 10px; color: var(--white); background: var(--green); cursor: pointer; font-weight: 800; }
.signal-form button:hover { background: #104b39; }
.signal-help { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.site-footer { width: min(1420px, 90vw); margin: 0 auto; padding: 25px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }
.site-footer a { color: var(--green); font-weight: 800; text-decoration: none; }
.global-search-section { margin: 0 0 30px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.58); }
.home-overview { margin: 0 0 30px; }
.home-overview-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.home-overview-heading .eyebrow { margin: 0 0 8px; }
.home-overview-heading h2 { font-size: 34px !important; }
.home-overview-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.55; }
.activity-feed { overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 18px; background: var(--panel); }
.activity-item { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 15px; padding: 19px 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .16s ease; }
.activity-item:last-child { border-bottom: 0; }
.activity-item:hover { background: #f5f7f2; }
.activity-marker { width: 12px; height: 12px; margin-top: 6px; border: 3px solid var(--green); border-radius: 50%; background: var(--white); }
.activity-content, .activity-content > * { min-width: 0; }
.activity-content { display: grid; gap: 6px; }
.activity-topline { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.activity-topline b { color: var(--green); letter-spacing: .045em; text-transform: uppercase; }
.activity-topline time, .activity-content > span, .activity-content small { color: var(--muted); }
.activity-content strong { font: 600 20px/1.3 Georgia,serif; overflow-wrap: anywhere; }
.activity-content small { font-weight: 750; }
.activity-contract_signed .activity-marker { border-color: #8b623e; }
.activity-appeal_filed .activity-marker, .activity-kzk_decision .activity-marker { border-color: #ad5147; }
.activity-offers_opened .activity-marker, .activity-award_published .activity-marker { border-color: #477f8d; }
.global-search-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,440px); gap: 8px 30px; align-items: end; }
.global-search-heading .eyebrow, .global-search-heading h2 { grid-column: 1; }
.global-search-heading h2 { font-size: 34px; }
.global-search-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; color: var(--muted); line-height: 1.55; }
.global-search-box { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 0 18px; border: 1px solid #b9c9c0; border-radius: 15px; background: var(--white); box-shadow: 0 8px 24px rgba(20,38,31,.05); }
.global-search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,92,70,.08); }
.global-search-box > span { color: var(--green); font-size: 26px; }
.global-search-box input { width: 100%; padding: 17px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; }
.global-search-results { display: grid; gap: 14px; margin-top: 18px; }
.global-search-results:empty { display: none; }
.global-result-group { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.global-result-group > h3 { margin: 0; padding: 11px 15px; color: var(--green); background: #edf2ed; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.global-result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.global-result-item { min-width: 0; padding: 15px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.global-result-item:nth-child(even) { border-left: 1px solid var(--line); }
.global-result-item strong, .global-result-item span, .global-result-item small { display: block; }
.global-result-item strong { font-size: 17px; line-height: 1.35; }
.global-result-item span { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.global-result-item small { margin-top: 7px; color: var(--green); font-size: 16px; font-weight: 750; }
.global-result-item:hover { background: #f7f8f4; }
.global-search-note { margin: 0; padding: 14px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; background: rgba(255,255,255,.5); }
.module-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0 0 30px; }
.module-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; min-height: 160px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--panel); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.module-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20,48,38,.09); }
.module-number { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; color: var(--white); background: var(--green); font-family: Georgia,serif; font-size: 27px; }
.module-card strong { font-family: Georgia,serif; font-size: 25px; font-weight: 500; }
.module-card p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.module-card b { grid-column: 2; align-self: end; color: var(--green); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.module-political { border-color: #dfd9e8; background: #f5f2f8; }
.module-projects { background: #eef2ec; }
.module-projects .module-number { color: var(--green); background: var(--lime); }
.module-companies { background: #f1eee7; }
.module-companies .module-number { background: #8b623e; }
.companies-registry { display: grid; gap: 10px; }
.political-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 28px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.political-metrics article { padding: 24px; border-right: 1px solid var(--line); }
.political-metrics article:last-child { border-right: 0; }
.political-metrics strong, .political-metrics span { display: block; }
.political-metrics strong { color: var(--green); font: 500 34px Georgia,serif; }
.political-metrics span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.political-workspace { padding-top: 48px; }
.political-search-row { margin-bottom: 22px; }
.political-list { display: grid; gap: 16px; }
.political-person-card { overflow: hidden; border: 1px solid #dfd9e8; border-radius: 18px; background: #f8f6fa; }
.political-person-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid #e5e0eb; }
.political-person-head .eyebrow { margin-bottom: 5px; }
.political-person-head h3 { margin: 0; font: 500 23px Georgia,serif; }
.political-person-head p:not(.eyebrow) { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.political-count { flex: 0 0 auto; padding: 8px 11px; border-radius: 99px; color: var(--green); background: #e4eee8; font-size: 12px; font-weight: 800; }
.political-panels { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #e5e0eb; background: var(--panel); }
.political-panels > details { min-width: 0; border-right: 1px solid #e5e0eb; }
.political-panels > details:last-child { border-right: 0; }
.political-panels > details[open] { grid-column: 1 / -1; border-right: 0; border-top: 1px solid #e5e0eb; border-bottom: 1px solid #e5e0eb; }
.political-panels > details[open]:first-child { border-top: 0; }
.political-panels summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 13px 18px; color: var(--green); cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; }
.political-panels summary::-webkit-details-marker { display: none; }
.political-panels summary::after { content: "+"; color: var(--muted); font-size: 18px; font-weight: 500; }
.political-panels details[open] summary::after { content: "−"; }
.political-panels summary b { order: 2; min-width: 28px; padding: 2px 7px; border-radius: 99px; color: var(--green); background: #e4eee8; text-align: center; font-size: 11px; }
.political-panels summary::after { order: 3; }
.political-source-list { display: grid; gap: 1px; max-height: 430px; overflow-y: auto; border-top: 1px solid #e5e0eb; background: #e5e0eb; }
.political-source-list a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 17px 24px; color: var(--ink); background: var(--white); text-decoration: none; }
.political-source-list a:hover { background: #fbfafc; }
.political-source-list strong { font-size: 14px; }
.political-source-list small { color: var(--green); font-size: 11px; font-weight: 750; text-align: right; }
.connection-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 430px; padding: 16px 18px; overflow-y: auto; border-top: 1px solid #e5e0eb; }
.connection-links a, .connection-links > span { display: block; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--white); font-size: 12px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.connection-links a:hover { border-color: #aac5b8; }
.connection-links small { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; }
.connection-links p { margin: 0; color: var(--muted); font-size: 12px; }
.registry-company-row { display: grid; grid-template-columns: minmax(260px,2fr) repeat(5,minmax(90px,.6fr)) auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--module-company-line); border-radius: 14px; color: var(--ink); background: var(--module-company); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.person-activity-table { margin-top: 16px; }
.registry-company-row:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(20,48,38,.08); }
.registry-company-row strong, .registry-company-row span, .registry-company-row small { display: block; }
.registry-company-name strong { font: 500 20px Georgia,serif; }
.registry-company-name span, .registry-company-row small { margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.registry-company-row > div:not(.registry-company-name) strong { margin-top: 5px; color: var(--green); font: 500 23px Georgia,serif; }
.registry-company-row > b { color: var(--green); font-size: 10px; white-space: nowrap; }
.home-latest { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px 0 30px; }
.latest-column { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.latest-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.latest-heading h2 { font-size: 31px; }
.latest-heading a { flex: 0 0 auto; color: var(--green); text-decoration: none; font-size: 11px; font-weight: 800; }
.latest-list { display: grid; }
.latest-item { position: relative; display: grid; gap: 7px; padding: 17px 120px 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.latest-item:last-child { border-bottom: 0; }
.latest-item small { color: var(--muted); font-size: 10px; }
.latest-item strong { font-family: Georgia,serif; font-size: 17px; line-height: 1.3; }
.latest-item > .status, .latest-item > .project-status { position: absolute; top: 18px; right: 0; }
.top-contractors-section { margin: 0 0 90px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.top-contractors-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.top-contractors-heading .eyebrow { margin: 0 0 8px; }
.top-contractors-heading h2 { font-size: 34px; }
.top-contractors-heading > p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.55; }
.top-contractors-list { display: grid; }
.top-contractor-row { display: grid; grid-template-columns: 46px minmax(260px,1fr) 110px 110px minmax(180px,auto); gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.top-contractor-row:hover { background: #f7f8f4; }
.top-contractor-rank { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--green); background: #e8f0ea; font: 600 21px Georgia,serif; }
.top-contractor-name strong, .top-contractor-name small, .top-contractor-count small, .top-contractor-count strong, .top-contractor-value small, .top-contractor-value strong { display: block; }
.top-contractor-name strong { font: 600 19px/1.3 Georgia,serif; }
.top-contractor-name small, .top-contractor-count small, .top-contractor-value small { margin-bottom: 4px; color: var(--muted); font-size: 16px; }
.top-contractor-count strong { font-size: 17px; }
.top-contractor-value { text-align: right; }
.top-contractor-value strong { color: var(--green); font-size: 19px; }
.top-contractors-note { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.projects-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 80px 0 55px; }
.projects-hero h1 { margin: 10px 0 18px; font-family: Georgia,serif; font-size: clamp(48px,7vw,92px); font-weight: 500; line-height: .94; }
.back-module-link { align-self: start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--green); text-decoration: none; font-size: 11px; font-weight: 800; }
.project-metrics { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 30px; border-radius: 18px; overflow: hidden; color: var(--white); background: var(--dark); }
.project-metrics article { padding: 24px; border-right: 1px solid rgba(255,255,255,.12); }
.project-metrics article:last-child { border-right: 0; }
.project-metrics span { font-family: Georgia,serif; color: var(--lime); font-size: 42px; font-weight: 600; }
.project-metrics p { margin: 7px 0 0; color: #eef4f0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }
.project-workspace { margin-bottom: 55px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.project-search-row { display: flex; margin-bottom: 18px; }
.project-search-row .search { width: min(680px, 100%); }
.project-filters button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 750; }
.project-filters button.active { color: var(--white); border-color: var(--green); background: var(--green); }
.projects-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.project-card { display: flex; flex-direction: column; min-height: 360px; padding: 25px; border: 1px solid var(--line); border-top: 4px solid #477f8d; border-radius: 16px; color: var(--ink); background: var(--white); text-decoration: none; }
.project-card.kind-rrp { border-top-color: #6c62a4; }
.project-card.kind-national { border-top-color: #b0833f; }
.project-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.project-kind { max-width: 65%; color: #53655e; font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.project-status { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #285b43; background: #dcecdf; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .03em; }
.project-status-approved { color: #7a5b24; background: #f2ead7; }
.project-status-completed { color: #4d5e58; background: #e8ecea; }
.project-card h3 { margin: 22px 0 10px; font-family: Georgia,serif; font-size: 26px; font-weight: 500; line-height: 1.12; }
.project-card > p { margin: 0; color: #52625c; font-size: 13px; line-height: 1.6; }
.project-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.project-card dt { color: #617069; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.project-card dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; line-height: 1.4; }
.project-card footer { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.project-card footer b { color: var(--green); }
.pilot-note { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--lime); color: var(--muted); background: #eef2ec; font-size: 10px; line-height: 1.5; }
.project-dossier-header { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 35px 0 30px; border-top: 4px solid #477f8d; }
.project-dossier-header.kind-rrp { border-top-color: #6c62a4; }
.project-dossier-header.kind-national { border-top-color: #b0833f; }
.project-dossier-header > div > p:last-child { max-width: 850px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-summary { grid-template-columns: repeat(4,1fr); }
.project-summary strong { font-size: 16px; line-height: 1.35; }
.project-description { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.project-facts div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.project-facts small,.project-facts strong { display: block; }
.project-facts small { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .05em; }
.project-facts strong { margin-top: 5px; font-size: 10px; line-height: 1.4; }
.project-payment-progress { height: 12px; margin: 18px 0 8px; overflow: hidden; border-radius: 999px; background: #e4e9e3; }
.project-payment-progress span { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--lime); }
.project-financial-note { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.source-proof { margin-bottom: 14px; padding: 15px; border-radius: 10px; background: #eef2ec; }
.source-proof span { color: var(--green); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.source-proof p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.secondary-source { display: block; margin-top: 10px; color: var(--green); font-size: 10px; font-weight: 750; text-decoration: none; text-align: center; }
.linked-procurement { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.linked-procurement strong { color: var(--green); font-size: 9px; }
.linked-procurement span { font-size: 11px; font-weight: 750; }
.linked-procurement small { color: var(--muted); font-size: 8px; }

/* Четливост: фиксирана основа без натрупване през вложените елементи. */
body * { font-size: 16px !important; }
.source-chip { font-size: 16px !important; }
h1 { font-size: 44px !important; line-height: 1.08; }
h2 { font-size: 30px !important; }
.metrics span { font-size: 32px !important; }
.module-number { font-size: 30px !important; }
.module-card strong { font-size: 20px !important; }
.project-metrics span { font-size: 34px !important; }
.project-card h3 { font-size: 22px !important; line-height: 1.3; }
.company-head strong { font-size: 20px !important; }
.company-dossier-metrics strong { font-size: 30px !important; }
.dossier-section-heading h2 { font-size: 28px !important; }
.dossier-person-head h3 { font-size: 22px !important; }
.detail-title, .dossier-title { font-family: Georgia, "Times New Roman", serif; font-size: 22px !important; font-weight: bold; line-height: 1.3; letter-spacing: -.015em; }

.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.site-footer a { color: var(--green); font-weight: 750; }
.privacy-page { max-width: 900px; margin: 0 auto; padding: 72px 0 90px; }
.privacy-page > h1 { margin-bottom: 14px; font-size: 36px !important; }
.privacy-updated { color: var(--muted); }
.privacy-page section { margin-top: 40px; }
.privacy-page section h2 { margin-bottom: 14px; font-size: 26px !important; }
.privacy-page section p { color: var(--muted); line-height: 1.75; }
.privacy-page section ul { margin: 14px 0 18px; padding-left: 24px; color: var(--muted); }
.privacy-page section li { margin: 8px 0; line-height: 1.65; }
.privacy-page a { color: var(--green); }

@media (min-width: 801px) and (max-width: 1100px) {
  main { width: min(94vw, 1000px); }
  .topbar { padding-inline: 3vw; }
  .site-navigation { gap: 18px; }
  .module-navigation, .utility-navigation { gap: 14px; }
  .module-navigation a { font-size: 13px; }
  .hero { min-height: 290px; gap: 28px; padding: 50px 0 42px; }
  .hero h1 { max-width: 620px; font-size: 40px !important; }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-companies { grid-column: 1 / -1; }
  .module-companies { min-height: 135px; }
  .global-search-heading { grid-template-columns: 1fr; }
  .global-search-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .home-latest { grid-template-columns: 1fr; }
  .latest-column { padding: 24px; }
  .top-contractor-row { grid-template-columns: 42px minmax(220px,1fr) 80px 80px minmax(160px,auto); gap: 14px; }
  .dossier-columns { grid-template-columns: minmax(0,1.35fr) minmax(300px,.8fr); gap: 28px; }
}

/* Readability baseline ---------------------------------------------------
   Public-facing labels and metadata must remain readable without zooming.
   Headings and numeric highlights retain their larger, existing sizes. */
.brand strong, .brand small, .source-link, .signal-nav-link, .eyebrow,
.metrics p,
.result-count, .filters button, .pagination button, .card-id, .card-meta,
.status, .card-amount, .detail-kicker, .detail-summary small,
.detail-summary strong, .detail-section h3, .section-source-link,
.detail-row strong, .detail-row span, .result-table, .result-table th,
.table-lot-title, .external-button, .appeal-head strong, .appeal-state,
.appeal-grid small, .appeal-grid span, .appeal-outcome strong,
.appeal-outcome span, .appeal-link, .dossier-nav a, .dossier-nav button,
.decision-list h4, .decision-meta strong, .decision-meta span,
.decision-item p, .decision-result, .decision-item small, .company-stage p,
.companies-title > p, .company-head > div > span, .company-status,
.person-head strong, .person-head span, .person-head a, .identity-note,
.check-grid small, .no-results, .company-pending, .person-results a,
.person-results small, .discovery-note span, .discovery-note p,
.result-group-title strong, .result-group-title span, .company-card footer,
.company-dossier-link, .company-verification small, .company-verification a,
.company-dossier-metrics span, .dossier-section-heading > p, .dossier-table,
.dossier-table th, .dossier-table td small, .record-badge, .source-chip,
.dossier-person-head span, .dossier-person-head a, .person-stat-row span,
.source-result-list span, .source-result-list small, .company-records h4,
.record-top span, .record-top time, .company-record > a, .company-record dd,
.company-record p, .company-record > small, .company-record > footer,
.signal-button, .signal-form label, .signal-form input, .signal-form textarea,
.signal-help, .site-footer, .module-card p, .module-card b,
.registry-company-name span, .registry-company-row small,
.registry-company-row > b, .latest-heading a, .latest-item small,
.back-module-link, .project-metrics p, .project-kind, .project-status,
.project-card > p, .project-card dt, .project-card dd, .project-card footer,
.pilot-note, .project-facts strong, .source-proof span, .source-proof p,
.secondary-source, .linked-procurement strong, .linked-procurement span,
.linked-procurement small {
  font-size: 16px;
}

.topbar a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, .module-card:focus-visible, .latest-item:focus-visible,
.procurement-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 800px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .topbar { min-height: 72px; height: auto; padding: 10px 16px; gap: 10px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { flex: 0 0 auto; width: 36px; height: 36px; }
  .brand > span { min-width: 0; }
  .brand strong { line-height: 1.2; }
  .menu-toggle { display: block; flex: 0 0 auto; margin-left: auto; }
  .site-navigation { position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: none; overflow: hidden; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 18px 45px rgba(20,38,31,.16); }
  .site-navigation.open { display: block; }
  .module-navigation, .utility-navigation { display: grid; gap: 0; }
  .utility-navigation { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .module-navigation a, .utility-navigation a { display: block; min-height: 46px; padding: 12px 13px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 750; line-height: 1.35; }
  .module-navigation a:hover, .module-navigation a[aria-current="page"], .utility-navigation a:hover { color: var(--green); background: #edf3ee; text-decoration: none; }
  .signal-nav-link { border: 0; }
  .source-link { color: var(--green) !important; }
  .local-pill { display: none; }
  main { width: calc(100% - 32px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding: 32px 0 28px; }
  .hero .intro { margin-top: 18px; }
  .global-search-section { padding: 20px 18px; border-radius: 17px; }
  .home-overview-heading { align-items: start; flex-direction: column; gap: 10px; }
  .home-overview-heading > p { max-width: none; }
  .activity-item { grid-template-columns: 14px minmax(0,1fr); gap: 11px; padding: 17px 16px; }
  .activity-marker { width: 10px; height: 10px; border-width: 2px; }
  .activity-topline { align-items: start; flex-direction: column; gap: 3px; }
  .activity-content strong { font-size: 18px; }
  .global-search-box { min-width: 0; padding: 0 14px; }
  .global-search-box input, .search input { min-width: 0; }
  .module-card { min-height: 0; grid-template-columns: 54px minmax(0,1fr); gap: 14px; padding: 18px; border-radius: 16px; }
  .module-number { width: 54px; height: 54px; border-radius: 13px; }
  .module-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 6px; }
  .module-card b { margin-top: 8px; }
  .metrics { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .metrics article { min-width: 0; padding: 18px 10px; }
  .metrics article:nth-child(-n+3) { grid-column: span 2; border-bottom: 1px solid rgba(255,255,255,.13); }
  .metrics article:nth-child(n+4) { grid-column: span 3; }
  .metrics article:nth-child(3), .metrics article:nth-child(5) { border-right: 0; }
  .metrics span { font-size: 30px !important; }
  .metrics p { margin-top: 4px; line-height: 1.25; overflow-wrap: anywhere; }
  .metrics article:nth-child(3) p { font-size: 15px !important; letter-spacing: -.2px; white-space: nowrap; }
  .workspace { padding: 42px 0 70px; }
  .section-heading { align-items: start; gap: 14px; }
  .controls { min-width: 0; flex-direction: column; }
  .search { width: 100%; min-width: 0; }
  .filters { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; align-self: stretch; }
  .filters button { min-width: 0; min-height: 44px; padding: 9px 8px; }
  .filter-help { margin-top: 0; }
  .project-filters { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .project-filters button { min-width: 0; min-height: 44px; padding: 10px 8px; line-height: 1.25; }
  .pagination { gap: 8px; }
  .pagination button { min-width: 44px; height: 44px; padding: 0 9px; }
  .procurement-card { min-width: 0; grid-template-columns: 1fr; gap: 10px; padding: 17px; }
  .card-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; margin-bottom: 9px; }
  .card-meta { gap: 7px 12px; }
  .card-side { text-align: left; }
  .card-amount { display: inline-block; margin: 0 0 0 10px; }
  .detail-summary { grid-template-columns: 1fr; }
  .procurement-history { width: 100%; margin: 28px 0 34px; padding: 17px; }
  .history-heading { align-items: start; flex-direction: column; gap: 9px; }
  .history-heading > p { text-align: left; overflow-wrap: anywhere; }
  .history-current { align-items: flex-start; flex-direction: column; }
  .history-table-wrap { overflow: visible; border: 0; background: transparent; }
  .history-table, .history-table tbody { display: block; width: 100%; }
  .history-table thead { display: none; }
  .history-table tbody { display: grid; gap: 11px; }
  .history-table tr { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
  .history-table td, .history-table td:first-child, .history-table td:last-child { display: grid; grid-template-columns: minmax(98px,.38fr) minmax(0,1fr); gap: 10px; width: 100%; padding: 12px 13px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
  .history-table td:first-child { border-top: 0; }
  .history-table td::before { content: attr(data-label); color: var(--muted); font-weight: 750; }
  .history-table td > * { min-width: 0; }
  .history-note { overflow-wrap: anywhere; }
  .appeal-grid { grid-template-columns: 1fr; }
  .dossier-page { width: calc(100% - 32px); padding-top: 30px; }
  .dossier-nav { gap: 14px; margin-bottom: 30px; }
  .dossier-nav a { min-width: 0; }
  .dossier-nav button { flex: 0 0 auto; min-height: 44px; }
  .dossier-header, .dossier-columns { min-width: 0; grid-template-columns: minmax(0,1fr); }
  .dossier-columns > *, .dossier-columns > div, .detail-section { min-width: 0; max-width: 100%; }
  .description-disclosure summary { min-height: 50px; }
  .description-content { padding: 0 15px 16px; }
  .result-table-wrap, .dossier-table-wrap { max-width: 100%; overflow: visible; border: 0; background: transparent; }
  .result-table, .dossier-table { display: block; width: 100%; min-width: 0; background: transparent; }
  .result-table thead, .dossier-table thead { display: none; }
  .result-table tbody, .dossier-table tbody { display: grid; gap: 12px; }
  .result-table tr, .dossier-table tr { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
  .result-table td, .dossier-table td, .dossier-table td:nth-child(3) { display: grid; grid-template-columns: minmax(105px,.42fr) minmax(0,1fr); gap: 12px; width: 100%; min-width: 0; max-width: none; padding: 12px 14px; border-top: 1px solid var(--line); text-align: left !important; white-space: normal; overflow-wrap: anywhere; }
  .result-table td:first-child, .dossier-table td:first-child { border-top: 0; }
  .result-table td::before, .dossier-table td::before { content: attr(data-label); color: var(--muted); font-weight: 750; }
  .table-lot-title { overflow-wrap: anywhere; }
  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }
  .project-card h3, .detail-title, .dossier-title { font-size: 20px !important; font-weight: bold; }
  .privacy-page > h1 { font-size: 30px !important; }
  .decision-meta { display: block; }
  .decision-meta span { display: block; margin-top: 5px; }
  .companies-title { align-items: start; flex-direction: column; }
  .company-list { grid-template-columns: 1fr; }
  .company-card { min-width: 0; padding: 18px; }
  .company-head { min-width: 0; flex-direction: column; }
  .company-head > div { min-width: 0; max-width: 100%; }
  .company-head strong { overflow-wrap: anywhere; }
  .participation-roles { max-width: 100%; justify-content: flex-start; }
  .company-head .participation-roles span { white-space: normal; }
  .company-record dl { grid-template-columns: 1fr; }
  .company-dossier-hero { grid-template-columns: 1fr; align-items: start; }
  .company-dossier-metrics { grid-template-columns: 1fr 1fr; }
  .company-dossier-metrics article:nth-child(2) { border-right: 0; }
  .company-dossier-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .political-metrics { grid-template-columns: 1fr; }
  .political-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  .political-metrics article:last-child { border-bottom: 0; }
  .political-workspace { padding-top: 38px; }
  .political-person-head { align-items: flex-start; flex-direction: column; padding: 19px; }
  .political-person-head h3 { font-size: 23px; }
  .political-panels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .political-panels > details:nth-child(2) { border-right: 0; }
  .political-panels > details { border-bottom: 1px solid #e5e0eb; }
  .political-panels > details:nth-last-child(-n+2) { border-bottom: 0; }
  .political-panels > details[open] { border-bottom: 1px solid #e5e0eb; }
  .political-panels summary { min-height: 52px; padding: 11px 13px; font-size: 12px; }
  .political-source-list a { grid-template-columns: 1fr; gap: 7px; padding: 15px 19px; }
  .political-source-list small { text-align: left; }
  .connection-links { grid-template-columns: 1fr; padding: 13px; }
  .dossier-section-heading { align-items: start; flex-direction: column; }
  .dossier-section-heading > p { text-align: left; }
  .source-result-list { grid-template-columns: 1fr; }
  .module-grid, .projects-list { grid-template-columns: minmax(0,1fr); }
  .global-search-heading { grid-template-columns: 1fr; }
  .global-search-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .global-result-list { grid-template-columns: 1fr; }
  .global-result-item:nth-child(even) { border-left: 0; }
  .registry-company-row { min-width: 0; grid-template-columns: 1fr 1fr; padding: 17px; gap: 13px; }
  .registry-company-name, .registry-company-row > b { grid-column: 1 / -1; }
  .home-latest { grid-template-columns: 1fr; }
  .latest-column { min-width: 0; padding: 20px 18px; }
  .latest-heading { min-width: 0; align-items: start; flex-direction: column; }
  .latest-heading a { max-width: 100%; white-space: normal; }
  .latest-item { padding-right: 0; }
  .latest-item > .status, .latest-item > .project-status { position: static; justify-self: start; }
  .top-contractors-section { margin-bottom: 65px; padding: 20px 18px; border-radius: 17px; }
  .top-contractors-heading { align-items: start; flex-direction: column; gap: 10px; }
  .top-contractors-heading > p { max-width: none; }
  .top-contractor-row { grid-template-columns: 42px minmax(0,1fr); gap: 11px 14px; padding: 17px 0; }
  .top-contractor-rank { grid-row: 1 / span 2; align-self: start; }
  .top-contractor-name { min-width: 0; }
  .top-contractor-name strong { overflow-wrap: anywhere; }
  .top-contractor-count, .top-contractor-value { grid-column: 2; display: flex; justify-content: space-between; gap: 14px; text-align: left; }
  .top-contractor-count small, .top-contractor-value small { margin: 0; }
  .top-contractors-note { margin-top: 17px; }
  .projects-hero, .project-dossier-header { grid-template-columns: 1fr; }
  .projects-hero { gap: 24px; padding: 48px 0 34px; }
  .project-card { width: 100%; min-width: 0; min-height: 0; padding: 19px; }
  .project-card-top { min-width: 0; flex-direction: column; }
  .project-kind { max-width: 100%; overflow-wrap: anywhere; }
  .project-status { max-width: 100%; align-self: flex-start; white-space: normal; line-height: 1.25; }
  .project-card h3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; margin-top: 16px; }
  .project-card > p { display: none; }
  .project-card dl { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 18px 0; }
  .project-card dl > div, .project-card dd { min-width: 0; overflow-wrap: anywhere; }
  .project-metrics { grid-template-columns: 1fr 1fr; }
  .project-metrics article:nth-child(2) { border-right: 0; }
  .project-metrics article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .project-facts { grid-template-columns: 1fr; }
  .privacy-page { padding-top: 48px; }
  .source-chip { display: inline-block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  main, .dossier-page { width: calc(100% - 24px); }
  .topbar { padding: 0 12px; }
  .brand small { display: none; }
  .site-navigation { right: 12px; left: 12px; }
  .metrics article, .project-metrics article, .company-dossier-metrics article { padding: 18px 14px; }
  .section-heading { flex-direction: column; }
  .result-count { align-self: flex-start; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid div, .check-grid small { min-width: 0; overflow-wrap: anywhere; }
  .result-table td, .dossier-table td, .dossier-table td:nth-child(3) { grid-template-columns: 1fr; gap: 5px; }
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(7,54,43,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease, background-color .18s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #0b5945; }
.back-to-top:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.back-to-top svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 700px) {
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
