/* ZEOconnect WEB: the ZEO layer over Pico CSS 2.0.6 (pico.min.css, MIT,
   vendored; the operator's yes, 2026-10-12). Pico gives the structure, forms
   and accessible defaults; this file gives the brand (zeo-site's atomic
   orange, warm greys, Space Grotesk for display), one spacing scale, two
   heading sizes, and one primary action per page. Served from /assets: the
   CSP allows no outside origin. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --zeo-orange: #e8692a;
  --zeo-orange-hover: #cf5718;
  --zeo-ink: #1f1d1a;
  --zeo-muted: #6b6560;
  --zeo-line: #ece7e1;
  --zeo-page: #faf8f5;
  --zeo-surface: #ffffff;
  --zeo-ok: #1f7a5c;
  --zeo-ok-bg: #e6f4ee;
  --zeo-note-bg: #fbf3e4;
  --zeo-note-line: #e0b252;
  --zeo-alert-bg: #fcebe6;
  --zeo-alert-line: #d0553a;
  --zeo-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* One spacing scale. */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem;
  --pico-font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --pico-font-size: 106.25%;
  --pico-line-height: 1.55;
  --pico-border-radius: 0.75rem;
  --pico-spacing: var(--s4);
  --pico-typography-spacing-vertical: var(--s4);
  --pico-form-element-spacing-vertical: 0.8rem;
  --pico-form-element-spacing-horizontal: 1rem;
}
:root:not([data-theme="dark"]),
[data-theme="light"] {
  --pico-primary: var(--zeo-orange);
  --pico-primary-background: var(--zeo-orange);
  --pico-primary-border: var(--zeo-orange);
  --pico-primary-underline: rgba(232, 105, 42, 0.5);
  --pico-primary-hover: var(--zeo-orange-hover);
  --pico-primary-hover-background: var(--zeo-orange-hover);
  --pico-primary-hover-border: var(--zeo-orange-hover);
  --pico-primary-focus: rgba(232, 105, 42, 0.3);
  --pico-primary-inverse: #ffffff;
  --pico-secondary: #5c564f;
  --pico-secondary-background: #ffffff;
  --pico-secondary-border: #d9d2ca;
  --pico-secondary-underline: rgba(92, 86, 79, 0.4);
  --pico-secondary-hover: #2f2b27;
  --pico-secondary-hover-background: #f3efea;
  --pico-secondary-hover-border: #c9c1b8;
  --pico-secondary-focus: rgba(92, 86, 79, 0.25);
  --pico-secondary-inverse: #2f2b27;
  --pico-color: var(--zeo-ink);
  --pico-h1-color: var(--zeo-ink);
  --pico-h2-color: var(--zeo-ink);
  --pico-h3-color: var(--zeo-ink);
  --pico-muted-color: var(--zeo-muted);
  --pico-muted-border-color: var(--zeo-line);
  --pico-background-color: var(--zeo-page);
  --pico-card-background-color: var(--zeo-surface);
  --pico-card-sectioning-background-color: var(--zeo-surface);
  --pico-card-box-shadow: 0 1px 2px rgba(31, 29, 26, 0.04), 0 8px 24px -12px rgba(31, 29, 26, 0.12);
  --pico-form-element-background-color: #fffdfb;
  --pico-form-element-border-color: #d9d2ca;
  --pico-code-background-color: #f3efea;
}

/* Frame ------------------------------------------------------------------ */
body { min-height: 100vh; display: flex; flex-direction: column; }
main.page { flex: 1; padding-top: var(--s6); padding-bottom: var(--s7); }

.topbar { background: var(--zeo-surface); border-bottom: 1px solid var(--zeo-line); }
.topbar::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--zeo-orange), #e0b252); }
.topbar nav { padding-block: 0; }
.topbar nav li { padding-block: var(--s3); }
.logo { font-family: var(--zeo-display); font-weight: 700; letter-spacing: 0.02em; color: var(--zeo-ink); text-decoration: none; }
.logo span { color: var(--zeo-orange); }
.topbar a:not(.logo):not([role="button"]) { color: var(--zeo-muted); font-family: var(--zeo-display); text-decoration: none; }
.topbar a:not(.logo):not([role="button"]):hover { color: var(--zeo-ink); }
.topbar a[aria-current="page"] { color: var(--zeo-ink) !important; font-weight: 600; }
.topbar form { margin: 0; }
.topbar button { margin: 0; padding: var(--s1) var(--s3); font-size: 0.9rem; }
.topbar nav ul.places { min-width: 0; flex-wrap: wrap; }
.topbar nav ul.places > li.organization-menu { min-width: 0; max-width: 100%; white-space: normal; }
.topbar .org-switch { display: block; margin: 0; }
.topbar nav .org-switch > summary:not([role]) { display: flow-root; height: auto; white-space: normal; overflow-wrap: anywhere; }
.topbar .org-switch > summary + ul { min-width: 0; white-space: normal; }
.topbar nav ul.places .org-switch li { white-space: normal; }
.topbar .org-switch button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

