@font-face {
  font-family: "Funnel Display";
  src: url("/static/fonts/FunnelDisplay-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Sans";
  src: url("/static/fonts/FunnelSans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("/static/fonts/Orbitron-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Funnel Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 104%;
}

:root {
  --navy: #0b2038;
  --navy-2: #16304f;
  --teal: #4cbfaa;
  --teal-hover: #66cbb8;
  --teal-ink: #17766a;
  --bg: #f1f6f5;
  --surface: #ffffff;
  --soft: #edf7f5;
  --tint: #e8f6f3;
  --ink: #111d2d;
  --muted: #5b6a71;
  --line: #d8e2e0;
  --line-strong: #c3cfcc;
  --on-navy: #ffffff;
  --on-navy-muted: #c9d7df;
  --scrim: rgb(11 32 56 / 45%);

  --urgent: #b42318;
  --urgent-bg: #fdecea;
  --soon: #93510b;
  --soon-bg: #fdf3e4;
  --ok: #17766a;
  --ok-bg: #e8f6f3;
  --closed: #5d6b78;
  --closed-bg: #eef1f4;

  --font-display: "Funnel Display", "Funnel Fallback", system-ui, sans-serif;
  --font-sans: "Funnel Sans", "Funnel Fallback", system-ui, sans-serif;
  --font-eye: "Orbitron", "Funnel Sans", system-ui, sans-serif;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 22px;
  --r-2xl: 24px;
  --r-full: 999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;

  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 150ms;
}

.ed-blue { --ed: #1760a5; }
.ed-violet { --ed: #5655a8; }
.ed-red { --ed: #9a4521; }
.ed-green { --ed: #006c4b; }
.ed-pink { --ed: #924275; }
.ed-amber { --ed: #835500; }
.ed-slate { --ed: #4d6172; }
.ed-lime { --ed: #236c2d; }
.ed-orange { --ed: #944a00; }
.ed-teal { --ed: #006b5f; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -80px; z-index: 60; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); background: var(--navy); color: var(--on-navy); font-weight: 600;
}
.skip-link:focus { top: var(--s-2); }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ico-arrow { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }

.eye {
  color: var(--teal-ink); font: 700 12px/16px var(--font-eye); letter-spacing: 0.16em; text-transform: uppercase;
}
.muted { color: var(--muted); }
.strong { font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-5); border: 1px solid transparent; border-radius: var(--r-sm);
  font: 600 15px/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; background: none;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn:hover .ico-arrow, .link-arrow:hover .ico-arrow { transform: translateX(4px); }
.btn-pill { border-radius: var(--r-full); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { color: var(--ink); padding: 0 var(--s-3); }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; cursor: pointer; background: none; border: 0; list-style: none;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn::-webkit-details-marker { display: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px;
  color: var(--teal-ink); font-weight: 600; text-decoration: none;
}
.section-head .link-arrow, .cta-actions .link-arrow { white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }

.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: var(--r-full);
  background: var(--tint); color: var(--teal-ink); font: 600 13px/1 var(--font-sans);
}
.tag-sm { min-height: 24px; font-size: 12px; }

.pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-3); border-radius: var(--r-full);
  background: color-mix(in srgb, var(--ed, var(--teal-ink)) 11%, var(--surface)); color: var(--ed, var(--teal-ink));
  font: 600 13px/1 var(--font-sans); text-decoration: none; white-space: nowrap;
}
a.pill { min-height: 44px; padding: 0 var(--s-4); font-size: 14px; position: relative; }
a.pill::after { content: ""; position: absolute; inset: -4px 0; }
a.pill:hover { background: color-mix(in srgb, var(--ed, var(--teal-ink)) 18%, var(--surface)); }
a.pill[aria-current="page"] { background: var(--ed, var(--navy)); color: var(--on-navy); }
.pill-outline { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
a.pill-outline:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--navy); }
a.pill-outline[aria-current="page"] { background: var(--navy); color: var(--on-navy); box-shadow: none; }

.ed-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ed, var(--teal)); flex: none; }

.dl {
  display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: var(--r-full);
  font: 600 13px/1 var(--font-sans); white-space: nowrap; background: var(--ok-bg); color: var(--ok);
}
.dl-dot { width: 7px; height: 7px; border-radius: var(--r-full); background: currentColor; flex: none; }
.dl-urgent { background: var(--urgent-bg); color: var(--urgent); }
.dl-soon { background: var(--soon-bg); color: var(--soon); }
.dl-closed, .dl-none { background: var(--closed-bg); color: var(--closed); }
.dl-lg { min-height: 36px; padding: 0 14px; font-size: 15px; }

.seal {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-sm);
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--navy);
  font: 700 12px/1 var(--font-display); letter-spacing: 0.02em;
}
.seal-sm { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; align-items: center; gap: var(--s-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; text-decoration: none; margin-right: auto; }
.brand img { width: 132px; }
.brand-tag { padding: 3px 10px; border-radius: var(--r-full); background: var(--tint); color: var(--teal-ink); font: 600 12px/1.2 var(--font-sans); }
.header-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-right: -6px; }
.header-cta { display: none; }
.header-menu { position: relative; }

.sheet { display: grid; gap: var(--s-1); }
.header-menu .sheet, .filters-sheet .sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 82vh; overflow-y: auto;
  padding: var(--s-6) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -8px 32px rgb(11 32 56 / 18%);
}
.header-menu[open]::before, .filters-sheet[open]::before {
  content: ""; position: fixed; inset: 0; z-index: 50; background: var(--scrim);
}
.sheet .eye { margin-bottom: var(--s-2); }
.sheet-link { display: flex; align-items: center; min-height: 48px; padding: 0 var(--s-2); border-radius: var(--r-sm); text-decoration: none; font-size: 17px; font-weight: 500; }
.sheet-link:hover { background: var(--soft); }
.sheet .btn { margin-top: var(--s-3); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-title { font: 700 20px/1.2 var(--font-display); }
.sheet-group { border: 0; padding: 0; margin: var(--s-4) 0 0; min-width: 0; }
.sheet-group legend { padding: 0; }
.sheet-options { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sheet-option {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-full);
  box-shadow: inset 0 0 0 1px var(--line-strong); text-decoration: none; font-size: 14px; font-weight: 500;
}
.sheet-option.is-selected { background: var(--navy); color: var(--on-navy); box-shadow: none; }
body.has-sheet { overflow: hidden; }

.hero { padding-block: var(--s-12) var(--s-8); display: grid; gap: var(--s-4); justify-items: start; }
.display {
  font: 750 clamp(40px, 9.6vw, 88px)/0.98 var(--font-display); letter-spacing: -0.035em; color: var(--ink);
  text-wrap: balance; max-width: 15ch;
}
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 620px; }
.counter { margin-top: var(--s-2); }

.toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding-bottom: var(--s-6); }
.pills-row { display: flex; align-items: center; gap: var(--s-4); }
.pills {
  display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter);
}
.pills::-webkit-scrollbar { display: none; }
.view-toggle { display: none; }
.view-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--surface); color: var(--muted); cursor: pointer;
}
.view-btn[aria-current="true"] { background: var(--navy); color: var(--on-navy); }
.view-btn:hover:not([aria-current]) { color: var(--ink); background: var(--soft); }
.view-btn:focus-visible { outline-offset: -2px; }

