/* jobsplz 2.x — shared look for every page: tokens (light + dark), header,
   theme toggle, primary button, footer. The search page carries the same
   tokens inline; keep the two in step. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* jobsplz 2.x tokens. Old variable names kept so every existing rule follows
   the new palette; --white is the card surface, --on-accent is text on cobalt. */
:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #555e70;
  --ink-fixed: #111827;
  --paper: #f7f5ef;
  --paper-deep: #eae7de;
  --white: #fffefa;
  --on-accent: #ffffff;
  --cobalt: #315cff;
  --cobalt-deep: #2448d8;
  --accent-text: #2448d8;
  --coral: #ff7657;
  --coral-shadow: #cb5038;
  --mint: #b8f2d0;
  --butter: #ffd866;
  --sky: #dce8ff;
  --lilac: #e7ddff;
  --blush: #ffe4dc;
  --positive: #0d6b47;
  --selected-bg: #f6f8ff;
  --cat-cafe-bg: #fff1c2; --cat-cafe-fg: #755a14;
  --cat-food-bg: #ffe1d8; --cat-food-fg: #974632;
  --cat-bar-bg: #e7ddff;  --cat-bar-fg: #604197;
  --cat-bakery-bg: #ffedb8; --cat-bakery-fg: #755a14;
  --cat-hotel-bg: #d6f5e3; --cat-hotel-fg: #286547;
  --cat-shop-bg: #e8e8e4; --cat-shop-fg: #515962;
  --line: rgba(17, 24, 39, 0.11);
  --line-strong: rgba(17, 24, 39, 0.22);
  --hairline: rgba(17, 24, 39, 0.05);
  --shadow-small: 0 1px 2px rgba(17, 24, 39, 0.05), 0 6px 18px rgba(17, 24, 39, 0.04);
  --shadow-medium: 0 2px 3px rgba(17, 24, 39, 0.02), 0 12px 40px rgba(17, 24, 39, 0.05);
  --shadow-card: 0 0 0 1px rgba(17, 24, 39, 0.035), 0 3px 14px rgba(17, 24, 39, 0.025);
  --shadow-pop: 0 6px 20px rgba(17, 24, 39, 0.1);
  --shadow-modal: 0 20px 80px rgba(17, 24, 39, 0.14);
  --shadow-color: var(--shadow-medium);
  --radius-shell: 32px;
  --radius-card: 20px;
  --radius-inner: 17px;
  --radius-control: 13px;
  --pill: 999px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --font-sans: Manrope, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  /* Numbers only. Label text uses the sans, because the mono stack has no
     Cyrillic either and would split the interface a second time. */
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --label: 0.11em;
}
/* Dark: follows the device unless the person picked a theme (data-theme on <html>).
   Print stays light. */
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #eef0f5; --ink-soft: #a3aab9; --paper: #121418; --paper-deep: #0d0f12; --white: #1b1e25;
    --accent-text: #a3b5ff; --sky: #1f2a4a; --lilac: #2d2544; --blush: #3b231d; --positive: #7fd3a6; --selected-bg: #1c2442;
    --cat-cafe-bg: #3a3018; --cat-cafe-fg: #ffd98a; --cat-food-bg: #3d241d; --cat-food-fg: #ffb4a1; --cat-bar-bg: #2d2544; --cat-bar-fg: #cdbcff;
    --cat-bakery-bg: #3a3018; --cat-bakery-fg: #ffd98a; --cat-hotel-bg: #1c3428; --cat-hotel-fg: #9be3bc; --cat-shop-bg: #2a2c31; --cat-shop-fg: #c6cad2;
    --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.24); --hairline: rgba(255, 255, 255, 0.06);
    --shadow-small: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25); --shadow-medium: 0 2px 3px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 3px 14px rgba(0, 0, 0, 0.2); --shadow-pop: 0 6px 20px rgba(0, 0, 0, 0.35); --shadow-modal: 0 20px 80px rgba(0, 0, 0, 0.5);
  }
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #eef0f5; --ink-soft: #a3aab9; --paper: #121418; --paper-deep: #0d0f12; --white: #1b1e25;
    --accent-text: #a3b5ff; --sky: #1f2a4a; --lilac: #2d2544; --blush: #3b231d; --positive: #7fd3a6; --selected-bg: #1c2442;
    --cat-cafe-bg: #3a3018; --cat-cafe-fg: #ffd98a; --cat-food-bg: #3d241d; --cat-food-fg: #ffb4a1; --cat-bar-bg: #2d2544; --cat-bar-fg: #cdbcff;
    --cat-bakery-bg: #3a3018; --cat-bakery-fg: #ffd98a; --cat-hotel-bg: #1c3428; --cat-hotel-fg: #9be3bc; --cat-shop-bg: #2a2c31; --cat-shop-fg: #c6cad2;
    --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.24); --hairline: rgba(255, 255, 255, 0.06);
    --shadow-small: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.25); --shadow-medium: 0 2px 3px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 3px 14px rgba(0, 0, 0, 0.2); --shadow-pop: 0 6px 20px rgba(0, 0, 0, 0.35); --shadow-modal: 0 20px 80px rgba(0, 0, 0, 0.5);
  }
}


