/* BIP — strona publiczna. WCAG 2.1 AA: kontrast >= 4.5:1, widoczny focus, działa przy 400% zoomu.
   Kolor instytucji przychodzi z /motyw.css jako --accent; odcienie liczone przez color-mix. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --accent: #9b1c1c;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 7%, #fff);
  --accent-line: color-mix(in srgb, var(--accent) 22%, #fff);
  --accent-deep: color-mix(in srgb, var(--accent) 70%, #000);
  --ink: #17181c;
  --muted: #555a64;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --panel: #f1f1ee;
  --line: #e2e2dd;
  --line-strong: #c9c9c2;
  --top: #17181c;
  --top-ink: #ffffff;
  --focus: #ffbf47;
  --ok: #17663a;
  --ok-soft: #e7f4ec;
  --warn: #8a4b00;
  --warn-soft: #fbf0e1;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 4px 16px rgba(20, 20, 30, .05);
  --shadow-hover: 0 2px 4px rgba(20, 20, 30, .06), 0 12px 28px rgba(20, 20, 30, .10);
  --font-scale: 1;
}
html.contrast {
  --accent: #ffff00; --accent-ink: #000; --accent-soft: #000; --accent-line: #ffff00; --accent-deep: #000;
  --ink: #ffffff; --muted: #ffffff; --bg: #000000; --surface: #000; --panel: #000000;
  --line: #ffffff; --line-strong: #ffffff; --top: #000; --top-ink: #ffff00;
  --ok: #00ff66; --ok-soft: #000; --warn: #ffcc00; --warn-soft: #000;
  --shadow: none; --shadow-hover: none;
}
html.contrast a { color: #ffff00; }
html.contrast .hero { background: #000; border-bottom: 2px solid #fff; }

html { font-size: calc(100% * var(--font-scale)); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01"; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px #000; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; background: #000; color: #fff; padding: 8px 12px; z-index: 10; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ico { flex: none; vertical-align: middle; }

/* --- nagłówek ----------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.topstrip { background: var(--top); color: var(--top-ink); font-size: .85rem; }
.topstrip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.bip-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.bip-logo:hover .bip-text { text-decoration: underline; }
.bip-mark { background: #d4213d; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .02em; line-height: 1;
  padding: 4px 6px 9px; clip-path: polygon(0 0, 100% 0, 100% 75%, 30% 75%, 15% 100%, 15% 75%, 0 75%); }
html.contrast .bip-mark { background: #ffff00; color: #000; }
.bip-text { font-weight: 500; letter-spacing: .01em; }
.a11y-tools { display: flex; gap: 4px; }
.a11y-tools button { font: inherit; font-weight: 600; background: transparent; color: var(--top-ink); border: 1px solid rgba(255, 255, 255, .35);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.a11y-tools button:hover { background: rgba(255, 255, 255, .12); }
.a11y-tools button[aria-pressed="true"] { background: var(--top-ink); color: var(--top); }
.no-js .a11y-tools, .no-js .print-link { display: none; }

.header-row { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.tenant { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); flex: 1 1 380px; min-width: 0; }
.tenant-mark { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--accent-ink);
  font-weight: 800; font-size: .95rem; letter-spacing: .02em; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
html.contrast .tenant-mark { background: #ffff00; color: #000; }
.tenant-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: .7rem; box-shadow: none; vertical-align: middle; margin-right: 6px; }
.tenant-text { display: flex; flex-direction: column; min-width: 0; }
.tenant-name { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.tenant-sub { color: var(--muted); font-size: .9rem; }
.tenant:hover .tenant-name { color: var(--accent); }

.search { position: relative; display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line-strong);
  border-radius: 999px; padding: 4px 4px 4px 14px; gap: 8px; flex: 0 1 380px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.search .ico { color: var(--muted); }
.search input { font: inherit; border: 0; background: transparent; color: var(--ink); min-width: 0; flex: 1; padding: 6px 0; }
.search input:focus { outline: none; }
.search button { font: inherit; font-weight: 600; border: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 18px;
  border-radius: 999px; cursor: pointer; }
.search button:hover { background: var(--accent-deep); }
html.contrast .search button:hover { background: #fff; }

.crumbs-bar { border-top: 1px solid var(--line); background: var(--surface); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 10px 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* --- strona główna ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 380px at 88% -20%, rgba(255, 255, 255, .16) 0%, transparent 60%),
              linear-gradient(120deg, var(--accent-deep) 0%, var(--accent) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(#fff 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.hero h1 { color: #fff; border: 0; padding: 0; margin: 0 0 12px; font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.1; max-width: 22ch; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; margin: 0 0 28px; color: rgba(255, 255, 255, .9); }
.search-hero { max-width: 680px; padding: 6px 6px 6px 20px; border: 0; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.search-hero input { font-size: 1.05rem; padding: 10px 0; }
.search-hero button { padding: 12px 26px; font-size: 1rem; }
html.contrast .hero h1, html.contrast .hero-lead { color: #fff; }

.home { padding-top: 40px; padding-bottom: 56px; }
.home:focus { outline: none; }
.section-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
.home-sections { margin-bottom: 40px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tiles a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tile-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); transition: background .18s, color .18s; }
.tile-title { flex: 1; line-height: 1.3; }
.tile-arrow { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .18s; }
.tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent-line); }
.tiles a:hover .tile-ico { background: var(--accent); color: var(--accent-ink); }
.tiles a:hover .tile-arrow, .tiles a:focus-visible .tile-arrow { opacity: 1; transform: none; color: var(--accent); }
.tiles a:hover .tile-title { text-decoration: underline; text-underline-offset: 3px; }

.home-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .home-cols { grid-template-columns: 1fr; } }
.home-aside { display: grid; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel-accent { border-top: 4px solid var(--accent); }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 4px; }
.timeline time { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); line-height: 1; }
.timeline .d { font-size: 1.25rem; font-weight: 800; }
.timeline .m { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.timeline a { font-weight: 600; color: var(--ink); text-decoration: none; }
.timeline a:hover { color: var(--accent); text-decoration: underline; }
html.contrast .timeline a { color: #ffff00; }

.tender-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tender-cards li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tender-cards a { font-weight: 600; color: var(--ink); text-decoration: none; }
.tender-cards a:hover { color: var(--accent); text-decoration: underline; }
html.contrast .tender-cards a { color: #ffff00; }
.deadline { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--accent-deep);
  background: var(--surface); border-radius: 999px; padding: 3px 10px; }
html.contrast .deadline { color: #fff; border: 1px solid #fff; }
.quick { list-style: none; margin: 0; padding: 0; }
.quick a { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.quick li:first-child a { border-top: 0; }
.quick a::after { content: "→"; color: var(--muted); }
.quick a:hover { color: var(--accent); }

/* --- podstrony ---------------------------------------------------------- */
.layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .main { order: -1; } }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.side-title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 8px 10px 6px; }
.side-title-2 { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--ink); text-decoration: none;
  border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.35; }
