/* public-chrome.css — PR TN
 *
 * Shared public "chrome" stylesheet: the mega-menu header + mobile
 * drawer (_public_nav.html), the cookie notice (_cookie_banner.html)
 * and the /big-tenders ranked list (big_tenders.html).
 *
 * Why a file and not inline <style>: the nav block alone was ~14 KB of
 * CSS re-sent inside the HTML of every public page (landing, pricing,
 * the ~60 seo_layout pages, the 4 legal_layout pages). As a query-busted
 * static asset it is served `public, immutable, max-age=31536000`
 * (app.py @after_request), so it is fetched once and then free.
 *
 * Linked from _public_nav.html, which every public layout includes
 * before _cookie_banner.html — that is why the cookie rules ride along
 * here as well as in the standalone static/cookie-banner.css that
 * _cookie_banner.html links for the app/admin layouts (which never
 * load the public nav). The two copies of the cookie block are pinned
 * byte-identical by tests/test_public_ux_tn.py.
 *
 * Cascade note: the <link> is emitted from _public_nav.html inside
 * <body>, i.e. AFTER each layout's own <head> CSS (tokens.css +
 * landing.css / auth.css, or the seo_layout / legal_layout inline
 * blocks). That is the same document position the inline <style> held,
 * so landing.css's legacy unscoped .nav / .nav-link duplicates keep
 * losing to the #siteNav-scoped rules below exactly as before.
 *
 * Version token: bump the ?v= in _public_nav.html AND big_tenders.html
 * consumers whenever this file changes (Frontend Conventions §5.3).
 */

/* ====== PR RG — _public_nav.html scoped styles ======
   All rules are prefixed with #siteNav (or target #mobileDrawer /
   body.nav-drawer-open) so they cannot conflict with the host layout's
   bare .nav / .brand / .nav-link / .nav-actions rules. ====== */

#siteNav {
  /* z-index 100 — must stay ABOVE #mobileDrawer (90) so the hamburger (which
     animates to a close-✕ when the drawer is open) remains clickable to dismiss
     the fullscreen drawer on mobile. The drawer's 80px top padding clears it. */
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line, #E2E8F0);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--dur, 180ms), border-color var(--dur, 180ms),
              padding var(--dur, 180ms), box-shadow var(--dur, 180ms);
}
[data-theme="dark"] #siteNav { background: rgba(19,28,46,0.85); }

#siteNav.is-scrolled {
  padding: 8px 28px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 12px rgba(11,18,32,0.06);
}
[data-theme="dark"] #siteNav.is-scrolled {
  background: rgba(19,28,46,0.96);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* PR TN — the brand is a link too, and it was the last sub-44px control in
   the header (36px, set by .brand-logo). The nav is already 72px tall on
   both breakpoints, so the floor costs no layout. */
#siteNav .brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  min-height: 44px;
}
#siteNav .brand-logo {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-strong, #0B2545), var(--accent, #1E40AF));
  color: white; border-radius: var(--r-md, 8px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(11,18,32,0.05));
}
[data-theme="dark"] #siteNav .brand-logo { background: linear-gradient(135deg,#1E3A8A,#3B82F6); }
#siteNav .brand-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
#siteNav .brand-mark {
  font-family: 'Noto Serif Georgian', Georgia, serif;
  font-weight: 700; font-size: 19px; letter-spacing: -0.015em;
  color: var(--ink, #0B1220);
}
/* PR TN — was 10.5px, below the 12px legibility floor the mobile-UX audit
   flags for uppercase letterspaced micro-copy. --ink-muted (#475569 on the
   nav's effectively-white backdrop = 7.6:1; #94A3B8 on #131C2E = 6.8:1 in
   dark mode) already clears the 4.5:1 requirement, so only the size moves. */