/* ---------- base ---------- */
* { box-sizing: border-box }
html { background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100% }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--font-sans); line-height: 1.6 }
a { color: var(--accent-text) }
::selection { background: var(--butter); color: var(--ink-fixed) }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }

/* ---------- one header for every page ---------- */
.jp-header { position: relative; z-index: 20 }
.jp-topbar {
  width: min(1240px, calc(100% - 40px));
  min-height: 76px;
  margin: max(20px, env(safe-area-inset-top)) auto 0;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: var(--pill);
  background: var(--white);
  box-shadow: var(--shadow-medium);
}
.jp-brand {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 19px 3px;
  border-radius: var(--pill);
  background: var(--cobalt);
  color: #fff;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.065em;
  text-decoration: none;
  flex: 0 0 auto;
}
.jp-brand span { color: var(--butter) }
.jp-nav { display: flex; flex: 1; align-items: center; gap: 4px; margin-left: 14px }
.jp-nav .jp-nav-rights { margin-left: auto }
.jp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms var(--ease);
}
.jp-nav a:hover { background: var(--sky) }
.jp-nav a[aria-current="page"] { position: relative }
.jp-nav a[aria-current="page"]::after { position: absolute; left: 50%; bottom: 6px; width: 16px; height: 3px; margin-left: -8px; content: ""; border-radius: 3px; background: var(--cobalt) }
.jp-nav svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent-text) }
.jp-nav .jp-nav-rights { font-weight: 800 }
.jp-actions { display: flex; align-items: center; gap: 4px; margin-left: auto }
.jp-lang { position: relative; display: inline-flex; align-items: center }
.jp-lang::after { position: absolute; right: 13px; width: 7px; height: 7px; content: ""; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -2px; pointer-events: none; color: var(--ink-soft) }
.jp-lang select { min-width: 64px; min-height: 44px; padding: 0 30px 0 13px; appearance: none; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink-soft); font: 800 12px var(--font-sans); cursor: pointer }
.jp-lang select:hover { background: var(--sky) }
.jp-lang option { background: var(--white); color: var(--ink) }
.jp-lang-static { min-width: 44px; padding: 0 12px; color: var(--ink-soft); font-size: 12px; font-weight: 800 }
.theme-toggle { position: relative; width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease) }
.theme-toggle:hover { background: var(--sky); color: var(--ink) }
.theme-toggle svg { position: absolute; inset: 0; margin: auto; width: 19px; height: 19px; transition: opacity 220ms var(--ease), transform 220ms var(--ease) }
.theme-toggle .icon-sun, .theme-toggle[data-mode="dark"] .icon-moon { opacity: 0; transform: rotate(-40deg) scale(.7) }
.theme-toggle[data-mode="dark"] .icon-sun { opacity: 1; transform: none }

/* ---------- page shell ---------- */
.jp-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto }
.jp-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto }
.jp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px 6px 10px; border-radius: var(--pill); background: var(--white); box-shadow: var(--shadow-card); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase }
.jp-eyebrow::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--cobalt) }
.jp-card { border-radius: var(--radius-card); background: var(--white); box-shadow: var(--shadow-card) }

/* primary action: butter pill, arrow in its own circle */
.jp-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 8px 8px 26px;
  border: 0;
  border-radius: var(--pill);
  background: var(--butter);
  color: var(--ink-fixed);
  font: 800 15px var(--font-sans);
  text-decoration: none;
  transition: scale 130ms var(--ease), filter 160ms var(--ease);
}
.jp-btn::after {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--ink-fixed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd866' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 220ms var(--ease);
}
.jp-btn:hover { filter: brightness(.97) }
.jp-btn:hover::after { transform: translateX(3px) }
.jp-btn:active { scale: .97 }

