/* Fonts are served from this site (SIL OFL, licences in /assets/fonts/), so no
   visit reaches Google Fonts. Latin subset only: it covers Spanish and «€». */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.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: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-italic.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: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.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 Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/inter-latin-wght-normal.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; }

:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --surface: #fff;
  --text: #161616;
  --text-muted: #5c5c5c;
  --border: #e3e1dc;
  --red: #c62828;
  --red-hover: #9e0000;
  --red-text: #b71c1c;
  --blue: #0052b0;
  --blue-strong: #072a73;
  --on-blue: #fff;
  --scroll-thumb: #c9c6bf;
  --scroll-thumb-hover: #5c5c5c;
  --shadow: 0 18px 55px rgb(22 22 22 / 8%);
  /* Corners: small controls and boxes, cards, and the large coloured panels. */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  /* Two heading sizes: a section's title, and the title of a block, panel or long text inside it. */
  --h2-section: clamp(2rem, 5vw, 4.25rem);
  --h2-block: clamp(1.8rem, 4vw, 3rem);
  --font-display: "Inter Variable", "Segoe UI", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #121212;
  --surface: #1c1c1c;
  --text: #f2f1ee;
  --text-muted: #a3a3a3;
  --border: #2e2e2e;
  --red-text: #ff6b6b;
  --blue: #6fa8ff;
  --blue-strong: #b5d4ff;
  --on-blue: #0b1730;
  --scroll-thumb: #3a3a3a;
  --scroll-thumb-hover: #a3a3a3;
  --shadow: 0 20px 70px rgb(0 0 0 / 30%);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #121212;
    --surface: #1c1c1c;
    --text: #f2f1ee;
    --text-muted: #a3a3a3;
    --border: #2e2e2e;
    --red-text: #ff6b6b;
    --blue: #6fa8ff;
    --blue-strong: #b5d4ff;
  --on-blue: #0b1730;
    --scroll-thumb: #3a3a3a;
    --scroll-thumb-hover: #a3a3a3;
    --shadow: 0 20px 70px rgb(0 0 0 / 30%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.55 var(--font-body); text-rendering: optimizeLegibility; }
/* Hints and notes stay readable: never under 14 px (the browser's default makes them smaller). */
small { font-size: .875rem; }
body::-webkit-scrollbar, *::-webkit-scrollbar { width: 10px; height: 10px; }
body::-webkit-scrollbar-thumb, *::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; }
body::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-strong); }
button, input, select { font: inherit; }
/* Every drop-down, on the site and in the panel, draws the same arrow with room
   on its right. The arrow follows the text colour, so it works in both themes.
   !important because each form sets its own background with the shorthand. */