.filter-bar { display: flex; align-items: center; gap: var(--s-3); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: var(--s-4); overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; display: inline-flex; align-items: center; min-height: 48px; white-space: nowrap;
  color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none;
}
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); }
.filter-controls { display: none; }
.filters-sheet > summary { list-style: none; min-height: 44px; padding: 0 var(--s-4); margin-bottom: 6px; }
.filters-sheet > summary::-webkit-details-marker { display: none; }

.dropdown { position: relative; }
.select {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3) 0 var(--s-4);
  border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; white-space: nowrap;
}
.select::-webkit-details-marker { display: none; }
.select:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.select.is-active { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.select .ico { width: 16px; height: 16px; }
.menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 240px; max-height: 340px; overflow-y: auto;
  padding: var(--s-2); border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgb(11 32 56 / 12%);
}
.menu-item {
  display: flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm);
  text-decoration: none; font-size: 15px;
}
.menu-item:hover, .menu-item:focus-visible { background: var(--soft); outline: none; }
.menu-item:focus-visible { box-shadow: inset 0 0 0 2px var(--teal-ink); }
.menu-check { width: 16px; height: 16px; visibility: hidden; color: var(--teal-ink); }
.menu-item.is-selected { font-weight: 600; }
.menu-item.is-selected .menu-check { visibility: visible; }

