:root {
  color-scheme: light;
  --ink: #132e39;
  --navy: #112c38;
  --deep: #09202b;
  --mint: #8aefd1;
  --accent: #087c70;
  --accent-dark: #075b53;
  --muted: #526970;
  --line: #d8e3e3;
  --base: #f2f6f5;
  --paper: #fff;
  --radius: 18px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  color: var(--ink);
  background: var(--base);
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, .btn, a { -webkit-tap-highlight-color: rgba(8,124,112,.13); }
[hidden], .symbols { display: none !important; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { line-height: 1.16; letter-spacing: -.036em; text-wrap: balance; }
h1 { font-size: clamp(2rem,4vw,3.45rem); }
h2 { font-size: clamp(1.45rem,2.2vw,2.05rem); }
h3 { font-size: 1.16rem; }
p { overflow-wrap: anywhere; }
p + p { margin-top: .65rem; }
ul,ol { padding-inline-start: 1.35rem; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
button, .btn { border: 1px solid transparent; background: var(--navy); color: white; border-radius: 10px; min-height: 44px; padding: .62rem 1rem; cursor: pointer; font-weight: 660; line-height: 1.3; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; text-decoration: none; text-align: center; }
button:hover, .btn:hover { background: #214553; }
button:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
button svg,.btn svg { width: 20px; height: 20px; flex: none; }
input,select,textarea { width: 100%; max-width: 100%; min-width: 0; background-color: #fff; border: 1px solid #b4c5c7; border-radius: 9px; padding: .65rem .82rem; min-height: 46px; color: var(--ink); accent-color: var(--accent); line-height: 1.35; }
input::placeholder,textarea::placeholder { color: #64787e; opacity: 1; }
select:not([multiple]) { appearance: none; padding-right: 2.3rem; background-image: linear-gradient(45deg,transparent 50%,#49646a 50%),linear-gradient(135deg,#49646a 50%,transparent 50%); background-position: calc(100% - 16px) 51%,calc(100% - 11px) 51%; background-size: 5px 5px; background-repeat: no-repeat; }
select[multiple] { min-height: 7rem; }
option { padding: .23rem; }
textarea { min-height: 5.9rem; resize: vertical; }
input[type=checkbox],input[type=radio] { width: 1.15rem; height: 1.15rem; min-height: 0; vertical-align: middle; }
input[type=file] { white-space: normal; }
label,.field { display: grid; gap: .45rem; font-size: .94rem; font-weight: 640; align-content: start; min-width: 0; }
label:has(>input[type=checkbox]), label:has(>input[type=radio]) { display: flex; align-items: center; flex-wrap: wrap; min-height: 42px; gap: .55rem; }
label small, .field small { color: var(--muted); font-weight: 430; }
fieldset { border: 1px solid var(--line); border-radius: 12px; min-width: 0; padding: 1rem; }
legend { font-weight: 660; }
:focus-visible { outline: 3px solid #147dca; outline-offset: 3px; }
img, svg { max-width: 100%; }
strong { font-weight: 720; }
.secondary,.ghost,.text-button,.close-btn { background: transparent; color: var(--ink); }
.secondary { border-color: #b9cccc; }
.secondary:hover,.ghost:hover,.close-btn:hover { background: #eaf3f1; }
.danger { background: #a13638; color: white; }
.danger:hover { background: #81292b; }
.text-button { padding: .45rem .25rem; margin-top: .48rem; color: var(--accent-dark); text-decoration: underline; text-underline-offset: .21em; font-size: .91rem; }
.text-button:hover { background: transparent; color: #0c514a; }
.muted { color: var(--muted); }
.eyebrow { display: flex; gap: .55rem; align-items: center; color: var(--accent-dark); font-size: .77rem; font-weight: 720; line-height: 1.3; text-transform: uppercase; letter-spacing: .115em; }
.line-mark { width: 1.65rem; height: 2px; flex: none; background: currentColor; }
.brand { display: inline-flex; align-items: center; gap: .52rem; color: white; font-size: 1.52rem; font-weight: 760; letter-spacing: -.067em; line-height: 1; }
.brand svg { color: var(--mint); width: 37px; height: 25px; }
.login-layout { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(400px,.88fr); }
.login-visual { position: relative; isolation: isolate; min-height: 680px; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(1.8rem,4.1vw,4.8rem); overflow: hidden; background: radial-gradient(ellipse at 81% 88%,#1b5d60 0%,transparent 63%),linear-gradient(155deg,#102733 8%,#163b46 72%,#184c50); color: white; }
.login-visual .brand { align-self: flex-start; }
.login-caption { max-width: 37rem; margin-top: clamp(4rem,13vh,9rem); position: relative; z-index: 2; }
.login-caption .eyebrow,.hero .eyebrow { color: var(--mint); }
.login-caption h1 { font-size: clamp(3.7rem,6.7vw,6.5rem); line-height: .99; letter-spacing: -.072em; margin: 1.15rem 0 1.35rem; font-weight: 680; }
.login-caption h1 em { color: var(--mint); font-style: normal; }
.login-intro { font-size: clamp(1.01rem,1.45vw,1.25rem); line-height: 1.55; max-width: 29rem; color: #d9ebe9; }
.pitch-art { width: 108%; max-width: none; display: block; align-self: center; margin: auto -4% -8%; padding-top: .8rem; }
.login-side { display: grid; place-items: center; padding: clamp(1.4rem,4vw,5rem); background: #fbfdfc; }
.login-card { width: min(100%,27rem); }
.login-card > .eyebrow { margin-bottom: .85rem; }
.login-card h2 { font-size: clamp(2.4rem,4.5vw,3.7rem); letter-spacing: -.062em; }
.login-card > .muted { margin-top: .6rem; }
.login-card form { margin-top: 1.8rem; }
.stack { display: grid; gap: 1rem; align-items: start; }
.login-submit,.passkey-btn { width: 100%; }
.login-submit { background: var(--accent-dark); min-height: 48px; }
.login-submit:hover { background: #064b46; }
.passkey-btn { font-size: .95rem; }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); margin: 1rem 0; font-size: .85rem; }
.auth-divider::before,.auth-divider::after { content:""; flex:1; height:1px; background:var(--line); }
.error-message,.error { color: #9b222b; }
.error-message:empty,#authExtra:empty,#toast:empty { display: none; }
#authExtra:not(:empty) { margin-top: 1rem; padding: 1rem; background:#eef5f3; border-radius: 12px; }
#authExtra form { margin-top: .65rem; display:grid; gap:.75rem; }
.test-info { margin-top: 1.6rem; color: var(--muted); font-size: .82rem; display:flex; align-items:center; gap:.5rem; }
.test-info span { background:#348375; width:7px; height:7px; border-radius:50%; flex:none; }
.shell { display:grid; grid-template-columns: 236px minmax(0,1fr); min-height: 100vh; min-height: 100dvh; }
.sidebar { background:var(--navy); color:#deeeed; padding:2.1rem 1rem 1rem; display:flex; flex-direction:column; position:sticky; top:0; max-height:100vh; height:100vh; height:100dvh; overflow:auto; z-index:2; }
.sidebar .brand { margin:0 .65rem 2.6rem; }
#nav { display:grid; gap:.24rem; }
#nav button,#nav a { width:100%; justify-content:flex-start; text-align:left; color:#d6e5e7; background:transparent; border:1px solid transparent; text-decoration:none; border-radius:9px; padding:.65rem .85rem; min-height:44px; font-size:.95rem; font-weight:530; display:flex; align-items:center; gap:.75rem; }
#nav button:hover,#nav a:hover { background:#213f4a; }
#nav .active,#nav [aria-current=page],#nav [aria-selected=true] { background:#224c50; color:#a0f3d9; border-color:#326060; font-weight:670; }
.sidebar-foot { margin-top:auto; padding:.9rem .4rem .1rem; border-top:1px solid #38515b; display:grid; gap:.25rem; }
#roleName { font-size:.86rem; color:#bdd5d5; }
#switchView { padding:.48rem .72rem; color:var(--mint); background:transparent; border-color:#517777; font-size:.91rem; }
#switchView:hover { background:#224c50; }
.work { min-width:0; }
#topbar { height:68px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:0 clamp(1rem,3vw,3.5rem); border-bottom:1px solid var(--line); background:#fbfdfc; }
#crumb { color:var(--muted); font-size:.94rem; font-weight:600; overflow-wrap:anywhere; }
.bell-btn { border:1px solid var(--line); border-radius:50%; background:white; color:var(--ink); min-width:44px; padding:.55rem; }
.bell-btn:hover { background:#eaf2f1; }
#content { margin:0 auto; max-width:1500px; padding:clamp(1.15rem,3vw,3rem); display:grid; align-content:start; gap:1.3rem; }
#content:focus { outline:none; }
.app-foot { border-top:1px solid var(--line); margin:0 clamp(1.15rem,3vw,3rem) 1.4rem; padding:.7rem 0; color:var(--muted); font-size:.8rem; }
.hero { position:relative; display:flex; isolation:isolate; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding:clamp(1.35rem,3vw,2.75rem); border-radius:var(--radius); overflow:hidden; background:linear-gradient(116deg,#102c39 10%,#17454e 72%,#235e5d); color:white; }
.hero h1,.hero h2 { color:#f4fcfa; margin:.55rem 0 .7rem; }
.hero p:not(.eyebrow),.hero .muted { color:#d2e6e4; max-width:42rem; }
.hero .btn,.hero button { background:var(--mint); color:#10352e; }
.hero .secondary,.hero .ghost { background:transparent; border:1px solid #6d9394; color:#eff8f5; }
.hero-art { flex:0 1 24%; color:var(--mint); pointer-events:none; opacity:.89; }
.hero-art svg { width:100%; max-height:170px; }
.metric-grid,.cards,.grid { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); align-items:stretch; }
.cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr)); }
.metric,.panel,.card { color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); min-width:0; padding:clamp(1rem,1.65vw,1.55rem); }
.metric { min-height:104px; display:grid; align-content:center; gap:.35rem; }
.metric > strong,.metric > b,.metric .value { display:block; font-size:clamp(1.6rem,2.5vw,2.4rem); font-weight:690; line-height:1.13; letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
.metric small,.metric span { color:var(--muted); }
button.card,a.card { text-align:left; justify-content:flex-start; display:block; text-decoration:none; }
button.card:hover,a.card:hover { background:#f8fcfa; border-color:#7cab9f; }
.panel > * + *,.card > * + * { margin-top:.8rem; }
.section-head,.row,.actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.65rem 1rem; }
.section-head { margin-bottom:.4rem; }
.row > * { min-width:0; }
.row + .row { border-top:1px solid var(--line); padding-top:.72rem; margin-top:.72rem; }
.actions { justify-content:flex-start; }
.avatar { background:#dff2ec; color:#15594e; width:44px; height:44px; border-radius:13px; display:inline-grid; place-items:center; font-weight:730; flex:none; }
.pill { display:inline-flex; align-items:center; width:max-content; max-width:100%; border-radius:20px; padding:.26rem .68rem; background:#e3f3ed; color:#175a4e; font-size:.8rem; font-weight:650; line-height:1.3; }
.tabs { display:flex; align-items:center; gap:.3rem; overflow:auto; padding:.24rem; border:1px solid var(--line); background:#e6eeed; border-radius:12px; width:fit-content; max-width:100%; }
.tabs button,.tabs a { flex:none; min-height:40px; background:transparent; border:0; border-radius:8px; color:#456269; padding:.5rem .82rem; text-decoration:none; font-size:.94rem; }
.tabs .active,.tabs [aria-selected=true] { background:#fff; color:var(--accent-dark); font-weight:700; box-shadow:0 1px 3px #102b371a; }
.split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.empty { padding:1.25rem; background:#f5f8f7; color:var(--muted); border:1px dashed #bfcecc; border-radius:12px; }
.notice { border-left:3px solid #3a9782; border-radius:8px; background:#eaf4f0; color:#20483d; padding:.7rem .9rem; }
.timeline { padding-inline-start:1rem; border-inline-start:2px solid #a2d3c4; }
.timeline > * + * { margin-top:.7rem; }
.chart { max-width:100%; min-width:0; overflow:auto; }
.chart svg { display:block; width:100%; height:auto; }
.tablewrap { overflow-x:auto; max-width:100%; }
table { border-collapse:collapse; width:100%; text-align:left; font-size:.94rem; }
th,td { padding:.75rem .6rem; vertical-align:top; border-bottom:1px solid var(--line); }
th { font-size:.8rem; color:var(--muted); font-weight:670; }
dialog { position:fixed; width:min(720px,calc(100% - 1.5rem)); max-height:90dvh; padding:0; border:1px solid #9fb4b2; border-radius:20px; color:var(--ink); background:white; box-shadow:0 20px 95px #09253050; overscroll-behavior:contain; }
dialog::backdrop { background:#0b26389e; }
.modal-head { position:sticky; top:0; background:white; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem clamp(1rem,3vw,1.6rem); border-bottom:1px solid var(--line); }
.modal-head h2 { font-size:1.45rem; }
.close-btn { width:44px; height:44px; padding:0; font-size:1.65rem; border:1px solid var(--line); border-radius:50%; flex:none; }
#modalBody { padding:clamp(1rem,3vw,1.6rem); }
#modalBody form { display:grid; gap:1rem; }
#toast:not(:empty) { position:fixed; z-index:8; bottom:1.25rem; left:50%; transform:translateX(-50%); width:max-content; max-width:min(90vw,40rem); border-radius:12px; background:var(--deep); color:white; padding:.75rem 1rem; box-shadow:0 5px 28px #0e33352e; }
.skip-link { position:fixed; left:.75rem; top:-150px; z-index:10; background:white; color:var(--ink); border-radius:10px; padding:.65rem 1rem; }
.skip-link:focus { top:.75rem; }
@media (max-width:860px) {
  .shell { grid-template-columns:1fr; }
  .sidebar { display:grid; grid-template-columns:1fr auto; gap:.65rem 1rem; position:static; height:auto; max-height:none; padding:max(.8rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) .5rem max(1rem,env(safe-area-inset-left)); }
  .sidebar .brand { margin:0; font-size:1.3rem; }
  .sidebar .brand svg { width:32px; }
  .sidebar-foot { grid-column:2; grid-row:1; margin:0; padding:0; border:0; display:flex; align-items:center; gap:.7rem; }
  #switchView { font-size:.88rem; }
  input, select, textarea { font-size:1rem; }
  #nav { display:flex; grid-column:1/-1; grid-row:2; overflow:auto; gap:.2rem; }
  #nav button,#nav a { white-space:nowrap; width:auto; flex:none; padding:.48rem .65rem; }
  #topbar { height:55px; }
  .login-layout { grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr); }
}
@media (max-width:690px) {
  .login-layout { grid-template-columns:1fr; }
  .login-visual { min-height:0; padding:1.2rem max(1.25rem,env(safe-area-inset-left)); }
  .login-visual .brand { font-size:1.35rem; }
  .login-caption { margin-top:1.4rem; }
  .login-caption .eyebrow { font-size:.71rem; }
  .login-caption h1 { font-size:2.3rem; margin:.55rem 0 .25rem; letter-spacing:-.055em; max-width:75%; }
  .login-caption h1 br { display:none; }
  .login-caption h1 em::before { content:" "; }
  .login-intro { display:none; }
  .pitch-art { position:absolute; width:46%; right:-8%; bottom:-22%; opacity:.35; z-index:-1; }
  .login-side { padding:1.5rem 1.25rem 2.25rem; align-items:start; }
  .login-card form { margin-top:1.2rem; }
  .login-card h2 { font-size:2.4rem; }
  .split { grid-template-columns:1fr; }
  .hero-art { display:none; }
  .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero { border-radius:14px; }
  .grid { grid-template-columns:1fr; }
  #roleName { display:none; }
}
@media (max-width:340px) { .metric-grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }
@media print { .sidebar,#topbar,.actions,.app-foot,.skip-link,#toast,.tabs { display:none !important; } .shell,.split { display:block; } #content { padding:0; } .panel,.card { break-inside:avoid; } body { background:white; } }
.choice-list {max-height:20rem;overflow:auto;display:grid;gap:.4rem;}
.choice {display:grid;grid-template-columns:1.35rem minmax(0,1fr);gap:.55rem;align-items:start;padding:.55rem;border-bottom:1px solid var(--line);cursor:pointer;}
.choice input {margin:.2rem 0;width:1.15rem;height:1.15rem;min-height:0;}
.choice small {display:block;color:var(--muted);font-size:.85rem;line-height:1.4;}
.detail {padding:.55rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;}
.detail p {white-space:pre-wrap;margin:.25rem 0;}
.chart svg {display:block;width:100%;max-width:42rem;height:auto;}
#modal code {display:block;overflow-wrap:anywhere;padding:.4rem;}

.app-foot { padding-bottom:max(.7rem,env(safe-area-inset-bottom)); }

/* The iPhone and desktop use the same two primary destinations. */
.shell { grid-template-columns:minmax(12.5rem,15rem) minmax(0,1fr); }
.sidebar .brand { margin-bottom:1rem; }
.sidebar .bell-btn { align-self:flex-start; margin:0 .65rem 1.35rem; background:transparent; color:#ddf4ed; border-color:#466071; gap:0; position:relative; }
.bell-btn sup { position:absolute; right:-.35rem; top:-.35rem; border-radius:1rem; color:#112c38; background:var(--mint); padding:.12rem .35rem; font-size:.72rem; }
.work { display:flex; flex-direction:column; }
#content { width:100%; max-width:64rem; padding:clamp(1.1rem,4vw,3rem); gap:1.3rem; flex:1; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; }
.page-heading h1 { font-size:clamp(1.9rem,4vw,2.8rem); }
.page-heading h1 + p { margin-top:.3rem; }
.player-list,.menu-list,.timeline-list { display:grid; align-content:start; min-width:0; }
.menu-row.btn { width:100%; display:flex; gap:.9rem; justify-content:flex-start; text-align:left; padding:.9rem 1rem; line-height:1.4; min-height:54px; background:white; border:1px solid var(--line); border-radius:0; color:var(--ink); }
.menu-row.btn:first-child { border-radius:14px 14px 0 0; }
.menu-row.btn:last-child { border-radius:0 0 14px 14px; }
.menu-row.btn:only-child { border-radius:14px; }
.menu-row + .menu-row { margin-top:-1px; }
.menu-row.btn:hover,.menu-row.btn:focus-visible { background:#eef8f4; }
.menu-row::after { content:''; width:.52rem; height:.52rem; border-right:2px solid #59736e; border-top:2px solid #59736e; transform:rotate(45deg); margin-left:auto; flex:none; }
.menu-text { min-width:0; display:grid; gap:.2rem; overflow-wrap:anywhere; }
.menu-text span { font-size:.9rem; font-weight:450; color:var(--muted); }
.case-actions { display:flex; flex-wrap:wrap; gap:.6rem; }
.text-btn { background:transparent; border:0; color:var(--accent-dark); justify-self:start; padding:.4rem 0; }
.text-btn:hover { background:transparent; text-decoration:underline; }
.case-actions .btn:not(.secondary),.page-heading .btn:not(.secondary),#modal form > .btn[type=submit] { background:var(--accent-dark); color:white; }
.timeline-heading { align-items:end; margin-bottom:0; }
.timeline-heading select { min-width:10rem; }
.entry-group { margin-top:1rem; }
.entry-group h3 { margin:0 0 .45rem; }
.form-options { border:1px solid var(--line); background:#f8fbfa; border-radius:10px; }
.form-options > summary { cursor:pointer; padding:.75rem; min-height:44px; font-weight:650; color:var(--accent-dark); }
.form-options > .stack { padding:.2rem .75rem .85rem; }
.field:has(input[type=checkbox]) { display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:.65rem; align-items:center; min-height:44px; }
@media (max-width:860px) {
  .shell { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; }
  .sidebar { grid-template-columns:1fr auto; gap:.3rem 1rem; }
  .sidebar .brand { margin:0; }
  .sidebar .bell-btn { grid-column:2; grid-row:1; margin:0; }
  .sidebar-foot { display:none; }
  #nav { display:grid; grid-template-columns:1fr 1fr; overflow:visible; padding:.2rem 0; }
  #nav button { width:100%; justify-content:center; }
  #content { gap:1rem; }
  .page-heading .btn,.case-actions .btn { min-height:46px; }
  .timeline-heading { display:grid; gap:.65rem; }
  .timeline-heading .field { display:flex; align-items:center; gap:.5rem; }
  .timeline-heading .field select { width:auto; flex:1; min-width:0; }
  .case-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .app-foot { margin-bottom:0; }
}
.player-context { display:grid; gap:.35rem; padding:.8rem 1rem; background:#e6f0ee; border-radius:12px; }
.player-context small,.player-context strong { display:block; }
.player-context small { font-size:.9rem; color:var(--muted); }
.player-today { display:grid; gap:.75rem; padding:clamp(1.15rem,3vw,1.7rem); border-radius:16px; background:#123c43; color:white; }
.player-today h2 { color:white; }
.player-today p { color:#e4f4f0; }
.player-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.5rem; }
.player-choices .btn { min-height:48px; padding:.55rem .18rem; background:#f2fcf8; color:#123c43; font-size:1rem; }
.player-choices .btn:hover { background:#bdebdc; }
.form-context { margin-bottom:1rem; color:var(--muted); }
.field small { font-size:.9rem; font-weight:450; }
@media(max-width:320px) { .player-choices { grid-template-columns:1fr; } }

/* Kapitelkopf, Randmarke und ruhige Leseflächen nach der Fußball-Musterseite. */
:root { --ink:#182e46; --navy:#162e4b; --deep:#10233c; --accent:#28638a; --accent-dark:#244e75; --mint:#ffd09d; --base:#f5f6f8; --muted:#4e6175; --line:#d5dee6; --radius:9px; }
.work {background:linear-gradient(90deg,#edf0f4 1px,transparent 1px) 0 0/100% 100%,var(--base);}
.page-heading {position:relative;background:var(--paper);border-top:4px solid var(--navy);border-bottom:1px solid var(--line);padding:1.3rem clamp(1rem,3vw,2rem);}
.page-heading::before {content:"";position:absolute;top:-4px;left:0;width:3.8rem;height:4px;background:#e98b41;}
.page-heading h1 {letter-spacing:-.045em;color:var(--navy);}
.panel,.metric,.player-list,.form-options {border-radius:6px;}
.section-head h2,.timeline-heading h2 {border-inline-start:4px solid #dd8139;padding-inline-start:.65rem;}
.metric {border-top:3px solid #507b9c;background:white;}
.menu-row.btn {background:#fff;color:var(--navy);}
.menu-row.btn:hover,.menu-row.btn:focus-visible {background:#edf3f9;}
.menu-row::after {border-color:#43739a;}
#nav .active,#nav [aria-current=page] {background:#2e4766;color:#fff;border-color:#7790aa;box-shadow:inset 0 -3px #ec9a55;}
@media(max-width:860px){
  #nav {grid-row:2;grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr));}
  #nav button {padding-inline:.3rem;}
}
.menu-row.btn .action-icon { width:2.3rem; height:2.3rem; flex:none; padding:.48rem; border-radius:9px; background:#ecf2f7; color:#264f73; }
#nav .action-icon { width:1.15rem; height:1.15rem; flex:none; }
@media(max-width:390px){ #nav button {gap:.28rem;font-size:.9rem;} }
.illustrated-heading {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:stretch;background:white;border-top:4px solid var(--navy);overflow:hidden;}
.illustrated-heading .page-heading {border-top:0;align-content:center;}
.illustrated-heading img {display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:50% 25%;}
@media(max-width:680px){
  .illustrated-heading {grid-template-columns:1fr;}
  .illustrated-heading .page-heading {padding:.8rem 1rem;}
  .illustrated-heading img {height:auto;aspect-ratio:3/1;}
}