#siteNav .brand-tag {
  font-size: 12px; color: var(--ink-muted, #475569);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}

#siteNav .nav-actions { display: flex; align-items: center; gap: 10px; }
/* PR TN — 44px minimum tap/click target (WCAG 2.5.8 AAA / Apple HIG).
   The padding is unchanged so horizontal density holds; inline-flex +
   min-height grows the box vertically and keeps the label centred. */
#siteNav .nav-link {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft, #1E293B);
  padding: 8px 14px; border-radius: var(--r-sm, 6px);
  text-decoration: none;
  transition: background var(--dur, 180ms), color var(--dur, 180ms);
  background: transparent; border: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; min-height: 44px;
}
#siteNav .nav-link:hover { color: var(--accent, #1E40AF); background: var(--accent-soft, #DBE7FB); }
#siteNav .nav-cta {
  font-size: 13.5px; font-weight: 600;
  background: linear-gradient(180deg, var(--accent, #1E40AF), var(--accent-hover, #1E3A8A));
  color: white; padding: 9px 16px; border-radius: var(--r-sm, 6px);
  text-decoration: none;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(11,18,32,0.05)), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--dur, 180ms), box-shadow var(--dur, 180ms);
  display: inline-flex; align-items: center; min-height: 44px;
}
[data-theme="dark"] #siteNav .nav-cta { color: #0B1220; font-weight: 700; }
#siteNav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md, 0 4px 12px rgba(11,18,32,0.12)); }

#siteNav .theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--paper-soft, #F8FAFC); border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--r-sm, 6px); color: var(--ink-soft, #1E293B);
  cursor: pointer;
  transition: background var(--dur, 180ms), color var(--dur, 180ms), border-color var(--dur, 180ms);
}
#siteNav .theme-toggle:hover { background: var(--accent-soft, #DBE7FB); color: var(--accent, #1E40AF); border-color: var(--accent, #1E40AF); }
#siteNav .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] #siteNav .theme-toggle .icon-sun  { display: inline-block; }
[data-theme="dark"] #siteNav .theme-toggle .icon-moon { display: none; }

/* Focus rings — a11y (PR KC pattern) */
#siteNav .nav-link:focus-visible,
#siteNav .nav-cta:focus-visible,
#siteNav .mega-trigger:focus-visible,
#siteNav .theme-toggle:focus-visible,
#siteNav .nav-hamburger:focus-visible {
  outline: 2px solid var(--accent, #1E40AF);
  outline-offset: 2px;
}

/* ====== Mega-menu ====== */
#siteNav .mega { position: relative; display: inline-flex; }