.search { position: relative; display: flex; align-items: center; }
.search-ico { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 44px; padding: 0 var(--s-3) 0 40px; border: 0; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 0; }
.sheet .search { margin-top: var(--s-4); }
.search-lg input { min-height: 56px; font-size: 17px; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.result-count { color: var(--muted); font-size: 14px; margin-right: var(--s-2); }
.result-count strong { color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px; border-radius: var(--r-full);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 14px; font-weight: 500; text-decoration: none;
  position: relative;
}
.chip::after { content: ""; position: absolute; inset: -6px 0; }
.chip .ico { width: 16px; height: 16px; color: var(--muted); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--navy); }

.block { padding-bottom: var(--s-12); }
.block-more { display: flex; justify-content: center; padding-top: var(--s-8); }
.btn-lg { min-height: 52px; padding: 0 var(--s-8); font-size: 16px; }
.pills-home { margin-top: var(--s-4); width: calc(100% + 2 * var(--gutter)); }
.featured {
  position: relative; display: grid; overflow: hidden; border-radius: var(--r-2xl);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.featured-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.featured:hover .featured-media img { transform: scale(1.02); }
.featured-body { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-6); }
.featured-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.featured-title { font: 750 clamp(26px, 3.4vw, 40px)/1.08 var(--font-display); letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.featured-title a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.featured-excerpt { color: var(--muted); font-size: 17px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-facts { display: grid; gap: var(--s-3); padding-block: var(--s-4); border-block: 1px solid var(--line); }
.featured-facts > div { display: grid; gap: 4px; min-width: 0; }
.featured-facts dt, .card-facts dt, .ficha-list dt {
  color: var(--muted); font: 700 12px/16px var(--font-eye); letter-spacing: 0.14em; text-transform: uppercase;
}
.featured-facts dd { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); font-size: 15px; }
.with-seal { display: flex; align-items: center; gap: var(--s-2); }
.featured-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: 14px; }
.sep { margin-inline: 10px; color: var(--line-strong); }
.read-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.featured:hover .read-more .ico-arrow { transform: translateX(4px); }
.card-link { text-decoration: none; color: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.featured:has(.card-link:focus-visible), .card:has(.card-link:focus-visible), .row:has(.row-link:focus-visible), .ed-item:has(.row-link:focus-visible) {
  outline: 2px solid var(--teal-ink); outline-offset: 3px;
}
.featured .pill, .card .pill { position: relative; z-index: 2; }

.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-4); margin-bottom: var(--s-4); }
.h2 { font: 700 24px/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.h2-lg { font: 750 clamp(28px, 4vw, 40px)/1.08 var(--font-display); letter-spacing: -0.025em; color: var(--ink); margin-top: var(--s-2); text-wrap: balance; }

.text-list { display: grid; border-top: 1px solid var(--line); }
.text-row {
  position: relative; display: grid; gap: 6px; justify-items: start; padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
}
.text-row-title { font: 600 17px/1.4 var(--font-sans); text-decoration: none; }
.text-row-title::after { content: ""; position: absolute; inset: 0; }
.text-row:hover .text-row-title { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.text-row-meta { color: var(--muted); font-size: 14px; }

.results { padding-bottom: var(--s-12); }
.grid-view { display: grid; gap: var(--s-5); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--fast) var(--ease);
}
.card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-media::after, .featured-media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(11 32 56 / 8%); pointer-events: none;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }
.card-title { font: 700 20px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.card:hover .card-title a { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card-organ { display: flex; align-items: center; gap: var(--s-2); color: var(--muted); font-size: 14px; line-height: 1.35; }
.card-facts { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.card-facts > div { display: grid; gap: 2px; min-width: 0; }
.card-facts > div:last-child { text-align: right; }
.card-facts dd { font-size: 15px; font-weight: 600; color: var(--ink); }

.list-view { border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.row {
  position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-areas: "seal deadline" "main main";
  gap: var(--s-3) var(--s-4); padding: var(--s-5); border-top: 1px solid var(--line);
  transition: background-color var(--fast) var(--ease);
}
.list-view > .row:first-child { border-top: 0; }
.row:hover { background: var(--bg); }
.row > .seal { grid-area: seal; }
.row-main { grid-area: main; display: grid; gap: 6px; min-width: 0; }
.row-deadline { grid-area: deadline; display: flex; align-items: center; justify-content: flex-end; gap: var(--s-2); flex-wrap: wrap; }
.row-date { color: var(--muted); font-size: 13px; }
.row-arrow { display: none; }
.row-label { display: flex; align-items: center; gap: var(--s-2); color: var(--muted); font: 700 12px/16px var(--font-eye); letter-spacing: 0.14em; text-transform: uppercase; }
.row-ed { display: inline-flex; align-items: center; gap: 6px; color: var(--ed); }
.row-sep { color: var(--line-strong); }
.row-title { font: 700 17px/1.4 var(--font-display); color: var(--ink); text-wrap: pretty; }
.row-link { text-decoration: none; }
.row-link::after { content: ""; position: absolute; inset: 0; }
.row-link:focus-visible { outline: none; }
.row:hover .row-title { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.row-excerpt { color: var(--muted); font-size: 15px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: flex; flex-wrap: wrap; gap: 2px 0; color: var(--muted); font-size: 14px; }
.row-meta strong { color: var(--ink); font-weight: 600; }
.row-meta > * + *::before { content: "·"; margin-inline: 8px; color: var(--line-strong); font-weight: 400; }
.row.is-closed .row-title { opacity: 0.6; }

.cta-inline {
  display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-5); border-top: 1px solid var(--line); background: var(--tint);
}
.cta-inline-text { font-size: 15px; }

.ed-list { border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ed-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-5); border-top: 1px solid var(--line); }
.ed-item:first-child { border-top: 0; }
.ed-item:hover { background: var(--bg); }
.ed-item:hover .row-title { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ed-photo { display: none; }
.ed-body { display: grid; gap: 6px; min-width: 0; }
.ed-count { color: var(--muted); font-size: 14px; text-align: right; white-space: nowrap; }
.ed-count strong { display: block; color: var(--ink); font: 700 28px/1 var(--font-display); }

.pager { display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding-top: var(--s-8); }
.pager-btn {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--s-2); border-radius: var(--r-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); text-decoration: none; font-weight: 600;
}
.pager-btn:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.pager-btn[aria-current="page"] { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.pager-gap { color: var(--muted); }

.empty { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-10) var(--s-6); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.empty p { color: var(--muted); }

.cta-band {
  display: grid; gap: var(--s-6); align-items: end; padding: var(--s-8) var(--s-6); margin-bottom: var(--s-16);
  border-radius: var(--r-xl); background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 30%, var(--surface));
}
.cta-band p:not(.eye) { color: var(--muted); max-width: 560px; margin-top: var(--s-3); font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }

.post { padding-top: var(--s-8); }
.post-head { display: grid; gap: var(--s-4); max-width: 860px; padding-bottom: var(--s-8); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-2); font: 700 12px/16px var(--font-eye); letter-spacing: 0.16em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; color: var(--teal-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-title { font: 750 clamp(32px, 6vw, 52px)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.post-lead { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 680px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) 0; color: var(--muted); font-size: 14px; }
.post-meta > * + *::before { content: "·"; margin-inline: 10px; color: var(--line-strong); }
.post-meta .pill + span::before { content: ""; margin-inline: 6px; }

.post-grid { display: grid; gap: var(--s-8); }
.post-grid > .post-head { padding-bottom: 0; }
.ficha {
  display: grid; gap: var(--s-4); justify-items: stretch; padding: var(--s-6); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.ficha > .dl { justify-self: start; }
.ficha-list > div { display: grid; gap: 4px; padding-block: var(--s-3); border-top: 1px solid var(--line); }
.ficha-list > div:first-child { border-top: 0; padding-top: 0; }
.ficha-list dd { font-size: 16px; font-weight: 500; color: var(--ink); }
.ficha-list dd small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.ficha-value { font: 750 26px/1.15 var(--font-display) !important; letter-spacing: -0.015em; }
.ficha-docs { display: grid; gap: 6px; margin-bottom: 2px; }
.ficha-docs li { display: flex; gap: var(--s-2); align-items: flex-start; font-size: 15px; }
.ficha-docs .ico { width: 18px; height: 18px; color: var(--teal-ink); margin-top: 2px; }
.ficha-official { justify-self: center; }
.ficha-share { display: flex; justify-content: center; gap: var(--s-1); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.ficha-share .ico { width: 18px; height: 18px; }

.post-body { display: grid; gap: var(--s-10); min-width: 0; max-width: 680px; }
.notice { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--soon-bg); color: var(--ink); }
.notice .ico { color: var(--soon); margin-top: 2px; }
.notice-title { font-weight: 700; }
.post-photo { display: grid; gap: var(--s-2); }
.post-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: var(--soft); outline: 1px solid rgb(11 32 56 / 8%); outline-offset: -1px; }
.post-photo figcaption { color: var(--muted); font-size: 13px; }
.prose { display: grid; gap: var(--s-4); }
.prose h2 { font: 700 24px/1.25 var(--font-display); letter-spacing: -0.015em; }
.prose p { font-size: 17px; line-height: 1.7; }
.prose-sub { color: var(--muted); font-size: 15px !important; margin-top: -8px; }
.doc-list { counter-reset: doc; display: grid; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.doc { counter-increment: doc; display: grid; grid-template-columns: 32px 1fr; padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); font-weight: 500; }
.doc:first-child { border-top: 0; }
.doc::before { content: counter(doc, decimal-leading-zero); color: var(--teal-ink); font: 700 12px/24px var(--font-eye); }
.doc small { grid-column: 2; color: var(--muted); font-weight: 400; }
.timeline { display: grid; }
.tl-item { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: var(--s-4); padding: 0 0 var(--s-5) 0; }
.tl-item::before {
  content: ""; position: absolute; left: 118px; top: 7px; width: 10px; height: 10px; border-radius: var(--r-full);
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--line-strong);
}
.tl-item::after { content: ""; position: absolute; left: 122px; top: 21px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::after { display: none; }
.tl-item time { font-weight: 600; font-size: 15px; color: var(--ink); }
.tl-item span { padding-left: var(--s-6); font-size: 16px; }
.tl-item em { margin-left: var(--s-2); font-style: normal; color: var(--teal-ink); font: 700 12px/1 var(--font-eye); letter-spacing: 0.14em; text-transform: uppercase; }
.tl-next::before { background: var(--teal); box-shadow: 0 0 0 4px var(--tint); }
.tl-past time, .tl-past span { color: var(--muted); }
.tl-key span { font-weight: 600; }

.cta-navy {
  display: grid; gap: var(--s-6); align-items: end; margin-block: var(--s-12); padding: var(--s-8) var(--s-6);
  border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy);
}
.cta-navy h2 { font: 750 clamp(26px, 3.6vw, 36px)/1.1 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.cta-navy p { color: var(--on-navy-muted); margin-top: var(--s-3); max-width: 560px; }
.cta-navy :focus-visible { outline-color: var(--teal); }
.related { padding-bottom: var(--s-16); }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 64px; padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform 200ms var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-info { display: flex; align-items: center; gap: var(--s-2); min-width: 0; font-size: 14px; }
.sticky-value { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-post .site-footer { padding-bottom: calc(var(--s-16) + env(safe-area-inset-bottom)); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--s-6) + env(safe-area-inset-bottom)); z-index: 70; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-sm); background: var(--navy); color: var(--on-navy); font-size: 14px; font-weight: 500;
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

.error-page .search { width: min(100%, 560px); }

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: var(--s-12); }
.footer-grid { display: grid; gap: var(--s-8); }
.footer-brand { display: grid; gap: var(--s-4); justify-items: start; align-content: start; max-width: 380px; }
.footer-brand img { width: 160px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-title { margin-bottom: var(--s-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--teal-ink); text-decoration: underline; }
.footer-links-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-6); margin-top: var(--s-10); padding-block: var(--s-6); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .header-cta { display: inline-flex; min-height: 44px; }
  .hero { padding-block: var(--s-16) var(--s-10); }
  .view-toggle { display: inline-flex; border-radius: var(--r-sm); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
  .pills { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .pills-home { width: auto; }
  .grid-view { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-excerpt { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .cta-band { grid-template-columns: 1fr auto; padding: var(--s-12); }
  .cta-navy { grid-template-columns: 1fr auto; padding: var(--s-12); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-item { grid-template-columns: 160px 1fr auto; }
  .ed-photo { display: block; width: 160px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); }
  .post-photo img { border-radius: var(--r-xl); }
}

@media (min-width: 960px) {
  .header-nav { display: flex; gap: var(--s-1); margin-inline: auto; }
  .brand { margin-right: 0; }
  .header-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-full);
    text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted);
  }
  .header-nav a:hover { color: var(--ink); }
  .header-nav a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .header-search, .header-menu, .filters-sheet, .cta-inline { display: none; }
  .display { max-width: 24ch; }
  .lead { font-size: 19px; }
  .filter-bar { padding-bottom: 0; }
  .filter-controls { display: flex; align-items: center; gap: var(--s-2); padding-bottom: 6px; }
  .filter-controls .search { width: 240px; }
  .filter-controls .search input { min-height: 44px; }
  .featured { grid-template-columns: 55fr 45fr; }
  .featured-media { aspect-ratio: auto; min-height: 100%; }
  .featured-body { padding: var(--s-10); gap: var(--s-5); }
          .grid-view { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
  .block { padding-bottom: var(--s-24); }
  .hero { padding-block: var(--s-16) var(--s-16); }
  .text-row { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: var(--s-6); padding: var(--s-5) 0; }
  .text-row-meta { text-align: right; }
  .row {
    grid-template-columns: 40px minmax(0, 1fr) 132px 20px; grid-template-areas: "seal main deadline arrow";
    align-items: start; padding: var(--s-5) var(--s-6);
  }
  .row-deadline { flex-direction: column; align-items: flex-end; gap: 6px; }
  .row-arrow { display: block; grid-area: arrow; align-self: center; color: var(--muted); transition: transform var(--fast) var(--ease); }
  .row:hover .row-arrow { transform: translateX(4px); color: var(--ink); }
  .row-title { font-size: 19px; line-height: 1.37; }
  .post-grid { grid-template-columns: minmax(0, 680px) minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; gap: var(--s-8) 0; align-items: start; }
  .post-head { grid-column: 1; grid-row: 1; }
  .post-body { grid-column: 1; grid-row: 2; }
  .ficha-col { grid-column: 3; grid-row: 1 / span 2; align-self: start; position: sticky; top: var(--s-6); }
  .sticky-cta { display: none; }
  .page-post .site-footer { padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1.1fr 1.4fr 0.8fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .card:hover .card-media img, .featured:hover .featured-media img { transform: none; }
}
