/* The self-hosted OFL faces of frontend/src/styles/tokens.css (src/static/fonts/sources.json). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter/InterVariable.2bf3d951bf9d.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display/DMSerifDisplay-Regular.aeb970f02d8d.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono/JetBrainsMono-Regular.4e0581ae831b.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono/JetBrainsMono-Bold.f3651b6798df.woff2") format("woff2"); }

/* The Flexkern values of frontend/src/styles/tokens.css (docs/core/databaaz-design-rules.md 1.1 to 1.3). */
:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #5c6b84;
  --line: rgb(15 23 42 / 7%);
  /* Input boundaries keep 3:1 on the field fill and on white. */
  --control-line: #858a93;
  --control-surface: #f9fafb;
  --surface: #ffffff;
  --canvas: #fafbf6;
  --brand: #6e9a37;
  --brand-strong: #557d2b;
  --brand-ink: #4a7323;
  --brand-line: rgb(110 154 55 / 40%);
  --brand-soft: #eff3ea;
  --sidebar: #171a1d;
  --danger: #c81e1e;
  --focus: #0060cc;
  --focus-ring: rgb(0 96 204 / 22%);
  --shadow: 0 12px 32px rgb(0 0 0 / 10%), 0 2px 8px rgb(0 0 0 / 5%);
  --shadow-card-hover: 0 6px 20px rgb(15 23 42 / 10%), 0 2px 6px rgb(15 23 42 / 5%);
  --shadow-button: 0 1px 2px rgb(15 23 42 / 16%), inset 0 1px 0 rgb(255 255 255 / 14%);
  --radius: 12px;
  --radius-control: 8px;
  --radius-modal: 16px;
  --field-height: 37px;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --tracking-display: .045em;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Mirrors of frontend/src/styles/tokens.css, kept equal by test_identity_gateway. */
  --size-icon-md: 22px;
  --size-icon-button: 38px;
  --inset-icon-button: 5px;
  --radius-icon-button: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.button:disabled { opacity: .65; cursor: wait; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-size: .875rem; line-height: 1.6; text-rendering: geometricPrecision; }
h1, h2, .wordmark strong { line-height: 1.2; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; background: var(--surface); border-radius: var(--radius-control); }
.skip-link:focus { transform: translateY(0); }