#siteNav .mega-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: none; cursor: pointer;
  font-family: inherit;
  min-height: 44px;  /* PR TN — parity with .nav-link */
}
#siteNav .mega-trigger[aria-expanded="true"] {
  color: var(--accent, #1E40AF); background: var(--accent-soft, #DBE7FB);
}
#siteNav .mega-caret {
  width: 11px; height: 11px;
  transition: transform var(--dur, 180ms);
  opacity: 0.7;
}
#siteNav .mega-trigger[aria-expanded="true"] .mega-caret {
  transform: rotate(180deg); opacity: 1;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px; max-width: 460px;
  background: var(--paper, #FFFFFF);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--r-md, 8px);
  box-shadow: 0 14px 40px rgba(11,18,32,0.12);
  padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 60;
  animation: pn-mega-panel-in 140ms ease-out;
}
.mega-panel::before {
  content: "";
  position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
[data-theme="dark"] .mega-panel {
  background: var(--paper, #131C2E);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
/* §5.7 override — specificity (0,2,0) beats UA [hidden] (0,1,0) */
.mega-panel[hidden] { display: none; }

@keyframes pn-mega-panel-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mega-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink, #0B1220);
  transition: background var(--dur, 180ms);
  cursor: pointer;
  min-height: 44px;  /* PR TN — dropdown rows are tap targets too */
}
.mega-item:hover, .mega-item:focus-visible {
  background: var(--paper-soft, #F8FAFC); outline: none;
}
.mega-item:focus-visible { box-shadow: 0 0 0 2px var(--accent, #1E40AF); }
.mega-item-icon {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: var(--accent, #1E40AF);
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.mega-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-item-title { font-size: 13.5px; font-weight: 600; color: var(--ink, #0B1220); line-height: 1.3; }
.mega-item-desc  { font-size: 12px; color: var(--ink-muted, #475569); line-height: 1.4; }

/* ====== Hamburger ====== */
#siteNav .nav-hamburger {
  display: none;
  background: var(--paper-soft, #F8FAFC);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--r-sm, 6px);
  width: 44px; height: 44px;  /* PR TN — was 40x40 */
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; padding: 0;
  transition: background var(--dur, 180ms), border-color var(--dur, 180ms);
}
#siteNav .nav-hamburger:hover {
  background: var(--accent-soft, #DBE7FB); border-color: var(--accent, #1E40AF);
}
#siteNav .hamburger-bar {
  display: block; width: 18px; height: 2px;
  background: var(--ink, #0B1220); border-radius: 2px;
  transition: transform var(--dur, 180ms), opacity var(--dur, 180ms);
}
#siteNav .nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#siteNav .nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
#siteNav .nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ====== Mobile drawer ====== */
#mobileDrawer {
  /* z-index 90 — below #siteNav (100) so the close-✕ hamburger stays clickable. */
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--paper, #FFFFFF); z-index: 90;
  overflow-y: auto;
  padding: 80px 20px 32px;
  animation: pn-drawer-in 200ms ease-out;
}
[data-theme="dark"] #mobileDrawer { background: var(--paper, #131C2E); }
#mobileDrawer[hidden] { display: none; }  /* §5.7 override */

@keyframes pn-drawer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.md-section { border-bottom: 1px solid var(--line, #E2E8F0); padding: 4px 0 12px; }
.md-section:last-of-type { border-bottom: none; }
.md-section-title {
  cursor: pointer; list-style: none;
  padding: 14px 4px;
  font-size: 15.5px; font-weight: 700; color: var(--ink, #0B1220);
  font-family: 'Noto Serif Georgian', Georgia, serif;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px;  /* PR TN — the <summary> is the section's tap target */
}
.md-section-title::-webkit-details-marker { display: none; }
.md-section-title::after { content: "+"; font-size: 20px; color: var(--ink-muted, #475569); font-weight: 300; line-height: 1; transition: transform var(--dur, 180ms); }
.md-section[open] .md-section-title::after { content: "\2212"; }
/* PR TN — was `display: block; padding: 11px 8px` (~41px). flex + min-height
   lifts every drawer row to 44px with the label vertically centred. */
.md-item {
  display: flex; align-items: center; min-height: 44px;
  padding: 12px 8px; font-size: 14px;
  color: var(--ink-soft, #1E293B); text-decoration: none;
  border-radius: 6px; transition: background var(--dur, 180ms);
}
.md-item:hover, .md-item:focus-visible { background: var(--paper-soft, #F8FAFC); color: var(--accent, #1E40AF); outline: none; }
.md-item-top { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--ink, #0B1220); }
.md-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px;  /* PR TN — explicit floor; the 14px padding already cleared it */
  margin-top: 16px; padding: 14px 20px;
  text-align: center; font-size: 15px; font-weight: 700;
  background: linear-gradient(180deg, var(--accent, #1E40AF), var(--accent-hover, #1E3A8A));
  color: white; border-radius: var(--r-sm, 6px); text-decoration: none;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(11,18,32,0.05)), inset 0 1px 0 rgba(255,255,255,0.15);
}
[data-theme="dark"] .md-cta { color: #0B1220; }

body.nav-drawer-open { overflow: hidden; }

/* ====== Mobile breakpoint ====== */
@media (max-width: 900px) {
  #siteNav .nav-actions { display: none; }
  #siteNav .nav-hamburger { display: inline-flex; }
}
@media (max-width: 640px) {
  #siteNav { padding: 12px 16px; }
  #siteNav.is-scrolled { padding: 8px 16px; }
  #siteNav .brand-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mega-panel, #mobileDrawer { animation: none; }
  #siteNav .mega-caret, #siteNav, #siteNav .hamburger-bar { transition: none; }
}

/* ====== /big-tenders ranked value list (PR SM; externalised PR TN) ======
   Capital Board redesign: a ranked value-bar list instead of the old
   5-column .seo-table, which crushed unreadably on phones and gave the
   announced value — the page's entire premise — no visual weight. The
   bar widths are server-computed (inline style="width:N%"), so the
   crawlable HTML stays JS-free. ====== */
.bt-list { list-style: none; margin: 0; padding: 0; }
.bt-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 190px 108px;
  gap: 6px 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.bt-rank {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  color: var(--ink-faint); text-align: right;
}
.bt-row:nth-child(-n+3) .bt-rank { color: var(--accent); font-weight: 700; }
.bt-title {
  display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bt-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.bt-meta { font-size: 12.5px; color: var(--ink-muted); margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-meta .sep { color: var(--ink-faint); margin: 0 5px; }
.bt-value { text-align: right; }
.bt-amount {
  font-family: 'JetBrains Mono', monospace; font-size: 14.5px;
  font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;
}
.bt-bar {
  display: block; height: 4px; margin-top: 5px; border-radius: 2px;
  background: var(--accent-soft); overflow: hidden;
}
.bt-bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.bt-deadline { text-align: right; font-size: 13px; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; }
/* PR TN — was 11.5px, under the 12px legibility floor. */
.bt-days {
  display: inline-block; margin-top: 3px; padding: 1px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--amber); border: 1px solid currentColor;
}
.bt-days.urgent { color: #B91C1C; }
[data-theme="dark"] .bt-days.urgent { color: #FCA5A5; }
@media (max-width: 680px) {
  .bt-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    grid-template-areas: "rank main deadline" "rank value value";
  }
  .bt-rank { grid-area: rank; text-align: left; }
  .bt-main { grid-area: main; }
  .bt-value { grid-area: value; text-align: left; }
  .bt-deadline { grid-area: deadline; }
  .bt-meta { white-space: normal; }
}

/* ===== BEGIN shared cookie-banner block — keep byte-identical with static/cookie-banner.css ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--paper, #fff);
  border-top: 1px solid var(--line, #E2E8F0);
  box-shadow: 0 -8px 24px rgba(11, 18, 32, 0.08);
  padding: 12px 20px;
  display: none;
  font-family: 'Noto Sans Georgian', sans-serif;
  animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] .cookie-banner {
  background: var(--paper, #131C2E);
  border-top-color: var(--line, #2A3A52);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}
.cookie-banner.show { display: block; }
/* PR TN §5.7 override — MUST come after `.cookie-banner.show` (both are
   specificity 0,2,0, so source order decides). The markup ships the
   `hidden` attribute so a failed fetch of this stylesheet cannot render
   the notice as an un-hidden static block on every page; the partial's JS
   removes the attribute before adding `.show`. */
.cookie-banner[hidden] { display: none; }

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* PR FI-7 a11y F-5 fix — honor `prefers-reduced-motion`.
   The cookie banner's 0.4s slide-up + opacity fade-in animation
   trips vestibular-disorder / motion-sensitivity users who set
   the OS-level reduced-motion preference. The banner still
   appears (it's not animation: none on .cookie-banner display)
   — just no transform/opacity transition, so it shows up in
   place without sliding. Same pattern as PR CH (results-pending
   spinner) and the system-wide reduced-motion override in
   landing.css / auth.css / index.css. */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft, #DBE7FB);
  color: var(--accent, #1E40AF);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}
[data-theme="dark"] .cookie-banner-icon {
  background: var(--accent-soft, #1E3A8A);
  color: var(--accent, #60A5FA);
}
.cookie-banner-text {
  flex: 1; min-width: 200px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft, #1E293B);
}
.cookie-banner-text strong { color: var(--ink, #0B1220); font-weight: 600; }
.cookie-banner-text a {
  color: var(--accent, #1E40AF);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* PR TN — the one-line summary. The long §6.4 explanation moved into
   the .cookie-more <details> below so the banner stops eating 22% of a
   390x844 viewport (and stops covering the landing hero CTA). */
.cookie-banner-lead { margin: 0; }

/* Second row: the privacy link and the disclosure trigger side by side.
   The link lives OUT here rather than inside the clamped .cookie-banner-lead
   (where `-webkit-line-clamp: 2` clipped it away at >=1.5x zoom and at
   <=260px), and keeping both on one row is what holds the closed banner
   under 80px. */
.cookie-banner-more {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 14px; margin-top: 2px;
}
.cookie-privacy-link {
  font-size: 12.5px; font-weight: 600;
  color: var(--accent, #1E40AF);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex; align-items: center;
  min-height: 24px;  /* WCAG 2.5.8 minimum */
}
.cookie-more { min-width: 0; }
/* Expanded, the disclosure takes its own full-width row so the long text
   is not crammed into the space left over beside the privacy link. */
.cookie-more[open] { flex: 1 0 100%; }
.cookie-more summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent, #1E40AF);
  /* PR TN review fix — was `padding: 2px 0` = 20.8px tall; WCAG 2.5.8
     wants 24x24 for a non-inline target. */
  padding: 4px 0; min-height: 24px;
}
.cookie-more summary::-webkit-details-marker { display: none; }
.cookie-more summary::after { content: "+"; font-weight: 400; }
.cookie-more[open] summary::after { content: "\2212"; }
.cookie-more summary:focus-visible {
  outline: 2px solid var(--accent, #1E40AF);
  outline-offset: 2px;
  border-radius: 2px;
}
.cookie-more-body {
  margin-top: 6px;
  /* A user-expanded banner must never swallow the whole phone screen. */
  max-height: 42vh; overflow-y: auto;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  transition: var(--transition-base);
  white-space: nowrap;
}
.cookie-btn-dismiss {
  background: var(--accent, #1E40AF);
  color: white;
  border-color: var(--accent, #1E40AF);
}
.cookie-btn-dismiss:hover {
  background: var(--accent-hover, #1E3A8A);
  border-color: var(--accent-hover, #1E3A8A);
}

/* PR SF — slim the mobile banner. It was covering 30-40% of a
   390px viewport (icon + full-width stacked text + full-width
   button), hiding the landing CTA underneath. Drop the decorative
   icon, tighten padding/font-size, and let the text sit beside the
   button instead of forcing a min-width:100% stack.

   PR TN — finish the job: `flex-wrap: nowrap` keeps the button on the
   summary's row (wrap was still pushing it onto a third line once the
   Georgian copy ran long), the summary line clamps at two lines, and
   the dismiss button keeps a 40px touch height. Target is <= 80px so
   the bar clears the landing hero CTA at 390x844. */
@media (max-width: 640px) {
  .cookie-banner { padding: 8px 12px; }
  .cookie-banner-inner { gap: 10px; flex-wrap: nowrap; align-items: center; }
  .cookie-banner-icon { display: none; }
  .cookie-banner-text { font-size: 12.5px; line-height: 1.4; min-width: 0; }
  .cookie-banner-lead {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* The clamp above applies ONLY to the lead paragraph — the privacy link
     and the disclosure trigger sit in .cookie-banner-more below it and are
     never clipped, at any zoom level or viewport width. */
  .cookie-banner-more { column-gap: 12px; }
  .cookie-privacy-link, .cookie-more summary { font-size: 12px; }
  .cookie-banner-actions { width: auto; }
  .cookie-btn { padding: 8px 12px; min-height: 40px; }
}
/* ===== END shared cookie-banner block ===== */

/* PR TU review fix — /catalog's registry print/Save-as-PDF button.
   A <button> doesn't inherit the page's font by default and Firefox's
   default cursor on <button> isn't `pointer`; the 44px floor matches
   every other public tap target (PR TN). Pill styling matches .chip
   (seo_layout.html's shared style block) without depending on it. */
.print-btn {
  min-height: 44px; font: inherit; cursor: pointer;
  background: var(--paper-soft, #F8FAFC); border: 1px solid var(--line, #E2E8F0);
  border-radius: 999px; padding: 4px 14px; margin-top: 10px;
  color: var(--ink-soft, #1E293B); font-size: 12.5px;
}
.print-btn:hover { border-color: var(--accent, #1E40AF); color: var(--accent, #1E40AF); }