/* ---------- footer: the one dark surface ---------- */
.jp-footer { margin-top: 72px; padding: 40px 0 28px; border-radius: 30px 30px 0 0; background: #111827; color: #d3d8e1; font-size: 13px; line-height: 1.6 }
@media screen and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jp-footer { background: #0b0c0f } }
@media screen { :root[data-theme="dark"] .jp-footer { background: #0b0c0f } }
.jp-footer p { margin: 0 0 10px; color: #aeb8c8 }
.jp-footer a { color: #dce8ff }
.jp-footer a:hover { color: #ffd866 }
.jp-footer :focus-visible { outline-color: #ffd866 }
.jp-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px }
.jp-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none }
.jp-footer-domain { display: block; margin-top: 18px; color: #ffd866; font-weight: 800 }

/* ---------- location suggestions (suggest.js) ---------- */
.suggest {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 6px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-modal), 0 0 0 1px var(--line);
  max-height: min(420px, 60vh);
  overflow: auto;
  color: var(--ink);
}
.suggest[hidden] { display: none }
.suggest ul { list-style: none; margin: 0; padding: 0 }
.suggest-head { padding: 8px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft) }
.suggest-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 7px 12px; border-radius: 14px; cursor: pointer }
.suggest-item[aria-selected="true"] { background: var(--sky) }
@media (hover: hover) { .suggest-item:hover { background: var(--sky) } }
.suggest-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--paper); color: var(--accent-text) }
.suggest-item.is-recent .suggest-icon { color: var(--ink-soft) }
.suggest-icon svg { width: 17px; height: 17px }
.suggest-text { display: flex; flex-direction: column; min-width: 0 }
.suggest-label { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.suggest-ctx { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.suggest-empty { padding: 12px; font-size: 13px; color: var(--ink-soft) }
.suggest-clear[hidden] { display: none }
.suggest-clear { display: block; margin: 2px 6px 4px auto; padding: 8px 10px; border: 0; background: transparent; color: var(--accent-text); font-size: 12px; font-weight: 700; min-height: 36px }

/* ---------- phones ---------- */
@media (max-width: 60rem) {
  .jp-nav-kiez { display: none !important }
}
@media (max-width: 46rem) {
  .jp-topbar { width: calc(100% - 24px); min-height: 64px; margin-top: max(12px, env(safe-area-inset-top)); padding: 6px 6px 6px 7px; gap: 6px }
  .jp-brand { min-height: 44px; padding: 0 12px 3px; font-size: 25px }
  /* phones: "Jobs" as a word (not on the job board itself), the way back to
     search elsewhere, and the rights page as a round shield button (IA, 02.11.2026) */
  .jp-nav { flex: 0 1 auto; margin-right: 0; margin-left: auto; gap: 2px }
  .jp-nav a { display: none; padding: 0 8px; font-size: 12px }
  .jp-nav svg { display: none }
  body:not([data-page="jobs"]) .jp-nav-jobs, body[data-page="jobs"] .jp-nav-search { display: inline-flex }
  .jp-nav .jp-nav-rights { display: inline-grid; place-items: center; width: 40px; min-width: 40px; height: 40px; min-height: 40px; margin-left: 2px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--accent-text) }
  .jp-nav .jp-nav-rights svg { display: block; width: 19px; height: 19px }
  .jp-nav .jp-nav-rights { position: relative }
  .jp-nav .jp-nav-rights::before { position: absolute; inset: -3px; content: ""; border-radius: 50% }
  .jp-nav .jp-nav-rights span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
  .jp-nav .jp-nav-rights[aria-current="page"] { border-color: var(--cobalt); background: var(--sky) }
  .jp-nav .jp-nav-rights[aria-current="page"]::after { display: none }
  .jp-actions { margin-left: 0; gap: 0 }
  .theme-toggle { width: 40px }
  .jp-lang select { min-width: 50px; padding: 0 20px 0 9px }
  .jp-lang::after { right: 9px; width: 6px; height: 6px }
  .jp-wrap, .jp-narrow { width: calc(100% - 32px) }
}
@media (max-width: 23rem) {
  /* the logo already leads back to search */
  body[data-page="jobs"] .jp-nav-search { display: none }
  .jp-nav .jp-nav-rights { width: 36px; min-width: 36px; height: 36px; min-height: 36px }
  .jp-nav .jp-nav-rights::before { inset: -5px }
  .jp-topbar { width: calc(100% - 16px) }
  .jp-brand { min-height: 40px; padding: 0 10px 3px; font-size: 21px }
  .jp-nav a { padding: 0 6px; font-size: 11px }
  .theme-toggle { width: 36px }
  .jp-lang select { min-width: 44px; padding: 0 18px 0 7px; font-size: 11px }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle svg, .jp-btn, .jp-btn::after { transition: none }
}
@media print {
  .jp-header, .theme-toggle { display: none !important }
  .jp-footer { background: none; color: #111827 }
  .jp-footer p { color: #111827 }
}

/* =====================================================================
   Long-read pages (/rechte, /about): body[data-layout="article"].
   Their own inline CSS still lays out the bands; this restyles them.
   ===================================================================== */
body[data-layout="article"] { background: var(--paper); color: var(--ink) }
:root:has(body[data-layout]) { background: var(--paper) }
.jp-header a.jp-brand, .jp-header a.jp-brand:hover { color: #fff }
.jp-header .jp-nav a, .jp-header .jp-nav a:hover { color: var(--ink) }
body[data-layout="article"] .shell { width: min(1240px, calc(100% - 40px)) }
body[data-layout="article"] .container { width: 100%; padding-inline: clamp(20px, 3vw, 40px) }

/* hero: copy on paper, the contents as the blue card (same card as the search page) */
body[data-layout="article"] .site-header {
  margin-top: 0; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink);
}
body[data-layout="article"] .site-header::before, body[data-layout="article"] .site-header::after { content: none }
body[data-layout="article"] .hero { padding: 72px 0 56px; padding-inline: 0; column-gap: clamp(32px, 5vw, 72px); align-items: center }
body[data-layout="article"] .hero h1 { color: var(--ink); font-size: clamp(42px, 5.2vw, 72px); letter-spacing: -.06em; line-height: 1.02 }
body[data-layout="article"] .lede { color: var(--ink-soft); font-size: 17px; line-height: 1.7 }
body[data-layout="article"] .ringfence { color: var(--ink); font-size: 13px; font-weight: 600 }
body[data-layout="article"] .ringfence svg { color: var(--accent-text) }
body[data-layout="article"] .toc {
  position: relative; margin: 0; padding: 26px 28px; border: 7px solid var(--paper-deep); border-radius: 39px;
  background: #315cff repeating-radial-gradient(circle at 88% 92%, rgba(255, 255, 255, .075) 0 1.5px, transparent 1.5px 58px);
  color: #fff; transform: rotate(1deg); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18);
}
@media screen and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body[data-layout="article"] .toc { background-color: #2546c9 } }
@media screen { :root[data-theme="dark"] body[data-layout="article"] .toc { background-color: #2546c9 } }
body[data-layout="article"] .toc h2 { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .16em }
body[data-layout="article"] .toc li { border-top-color: rgba(255, 255, 255, .18) }
body[data-layout="article"] .toc a { min-height: 44px; align-items: center; color: #fff; font-weight: 700; text-decoration: none }
body[data-layout="article"] .toc a::before { color: var(--butter) }
body[data-layout="article"] .toc a:hover { color: var(--butter) }
body[data-layout="article"] .toc :focus-visible { outline-color: var(--butter) }

/* the content sheet */
body[data-layout="article"] .page { margin-top: 0; border-radius: 32px; background: var(--white); box-shadow: var(--shadow-card) }
body[data-layout="article"] .band + .band { border-top-color: var(--line) }
body[data-layout="article"] .band-head h2 { color: var(--ink); letter-spacing: -.035em }
body[data-layout="article"] main a { color: var(--accent-text) }
body[data-layout="article"] .note { border-radius: 16px; background: var(--paper); color: var(--ink-soft) }
body[data-layout="article"] .note strong, body[data-layout="article"] .hours b, body[data-layout="article"] .facts b { color: var(--ink) }
body[data-layout="article"] .rates { border-top-color: var(--butter) }
body[data-layout="article"] .figure.is-key b { color: var(--accent-text) }
body[data-layout="article"] .rate b { color: var(--ink) }
body[data-layout="article"] .rate.is-next b, body[data-layout="article"] .rate span, body[data-layout="article"] .facts span, body[data-layout="article"] .hours div, body[data-layout="article"] .help p { color: var(--ink-soft) }
body[data-layout="article"] .warn-panel { border-radius: 24px; background: var(--blush); color: var(--ink) }
body[data-layout="article"] .warn li.note { background: var(--white) }
/* advice links: real touch targets */
body[data-layout="article"] .help-link { min-height: 44px; align-items: center; font-weight: 800; color: var(--accent-text) }
/* closing action: the same butter pill as the search button */
body[data-layout="article"] .closing p { color: var(--ink); font-weight: 700 }
body[data-layout="article"] .back {
  display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 8px 8px 26px;
  border-radius: var(--pill); background: var(--butter); box-shadow: none; color: var(--ink-fixed); font-weight: 800; text-decoration: none;
  transition: scale 130ms var(--ease), filter 160ms var(--ease);
}
body[data-layout="article"] .back::after {
  width: 40px; height: 40px; flex: 0 0 auto; content: ""; border-radius: 50%;
  background: var(--ink-fixed) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd866' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform 220ms var(--ease);
}
body[data-layout="article"] .back:hover { background: var(--butter); box-shadow: none; color: var(--ink-fixed); filter: brightness(.97) }
body[data-layout="article"] .back:hover::after { transform: translateX(3px) }
body[data-layout="article"] .back:active { box-shadow: none; scale: .97; translate: none }

/* footer of a long read: sources and date, on the dark surface */
body[data-layout="article"] footer.jp-footer { width: 100%; padding-inline: 0; color: #d3d8e1 }
body[data-layout="article"] .jp-footer .footer-grid { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding-top: 0; border-top: 0 }
body[data-layout="article"] .jp-footer .updated { color: #ffd866; font-weight: 800 }
body[data-layout="article"] .jp-footer .sources { gap: 8px }
body[data-layout="article"] .jp-footer .sources a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--pill); color: #dce8ff; font-weight: 700; text-decoration: none;
}
body[data-layout="article"] .jp-footer .sources a:hover { border-color: #ffd866; color: #ffd866 }
body[data-layout="article"] .jp-footer .footer-legal { gap: 4px 18px }
body[data-layout="article"] .jp-footer .footer-legal a { min-height: 44px; align-items: center; color: #dce8ff; font-weight: 700; text-decoration: none }
body[data-layout="article"] .jp-footer .footer-legal a:hover { color: #ffd866 }

@media (max-width: 60rem) {
  body[data-layout="article"] .hero { padding: 44px 0 40px; row-gap: 32px }
  body[data-layout="article"] .toc { transform: none }
}
@media (max-width: 46rem) {
  body[data-layout="article"] .shell { width: calc(100% - 16px) }
  body[data-layout="article"] .site-header .hero { width: calc(100% - 16px); margin: 0 auto }
  body[data-layout="article"] .hero { padding: 32px 8px 32px }
  body[data-layout="article"] .hero h1 { font-size: clamp(36px, 10vw, 46px) }
  body[data-layout="article"] .toc { padding: 20px; border-radius: 28px }
  body[data-layout="article"] .page { border-radius: 24px }
  body[data-layout="article"] .jp-footer .footer-grid { width: calc(100% - 32px) }
}
@media print {
  body[data-layout="article"] .toc { background: none; color: #111827; border: 1px solid #ccc; transform: none }
  body[data-layout="article"] .toc a, body[data-layout="article"] .toc h2 { color: #111827 }
}

/* rights page: two ways on at the end, places and jobs */
body[data-layout="article"] .closing div { display: flex; flex-wrap: wrap; gap: 12px }
body[data-layout="article"] .back.back-jobs { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink) }
body[data-layout="article"] .back.back-jobs:hover { background: var(--white); filter: none; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink) }
/* the dark arrow disc needs a rim on a dark page */
body[data-layout="article"] .back.back-jobs::after { box-shadow: 0 0 0 1.5px var(--line-strong) }

/* Inline links inside the advice list: a taller tap area without moving the text (R-10). */
#beratung p a:not(.help-link) { padding-block: 12px; margin-block: -12px; }