select:not([multiple]):not([size]) { appearance: none; padding-right: 2.8rem !important; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important; background-position: right 1.35rem center, right 1rem center !important; background-size: .35rem .35rem !important; background-repeat: no-repeat !important; cursor: pointer; }
select:disabled { cursor: not-allowed; opacity: .65; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 .55em; }
h1 { font-size: clamp(3.1rem, 7.4vw, 6.6rem); text-wrap: balance; }
/* A word longer than the screen (in French or Romanian titles) breaks instead of pushing the page sideways. */
h1, h2 { overflow-wrap: break-word; }
.language-page h1, .language-page h2 { hyphens: auto; }
h2 { font-size: var(--h2-section); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { margin: 0 0 1em; }
code { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .15em .4em; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--surface); transform: translateY(-180%); border-radius: var(--radius-sm); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 25%); background: color-mix(in srgb, var(--bg), transparent 8%); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 2rem; }
.brand { color: var(--text); display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 800 1.15rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
/* The logo carries its own lettering, so it is the same in the header, the footer and the favicon. */
.brand-mark { display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff; font: 800 1.05rem/1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 0 0 5px color-mix(in srgb, var(--red), transparent 82%); }
.brand-name, .brand-name small { display: block; }
.brand-name small { margin-top: .2rem; color: var(--text-muted); font: 700 .58rem/1.1 var(--font-body); letter-spacing: .08em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.desktop-nav > a, .nav-group > summary { position: relative; padding: .5rem .8rem; color: var(--text); font-size: .9375rem; font-weight: 700; text-decoration: none; }
/* A bar under the item: faint on hover, red in the section you are in. */
.desktop-nav > a::before, .nav-group > summary::before { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -.2rem; height: 4px; border-radius: 4px; background: transparent; transition: background-color .15s; }
.desktop-nav > a:hover::before, .nav-group > summary:hover::before, .nav-group[open] > summary::before { background: var(--border); }
.desktop-nav > a[aria-current="page"], .nav-group.active > summary { color: var(--red-text); }
.desktop-nav > a[aria-current="page"]::before, .nav-group.active > summary::before { background: var(--red); }
/* Groups open on click (or Enter), like any disclosure; the script closes them on Escape or a click elsewhere. */
.nav-group { position: relative; }
.nav-group > summary { display: flex; align-items: center; gap: .4rem; list-style: none; cursor: pointer; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: .42rem; height: .42rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease, border-color .2s ease; }
/* On hover or while open, the arrow turns red and drops a little, pointing at the panel. */
.nav-group > summary:hover::after, .nav-group[open] > summary::after { border-color: var(--red-text); transform: translateY(1px) rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .nav-group > summary::after { transition: border-color .2s ease; } }
.nav-group-panel { position: absolute; z-index: 30; top: calc(100% + .85rem); left: 50%; width: 19.5rem; display: grid; gap: .15rem; padding: .5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transform: translateX(-50%); }
/* Fills the gap under the button, so the pointer can reach the panel without it closing. */
.nav-group-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
.nav-group:last-of-type .nav-group-panel { left: auto; right: 0; transform: none; }
.nav-group-panel a { display: grid; gap: .15rem; padding: .7rem .85rem; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; }
.nav-group-panel a:hover, .nav-group-panel a:focus-visible { background: var(--bg); }
.nav-group-panel strong { font: 800 .9375rem/1.2 var(--font-display); }
.nav-group-panel small { color: var(--text-muted); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.nav-group-panel a[aria-current="page"] strong { color: var(--red-text); }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text); background: var(--surface); cursor: pointer; }
.theme-toggle svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-toggle + .theme-toggle { margin-left: .5rem; }

.hero { min-height: min(760px, calc(100vh - 76px)); display: grid; align-items: center; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 48vw; height: 48vw; min-width: 420px; min-height: 420px; border: 1px solid color-mix(in srgb, var(--red), transparent 78%); border-radius: 50%; right: -18vw; top: -12vw; box-shadow: 0 0 0 7vw color-mix(in srgb, var(--red), transparent 94%), 0 0 0 14vw color-mix(in srgb, var(--blue), transparent 96%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; position: relative; }
.hero-copy h1 { max-width: 930px; }
.eyebrow { margin-bottom: 1.15rem; color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.lede { max-width: 760px; color: var(--text-muted); font-size: clamp(1.15rem, 2vw, 1.48rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: .7rem 1.3rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.button:active { transform: scale(.97); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-hover); color: #fff; }
.button-secondary { border-color: var(--blue); color: var(--blue); background: transparent; }
.button-quiet { border-color: var(--border); background: transparent; color: var(--text-muted); }
.hero-note { padding: clamp(1.4rem, 3vw, 2rem); border-top: 5px solid var(--red); background: var(--surface); box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); }
.display-number { display: flex; align-items: baseline; gap: .12em; margin-block: .1em; color: var(--text); font: 850 clamp(3.1rem, 6vw, 5.2rem)/1 var(--font-display); letter-spacing: -.055em; white-space: nowrap; }
.display-number small { font-size: .52em; letter-spacing: -.03em; }
.reference-label { display: block; margin-top: .4rem; color: var(--text-muted); font-size: .9375rem; font-weight: 800; }
.reference-gross { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; }
.reference-gross strong { color: var(--text); }
.agreement-counter-section { padding: 0 0 clamp(2.5rem, 5vw, 4.5rem); }
.agreement-counter { display: grid; grid-template-columns: minmax(230px, .58fr) minmax(0, 1.42fr); overflow: hidden; border-radius: var(--radius-lg); background: #161616; color: #f7f6f3; box-shadow: var(--shadow); }
.agreement-counter-number { min-height: 250px; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 3rem); background: var(--red); }
.agreement-counter-number strong { font: 900 clamp(4rem, 9vw, 7.5rem)/.82 var(--font-display); letter-spacing: -.065em; }
.agreement-counter-number span { margin-top: 1rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.agreement-counter-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 5vw, 3.5rem); }
.agreement-counter-copy .eyebrow { color: #ff7777; }
.agreement-counter-copy h2 { max-width: 780px; font-size: var(--h2-section); }
.agreement-counter-copy p:not(.eyebrow) { max-width: 760px; color: #c9ced3; }
.agreement-counter-copy a { width: fit-content; color: #d5e6ff; font-weight: 900; }
.counter-banner { background: #161616; color: #f7f6f3; }
.counter-banner p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; margin-block: 0; padding-block: .7rem; font-size: .92rem; }
.counter-banner strong { padding: .1rem .55rem; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; }
.counter-banner a { color: #d5e6ff; font-weight: 800; }
.home-guide-feature { padding: 0 0 clamp(3.75rem, 8vw, 7rem); }
.home-guide-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(2rem, 6vw, 5rem); padding: clamp(1.6rem, 5vw, 4rem); border-radius: var(--radius-lg); background: #101820; color: #f7f6f3; box-shadow: var(--shadow); }
.home-guide-panel::after { content: "GUÍA"; position: absolute; right: -1.5rem; bottom: -2.8rem; color: rgb(255 255 255 / 4%); font: 900 clamp(6rem, 18vw, 13rem)/1 var(--font-display); letter-spacing: -.08em; pointer-events: none; }
.home-guide-panel .eyebrow { color: #ff7777; }
.home-guide-copy, .home-guide-action { position: relative; z-index: 1; }
.home-guide-copy h2 { max-width: 760px; font-size: var(--h2-section); }
.home-guide-copy > p { max-width: 680px; color: #c9ced3; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.home-guide-points { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.home-guide-points li { padding: .48rem .75rem; border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; color: #e5e7e9; font-size: .9375rem; font-weight: 800; }
.home-guide-action { align-self: stretch; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius); background: rgb(255 255 255 / 7%); }
.home-guide-mark { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.3rem; border-radius: 50%; background: var(--red); color: #fff; font: 900 1.3rem/1 var(--font-display); }
.home-guide-action strong { font: 800 1.25rem/1.2 var(--font-display); }
.home-guide-action p { margin: .8rem 0 1.5rem; color: #b9c0c6; font-size: .88rem; }
.home-guide-action .button { width: 100%; margin-top: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 440px; color: var(--text-muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.action-card { min-width: 0; min-height: 300px; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.action-card h2, .action-card h3 { overflow-wrap: break-word; }
a.action-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--text); }
.action-card.featured { border-top: 5px solid var(--red); }
.action-card.muted { color: var(--text-muted); }
.card-index { color: var(--red-text); font: 800 .8rem/1 var(--font-body); letter-spacing: .12em; }
.action-card h2, .action-card h3 { margin-top: auto; }
.action-card p { color: var(--text-muted); }
.card-link { color: var(--blue); font-weight: 800; }
.section-dark { background: #161616; color: #f2f1ee; }
.section-dark .button-secondary { border-color: #8fbdff; color: #d5e6ff; }
.section-dark .button-secondary:hover { border-color: #fff; color: #fff; }
.split-callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
/* Blocks that stay dark in both themes keep the light red for their labels. */
.section-dark .eyebrow, .fixed-action-panel .eyebrow { color: #ff6b6b; }
blockquote { margin: 0 0 1.5rem; font: 800 clamp(1.75rem, 4vw, 3.5rem)/1.05 var(--font-display); }
.muted-light { color: #a3a3a3; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.story-card { min-height: 250px; display: flex; flex-direction: column; padding: 1.5rem; background: var(--surface); border-top: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; border-radius: var(--radius); }
.story-card:first-child { border-top: 5px solid var(--blue); }
.story-card h3 { margin-top: 2.5rem; }
.story-card > p:not(.story-meta) { color: var(--text-muted); }
.story-card > span { margin-top: auto; color: var(--blue); font-weight: 900; }
.story-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.story-meta { color: var(--text-muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.press-purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.press-purpose-grid article { min-height: 245px; display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.press-purpose-grid article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.press-purpose-grid h3 { margin-top: auto; }
.press-purpose-grid p { margin-bottom: 0; color: var(--text-muted); }
.press-post-card { min-height: 310px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .48fr); gap: 1rem 3rem; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.press-post-card.featured { border-top: 6px solid var(--red); box-shadow: var(--shadow); }
.press-card-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.press-card-meta > span { color: var(--red-text); }
.press-post-card h3 { align-self: end; margin: 1.5rem 0 0; font-size: clamp(2rem, 4.6vw, 4rem); }
.press-post-card > p { align-self: end; margin: 0; color: var(--text-muted); }
.press-post-card > a { grid-column: 1 / -1; width: fit-content; margin-top: .5rem; font-weight: 900; }
.press-media-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.press-media-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) 220px; gap: clamp(1.2rem, 4vw, 3rem); align-items: center; padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.press-media-date { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding-right: 1.25rem; border-right: 1px solid var(--border); }
.press-media-date span { color: var(--red-text); font: 900 clamp(1.5rem, 3vw, 2.1rem)/1.05 var(--font-display); }
.press-media-date small { color: var(--text-muted); font-weight: 800; text-transform: uppercase; }
.press-media-copy .story-meta { margin-bottom: .7rem; }
.press-media-copy h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.press-media-copy > p:not(.story-meta), .press-media-copy > small { color: var(--text-muted); }
.press-media-actions { display: grid; gap: .9rem; text-align: center; }
.press-media-actions > a:not(.button) { font-size: .9375rem; font-weight: 900; }
.press-community-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-top: clamp(2rem, 6vw, 4rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-left: 5px solid var(--blue); background: var(--surface); border-radius: var(--radius); }
.press-community-note h2 { font-size: var(--h2-block); }
.press-kit { border-left-color: var(--red); }
.press-kit .button { flex-direction: column; gap: .15rem; text-align: center; }
.press-kit-meta { font-size: .875rem; font-weight: 600; opacity: .85; }
.press-community-note p:not(.eyebrow) { max-width: 720px; margin-bottom: 0; color: var(--text-muted); }
.press-article-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 1.5rem 0 1.7rem; color: var(--text-muted); font-size: .9375rem; font-weight: 800; }
.press-article-meta span + span::before { content: "·"; margin-right: 1.2rem; }
.press-article { font-size: 1.08rem; }
.press-article > p:first-child { padding-left: 1.25rem; border-left: 5px solid var(--red); color: var(--text); font: 800 clamp(1.35rem, 2.8vw, 2rem)/1.35 var(--font-display); }
.press-article > h2 { margin-top: clamp(3rem, 7vw, 5rem); }
.press-article > h3 { margin-top: 2.5rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.press-article ul { display: grid; gap: .65rem; padding: 0; list-style: none; }
.press-article ul li { position: relative; margin: 0; padding: .95rem 1rem .95rem 3rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.press-article ul li::before { content: "✓"; position: absolute; left: 1rem; color: var(--red-text); font-weight: 900; }
.press-article ul ul { margin-top: .65rem; }
.press-article ol { padding-left: 1.4rem; }
.press-article a { font-weight: 800; }
.press-article blockquote { margin-block: clamp(3rem, 7vw, 5rem) 0; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: var(--radius); background: #161616; color: #f2f1ee; font: 800 clamp(1.4rem, 3.2vw, 2.3rem)/1.25 var(--font-display); }
.press-article blockquote p { margin: 0; }
.press-article blockquote p + p { margin-top: 1rem; }
.press-article hr { margin-block: 3rem; border: 0; border-top: 1px solid var(--border); }
.press-figure { margin: clamp(2rem, 5vw, 3rem) 0; }
.press-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--surface); }
.press-figure figcaption { margin-top: .6rem; color: var(--text-muted); font-size: .9375rem; }
.press-video { margin: clamp(2rem, 5vw, 3rem) 0; }
.timeline { position: relative; display: grid; gap: clamp(1.5rem, 4vw, 2.2rem); margin: 0; padding: 0 0 0 1.8rem; list-style: none; }
.timeline::before { content: ""; position: absolute; top: .4rem; bottom: .4rem; left: .45rem; width: 2px; background: var(--border); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; top: .35rem; left: -1.72rem; width: .9rem; height: .9rem; border: 3px solid var(--bg); border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.timeline-date { color: var(--red-text); font-size: .82rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.timeline-item h3 { margin: .25rem 0 .4rem; font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
.timeline-item p { margin: 0; color: var(--text-muted); }
.timeline-item .timeline-source { margin-top: .5rem; font-size: .9375rem; }
.timeline-source a { font-weight: 800; }
.memory-voices { background: var(--surface); }
.testimony { margin: 0 0 clamp(1.5rem, 4vw, 2.2rem); padding: clamp(1.3rem, 4vw, 2rem); border-left: 5px solid var(--red); border-radius: var(--radius); background: var(--bg); }
.testimony blockquote { margin: 0; font: 400 1.08rem/1.6 var(--font-body); }
.testimony blockquote p { margin: 0; }
.testimony blockquote p + p { margin-top: .9rem; }
.testimony figcaption { margin-top: 1rem; color: var(--text-muted); font-size: .88rem; font-weight: 800; }
.testimony figcaption::before { content: "— "; }
.memory-empty { padding: 1.2rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-muted); }
.memory-note { margin: 1.5rem 0 1rem; color: var(--text-muted); font-size: .88rem; }
.memory-teaser .button { margin-top: .5rem; }
.video-preview, .video-player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: var(--radius); background: #111; }
.video-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-preview:hover img { transform: scale(1.02); }
.video-preview:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.video-play { position: absolute; inset: 50% auto auto 50%; display: grid; width: clamp(3.5rem, 9vw, 4.5rem); aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 6px 24px rgb(0 0 0 / .35); transform: translate(-50%, -50%); transition: transform .2s ease; }
.video-play svg { width: 45%; height: 45%; margin-left: 8%; }
.video-preview:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.press-video figcaption { display: grid; gap: .2rem; margin-top: .7rem; color: var(--text-muted); font-size: .9rem; }
.press-video figcaption strong { color: var(--text); }
.press-video figcaption small { font-size: .9375rem; }
.link-card { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1.2rem; align-items: center; margin: clamp(2rem, 5vw, 3rem) 0; padding: .9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.link-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.link-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.link-card.link-card-text { grid-template-columns: minmax(0, 1fr); padding: 1.2rem; }
.link-card-image img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; border-radius: calc(var(--radius) - 6px); }
.link-card-body { display: grid; gap: .4rem; min-width: 0; }
.link-card-source { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--text-muted); font-size: .9375rem; font-weight: 800; }
.link-card-icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--text); }
.link-card-host::before { content: "·"; margin-right: .4rem; }
.link-card-title { font: 800 clamp(1.1rem, 2.2vw, 1.3rem)/1.3 var(--font-display); }
.press-article a.link-card { font-weight: inherit; }
.link-card-description { display: -webkit-box; overflow: hidden; color: var(--text-muted); font-size: .92rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
@media (max-width: 620px) {
  .link-card { grid-template-columns: minmax(0, 1fr); }
  .link-card-image img { max-height: 200px; }
}
.press-empty { padding: 2rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text-muted); }
.status-chip { display: inline-flex; width: fit-content; border: 1px solid var(--border); border-radius: 999px; padding: .4rem .7rem; color: var(--text-muted); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.agreement-document { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border); border-top: 6px solid var(--red); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.document-heading-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.document-heading-line .eyebrow { margin-bottom: 0; }
.agreement-document h2 { margin-top: 1.2rem; font-size: var(--h2-section); }
.agreement-period { color: var(--text-muted); font-weight: 900; }
.agreement-explanation { max-width: 760px; font-size: 1.08rem; }
.document-source { color: var(--text-muted); font-size: .9375rem; }
.agreement-plain-language { align-self: stretch; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); background: color-mix(in srgb, var(--red), var(--surface) 94%); }
.agreement-plain-language > strong { display: block; margin-bottom: .7rem; color: var(--red-text); font: 900 clamp(1.4rem, 3vw, 2rem)/1.1 var(--font-display); }
.agreement-plain-language p { margin: 0; color: var(--text-muted); }
.document-status { display: inline-flex; width: fit-content; padding: .35rem .65rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.document-status.warning { border-color: color-mix(in srgb, var(--red), transparent 45%); color: var(--red-text); }
.document-status.current { border-color: color-mix(in srgb, var(--blue), transparent 45%); color: var(--blue); }
.documents-section { background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.document-tool-section { scroll-margin-top: 100px; }
.document-tool-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 1rem; align-items: stretch; }
.document-tool-intro > div:first-child { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.document-tool-intro h3 { margin-bottom: .55rem; }
.document-tool-intro .button { margin-top: .7rem; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.document-card { min-height: 365px; display: flex; flex-direction: column; padding: 1.45rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.document-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.document-card-top > span:first-child { color: var(--red-text); font: 900 1.1rem/1 var(--font-display); }
.document-card h3 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
.document-card > p:not(.story-meta) { color: var(--text-muted); }
.document-card > small { display: block; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--text-muted); }
.document-card > a { margin-top: .8rem; font-weight: 900; }
.reference-document-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reference-document-list a { display: grid; gap: .55rem; padding: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.reference-document-list a:hover { border-color: var(--blue); }
.reference-document-list span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.reference-document-list strong { color: var(--text); font: 850 1.3rem/1.15 var(--font-display); }
.reference-document-list small { color: var(--text-muted); }
.documents-review { margin-top: 1.5rem; color: var(--text-muted); font-size: .9375rem; }
.vacation-key-section { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.vacation-key-number { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--red); color: #fff; }
.vacation-key-number strong { font: 900 clamp(5rem, 12vw, 9rem)/.8 var(--font-display); letter-spacing: -.07em; }
.vacation-key-number span { margin-top: 1rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.vacation-key-section > div:last-child > p:not(.eyebrow, .plain-note) { max-width: 760px; color: var(--text-muted); }
.vacation-formula { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.5rem 0; }
.vacation-formula span, .vacation-formula strong { padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.vacation-formula strong { border-color: var(--blue); color: var(--blue); }
.vacation-formula b { color: var(--text-muted); }
.vacation-contract-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.vacation-contract-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vacation-contract-grid article { min-height: 330px; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.vacation-contract-grid article.featured { border-top: 5px solid var(--red); box-shadow: var(--shadow); }
.vacation-contract-grid article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.vacation-contract-grid h3 { margin-top: auto; }
.vacation-contract-grid p { margin-bottom: 0; color: var(--text-muted); }
.vacation-calculator-section { scroll-margin-top: 90px; }
.vacation-pay-explainer { align-items: start; }
.vacation-rate-breakdown { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .6rem; align-items: center; margin: 1.4rem 0; }
.vacation-rate-breakdown span { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 1rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius-sm); background: rgb(255 255 255 / 6%); }
.vacation-rate-breakdown strong { color: #fff; font: 900 clamp(1.7rem, 3.2vw, 2.7rem)/1 var(--font-display); white-space: nowrap; }
.vacation-rate-breakdown small { margin-top: .45rem; color: #b9c0c6; }
.vacation-rate-breakdown b { color: #8fbdff; font-size: 1.5rem; }
.vacation-situation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.vacation-situation-grid article { min-height: 285px; display: flex; flex-direction: column; padding: 1.25rem; border-top: 4px solid var(--blue); background: var(--surface); border-radius: var(--radius); }
.vacation-situation-grid article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.vacation-situation-grid h3 { margin-top: auto; }
.vacation-situation-grid p { margin-bottom: 0; color: var(--text-muted); font-size: .9rem; }
.vacation-proofs-section { padding-top: 0; }
.vacation-proofs-section .deadline-alert h2 { max-width: 850px; font-size: var(--h2-block); }
.vacation-sources { padding-top: 0; }
.agreement-hero .lede { max-width: 760px; }
.agreement-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 1rem; }
.agreement-status-card, .agreement-source-note { padding: clamp(1.4rem, 4vw, 2.3rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.agreement-status-card { border-top: 5px solid var(--red); }
.agreement-status-card h2 { max-width: 820px; font-size: var(--h2-block); }
.agreement-status-card > p, .agreement-source-note p { color: var(--text-muted); }
.agreement-source-note { align-self: stretch; border-left: 5px solid var(--blue); }
.agreement-source-note strong { font: 850 1.25rem/1.15 var(--font-display); }
.agreement-source-note small { display: block; margin-top: 1.2rem; color: var(--text-muted); line-height: 1.5; }
.agreement-reader-section { padding-top: 0; }
.agreement-no-js { display: grid; gap: .8rem; }
.agreement-no-js section { margin-top: 1.5rem; }
.agreement-no-js details { padding: 1rem; border-bottom: 1px solid var(--border); }
.agreement-no-js summary { font-weight: 900; cursor: pointer; }
.agreement-no-js-article { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.agreement-no-js-article h2 { font-size: var(--h2-block); }
.agreement-no-js-article p { white-space: pre-line; }
.agreement-no-js ul { columns: 2 18rem; column-gap: 2rem; margin: .6rem 0 0; padding-left: 1.2rem; }
.agreement-no-js li { break-inside: avoid; margin-bottom: .35rem; }
.historical-agreements-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.historical-agreements-heading > p { max-width: 620px; }
.historical-agreement-list { display: grid; gap: .7rem; }
.historical-agreement-card { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.historical-agreement-card:hover { border-color: var(--blue); transform: translateX(4px); }
.historical-agreement-order { color: var(--red-text); font: 900 1.05rem/1 var(--font-display); letter-spacing: .08em; }
.historical-agreement-copy { display: grid; grid-template-columns: minmax(140px, .35fr) minmax(240px, 1fr); align-items: center; gap: .15rem 1.2rem; }
.historical-agreement-copy .story-meta { grid-column: 1 / -1; margin: 0; }
.historical-agreement-copy h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.historical-agreement-copy > p:not(.story-meta), .historical-agreement-copy small { margin: 0; color: var(--text-muted); }
.historical-agreement-copy small { grid-column: 2; }
.historical-agreement-card .button { white-space: nowrap; }
.historical-agreements-note { max-width: 820px; margin: 1rem 0 0; color: var(--text-muted); font-size: .9375rem; }

/* Every inner page opens with the same subtle red wash (the home page has its own circles). */
.page-hero { padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--red), transparent 95%), transparent 58%); }
.page-hero.compact h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); }
.page-hero.error-page { min-height: 70vh; display: grid; align-items: center; }
.fallback-card, .notice, .privacy-box { padding: 1.25rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.notice { margin-bottom: 2rem; }
.notice.warning { border-left: 5px solid var(--red); }
.privacy-box { margin-top: 3rem; border-left: 5px solid var(--blue); }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { margin-top: 1.5em; font-size: var(--h2-block); }
.prose li + li { margin-top: .6rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { padding: 1.2rem; text-align: left; font-weight: 900; }
th, td { padding: 1rem 1.2rem; border-top: 1px solid var(--border); text-align: left; }
thead th { position: sticky; top: 0; background: var(--surface); }
.content-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(2rem, 7vw, 6rem); }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: .75rem; }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.guide-content h2 { scroll-margin-top: 110px; }
.inspection-layout { grid-template-columns: 230px minmax(0, 850px); }
.guide-toc { max-height: calc(100vh - 130px); overflow-y: auto; padding-right: .6rem; font-size: .9375rem; }
.guide-toc a { margin-left: 1px; padding: .4rem .65rem; border-left: 3px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.guide-toc a.active { border-left-color: var(--red); background: color-mix(in srgb, var(--red), transparent 91%); color: var(--text); font-weight: 900; }
.inspection-guide { min-width: 0; }
.inspection-guide .eyebrow { margin-bottom: .65rem; }
.guide-section { scroll-margin-top: 100px; padding-top: 4rem; }
.deadline-alert { padding: clamp(1.3rem, 4vw, 2rem); border: 2px solid var(--red); border-radius: var(--radius); background: color-mix(in srgb, var(--red), var(--surface) 94%); }
.deadline-alert > strong { display: block; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.2; }
.deadline-alert ul { margin-bottom: 0; padding-left: 1.2rem; }
.guide-table { margin-top: 1.5rem; }
.guide-table table { min-width: 700px; }
.guide-table td:first-child { width: 38%; }
.plain-note { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--blue); background: var(--surface); color: var(--text-muted); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.plain-note strong { color: var(--text); }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.route-card { display: flex; flex-direction: column; min-width: 0; padding: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.route-card.recommended { border-top: 5px solid var(--blue); }
.route-card h3 { margin-top: .7rem; }
.route-card ul { padding-left: 1.15rem; }
.route-card > a { margin-top: auto; padding-top: .8rem; font-weight: 800; }
.route-label { color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.check-list, .shield-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.check-list li, .shield-list li { position: relative; padding: 1rem 1rem 1rem 3.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.check-list li::before { content: "✓"; position: absolute; top: 1rem; left: 1rem; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--blue), transparent 84%); color: var(--blue); font-weight: 900; }
.shield-list li::before { content: ""; position: absolute; top: 1rem; left: 1rem; width: 1.25rem; height: 1.25rem; border: 3px solid var(--blue); border-radius: 50% 50% 55% 55%; }
.compact-buttons { margin-top: 1.2rem; }
.compact-buttons .button { min-height: 44px; font-size: .875rem; }
.form-field-list, .faq-section { display: grid; gap: .7rem; }
.form-field-list { margin-top: 1.7rem; }
.form-field-list details, .faq-section details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.form-field-list summary, .faq-section summary { padding: 1rem 1.15rem; color: var(--text); font-weight: 900; cursor: pointer; }
.form-field-list details > div, .faq-section details > p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--text-muted); }
.form-field-list details > div p:last-child { margin-bottom: 0; }
.example-box { margin-top: 1.5rem; padding: 1.25rem 1.35rem; border-radius: var(--radius-sm); background: #072a73; color: #fff; }
.example-box span { display: block; margin-bottom: .65rem; font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.example-box p { margin: 0; }
.submission-list { display: grid; gap: .8rem; }
.submission-list article { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; padding: 1.2rem; border-top: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); }
.submission-list article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.submission-list h3 { margin-bottom: .3rem; }
.submission-list p { margin-bottom: .6rem; }
.submission-list a { font-weight: 800; }
.after-list { display: grid; gap: .8rem; padding-left: 1.4rem; }
.after-list li { padding-left: .4rem; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.resource-grid a { display: grid; gap: .2rem; padding: 1.05rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.resource-grid a:hover { border-color: var(--blue); }
.resource-grid strong { color: var(--text); }
.resource-grid span { color: var(--text-muted); font-size: .9375rem; }
.contact-card { display: grid; gap: .35rem; margin-top: 1.4rem; padding: 1.25rem; border-left: 5px solid var(--blue); background: var(--surface); font-style: normal; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.contact-card small, .legal-disclaimer { color: var(--text-muted); }
.legal-disclaimer { font-size: .9375rem; }
.rights-deadline-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 1rem; align-items: stretch; }
.rights-deadline-intro .deadline-alert p:last-child { margin-bottom: 0; }
.rights-orientation-note { padding: clamp(1.3rem, 4vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rights-orientation-note strong { display: block; margin-bottom: .45rem; font-size: 1.15rem; }
.rights-orientation-note p { color: var(--text-muted); }
.rights-orientation-note small { color: var(--blue); font-weight: 800; }
.rights-tool-section { padding-top: 1rem; }
.rights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.right-card { min-height: 320px; display: flex; flex-direction: column; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.right-card:hover { border-color: color-mix(in srgb, var(--blue), var(--border) 45%); transform: translateY(-2px); }
.right-card.urgent { border-top: 5px solid var(--red); }
.right-card h3 { margin: .9rem 0 .55rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.right-card > p { color: var(--text-muted); }
.right-card-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.right-card-meta strong, .right-card-meta .group-tag { display: inline-flex; border-radius: 999px; padding: .25rem .5rem; }
.right-card-meta strong { background: color-mix(in srgb, var(--red), transparent 86%); color: var(--red-text); }
.right-card-meta .group-tag { background: color-mix(in srgb, var(--blue), transparent 87%); color: var(--blue); }
.right-card .deadline { margin-top: auto; padding-top: 1rem; color: var(--red-text); font-size: .9375rem; font-weight: 900; }
.right-card > a { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); font-weight: 900; text-decoration: none; }
.rights-help-section { padding-top: 0; }

.payroll-equation { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.payroll-equation h2 { max-width: 540px; font-size: var(--h2-section); }
.payroll-equation-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.payroll-equation-steps li { position: relative; min-height: 180px; display: flex; flex-direction: column; justify-content: end; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.payroll-equation-steps li > span { position: absolute; top: 1rem; left: 1rem; color: var(--red-text); font: 900 1.45rem/1 var(--font-display); }
.payroll-equation-steps li.minus > span, .payroll-equation-steps li.equals > span { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--blue), transparent 86%); color: var(--blue); }
.payroll-equation-steps strong { font: 850 clamp(1.35rem, 2.5vw, 1.9rem)/1 var(--font-display); }
.payroll-equation-steps small { margin-top: .5rem; color: var(--text-muted); }
.payroll-map-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.payroll-section-heading > div { max-width: 730px; }
.payroll-map { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start; }
.payslip-demo { position: relative; overflow: hidden; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--border); border-top: 7px solid var(--red); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); font-size: clamp(.75rem, 1.4vw, .95rem); }
.payslip-demo header { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--text); }
.payslip-demo header div { display: grid; }
.payslip-demo small { color: var(--text-muted); }
.payslip-person, .payslip-lines, .payslip-deductions, .payslip-bases, .payslip-demo footer { position: relative; }
.payslip-person { padding: 1rem 2.8rem 1rem 0; border-bottom: 1px solid var(--border); }
.payslip-lines, .payslip-deductions { display: grid; gap: .55rem; padding: 1.2rem 2.8rem 1.2rem 0; border-bottom: 1px solid var(--border); }
.payslip-lines > div, .payslip-deductions > div, .payslip-total, .payslip-demo footer { display: flex; justify-content: space-between; gap: 1rem; }
.payslip-total { padding: .8rem 0; border-bottom: 2px solid var(--text); font-weight: 900; }
.payslip-bases { display: grid; gap: .25rem; padding: 1rem 3rem 1rem 0; border-bottom: 1px solid var(--border); }
.payslip-demo footer { align-items: center; padding: 1.2rem 3rem 0 0; font-size: clamp(1.05rem, 2.5vw, 1.45rem); font-weight: 900; }
.payroll-number { position: absolute; top: 50%; right: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; }
.payslip-demo footer .payroll-number { top: calc(50% + .6rem); }
.payroll-map-key { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.payroll-map-key li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .85rem; padding: 1rem; border-bottom: 1px solid var(--border); }
.payroll-map-key li > span { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; }
.payroll-map-key strong { font-size: 1.05rem; }
.payroll-map-key p { margin: .25rem 0 0; color: var(--text-muted); font-size: .9rem; }
.payroll-glossary { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.payroll-glossary article { min-height: 210px; display: flex; flex-direction: column; justify-content: end; padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.payroll-glossary strong { color: var(--red-text); font: 850 clamp(1.25rem, 2.5vw, 1.65rem)/1 var(--font-display); }
.payroll-glossary p { margin: .65rem 0 0; color: var(--text-muted); font-size: .9375rem; }
.payroll-sector-section { overflow: hidden; }
.payroll-sector-callout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.payroll-sector-callout h2 { font-size: var(--h2-section); }
.payroll-sector-callout > div:last-child > p { color: #c9ced3; }
.payroll-sector-callout > div:last-child > p strong { color: #fff; }
.sector-rate-equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: .65rem; align-items: center; margin: 1.5rem 0; }
.sector-rate-equation > strong { min-height: 130px; display: flex; flex-direction: column; justify-content: center; padding: 1rem; border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--radius); background: rgb(255 255 255 / 7%); color: #fff; font: 850 clamp(1.4rem, 3vw, 2.15rem)/1 var(--font-display); }
.sector-rate-equation > strong:first-child { border-color: #ff7777; }
.sector-rate-equation small { margin-top: .55rem; color: #c9ced3; font: 700 .9375rem/1.3 var(--font-body); }
.sector-rate-equation > span { font: 900 1.5rem/1 var(--font-display); }
.payroll-checklist { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.payroll-checklist li { min-height: 310px; display: flex; flex-direction: column; padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.payroll-checklist li > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.payroll-checklist li > div { display: flex; flex: 1; flex-direction: column; }
.payroll-checklist strong { display: block; margin-top: auto; font: 850 1.4rem/1.05 var(--font-display); }
.payroll-checklist p { margin: .7rem 0; color: var(--text-muted); font-size: .9375rem; }
.payroll-checklist a { margin-top: auto; font-size: .9375rem; font-weight: 900; }
.payroll-warning-section { padding-top: 0; }
.payroll-alert { max-width: 900px; margin: 0 auto; }
.payroll-alert h2 { font-size: var(--h2-block); }
.payroll-alert li + li { margin-top: .45rem; }
.payroll-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.payroll-action-grid article { min-height: 260px; padding: 1.25rem; border-top: 4px solid var(--blue); background: var(--surface); border-radius: var(--radius); }
.payroll-action-grid article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.payroll-action-grid h3 { margin-top: 2rem; }
.payroll-action-grid p { margin-bottom: 0; color: var(--text-muted); font-size: .9rem; }
.payroll-sources { padding-top: 0; }
.payroll-sources h2 { font-size: var(--h2-block); }
.payroll-sources li + li { margin-top: .65rem; }
.payroll-sources .legal-disclaimer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.fixed-guide-status { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 1rem; align-items: stretch; }
.fixed-guide-definition, .agreement-reference-note { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.fixed-guide-definition { border-top: 6px solid var(--red); }
.fixed-guide-definition h2 { max-width: 760px; font-size: var(--h2-section); }
.fixed-guide-definition p:last-child, .agreement-reference-note p { color: var(--text-muted); }
.agreement-reference-note { display: flex; flex-direction: column; border-left: 5px solid var(--blue); }
.agreement-reference-note > strong { font: 850 clamp(1.4rem, 3vw, 2rem)/1.1 var(--font-display); }
.agreement-reference-note p { margin-top: .8rem; }
.agreement-reference-note a { margin-top: auto; font-weight: 900; }
.fixed-cycle-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 45%); }
.fixed-guide-heading > div { max-width: 760px; }
.fixed-cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.fixed-cycle li { position: relative; min-height: 230px; display: flex; flex-direction: column; justify-content: end; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.fixed-cycle li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -1.15rem; width: 1.55rem; height: 1.55rem; transform: translateY(-50%); border-radius: 50%; background: var(--red); }
.fixed-cycle li:not(:last-child)::before { content: ""; position: absolute; z-index: 2; top: 50%; right: -.605rem; width: .46rem; height: .46rem; transform: translateY(-50%) rotate(45deg); border-top: 2px solid #fff; border-right: 2px solid #fff; }
.fixed-cycle li > span { position: absolute; top: 1rem; left: 1rem; color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.fixed-cycle strong { font: 850 clamp(1.4rem, 2.5vw, 2rem)/1 var(--font-display); }
.fixed-cycle p { margin: .65rem 0 0; color: var(--text-muted); font-size: 1rem; }
.call-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.call-rules article { min-height: 285px; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.call-rules article > span, .campaign-money-grid article > span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.call-rules h3 { margin-top: auto; }
.call-rules p { margin-bottom: 0; color: var(--text-muted); font-size: 1rem; }
.fixed-urgent-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr); gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--red); color: #fff; }
.fixed-urgent-card .eyebrow { color: #fff; opacity: .82; }
.fixed-urgent-card h2 { max-width: 760px; font-size: var(--h2-section); }
.fixed-urgent-card p:last-child { margin-bottom: 0; color: #fff; }
.fixed-deadline-number { justify-self: center; display: grid; text-align: center; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.fixed-deadline-number span { font: 900 clamp(5rem, 12vw, 9rem)/.8 var(--font-display); letter-spacing: -.08em; }
.urgent-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.urgent-steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.urgent-steps li > span { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-weight: 900; }
.urgent-steps strong { font-size: 1.05rem; }
.urgent-steps p { margin: .35rem 0 0; color: var(--text-muted); font-size: 1rem; }
.fixed-inspection-warning { margin-top: 1rem; margin-bottom: 0; }
.fixed-work-section .fixed-guide-heading > p { color: #b9c0c6; }
.work-rights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.work-rights-grid article { min-height: 315px; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius); background: rgb(255 255 255 / 6%); }
.work-rights-grid article > strong { color: #ff7777; font: 900 clamp(2.3rem, 5vw, 4rem)/1 var(--font-display); letter-spacing: -.04em; }
.work-rights-grid h3 { margin-top: auto; }
.work-rights-grid p { margin-bottom: 0; color: #b9c0c6; font-size: 1rem; }
.fixed-work-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: 1.25rem; border-left: 5px solid #8fbdff; background: rgb(255 255 255 / 5%); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fixed-work-footer p { max-width: 820px; margin: 0; color: #c9ced3; }
.fixed-work-footer p strong { color: #fff; }
.fixed-work-footer .button { flex: none; }
.campaign-money-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.campaign-money-grid article { min-height: 335px; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.campaign-money-grid h3 { margin-top: 2.4rem; }
.campaign-money-grid p { color: var(--text-muted); font-size: 1rem; }
.campaign-money-grid a { margin-top: auto; font-size: .92rem; font-weight: 900; }
.fixed-seniority-section { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--blue), var(--bg) 96%); }
.seniority-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.seniority-compare article { min-height: 300px; padding: 1.3rem; border-top: 5px solid var(--blue); background: var(--surface); border-radius: var(--radius); }
.seniority-compare article > span { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--blue), transparent 84%); color: var(--blue); font-weight: 900; }
.seniority-compare h3 { margin-top: 2.6rem; }
.seniority-compare p { margin-bottom: 0; color: var(--text-muted); font-size: 1rem; }
.conversion-panel { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.conversion-panel > div { display: flex; flex-direction: column; min-height: 350px; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.conversion-panel > div:first-child { border-top: 5px solid var(--red); }
.conversion-panel > div:last-child { border-top: 5px solid var(--blue); }
.conversion-panel h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.conversion-panel p { color: var(--text-muted); }
.conversion-panel a { margin-top: auto; font-weight: 900; }
.fixed-faq { max-width: 900px; }
.fixed-action-section { padding-top: 0; }
.fixed-action-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: #101820; color: #f7f6f3; }
.fixed-action-panel h2 { font-size: var(--h2-section); }
.fixed-action-panel p:not(.eyebrow) { color: #c9ced3; }
.fixed-action-panel .button-row { margin-top: 0; }
.fixed-action-panel .button-secondary { border-color: #8fbdff; color: #d5e6ff; }
.fixed-sources { padding-top: 0; }
.fixed-sources h2 { font-size: var(--h2-block); }
.fixed-sources li + li { margin-top: .65rem; }
.fixed-sources .legal-disclaimer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.page-feedback { padding-block: 2.5rem 3rem; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 40%); }
.page-feedback h2 { margin-bottom: .5rem; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.02em; }
.page-feedback p { max-width: 680px; margin-block: 0 1rem; color: var(--text-muted); font-size: .95rem; }
.page-feedback .page-feedback-date { margin-bottom: 1.25rem; font-size: .9375rem; font-weight: 700; }
.page-feedback .page-feedback-correction { margin-bottom: 1.25rem; padding: .75rem 1rem; border-left: 4px solid var(--blue); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.page-feedback .page-feedback-status { min-height: 1.5em; margin: .75rem 0 0; color: var(--text); font-weight: 700; }
.page-feedback .page-feedback-status:empty { display: none; }
.corrections-list { padding: 0; list-style: none; }
.corrections-list li { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.corrections-list h2 { margin-top: .25rem; font-size: clamp(1.35rem, 3vw, 1.9rem); }
.corrections-list dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1rem; margin: 1rem 0 0; }
.corrections-list dt { color: var(--text-muted); font-weight: 800; }
.corrections-list dd { margin: 0; }
@media (max-width: 640px) { .corrections-list dl { grid-template-columns: 1fr; } .corrections-list dd { margin-bottom: .5rem; } }
.bottom-nav { display: none; }
.mobile-breadcrumbs { display: none; }
.mobile-menu-layer { display: none; }

.panel-page { min-height: 100vh; }
.panel-loading { min-height: 100vh; display: grid; place-items: center; font-weight: 800; }
.panel-auth main { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 16px; }
.panel-auth-card { width: min(100%, 440px); padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel-auth-card h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
.panel-auth-card form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.panel-auth-card label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 800; }
.panel-auth-card input { min-height: 48px; padding: .6rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; }
.panel-auth-card input[name="code"] { font-size: 1.5rem; letter-spacing: .3em; text-align: center; }
.panel-auth-error { margin: 1rem 0 0; padding: .75rem 1rem; border-left: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--bg); font-size: .9rem; }
.panel-auth-note { margin: 1.25rem 0 0; color: var(--text-muted); font-size: .9375rem; }
.panel-auth-field-error { color: var(--red-text); font-size: .9375rem; }
.field-message { display: block; margin-top: .35rem; font-weight: 700; }
.panel-auth-card input[aria-invalid="true"] { border-color: var(--red); }
.panel-auth-choices { display: grid; gap: .6rem; margin: 0; padding: 0; border: 0; }
.panel-auth-choices legend { margin-bottom: .4rem; padding: 0; font-size: .9rem; font-weight: 800; }
.panel-auth-card .panel-auth-choice { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 400; cursor: pointer; }
.panel-auth-card .panel-auth-choice input { min-height: auto; margin-top: .2rem; padding: 0; }
.panel-auth-secret { margin: 1rem 0 0; padding: .9rem; border-radius: var(--radius-sm); background: var(--bg); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: .05em; text-align: center; overflow-wrap: anywhere; user-select: all; }
.panel-auth-card .panel-auth-secondary { margin-top: .75rem; }
.panel-auth-secondary button { justify-self: start; padding: 0; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: .9375rem; text-decoration: underline; cursor: pointer; }

@media (max-width: 1100px) {
  .card-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .desktop-nav { display: none; }
  .search-toggle { margin-left: auto; }
  .search-toggle + .theme-toggle { margin-left: .5rem; }
  .hero-grid, .split-callout, .content-layout, .home-guide-panel, .agreement-document, .agreement-intro, .document-tool-intro, .rights-deadline-intro, .payroll-equation, .payroll-map, .payroll-sector-callout, .fixed-guide-status, .fixed-urgent-card, .fixed-action-panel, .press-media-card, .vacation-key-section { grid-template-columns: 1fr; }
  .hero-note { max-width: 520px; }
  .card-grid-four, .card-grid, .rights-grid, .press-purpose-grid, .document-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .press-media-date { min-height: auto; gap: .4rem; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid var(--border); }
  .press-media-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
  .toc { position: static; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
  .guide-toc { max-height: none; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-toc strong { grid-column: 1 / -1; }
  .bottom-nav { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; min-height: 67px; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface), transparent 5%); backdrop-filter: blur(14px); }
  .mobile-breadcrumbs { display: block; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface), var(--bg) 30%); }
  .mobile-breadcrumbs ol { min-height: 38px; display: flex; align-items: center; gap: .45rem; overflow-x: auto; margin-block: 0; padding-block: .45rem; list-style: none; scrollbar-width: none; white-space: nowrap; }
  .mobile-breadcrumbs ol::-webkit-scrollbar { display: none; }
  .mobile-breadcrumbs li { display: flex; align-items: center; min-width: 0; color: var(--text-muted); font-size: .9375rem; font-weight: 800; }
  .mobile-breadcrumbs li + li::before { content: "›"; flex: 0 0 auto; margin-right: .45rem; color: var(--text-muted); }
  .mobile-breadcrumbs a { color: var(--text-muted); text-decoration: none; }
  .mobile-breadcrumbs span[aria-current="page"] { overflow: hidden; color: var(--red-text); text-overflow: ellipsis; }
  .bottom-nav a, .bottom-nav-more { min-width: 0; min-height: 67px; display: grid; place-items: center; align-content: center; gap: .15rem; padding: .35rem .1rem; border: 0; background: transparent; color: var(--text-muted); font-size: .78rem; font-weight: 800; line-height: 1.1; text-decoration: none; cursor: pointer; }
  .bottom-nav-icon { width: 24px; height: 24px; display: grid; place-items: center; }
  .bottom-nav-icon svg, .mobile-menu-icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .bottom-nav-icon svg circle { fill: currentColor; stroke: none; }
  .bottom-nav a[aria-current="page"], .bottom-nav-more[aria-current="page"], .bottom-nav-more[aria-expanded="true"] { color: var(--red-text); }
  .mobile-menu-layer { position: fixed; z-index: 80; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
  .mobile-menu-layer[hidden] { display: none; }
  .mobile-menu-scrim { position: absolute; inset: 0; border: 0; background: rgb(5 8 13 / 66%); backdrop-filter: blur(5px); cursor: pointer; }
  .mobile-menu-sheet { position: relative; width: min(100%, 680px); max-height: calc(100dvh - 1rem); overflow-y: auto; padding: 1.35rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface); box-shadow: 0 -24px 80px rgb(0 0 0 / 28%); }
  .mobile-menu-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
  .mobile-menu-heading .eyebrow { margin-bottom: .35rem; font-size: .78rem; }
  .mobile-menu-heading h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 7vw, 2.35rem); }
  .mobile-menu-close { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; }
  /* A drawn cross, not the × character, so it sits exactly in the middle of the circle. */
  .mobile-menu-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .mobile-menu-grid { display: grid; gap: 1.1rem; }
  .mobile-menu-group h3 { margin: 0 0 .5rem; color: var(--text-muted); font: 800 .78rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
  .mobile-menu-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .mobile-menu-grid a { min-width: 0; min-height: 76px; display: flex; align-items: center; gap: .7rem; padding: .75rem .85rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); text-decoration: none; }
  .mobile-menu-grid a[aria-current="page"] { border-color: var(--red); background: color-mix(in srgb, var(--red), transparent 94%); }
  .mobile-menu-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--red-text); }
  .mobile-menu-grid a > span:last-child { min-width: 0; display: grid; gap: .2rem; }
  .mobile-menu-grid strong { font: 850 1rem/1.1 var(--font-display); }
  .mobile-menu-grid small { color: var(--text-muted); font-size: .9375rem; line-height: 1.25; }
  .mobile-menu-community { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; padding: .8rem .2rem .1rem; color: var(--blue); font-size: .9375rem; font-weight: 800; text-decoration: none; }
  body.mobile-menu-open { overflow: hidden; }
  .payroll-glossary { grid-template-columns: repeat(3, 1fr); }
  .payroll-checklist { grid-template-columns: repeat(2, 1fr); }
  .payroll-action-grid { grid-template-columns: repeat(2, 1fr); }
  .fixed-cycle, .call-rules, .work-rights-grid, .campaign-money-grid { grid-template-columns: repeat(2, 1fr); }
  .vacation-contract-grid, .vacation-situation-grid { grid-template-columns: repeat(2, 1fr); }
  .fixed-cycle li:nth-child(2)::before, .fixed-cycle li:nth-child(2)::after { display: none; }
  .fixed-deadline-number { justify-self: start; }
  .fixed-work-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .historical-agreement-card { grid-template-columns: 44px 1fr; align-items: start; }
  .historical-agreement-copy { grid-template-columns: 1fr; }
  .historical-agreement-copy .story-meta, .historical-agreement-copy small { grid-column: auto; }
  .historical-agreement-card .button { grid-column: 2; width: 100%; margin-top: .45rem; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 1.25rem, 1180px); }
  .header-inner { min-height: 66px; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: .82rem; }
  .brand-name small { font-size: .5rem; }
  .hero { min-height: auto; padding-top: 3.25rem; }
  .hero::before { opacity: .5; right: -60vw; }
  .hero-grid { align-items: start; }
  .agreement-counter { grid-template-columns: 1fr; }
  .agreement-counter-number { min-height: 185px; }
  .section-heading { align-items: start; flex-direction: column; gap: .4rem; }
  .press-post-card, .press-community-note { grid-template-columns: 1fr; }
  .press-post-card h3, .press-post-card > p, .press-post-card > a { grid-column: 1; }
  .press-card-meta { flex-direction: column; }
  .press-community-note .button { width: 100%; }
  .press-media-actions { grid-template-columns: 1fr; }
  .press-article-meta span + span::before { content: none; margin: 0; }
  .card-grid-four, .card-grid, .rights-grid, .press-purpose-grid, .document-grid, .payroll-glossary, .payroll-checklist, .payroll-action-grid, .fixed-cycle, .call-rules, .urgent-steps, .work-rights-grid, .campaign-money-grid, .seniority-compare, .conversion-panel, .vacation-contract-grid, .vacation-situation-grid { grid-template-columns: 1fr; }
  .vacation-key-number { min-height: 230px; }
  .vacation-rate-breakdown { grid-template-columns: 1fr; text-align: center; }
  .vacation-rate-breakdown b { transform: rotate(90deg); }
  .vacation-rate-breakdown span { min-height: 105px; }
  /* On a narrow phone the two columns stay and the descriptions go, so the whole menu fits at a glance. */
  .mobile-menu-grid a { min-height: 58px; gap: .55rem; padding: .6rem .7rem; }
  .mobile-menu-grid small { display: none; }
  .mobile-menu-icon { width: 24px; height: 24px; }
  .mobile-menu-install:not(.mobile-menu-save) small { display: none; }
  .payroll-equation-steps { grid-template-columns: 1fr; }
  .payroll-equation-steps li { min-height: 135px; }
  .sector-rate-equation { grid-template-columns: 1fr; text-align: center; }
  .sector-rate-equation > strong { min-height: 110px; }
  .payroll-checklist li, .payroll-action-grid article { min-height: auto; }
  .fixed-cycle li, .call-rules article, .work-rights-grid article, .campaign-money-grid article, .seniority-compare article, .conversion-panel > div { min-height: auto; }
  .fixed-cycle li::before, .fixed-cycle li::after { display: none; }
  .route-grid, .resource-grid, .reference-document-list { grid-template-columns: 1fr; }
  .guide-toc { grid-template-columns: 1fr; }
  .guide-toc strong { grid-column: auto; }
  .action-card { min-height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Guides index: one featured guide, then a grid of the rest. */
.guides-index { display: grid; gap: 1rem; }
.guide-feature, .guide-card { color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.guide-feature:hover, .guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--text); }
.guide-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 5px solid var(--red); }
.guide-feature h2 { margin: 1rem 0 .7rem; font-size: var(--h2-block); }
.guide-feature p { max-width: 560px; color: var(--text-muted); }
.guide-feature-steps { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; counter-reset: guide-step; align-self: center; }
.guide-feature-steps li { display: grid; grid-template-columns: 2.2rem 1fr; align-items: center; column-gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); counter-increment: guide-step; }
.guide-feature-steps li::before { content: counter(guide-step); grid-row: span 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; }
.guide-feature-steps span { color: var(--text-muted); font-size: .9375rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
/* Three per row on six tracks, so two cards left on the last row share it in halves. */
@media (min-width: 901px) {
  .guide-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .guide-grid > .guide-card { grid-column: span 2; }
  .guide-grid > .guide-card:nth-child(3n+1):nth-last-child(2), .guide-grid > .guide-card:nth-child(3n+2):last-child { grid-column: span 3; }
}
.guide-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; }
.guide-card h2 { margin: .3rem 0 0; font-size: clamp(1.45rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.guide-card p { margin: 0; color: var(--text-muted); }
.guide-card ul { display: grid; gap: .35rem; margin: .2rem 0 .4rem; padding: 0; list-style: none; font-size: .88rem; }
.guide-card li { padding-left: 1.3rem; position: relative; }
.guide-card li::before { content: "✓"; position: absolute; left: 0; color: var(--red-text); font-weight: 900; }
.guide-card .card-link { margin-top: auto; }
/* A card left alone on the last row takes the whole row, its points beside the text. */
.guide-grid > .guide-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 2rem; align-items: start; }
.guide-grid > .guide-card:last-child:nth-child(3n+1) > :not(ul) { grid-column: 1; }
.guide-grid > .guide-card:last-child:nth-child(3n+1) > ul { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
@media (max-width: 900px) { .guide-feature { grid-template-columns: 1fr; } .guide-grid, .guide-grid > .guide-card:last-child:nth-child(3n+1) { grid-template-columns: 1fr; } .guide-grid > .guide-card:last-child:nth-child(3n+1) > ul { grid-column: 1; grid-row: auto; } }

/* Monthly activity report (panel), made to be printed or saved as PDF. */
.report { width: min(1000px, calc(100% - 2rem)); margin: 2rem auto 4rem; }
.report-header { position: relative; padding-bottom: 1.5rem; border-bottom: 4px solid var(--red); }
.report-header h1 { margin: .4rem 0; font-size: clamp(2rem, 4vw, 3rem); }
.report-print { margin-top: .6rem; }
.report-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.report-totals div { display: grid; gap: .2rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.report-totals strong { font: 900 2.4rem/1 var(--font-display); }
.report-totals small { color: var(--text-muted); }
.report-block { margin: 1.5rem 0; break-inside: avoid; }
.report-block h2 { margin: 0 0 .6rem; font-size: 1.2rem; letter-spacing: 0; }
.report-block table { min-width: 0; font-size: .88rem; }
.report-block th, .report-block td { padding: .4rem .5rem; }
.report-block td { white-space: nowrap; }
.report-bar { display: inline-block; width: 70px; height: 8px; margin-right: .4rem; vertical-align: middle; }
.report-bar rect, .report-days rect { fill: var(--red); }
.report-days { display: block; width: 100%; height: 140px; border-bottom: 1px solid var(--border); }
.report-days-axis { display: flex; justify-content: space-between; color: var(--text-muted); font-size: .875rem; }
.report-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.report-empty { color: var(--text-muted); }
.report-method { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9375rem; }
.report-method h2 { margin: 0 0 .4rem; color: var(--text); font-size: 1rem; letter-spacing: 0; }
@media (max-width: 760px) { .report-totals, .report-columns { grid-template-columns: 1fr; } }
@media print {
  .report-page .site-header, .report-page .bottom-nav, .report-page .site-footer, .report-page .error-report, .report-print { display: none !important; }
  .report-page { background: #fff; color: #111; }
  .report { width: 100%; margin: 0; }
  .report-totals div { border-color: #ccc; background: #fff; }
}
.panel-auth-qr { width: min(240px, 100%); margin: 1rem auto; padding: .6rem; border-radius: var(--radius-sm); background: #fff; }
.panel-auth-qr svg { display: block; width: 100%; height: auto; }
.panel-auth-manual { margin: .5rem 0 1rem; }
.panel-auth-manual summary { cursor: pointer; color: var(--blue); font-weight: 700; }

/* Corrections: three kinds of change, each with its colour. */
.correction-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.correction-type { padding: 1rem 1.1rem; border: 1px solid var(--border); border-top: 4px solid var(--correction-colour); border-radius: var(--radius); background: var(--surface); }
.correction-type dt { display: flex; justify-content: space-between; font-weight: 900; }
.correction-type dt span { color: var(--text-muted); }
.correction-type dd { margin: .35rem 0 0; color: var(--text-muted); font-size: .9rem; }
.correction-type-correccion { --correction-colour: var(--red); }
.correction-type-verificacion { --correction-colour: #2e7d32; }
.correction-type-actualizacion { --correction-colour: var(--blue); }
.correction-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .9375rem; }
.correction-badge { padding: .2rem .55rem; border-radius: 999px; background: var(--correction-colour); color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 760px) { .correction-types { grid-template-columns: 1fr; } }

/* Footer: who we are, the group, the whole map of the site and the small print. */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 7rem; border-top: 1px solid var(--border); background: var(--surface); color: var(--text-muted); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-bottom: 2.2rem; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand .brand-mark { flex: none; }
.footer-brand strong { display: block; color: var(--text); font: 800 1.15rem/1.2 var(--font-display); }
.footer-brand p { max-width: 520px; margin: .5rem 0 0; }
.footer-community { justify-self: end; padding: 1.2rem 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.footer-community p { margin: 0 0 .8rem; color: var(--text); font-weight: 700; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2.2rem; }
.footer-columns nav { display: grid; align-content: start; gap: .55rem; }
.footer-columns h2 { margin: 0 0 .3rem; color: var(--text); font: 900 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.footer-columns a { color: var(--text-muted); text-decoration: none; }
.footer-columns a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .9375rem; }
.footer-bottom p { max-width: 640px; margin: 0; }
.footer-credit { opacity: .8; }
.footer-credit a { color: inherit; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } .footer-community { justify-self: stretch; } }
@media (max-width: 640px) { .footer-columns { grid-template-columns: 1fr 1fr; } .footer-columns nav:last-child { grid-column: 1 / -1; } }

/* Featured notice: at the top of the home page and, if chosen, as a strip on
   every page. Its own colour (blue, amber or red), so the red of the rest of
   the page does not swallow it. */
.home-notice-novedad { --notice-colour: #2f6fe0; --notice-text: #fff; }
.home-notice-importante { --notice-colour: #e08a00; --notice-text: #161616; }
.home-notice-urgente { --notice-colour: #d32f2f; --notice-text: #fff; }
.home-notice-section { padding-top: clamp(1.2rem, 3vw, 2rem); }
.home-notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 1.8rem; padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3.5vw, 2.4rem); border: 2px solid var(--notice-colour); border-radius: var(--radius); background: color-mix(in srgb, var(--notice-colour), var(--surface) 86%); box-shadow: 0 18px 50px color-mix(in srgb, var(--notice-colour), transparent 82%); }
.home-notice-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--notice-colour); }
.home-notice-icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: var(--notice-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-notice-body { display: grid; gap: .4rem; justify-items: start; }
.home-notice h2 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; }
.home-notice p { max-width: 640px; margin: 0; color: var(--text); font-size: 1.05rem; }
.home-notice-tone { padding: .3rem .7rem; border-radius: 999px; background: var(--notice-colour); color: var(--notice-text); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.home-notice-button { border: 0; background: var(--notice-colour); color: var(--notice-text); white-space: nowrap; }
.home-notice-button:hover { background: var(--notice-colour); color: var(--notice-text); filter: brightness(1.08); }
.site-notice { border-bottom: 2px solid var(--notice-colour); background: color-mix(in srgb, var(--notice-colour), var(--surface) 84%); }
.site-notice p { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: 0 auto; padding-block: .75rem; }
.site-notice strong { font-size: 1rem; }
.site-notice a { font-weight: 800; }
@media (max-width: 760px) { .home-notice { grid-template-columns: 1fr; } .home-notice-icon { display: none; } .home-notice-button { justify-self: start; } }

/* Search boxes without the browser's own clear button: the site has its own controls. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Press archive: the newest post stands out; the older ones are a list split into pages. */
.press-list-title { margin: clamp(2rem, 5vw, 3rem) 0 1rem; font-size: var(--h2-block); }
.press-list { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.press-list li { border-bottom: 1px solid var(--border); }
.press-list a { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem .5rem; color: inherit; text-decoration: none; }
.press-list a:hover, .press-list a:focus-visible { background: var(--surface); }
.press-list-meta { display: grid; gap: .3rem; color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.press-list-meta > span { color: var(--red-text); }
.press-list-copy { display: grid; gap: .35rem; min-width: 0; }
.press-list-copy strong { font: 800 clamp(1.25rem, 2.4vw, 1.6rem)/1.15 var(--font-display); letter-spacing: -.02em; }
.press-list-copy > span { overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; }
.press-list-arrow { color: var(--blue); font-size: 1.4rem; font-weight: 900; }
.press-pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 2rem; }
.press-pagination > :first-child { justify-self: start; }
.press-pagination > :last-child { justify-self: end; }
.press-pagination-status { color: var(--text-muted); font-weight: 800; }
@media (max-width: 700px) {
  .press-list a { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 1rem; }
  .press-list-meta { grid-column: 1 / -1; display: flex; gap: .8rem; }
  .press-list-copy > span { white-space: normal; }
  .press-pagination { grid-template-columns: 1fr 1fr; }
  .press-pagination-status { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}

/* Share buttons: plain links to each network, plus copy and the phone's menu where available. */
.share-strip { padding-block: 2.5rem; border-top: 1px solid var(--border); }
.share-strip h2 { margin-bottom: .4rem; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.02em; }
.share-strip p { margin: 0 0 1.1rem; color: var(--text-muted); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem .95rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.share-button[hidden] { display: none; }
.share-button svg { width: 1.15rem; height: 1.15rem; flex: none; }
.share-button:hover, .share-button:focus-visible { border-color: var(--blue); color: var(--blue); }
.share-whatsapp svg { color: #1f9d55; }
.share-facebook svg { color: #1877f2; }
.share-telegram svg { color: #229ed9; }
.share-bar.compact .share-button { width: 44px; justify-content: center; padding: 0; }
.share-status { color: var(--text-muted); font-size: .9375rem; font-weight: 800; }
.press-article-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.press-article-actions .button { margin: 0; }

/* Directory: one card per office, its address and phone as plain lines. */
.contacts-section { padding-block: clamp(2rem, 5vw, 3rem); }
.contacts-section h2 { margin-bottom: 1.2rem; font-size: var(--h2-block); }
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.contact-entry { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.contact-entry h3 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.5rem); letter-spacing: -.02em; }
.contact-entry > p { margin: 0; color: var(--text-muted); }
.contact-entry .contact-line { display: grid; gap: .1rem; color: var(--text); }
.contact-line > span { color: var(--text-muted); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-link { margin-top: auto; font-weight: 900; }
.contact-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-weight: 900; }

/* Other languages: the summary reads right to left in Arabic; every block keeps its own direction. */
.language-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.language-card { display: flex; flex-direction: column; gap: .5rem; min-height: 180px; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.language-card:hover, .language-card:focus-visible { border-color: var(--blue); }
.language-card strong { font: 800 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-display); }
.language-card span { color: var(--text-muted); }
.language-card small { margin-top: auto; color: var(--red-text); font-weight: 900; }
.language-pending { margin-top: 1rem; padding: .7rem 1rem; border-inline-start: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-muted); }
.language-heading { margin-bottom: 1.2rem; font-size: var(--h2-block); }
.language-rights { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.language-rights article { padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.language-rights span { color: var(--red-text); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.language-rights h3 { margin: .6rem 0 .4rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); letter-spacing: -.01em; }
.language-rights p { margin: 0; color: var(--text-muted); }
.language-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.language-columns ul { padding-inline-start: 1.2rem; }
.language-columns li + li { margin-top: .5rem; }
.language-page[dir="rtl"] .language-rights span { letter-spacing: 0; }
.language-page[dir="rtl"] h1, .language-page[dir="rtl"] h2, .language-page[dir="rtl"] h3 { letter-spacing: 0; }
@media (max-width: 760px) { .language-columns { grid-template-columns: 1fr; } }
.press-feed-note { margin-top: 1.5rem; color: var(--text-muted); }
.press-feed-note strong { color: var(--text); }
.footer-install { justify-self: start; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; font-weight: 800; cursor: pointer; }
.footer-install[hidden] { display: none; }
/* The notice the offline copy of a page carries (public/sw.js writes it). */
.offline-copy-notice { margin: 0; padding: .9rem clamp(1rem, 4vw, 2rem); border-bottom: 3px solid var(--blue); background: color-mix(in srgb, var(--blue), var(--bg) 88%); color: var(--text); font-size: .9375rem; line-height: 1.45; }
/* Installing: a quiet block on the home page, a row in the «Más» sheet and, on iPhone, the steps. */
.install-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--border); border-left: 5px solid var(--red); border-radius: var(--radius); background: var(--surface); }
.install-promo[hidden], .mobile-menu-install[hidden], .install-promo-actions .button[hidden] { display: none; }
.install-promo-actions { display: grid; gap: .6rem; }
.install-promo .install-promo-status:empty { display: none; }
.install-promo .install-promo-status { margin-top: .8rem; color: var(--text); font-weight: 700; }
/* Install and save share a row; when only one shows, it takes it all. */
.mobile-menu-offline { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .5rem; margin-top: .4rem; }
.mobile-menu-offline .mobile-menu-install { margin-top: 0; }
.mobile-menu-save { border-color: var(--border); background: var(--bg); }
.mobile-menu-save small:empty { display: none; }
.footer-library-status { color: var(--text-muted); font-size: .875rem; }
.footer-library-status:empty { display: none; }
.install-promo h2 { margin-bottom: .6rem; font-size: var(--h2-block); }
.install-promo p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--text-muted); }
.mobile-menu-install { width: 100%; display: flex; align-items: center; gap: .7rem; margin-top: .4rem; padding: .55rem .85rem; border: 1px solid var(--red); border-radius: var(--radius); background: color-mix(in srgb, var(--red), transparent 94%); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mobile-menu-install > span:last-child { display: grid; gap: .2rem; }
.mobile-menu-install strong { font: 850 1rem/1.15 var(--font-display); }
.mobile-menu-install small { color: var(--text-muted); font-size: .9375rem; }
.install-dialog { width: min(calc(100% - 2rem), 480px); padding: clamp(1.3rem, 5vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: 0 28px 90px rgb(0 0 0 / 42%); }
.install-dialog::backdrop { background: rgb(5 8 13 / 72%); backdrop-filter: blur(6px); }
.install-dialog h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 6vw, 2.2rem); }
.install-dialog .eyebrow { margin-bottom: .4rem; }
.install-steps { display: grid; gap: .8rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.install-steps span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; }
.install-steps p { margin: .2rem 0 0; }
.install-dialog-note { margin: 0 0 1rem; color: var(--text-muted); font-size: .9375rem; }
.install-dialog .button { width: 100%; }
@media (max-width: 700px) { .install-promo { grid-template-columns: 1fr; } .install-promo .button { width: 100%; } }

/* Purchasing power comparison on Tablas. */
.cpi-comparison .cpi-change { margin-top: auto; font: 800 clamp(1.4rem, 3vw, 2rem)/1.1 var(--font-display); }
.cpi-change.gain { color: var(--blue); }
.cpi-change.loss { color: var(--red-text); }
.cpi-source { margin-top: 1rem; color: var(--text-muted); font-size: .9375rem; }
.award-island { margin-top: 1.5rem; }

/* «Escuchar esta página»: shown only where the browser can speak. */
/* It floats over the top corner of the page header, so it takes no room of its own. */
.listen-bar { position: relative; z-index: 2; height: 0; }
.listen-bar .listen-button { position: absolute; top: 1rem; right: 0; }
.listen-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; font-weight: 800; cursor: pointer; }
.listen-button svg { width: 1.2rem; height: 1.2rem; }
.listen-button[aria-pressed="true"] { border-color: var(--red); color: var(--red-text); }
.listen-button[hidden] { display: none; }