.side li a .ico { color: var(--muted); }
.side li a:hover { background: var(--panel); color: var(--accent); }
.side li a:hover .ico { color: var(--accent); }
.side li li a { padding-left: 38px; font-size: .9rem; }
.side li li li a { padding-left: 52px; }
.side li.open > a { font-weight: 600; }
.side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.side a[aria-current="page"] .ico { color: var(--accent); }
.side-extra a { color: var(--accent) !important; font-size: .9rem !important; padding: 6px 10px !important; }
html.contrast .side a { color: #ffff00; }

.main { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.main:focus { outline: none; }
h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; }
.main > h1, .content > h1 { padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.main > h1::after, .content > h1::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px;
  border-radius: 3px; background: var(--accent); }
h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-top: 32px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.meta { display: block; color: var(--muted); font-size: .875rem; margin-top: 2px; }
.attachments .meta { display: inline; }
.entry-cards { list-style: none; padding: 0; margin: 0; }
.entry-cards li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.entry-cards li:last-child { border-bottom: 0; }
.entry-cards a { font-weight: 600; }
.main .tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.main .tiles a { box-shadow: none; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 20px 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; }
.facts dt, .facts dd { padding: 10px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 600; background: var(--panel); color: var(--muted); font-size: .9rem; }
.facts dt:nth-last-of-type(1), .facts dd:last-child { border-bottom: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 2px; } }
.rich { max-width: 75ch; }
.rich table { border-collapse: collapse; }
.rich th, .rich td { border: 1px solid var(--line); padding: 6px 10px; }
.metric { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.metric summary { cursor: pointer; font-weight: 600; padding: 12px 16px; }
.metric[open] summary { border-bottom: 1px solid var(--line); }
.metric > :not(summary) { padding: 0 16px; }
.metric dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; padding-top: 14px; }
.metric dt { color: var(--muted); }
.metric dd { margin: 0; }
@media (max-width: 520px) { .metric dl { grid-template-columns: 1fr; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.s-active { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 25%, #fff); }
.badge.s-cancelled, .badge.warn { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, #fff); }
.badge.s-resolved { color: #1f4f8f; background: #e8f0fb; border-color: #c8d9f2; }
html.contrast .badge { background: #000; border-color: currentColor; }
html.contrast .badge.s-resolved { color: #66ccff; }
.notice { border-left: 4px solid var(--warn); background: var(--warn-soft); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.attachments ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.attachments li { padding: 12px 14px 12px 46px; position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.attachments li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 22px; border-radius: 3px;
  background: var(--accent-soft); border: 1.5px solid var(--accent); }
.attachments li a { font-weight: 600; }

.filters { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 20px 0; background: var(--panel); }
.filters summary { padding: 12px 16px; cursor: pointer; font-weight: 600; list-style-position: inside; }
.filters[open] summary { border-bottom: 1px solid var(--line); }
.filter-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 18px; padding: 16px; }
.filter-form.inline { padding: 0; margin: 12px 0; align-items: end; }
.filter-form .field, .filter-form fieldset { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.filter-form fieldset { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-form legend { font-weight: 600; padding: 0; margin-bottom: 4px; width: 100%; font-size: .9rem; }
.filter-form input, .filter-form select { font: inherit; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); min-width: 0; }
.filter-form input:focus, .filter-form select:focus { border-color: var(--accent); }
.filter-form fieldset input { flex: 1 1 120px; }
.filter-form label { font-weight: 600; font-size: .9rem; }
.filter-form fieldset label { font-weight: 400; }
.filter-form .actions { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; }
.filter-form button, .print-link button { font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.filter-form button[type=submit] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.filter-form button[type=submit]:hover { background: var(--accent-deep); }
.print-link { margin: 32px 0 0; }
.print-link button:hover { border-color: var(--accent); color: var(--accent); }
.api-links { font-size: .85rem; color: var(--muted); }
.count { font-size: .9rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tbody tr:last-child td { border-bottom: 0; }
table.list tbody tr:hover { background: var(--accent-soft); }
table.list thead th { background: var(--panel); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
table.list td a { font-weight: 600; }
@media (max-width: 700px) {
  .table-wrap { border: 0; }
  table.list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.list tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 8px 0; }
  table.list td { display: grid; grid-template-columns: 9em 1fr; gap: 8px; border: 0; padding: 4px 12px; }
  table.list td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .85rem; }
}
.pager { display: flex; gap: 16px; align-items: center; margin: 20px 0; }
.units ul { margin-left: 18px; }
.person { border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* --- stopka ------------------------------------------------------------- */
.site-footer { background: var(--top); color: #d9dae0; padding: 44px 0 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; margin: 0 0 14px; color: #fff; display: flex; align-items: center; gap: 6px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.contact dt { color: #a7a9b2; }
.contact dd { margin: 0; overflow-wrap: anywhere; color: #fff; }
@media (max-width: 520px) { .contact { grid-template-columns: 1fr; } }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; padding-bottom: 20px; font-size: .85rem; color: #a7a9b2; }
.bip-logo-footer { color: #d9dae0 !important; text-decoration: none; }
html.contrast .site-footer { border-top: 2px solid #fff; }
html.contrast .site-footer a, html.contrast .contact dd { color: #ffff00; }

@media print {
  body { background: #fff; }
  .skip, .side, .topstrip, .search, .crumbs-bar, .no-print, .site-footer ul, .filters, .hero .search { display: none !important; }
  .layout { display: block; }
  .main, .panel { border: 0; box-shadow: none; padding: 0; }
  .hero { background: none; color: #000; }
  .hero h1, .hero-lead { color: #000; }
  a { color: #000; }
  .metric { break-inside: avoid; }
  .metric:not([open]) > *:not(summary) { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* hero: kolumna z liczbami */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 28px; } }
.tenant-mark.tiny { width: 26px; height: 26px; border-radius: 7px; font-size: .55rem; letter-spacing: 0; box-shadow: none;
  background: #fff; color: var(--accent); }
.eyebrow { padding-left: 6px; }
.hero-facts { display: grid; gap: 12px; margin: 0; }
.hero-facts > div { padding: 16px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.hero-facts dt { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero-facts dd { margin: 2px 0 0; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.hero-facts dd.small { font-size: 1.15rem; font-weight: 700; }
@media (max-width: 960px) {
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-facts > div { padding: 12px 14px; }
  .hero-facts dt { font-size: .68rem; letter-spacing: .02em; }
  .hero-facts dd { font-size: 1.5rem; }
  .hero-facts dd.small { font-size: .9rem; }
}
html.contrast .hero-facts > div { background: #000; border-color: #fff; }
html.contrast .tenant-mark.tiny { background: #ffff00; color: #000; }