footer.footer { text-align: center; color: var(--zeo-muted); font-size: 0.85rem; padding: var(--s6) var(--s4); }
footer.footer p { margin: 0; }

/* Type: two heading sizes, display face for headings and controls. ------- */
h1, h2, h3, button, [role="button"], dt { font-family: var(--zeo-display); }
h1 { font-size: 1.9rem; letter-spacing: -0.02em; margin-bottom: var(--s2); }
h2, h3 { font-size: 1.15rem; margin-bottom: var(--s3); }
.eyebrow { font-family: var(--zeo-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--zeo-orange); margin-bottom: var(--s2); }
.lede { color: var(--zeo-muted); font-size: 1.05rem; max-width: 44rem; }
.muted { color: var(--zeo-muted); font-size: 0.92rem; }
.hero { margin-bottom: var(--s5); }
p, dd, li { overflow-wrap: anywhere; }

/* Saved permission words and operation ids must fit beside phone checkboxes. */
form[data-permission-form] fieldset { min-inline-size: 0; }
form[data-permission-form] label,
form[data-permission-form] small,
form[data-permission-form] code { overflow-wrap: anywhere; white-space: normal; }

/* Cards: Pico's <article> look for every .card. -------------------------- */
.card {
  background: var(--pico-card-background-color);
  border-radius: var(--pico-border-radius);
  box-shadow: var(--pico-card-box-shadow);
  padding: var(--s5);
  margin-bottom: var(--s5);
}
.card > :last-child { margin-bottom: 0; }
.card.narrow { max-width: 34rem; margin-inline: auto; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--s5); margin-bottom: var(--s5); }
.grid-cards .card { margin: 0; }
.organization-grid { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }

/* Actions: one primary per page; everything else secondary or a link. ---- */
a.button, a[role="button"] { display: inline-block; }
a.button.secondary, button.secondary { --pico-background-color: var(--pico-secondary-background); --pico-border-color: var(--pico-secondary-border); --pico-color: var(--pico-secondary-inverse); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s4); }
.actions form { margin: 0; }
.actions button, .actions [role="button"] { margin: 0; }
form { margin-bottom: var(--s4); }