/* Full-width form buttons are 37px, as the fields they close (rules B7 and F1). */
.button { min-height: var(--field-height); display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: var(--radius-control); padding: 0 12px; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
/* White on --brand (#6e9a37) is only 3.31:1; --brand-strong reaches 4.82:1 (WCAG 2.2 AA). */
.button-primary { color: #fff; background: var(--brand-strong); box-shadow: var(--shadow-button); }
.button-primary:hover { background: color-mix(in srgb, var(--brand-strong) 85%, #000); }
.button:not(.button-primary) { color: var(--brand-ink); border-color: var(--brand-line); background: var(--surface); }
.button-full { width: 100%; }
.stack { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field-label-row { color: var(--ink-soft); font-size: .82rem; font-weight: 500; }
.field-label-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.field input, .field select, .field textarea { width: 100%; height: var(--field-height); min-height: var(--field-height); padding: 9px 12px; color: var(--ink); background: var(--control-surface); border: 1px solid var(--control-line); border-radius: var(--radius-control); font-size: .9rem; }
.field textarea { height: auto; min-height: 120px; resize: vertical; }
.field input::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: 3px solid var(--focus-ring); }
.field-error { margin: 0; color: var(--danger); font-size: .85rem; }
.muted-link { color: var(--brand-ink); text-decoration: none; font-weight: 600; text-underline-offset: 3px; }
.muted-link:hover { text-decoration: underline; }
.muted-link[aria-disabled="true"] { cursor: not-allowed; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.checkbox-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.alert { padding: 12px 14px; border: 1px solid #cfd8e2; border-radius: var(--radius-control); background: var(--surface); }
.alert-error { color: #7e2020; border-color: #f1b4b4; background: #fff5f5; }
.alert-error ul { margin: 0; padding-left: 18px; }

.login-page { background: var(--canvas); }
.login-panel { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 1fr) 1fr; overflow: hidden; }
/* The form side is the canvas with a faint brand glow in its top corner, as the Databaaz sign-in. */
.login-card { position: relative; z-index: 1; width: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(54px, 8vw, 110px); background: radial-gradient(circle at 8% 6%, var(--brand-soft) 0, transparent 42%), var(--canvas); }
.login-card > * { width: 100%; max-width: 400px; margin-inline: auto; }
.wordmark { display: flex; align-items: center; gap: 14px; margin-bottom: 42px; }
.wordmark strong { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: var(--tracking-display); }
.wordmark small { display: block; max-width: 280px; margin-top: 3px; color: var(--muted); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.wordmark.compact { margin-bottom: 28px; }
.agency-identity { min-width: 0; }
/* Q2 (RD-2026-10-26-01): a 36px gold tile, as Databaaz's compact tenant mark (F07-F02); 3px of gold stays around the logo. */
.identity-logo-frame { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; padding: 3px; border-radius: var(--radius-control); background: #d6b56b; }
.identity-logo-frame img { display: block; width: auto; height: auto; max-width: 30px; max-height: 30px; object-fit: contain; }
.identity-names { min-width: 0; overflow-wrap: anywhere; }
.agency-identity small { color: var(--ink-soft); }
.login-heading { margin-bottom: 30px; }
.login-heading h1 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.65rem; letter-spacing: var(--tracking-display); }
.login-heading p { margin: 0; color: var(--muted); font-size: .95rem; }
/* A leading 16px icon sits inside the field; the input keeps its own label. */
.input-with-icon { position: relative; display: grid; }
.input-icon { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field .input-with-icon input { padding-left: 38px; }
/* A grid makes the wrapper exactly as tall as the 37px field, so the reveal button can be centred in it. */
.password-input { position: relative; display: grid; }
.password-input.is-enhanced input { padding-right: 52px; }
/* The 38px button is capped at the field height, so it stays inside the 37px field. */
.reveal-password { position: absolute; top: 50%; right: var(--inset-icon-button); width: var(--size-icon-button); height: min(var(--size-icon-button), 100%); transform: translateY(-50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius-icon-button); color: var(--muted); background: transparent; cursor: pointer; }
/* #7b889d and #8995a8 were 3.03:1 or lower on the surface; --muted reaches 5.16:1 on the field fill. */
.reveal-password:hover { color: var(--ink); }
.reveal-password-icon { display: block; width: var(--size-icon-md); height: var(--size-icon-md); }
.reveal-password-slash { display: none; }
.reveal-password[aria-pressed="true"] .reveal-password-slash { display: inline; }
.login-footer { display: grid; gap: 10px; margin-top: 30px; color: var(--muted); font-size: .82rem; }
.login-footer a { color: var(--ink); text-decoration: none; text-underline-offset: 3px; }
.login-footer a:hover { text-decoration: underline; }
.login-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.login-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.login-links a { color: var(--muted); }
.sign-in-policy { gap: 6px; }
/* TPC's website team photo under a deep gold tint and a faint 48px grid (SET-02); the gold base colour shows while it loads. */
.login-visual { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 10% 120px; overflow: hidden; background-color: #d6b56b;
  background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(170deg, rgb(150 112 38 / 58%), rgb(66 47 12 / 78%)), url("../img/login-team.0fc0b540f08e.webp");
  background-size: 48px 48px, 48px 48px, cover, cover; background-position: center; }
/* Any agency logo shows as a white mark over the photo. */
.visual-agency-logo { display: block; width: auto; height: auto; max-width: min(100%, 280px); max-height: 280px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgb(0 0 0 / 30%)); }
.visual-message { position: absolute; left: 48px; right: 48px; bottom: 44px; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 35%); }
.visual-message strong { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; letter-spacing: var(--tracking-display); }
.visual-message span { font-size: .9rem; opacity: .9; }

.role-page { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, var(--brand-soft), var(--canvas) 54%); }
.role-card { width: min(100%, 560px); margin-inline: auto; padding: clamp(28px, 6vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-modal); background: var(--surface); box-shadow: var(--shadow); }
.role-card h1 { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.25rem, 6.5vw, 2rem); letter-spacing: var(--tracking-display); overflow-wrap: anywhere; }
.role-card > p { margin: 0 0 28px; color: var(--muted); }
.authenticator-page { padding-block: 24px; }
.authenticator-page > #main-content { width: min(100%, 560px); min-width: 0; }
.authenticator-card { min-width: 0; }
.authenticator-card h1 { overflow-wrap: anywhere; font-size: clamp(1.25rem, 6.5vw, 2rem); }
.authenticator-qr { width: min(100%, 220px); margin: 0 auto 16px; }
.authenticator-qr svg { display: block; width: 100%; height: auto; }
.authenticator-card > .field-help { margin-bottom: 8px; }
.authenticator-secret { display: block; font-family: var(--font-mono); overflow-wrap: anywhere; margin-bottom: 24px; font-size: 1rem; }
.authenticator-recovery-codes { padding-left: 22px; display: grid; gap: 10px; margin-bottom: 28px; }
.authenticator-recovery-codes code { overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .9rem; }
.authenticator-cancel { margin-top: 16px; }
.role-list { display: grid; gap: 12px; }
.role-option { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); cursor: pointer; }
/* L1 hover: the card stays put and gains a brand bar on its left edge and the deeper shadow. */
.role-option:hover { box-shadow: inset 3px 0 0 var(--brand), var(--shadow-card-hover); }
.role-option strong, .role-option small { display: block; }
.role-option small { margin-top: 4px; color: var(--muted); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); background: var(--canvas); }
.sidebar { position: sticky; top: 0; z-index: 20; height: 100vh; overflow-y: auto; padding: 20px 14px 28px; color: #eef1f3; background: var(--sidebar); }
.sidebar-close { display: none; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; margin: 0 6px 26px; color: #fff; text-decoration: none; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand small { max-width: 160px; margin-top: 2px; overflow: hidden; color: #9ba1a9; font-size: .56rem; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.nav-group { margin: 23px 10px 8px; color: #777d85; font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-item { min-height: 40px; display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 9px 11px; border-radius: 8px; color: #cbd0d5; font-size: .91rem; text-decoration: none; }
.nav-item:hover { color: #fff; background: #272b30; }
.nav-item.is-active { color: #fff; background: #3a3e43; box-shadow: inset 0 0 0 1px #4a4f55; }
.nav-item span { width: 18px; color: #aab0b7; text-align: center; }
.app-main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 10; min-height: 72px; display: flex; align-items: center; gap: 16px; padding: 12px clamp(18px, 3vw, 38px); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); }
.topbar-title { min-width: 0; flex: 1; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--brand-line); border-radius: var(--radius-control); color: var(--ink); background: #fff; cursor: pointer; }
.mobile-menu { display: none; }
.account-menu { display: flex; align-items: center; gap: 10px; }
.account-menu > span { max-width: 180px; }
.account-menu strong, .account-menu small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu strong { font-size: .82rem; }
.account-menu small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.text-button { min-height: 44px; padding: 7px 8px; border: 0; color: var(--muted); background: transparent; font-size: .78rem; cursor: pointer; }
.content-area { padding: clamp(24px, 4vw, 46px); }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: var(--tracking-display); }
.page-heading p { margin: 0; color: var(--muted); }
.attention-card { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; padding: 18px; border: 1px solid #cfd6cc; border-radius: var(--radius); background: #fff; box-shadow: 0 2px 6px rgb(29 40 31 / 5%); }
.attention-card p { margin: 4px 0 0; color: var(--muted); }
.attention-card dl { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0, 1fr); gap: 12px 24px; margin: 0; }
.attention-card dt { color: var(--muted); font-weight: 700; }
.attention-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.attention-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #edf3e8; }
.table-scroll { display: block; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0; -webkit-overflow-scrolling: touch; }
.client-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--surface); }
.client-table th, .client-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.client-table thead th { color: var(--muted); background: var(--canvas); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.client-table tbody tr:last-child > * { border-bottom: 0; }
.client-table a { color: var(--brand-ink); font-weight: 700; text-underline-offset: 3px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric-card { min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 6px rgb(29 40 31 / 4%); }
.metric-card p { margin: 16px 0 8px; color: var(--muted); font-size: .86rem; }
.metric-card strong { display: block; margin-bottom: 12px; font-family: var(--font-display); font-size: 2rem; }
.metric-card small { color: #8d98aa; }
.metric-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; }
.metric-icon.blue { color: #36688e; background: #e8f1f8; }
.metric-icon.amber { color: #a46b15; background: #fff1d9; }
.metric-icon.violet { color: #7248a9; background: #f1e8fc; }
.metric-icon.green { color: #367c50; background: #e5f5e9; }
.empty-state { min-height: 360px; display: grid; place-content: center; justify-items: center; padding: 40px; border: 1px dashed #c8cfc5; border-radius: var(--radius); text-align: center; background: rgb(255 255 255 / 65%); }
.empty-state-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--brand-ink); background: var(--brand-soft); font-size: 1.6rem; }
.empty-state h2 { margin: 18px 0 8px; }
.empty-state p { margin: 0; color: var(--muted); }
.mobile-scrim { display: none; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-menu .account-email { display: none; }
  .account-menu .account-role { margin-top: 0; }
}

@media (max-width: 900px) {
  .login-panel { grid-template-columns: 1fr; }
  .login-card { width: 100%; max-width: none; padding: 48px clamp(28px, 10vw, 90px); }
  .login-visual { display: none; }
}

@media (max-width: 768px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; }
  .app-shell.is-enhanced .sidebar { position: fixed; top: 0; left: 0; width: min(82vw, 290px); height: 100vh; height: 100dvh; transform: translateX(-102%); transition: transform .2s ease; }
  .app-shell.is-enhanced .sidebar-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; color: #fff; border-color: #50555b; background: #262a2f; }
  .app-shell.is-enhanced .sidebar-brand { padding-right: 48px; }
  .app-shell.is-enhanced.nav-open .sidebar { transform: translateX(0); }
  .app-shell.is-enhanced .mobile-scrim { position: fixed; inset: 0; z-index: 15; display: block; visibility: hidden; opacity: 0; background: rgb(7 10 13 / 55%); transition: opacity .2s ease, visibility .2s; }
  .app-shell.is-enhanced.nav-open .mobile-scrim { visibility: visible; opacity: 1; }
  .app-shell.is-enhanced .mobile-menu { display: inline-grid; place-items: center; }
  .nav-item { min-height: 44px; }
  .topbar { min-height: 64px; gap: 8px; padding: 10px 14px; }
  .content-area { padding: 22px 16px 38px; }
  .page-heading { align-items: stretch; flex-direction: column; }
  .page-heading .button { width: 100%; }
  .attention-card dl { grid-template-columns: 1fr; gap: 5px; }
  .attention-card dd { margin-bottom: 13px; }
}

@media (max-width: 520px) {
  .login-card { justify-content: flex-start; padding: 48px 24px 36px; }
  .wordmark { margin-bottom: 46px; }
  .wordmark strong { font-size: 1.25rem; }
  .login-footer { align-items: flex-start; flex-direction: column; }
  .field-label-row { align-items: flex-start; }
  .checkbox-row { max-width: 260px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 150px; }
  .topbar { flex-wrap: wrap; }
  .topbar-actions { flex: 0 0 100%; min-width: 0; }
  .account-menu { width: 100%; }
  .account-menu > span { min-width: 4rem; max-width: none; flex: 1; }
  .topbar-actions > .icon-button { display: none; }
}

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

.button-row { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.button-row .button { text-decoration: none; }
.field-help { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.identity-submit-state { display: grid; gap: 12px; margin-top: 18px; }
.identity-submit-state .button { justify-self: start; }
.help-list { margin: 0 0 24px; padding-left: 20px; color: var(--ink-soft); line-height: 1.6; }
.help-list a { color: var(--brand-ink); font-weight: 600; text-decoration: none; text-underline-offset: 3px; }
.help-list a:hover { text-decoration: underline; }
@media (max-width: 520px) { .button-row { flex-direction: column-reverse; } .button-row .button { width: 100%; } }
@media (max-height: 420px) and (orientation: landscape) { .role-page { place-items: start center; } .role-card { margin: 12px auto; padding: 20px; } .role-card h1 { font-size: 1.4rem; } }

.login-links { display: flex; flex-wrap: wrap; gap: 14px 10px; }
.governance { width: min(100%, 720px); }
.governance-section { margin: 20px 0; min-width: 0; overflow-wrap: anywhere; }
.governance-section h2 { margin: 0 0 8px; font-size: 1.1rem; }
.governance-section p { margin: 0 0 8px; color: var(--ink-soft); line-height: 1.6; }
.governance-section ul { margin: 0 0 8px; padding-left: 22px; color: var(--ink-soft); line-height: 1.6; }
.governance-section li { margin: 0 0 4px; }
.governance-draft { border-left: 3px solid #b7791f; padding-left: 10px; }
.governance-updated { margin: 0 0 12px; color: var(--ink-soft); font-size: .85rem; }
/* Rule B15: outline buttons, the open notice in the brand tint with aria-current. */
.governance-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.governance-links a { min-height: 32px; display: inline-flex; align-items: center; border: 1px solid var(--brand-line); border-radius: var(--radius-control); padding: 0 12px; color: var(--brand-ink); background: var(--surface); font-size: .85rem; font-weight: 600; text-decoration: none; }
.governance-links a:hover, .governance-links a[aria-current="page"] { background: var(--brand-soft); }
.governance-links a[aria-current="page"] { border-color: var(--brand); }