/* States: status (in progress / info), alert (refused), done. -------------- */
[role="status"], [role="alert"], .done {
  border-radius: calc(var(--pico-border-radius) * 0.75);
  padding: var(--s3) var(--s4);
  border-left: 4px solid var(--zeo-note-line);
  background: var(--zeo-note-bg);
}
[role="alert"] { border-left-color: var(--zeo-alert-line); background: var(--zeo-alert-bg); }
.done { border-left-color: var(--zeo-ok); background: var(--zeo-ok-bg); }
[role="status"]:empty, [role="alert"]:empty { display: none; }
.badge-ok { display: inline-block; color: var(--zeo-ok); background: var(--zeo-ok-bg); border-radius: 999px; padding: var(--s1) var(--s3); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.badge-wait { display: inline-block; color: #8a5a00; background: var(--zeo-note-bg); border-radius: 999px; padding: var(--s1) var(--s3); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }

/* Home: requests awaiting the owner's decision precede service setup. */
.approval-inbox { margin-block: var(--s6); }
.approval-inbox-card { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); border: 1px solid var(--zeo-line); padding: var(--s5); }
.approval-inbox-card > div { min-width: 0; }
.approval-inbox-card h3 { margin-block: var(--s2); }
.approval-inbox-card dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s3); margin-block: var(--s3); }
.approval-inbox-card dd { margin: 0; }
.approval-inbox-card dt { font-size: .9rem; color: var(--zeo-muted); }
.approval-inbox-card p { margin-bottom: 0; }
.approval-open { display: inline-block; flex: none; padding: var(--s3) var(--s4); border: 1px solid var(--pico-secondary-border); border-radius: var(--pico-border-radius); background: var(--pico-secondary-background); color: var(--pico-secondary-inverse); font-family: var(--zeo-display); text-align: center; text-decoration: none; }
.approval-open:hover { background: var(--pico-secondary-hover-background); }
.approval-inbox-group { margin-block: var(--s4); }
.approval-older { margin-inline-start: var(--s4); }
.approval-older > summary { overflow-wrap: anywhere; }
.approval-inbox-older-card { border-style: dashed; }
.approval-open-older { background: transparent; color: var(--zeo-ink); }
.home-overview { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
@media (max-width: 36rem) {
  .approval-inbox-card { align-items: stretch; flex-direction: column; }
  .approval-inbox-card dl { grid-template-columns: 1fr; }
}

/* Services: one row per service that works today. -------------------------- */
ul.services { list-style: none; padding: 0; margin: 0 0 var(--s3); }
ul.services li { list-style: none; display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); margin-bottom: var(--s3); background: var(--zeo-surface); border-radius: var(--pico-border-radius); box-shadow: var(--pico-card-box-shadow); }
ul.services .mark { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; display: grid; place-items: center; font-family: var(--zeo-display); font-weight: 700; color: #fff; flex: none; }
ul.services .mark.hubspot { background: #ff7a59; }
ul.services .mark.kit { background: #1a1a1a; }
ul.services .mark.loops { background: #3b3bf2; }
ul.services .what { flex: 1; min-width: 0; }
ul.services .what strong { display: block; font-family: var(--zeo-display); }
ul.services .what small { color: var(--zeo-muted); }
ul.services [role="button"] { margin: 0; white-space: nowrap; }

/* Connections and devices: one card each, details as a short list. -------- */
.connection { border-top: 1px solid var(--zeo-line); padding-top: var(--s4); margin-top: var(--s4); }
.connection:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.connection h3 { margin-bottom: var(--s2); }
.connection dl { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: var(--s1) var(--s4); margin: 0 0 var(--s3); }
.connection dt { font-weight: 600; font-size: 0.92rem; color: var(--zeo-muted); }
.connection dd { margin: 0; }
.connection details { margin-bottom: var(--s3); }
ul.orgs { list-style: none; padding: 0; }
ul.orgs li { list-style: none; padding: var(--s3) var(--s4); border: 1px solid var(--zeo-line); border-radius: calc(var(--pico-border-radius) * 0.75); margin-bottom: var(--s2); font-weight: 600; }
ul.orgs li span { font-weight: 400; color: var(--zeo-muted); }

/* Tasks: one narrow column for a single job. ------------------------------- */
.task ol { padding-left: 1.2rem; }
.task ol li { margin-bottom: var(--s1); }
pre#preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 28rem; overflow: auto; }

/* Phone: the nav wraps to its own row, buttons go full width. -------------- */
@media (max-width: 36rem) {
  h1 { font-size: 1.6rem; }
  main.page { padding-top: var(--s5); }
  .topbar nav { flex-wrap: wrap; }
  .topbar nav ul.places { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 var(--s4); margin-inline: 0; }
  .topbar nav ul.places li { padding: var(--s2) 0; white-space: nowrap; }
  .topbar nav ul.places li:last-child { margin-left: auto; }
  .topbar nav ul.places > li.organization-menu { width: 100%; }
  ul.services li { flex-wrap: wrap; }
  ul.services .what { flex-basis: calc(100% - 3.5rem); }
  ul.services [role="button"] { width: 100%; text-align: center; }
  ul.services .badge-ok { margin-left: 3.5rem; }
  .connection dl { grid-template-columns: 1fr; }
  .actions > * { width: 100%; }
  .actions button, .actions [role="button"] { width: 100%; }
}

/* My connections: one card per connected account (the operator, 2026-10-12:
   health and last used are the facts; the rest is behind Details). */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.page-head h1 { margin: 0; }
.page-head [role="button"] { margin: 0; }
.conn-card { background: var(--zeo-surface); border-radius: var(--pico-border-radius); box-shadow: var(--pico-card-box-shadow); padding: var(--s5); margin-bottom: var(--s4); }
.conn-top { display: flex; align-items: center; gap: var(--s4); }
.mark { width: 3rem; height: 3rem; border-radius: 0.75rem; display: grid; place-items: center; font-family: var(--zeo-display); font-weight: 700; font-size: 1.2rem; color: #fff; flex: none; }
.mark { background: #8a827a; }
.mark.hubspot { background: #ff7a59; }
.mark.kit { background: #1a1a1a; }
.mark.loops { background: #3b3bf2; }
.conn-top .who { flex: 1; min-width: 0; }
.conn-top .who strong { display: block; font-family: var(--zeo-display); font-size: 1.1rem; }
.conn-top .who span { color: var(--zeo-muted); }
.vitals { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s1); text-align: right; }
.last-used { font-family: var(--zeo-display); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.conn-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin: var(--s4) 0 0 4rem; }
.conn-actions { display: flex; gap: var(--s2); }
.conn-actions [role="button"] { margin: 0; padding: var(--s2) var(--s4); font-size: 0.92rem; }
.empty { text-align: center; }
.danger-zone { border-left: 4px solid var(--zeo-alert-line); }
@media (max-width: 36rem) {
  .conn-top { flex-wrap: wrap; }
  .vitals { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s2) var(--s3); text-align: left; width: calc(100% - 4rem); margin-left: 4rem; }
  .last-used { white-space: normal; }
  .conn-foot { margin-left: 0; }
  .conn-actions { width: 100%; }
  .conn-actions [role="button"] { flex: 1; text-align: center; }
}

dl.connection { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: var(--s1) var(--s4); margin: var(--s4) 0; }
dl.connection dt { font-weight: 600; font-size: 0.92rem; color: var(--zeo-muted); }
dl.connection dd { margin: 0; }
.conn-card form button { width: auto; }
@media (max-width: 36rem) { dl.connection { grid-template-columns: 1fr; } }

/* Status lights: a word always travels with the colour. */
.light { display: inline-block; width: .7rem; height: .7rem; margin-right: .5rem; border-radius: 50%; vertical-align: baseline; }
.light-green { background: var(--zeo-ok); }
.light-amber { background: var(--zeo-note-line); }
.light-red { background: #b3261e; }
.light-grey { background: var(--zeo-muted); }

/* Approval preview stays in its own scriptless frame. */
.approval-task { max-width: 54rem; margin-inline: auto; }
.approval-fields dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.approval-safety { padding: 1rem; background: #f2eee7; border-left: .25rem solid #4b6557; }
.approval-preview { display: block; width: 100%; height: 22rem; border: 1px solid #ded6cc; border-radius: .5rem; background: #faf8f5; }
.approval-technical { margin-block: 1.5rem; }

/* Provider catalogue: local data, readable cards and native filter controls. */
.provider-catalogue .catalogue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: var(--s5); margin-bottom: var(--s5); }
.provider-catalogue .catalogue-card { min-width: 0; margin-bottom: 0; }
.provider-catalogue h2 { overflow-wrap: anywhere; }
.provider-catalogue .catalogue-kind { font-size: 0.85rem; color: var(--zeo-muted); }
.provider-catalogue .catalogue-account { border-top: 1px solid var(--zeo-line); padding-top: var(--s3); margin-top: var(--s3); }
.provider-catalogue .account { display: block; overflow-wrap: anywhere; }
.provider-catalogue .catalogue-action { margin-top: var(--s4); }

/* Application setup: required actions are separate from evidence of use. */
.setup-checklist { max-width: 64rem; margin-inline: auto; }
.setup-checklist h1 { overflow-wrap: anywhere; }
.setup-summary { font-size: 1.15rem; }
.setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); list-style: none; padding: 0; counter-reset: setup; }
.setup-steps li { counter-increment: setup; padding: var(--s4); border: 1px solid var(--zeo-line); border-radius: .5rem; min-width: 0; }
.setup-steps li::before { content: counter(setup); display: block; font-weight: 700; color: var(--zeo-muted); margin-bottom: var(--s2); }
.setup-steps a { display: block; margin-block: var(--s2); }
.setup-use { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--zeo-line); }
@media (max-width: 48rem) { .setup-steps { grid-template-columns: 1fr; } }

/* Saved connection identity stays readable when duplicate accounts share a label. */
.connection-identity { display: block; overflow-wrap: anywhere; }

/* Keep the saved permission and provider name as separate, complete statements. */
.connection-permission, [data-permission-state] { display: block; }

/* Access workspace: one navigation rail, one content column, phone-first controls. */
:root { --pico-font-size: 100%; --zeo-orange: #b74716; --zeo-orange-hover: #99390f; --zeo-line: #e7e5e0; --zeo-page: #f6f6f3; --pico-border-radius: .8rem; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #b74716; outline-offset: 4px; }
.card, .conn-card, article { border: 1px solid var(--zeo-line); box-shadow: 0 2px 3px #24282103; }
h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.045em; line-height: 1.16; }
.hero { margin-bottom: 2rem; }
.hero .lede { margin-top: 1rem; }
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.overview-tile { color: var(--zeo-ink); text-decoration: none; padding: 1.4rem; border: 1px solid var(--zeo-line); border-radius: .8rem; background: white; display: flex; flex-direction: column; gap: .5rem; }
.overview-tile:hover { border-color: var(--zeo-orange); }
.overview-tile > span { font-weight: 600; font-size: .9rem; }
.overview-tile > strong { font-family: var(--zeo-display); font-size: 2.5rem; line-height: 1.2; }
.overview-tile small { color: var(--zeo-muted); font-size: .8rem; }
.attention-row { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.2rem; border-radius: .7rem; background: #fff4df; border: 1px solid #ebd9b9; margin-bottom: 1rem; }
.attention-row div { flex: 1; }
.attention-row p { margin: 0; font-size: .9rem; }
.attention-row > a { flex-shrink: 0; }
.access-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--zeo-line); color: var(--zeo-ink); text-decoration: none; }
.access-row:hover strong { color: var(--zeo-orange); }
.access-row small { display: block; color: var(--zeo-muted); margin-top: .2rem; }
.app-monogram { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .7rem; background: #efeee9; font-family: var(--zeo-display); font-size: 1.2rem; flex-shrink: 0; }
.access-state { margin-left: auto; color: var(--zeo-muted); font-size: .85rem; text-align: right; }
.access-section { max-width: 64rem; margin-inline: auto; }
.service-disclosure > summary { font-weight: 600; }
.service-disclosure > summary span { display: block; font-weight: 400; margin-top: .3rem; }
.service-disclosure[open] > summary { margin-bottom: 1.5rem; }
.setup-steps li { background: #fafaf7; }
.setup-steps li::before { border-radius: 50%; background: #eae8e0; width: 1.6rem; height: 1.6rem; text-align: center; }
#application-operations label, #application-connections label { padding: .8rem; border-radius: .5rem; border: 1px solid var(--zeo-line); margin-bottom: .7rem; }
#application-operations label:has(input:checked), #application-connections label:has(input:checked) { background: #f7f8f1; border-color: #a8b799; }
@media (min-width: 70rem) {
  body.workspace { padding-left: 15.5rem; }
  .workspace .topbar { position: fixed; inset: 0 auto 0 0; width: 15.5rem; overflow-y: auto; z-index: 10; border-right: 1px solid var(--zeo-line); border-bottom: 0; background: #eeeee8; }
  .workspace .topbar::before { display: none; }
  .workspace .topbar nav { display: flex; flex-direction: column; align-items: stretch; padding: 1.5rem 1rem; width: 100%; }
  .workspace .topbar nav ul { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 0; }
  .workspace .topbar nav li { padding: .1rem 0; width: 100%; }
  .workspace .topbar .logo { display: block; font-size: 1.35rem; padding: .5rem .6rem 1.5rem; }
  .workspace .topbar nav a:not(.logo), .workspace .topbar .org-switch > summary { display: block; margin: 0; padding: .65rem .8rem; font-size: .9rem; border-radius: .5rem; }
  .workspace .topbar a[aria-current="page"] { background: white; box-shadow: 0 1px 3px #00000008; }
  .workspace .topbar a:hover { background: #ffffff80; }
  .workspace .organization-menu { margin-bottom: 1rem; }
  .workspace .topbar .org-switch > summary { background: #e5e5dd; }
  .workspace .topbar .org-switch > summary small { display: none; }
  .workspace .topbar .org-switch > summary + ul { position: static; border: 0; box-shadow: none; padding: .5rem 0; }
  .workspace .topbar nav ul.places > li:last-child { margin-top: 1.5rem; }
  .workspace .topbar button { width: 100%; }
  .workspace main.page { width: 100%; max-width: 78rem; padding: 3rem clamp(2rem, 4vw, 4.5rem); }
}
@media (max-width: 48rem) {
  .overview-grid { grid-template-columns: 1fr; gap: .6rem; }
  .overview-tile { display: grid; grid-template-columns: 1fr auto; padding: 1rem; }
  .overview-tile strong { grid-column: 2; grid-row: 1 / 3; font-size: 2rem; }
  .overview-tile small { grid-column: 1; }
  .attention-row { flex-wrap: wrap; }
  .attention-row > a { width: 100%; }
  .access-row { flex-wrap: wrap; }
  .access-state { margin-left: 3.8rem; text-align: left; width: 100%; }
  .grid-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
.search-controls { display: flex; align-items: center; gap: .7rem; }
.search-controls input { flex: 1; margin: 0; min-width: 0; }
.search-controls button { margin: 0; width: auto; }
.search-controls a { white-space: nowrap; }
.list-search { margin-bottom: 1.5rem; }
