/* APEX Web Application Load Tester */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --ink: #141a26;
  --ink-2: #4a5568;
  --ink-3: #7a8597;
  --line: #d9dee6;
  --wire: #9aa6b8;
  --focus: #2f6fdf;

  --a-claude: #c2603c;
  --a-suite: #2f6fdf;
  --a-ci: #13867a;
  --a-target: #5b6779;
  --a-launcher: #b7791f;
  --a-platform: #7a4fc9;
  --a-human: #c53b5a;

  --radius: 10px;
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .08);
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e121a; --surface: #161c27; --surface-2: #1d2532; --ink: #e8ecf3; --ink-2: #b3bdcc; --ink-3: #8691a3;
    --line: #2b3545; --wire: #55627a; --focus: #6ea0ff;
    --a-claude: #e58a66; --a-suite: #6ea0ff; --a-ci: #3cc2b1; --a-target: #9aa6b8; --a-launcher: #e6a845; --a-platform: #a988f0; --a-human: #f07390;
    --shadow: 0 1px 2px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e121a; --surface: #161c27; --surface-2: #1d2532; --ink: #e8ecf3; --ink-2: #b3bdcc; --ink-3: #8691a3;
  --line: #2b3545; --wire: #55627a; --focus: #6ea0ff;
  --a-claude: #e58a66; --a-suite: #6ea0ff; --a-ci: #3cc2b1; --a-target: #9aa6b8; --a-launcher: #e6a845; --a-platform: #a988f0; --a-human: #f07390;
  --shadow: 0 1px 2px rgb(0 0 0 / .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ── header */
.top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 24px 12px; }
.brand { display: flex; gap: 12px; align-items: center; min-width: 0; }
.icon-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; width: 34px; height: 34px; cursor: pointer; }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 6px 12px; cursor: pointer; }
.btn:hover { border-color: var(--ink-3); }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); min-width: 9.5em; }
}

/* ══════════════ sign-in, account and administration ══════════════ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.hint { color: var(--ink-3); margin: 0; }
a { color: var(--focus); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; width: 100%; }
textarea { font: 13px/1.45 var(--mono); resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
input[type="checkbox"] { width: auto; accent-color: var(--focus); margin: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack label, .form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--ink-2); }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); }
.btn-small { padding: 3px 10px; font-size: 13px; }
.btn-danger { background: var(--a-human); border-color: var(--a-human); color: #fff; }
.btn-danger-ghost { color: var(--a-human); }
.btn:disabled { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.actions input { flex: 1 1 200px; width: auto; }

.auth-page { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; padding: 24px 16px; }
.demo-notice { display: flex; gap: 12px; align-items: flex-start; margin: -6px 0 20px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--a-launcher) 50%, transparent); background: color-mix(in srgb, var(--a-launcher) 12%, transparent); }
.demo-badge { flex: none; padding: 3px 9px; border-radius: 6px; background: var(--a-launcher); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
.demo-notice p { margin: 0; font-size: 14px; line-height: 1.45; }
.demo-notice a { font-weight: 600; }
.notice.trial-notice { border-color: color-mix(in srgb, var(--focus) 45%, transparent); background: color-mix(in srgb, var(--focus) 9%, transparent); }
/* Contact form: a field people do not see; bots that fill it are ignored. */
/* Severities editor (NOC settings) */
.sev-edit th, .sev-edit td { padding: 8px 6px; vertical-align: middle; }
table.grid.sev-edit input, table.grid.sev-edit select { min-width: 0; }
table.grid.sev-edit th { white-space: normal; }
.sev-edit input[name="name"] { width: 72px; } .sev-edit input[name="label"] { width: 96px; }
.sev-edit input[name="description"] { width: 100%; min-width: 140px; }
.sev-edit select { width: auto; }
.sev-edit td:nth-child(n+5):nth-child(-n+7), .sev-edit th:nth-child(n+5):nth-child(-n+7) { text-align: center; }
.sev-edit .row-actions { white-space: nowrap; }
#f-sev > .actions { margin-top: 12px; }
.sev-edit [data-swatch] { display: block; width: max-content; margin-top: 4px; }
#team-events, #member-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Public forms: the "I am not a robot" proof-of-work box (web/captcha.js). */
.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); padding: 10px 12px; }
.captcha p { margin: 0; }
.captcha-text { min-width: 0; flex: 1 1 180px; font-size: 14px; }
.captcha-box { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; color: var(--ink); background: transparent; border: 0; border-radius: 7px; padding: 4px 8px 4px 4px; cursor: pointer; }
.captcha-box:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent); }
.captcha-box:disabled { cursor: default; }
.captcha-mark { position: relative; display: inline-block; width: 24px; height: 24px; flex: none; border: 2px solid var(--ink-3); border-radius: 5px; background: var(--surface); transition: border-color .2s, background .2s; }
.captcha[data-state="working"] .captcha-mark { border-color: var(--focus); border-top-color: transparent; border-radius: 50%; animation: captcha-spin .8s linear infinite; }
.captcha[data-state="done"] .captcha-mark { border-color: var(--focus); background: var(--focus); }
.captcha[data-state="done"] .captcha-mark::after { content: ""; position: absolute; left: 6px; top: 1px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.captcha[data-state="error"] .captcha-mark { border-color: #dc2626; }
.captcha[data-state="error"] [data-captcha-state] { color: #dc2626; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha[data-state="working"] .captcha-mark { animation-duration: 3s; } }
.auth-links { margin: 0; display: flex; gap: 20px; justify-content: center; font-size: 14px; }
.auth-links a { text-decoration: none; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 26px 24px 28px; }
.auth-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.auth-brand h1 { font-size: 18px; }
.auth-brand p { margin: 2px 0 0; font-size: 13px; }
.auth-card h2 { font-size: 16px; margin-bottom: 12px; }
.auth-card section > p { margin: -4px 0 14px; font-size: 14px; }
.auth-error { margin: 0 0 14px; padding: 9px 12px; border-radius: 8px; font-size: 14px; background: color-mix(in srgb, var(--a-human) 12%, transparent); border: 1px solid color-mix(in srgb, var(--a-human) 40%, transparent); }
.btn-sso { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.btn-sso::before { content: ""; width: 16px; height: 16px; background:
  linear-gradient(#f25022, #f25022) 0 0 / 7px 7px no-repeat, linear-gradient(#7fba00, #7fba00) 9px 0 / 7px 7px no-repeat,
  linear-gradient(#00a4ef, #00a4ef) 0 9px / 7px 7px no-repeat, linear-gradient(#ffb900, #ffb900) 9px 9px / 7px 7px no-repeat; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 13px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.user-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; }
.user-menu .who { font-weight: 600; }
.user-menu a { text-decoration: none; }
.user-menu a:hover { text-decoration: underline; }

.page .top { border-bottom: 1px solid var(--line); }
.tagline a { text-decoration: none; }
.tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs [role="tab"] { border: 0; background: none; padding: 12px 14px; cursor: pointer; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--focus); font-weight: 600; }
.admin { max-width: 1100px; margin: 0 auto; padding: 20px 24px 48px; display: block; }
.admin.narrow { max-width: 640px; }
.admin section { display: flex; flex-direction: column; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.toolbar input[type="search"] { max-width: 320px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 20px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 16px; margin-bottom: 4px; }
.card > p { margin: 0 0 14px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; align-items: start; }
.form-grid .span2, .form-grid details, .form-grid .actions, .form-grid .result { grid-column: 1 / -1; }
.form-grid details > .form-grid { margin-top: 10px; }
details summary { cursor: pointer; color: var(--ink-2); font-size: 14px; }
.howto { margin: 0 0 14px; font-size: 14px; }
.howto ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; color: var(--ink-2); }
.result { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); font: 13px/1.5 var(--mono); white-space: pre-wrap; }
.result[data-kind="ok"] { border-left: 3px solid var(--a-ci); }
.result[data-kind="error"] { border-left: 3px solid var(--a-human); }
.copybox { background: var(--surface-2); border-radius: 10px; padding: 10px 14px; }
.copybox p { margin: 0 0 6px; }
.copybox dl { margin: 0; display: grid; gap: 4px 12px; grid-template-columns: max-content 1fr; font-size: 13px; align-items: center; }
.copybox dt { color: var(--ink-2); }
.copybox dd { margin: 0; display: flex; gap: 8px; align-items: center; min-width: 0; }
.copybox code { overflow-wrap: anywhere; background: var(--surface); }

.flash { margin: 0 0 14px; padding: 9px 12px; border-radius: 8px; font-size: 14px; border: 1px solid color-mix(in srgb, var(--a-ci) 40%, transparent); background: color-mix(in srgb, var(--a-ci) 10%, transparent); }
.flash[data-kind="error"] { border-color: color-mix(in srgb, var(--a-human) 40%, transparent); background: color-mix(in srgb, var(--a-human) 10%, transparent); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
table.grid th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.grid td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid tr.warn td { background: color-mix(in srgb, var(--a-human) 6%, transparent); }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn + .btn { margin-left: 6px; }
.badge { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge-admin { background: color-mix(in srgb, var(--a-suite) 15%, transparent); color: var(--a-suite); }
.badge-ldap { background: color-mix(in srgb, var(--a-ci) 14%, transparent); color: var(--a-ci); }
.badge-saml { background: color-mix(in srgb, var(--a-platform) 14%, transparent); color: var(--a-platform); }
.badge-off { background: color-mix(in srgb, var(--a-human) 14%, transparent); color: var(--a-human); }
.badge-warn { background: color-mix(in srgb, var(--a-launcher) 16%, transparent); color: var(--a-launcher); }

dialog { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgb(0 0 0 / .25); }
dialog::backdrop { background: rgb(10 14 22 / .45); }
dialog h2 { font-size: 17px; }
fieldset.pw { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
fieldset.pw[hidden] { display: none; }
fieldset.pw .btn { align-self: flex-start; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 8px 0 0; font-size: 14px; }
dl.facts dt { color: var(--ink-3); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .tabs { padding: 0 8px; }
  .admin { padding: 16px 16px 40px; }
  .copybox dl { grid-template-columns: 1fr; }
}

/* ── API tokens, audit & activity, log forwarding (0.3.0) ── */
.card-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.card-head h2 { margin: 0; }
dialog.wide { width: min(760px, calc(100vw - 32px)); }
dialog .form-grid h2 { margin: 0; }
.code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0;
  font-family: var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 60vh; overflow: auto; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: 13px; }
.warn-box { margin: 0; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  border: 1px solid color-mix(in srgb, var(--a-launcher) 45%, transparent); background: color-mix(in srgb, var(--a-launcher) 12%, transparent); }
.scopes, .inline-checks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.inline-checks { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
.scopes legend, .inline-checks legend { font-size: 13.5px; color: var(--ink-2); padding: 0; margin-bottom: 4px; }
table.grid tr.dim td { opacity: .6; }
.nowrap { white-space: nowrap; }
.err { color: var(--a-human); }
.unsafe { color: var(--a-human); font-weight: 600; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 14px; align-items: end; margin-bottom: 10px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.filters .actions { grid-column: 1 / -1; justify-content: flex-start; }
.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; align-self: end; width: max-content; }
.segmented label { flex-direction: row; align-items: center; gap: 0; padding: 6px 14px; cursor: pointer; color: var(--ink-2); font-size: 14px; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label:has(input:checked) { background: var(--ink); color: var(--bg); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
table.events tbody tr { cursor: pointer; }
table.events tbody tr:hover td { background: var(--surface-2); }
.pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
@media (max-width: 760px) {
  dialog.wide .form-grid { grid-template-columns: 1fr; }
  .copy-row { flex-direction: column; }
}
.auth-error.ok { color: var(--ink); background: color-mix(in srgb, var(--a-repo, #2e7d32) 12%, transparent); border-color: color-mix(in srgb, var(--a-repo, #2e7d32) 40%, transparent); }
.restore-link { margin-top: 14px; }

/* ══════════════ NOC ══════════════ */
:root { --sev0: #6e2bd9; --sev1: #b42318; --sev2: #c4320a; --sev3: #b7791f; --sev4: #5b6779; --sev-blue: #1f5fbf; --ok: #13867a; }
:root[data-theme="dark"] { --sev0: #b48cff; --sev-blue: #6ea8ff; --sev1: #ff6b5e; --sev2: #ff8a4c; --sev3: #e6a845; --sev4: #9aa6b8; --ok: #3cc2b1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sev0: #b48cff; --sev-blue: #6ea8ff; --sev1: #ff6b5e; --sev2: #ff8a4c; --sev3: #e6a845; --sev4: #9aa6b8; --ok: #3cc2b1; } }

.brand h1 { font-size: 20px; letter-spacing: -.01em; }
.tagline { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.top-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bell { position: relative; text-decoration: none; font-size: 18px; padding: 4px 6px; }
.bell-count { position: absolute; top: -4px; right: -6px; background: var(--sev1); color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 0 5px; line-height: 17px; min-width: 17px; text-align: center; }
/* ── left menu */
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 75px); }
.sidenav { background: var(--surface); border-right: 1px solid var(--line); }
.sidenav-links { position: sticky; top: 0; display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; }
.mainnav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.mainnav a:hover { background: var(--surface-2); color: var(--ink); }
.mainnav a.on { background: color-mix(in srgb, var(--focus) 12%, transparent); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--focus); }
.mainnav .ni { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mainnav a.on .ni { stroke: var(--focus); }
.sidenav-sep { border: 0; border-top: 1px solid var(--line); margin: 8px 4px; }
.content { min-width: 0; }
.user-btn { display: none; }
.user-menu .menu-extra { display: none; }
.sidenav-extra { display: flex; flex-direction: column; gap: 2px; }
/* tablets: an icon rail with short labels */
@media (min-width: 761px) and (max-width: 1100px) {
  .shell { grid-template-columns: 100px minmax(0, 1fr); }
  .sidenav-links { padding: 12px 6px; gap: 4px; }
  .mainnav a { flex-direction: column; gap: 4px; padding: 10px 2px; font-size: 11.5px; line-height: 1.2; text-align: center; white-space: normal; }
  .mainnav a .ni { width: 22px; height: 22px; }
  .mainnav a.on { box-shadow: none; }
  .mainnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
/* phones: a bottom tab bar, a compact header and the user menu in a drop-down */
@media (max-width: 760px) {
  body.page:has(.sidenav) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sidenav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; border-right: 0; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgb(16 24 40 / .08); }
  .sidenav-links { position: static; flex-direction: row; gap: 2px; padding: 6px 6px; }
  .sidenav-sep, .sidenav-extra, .mainnav a[data-nav="notifications"], .mainnav a[data-nav="guide"] { display: none !important; }
  .mainnav a { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; padding: 6px 2px; min-height: 52px; justify-content: center;
    font-size: 11px; line-height: 1.15; border-radius: 10px; }
  .mainnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .mainnav a .ni { width: 22px; height: 22px; }
  .mainnav a.on { box-shadow: none; }
  .flash.floating { bottom: calc(76px + env(safe-area-inset-bottom)); }

  .page .top { position: relative; flex-wrap: nowrap; gap: 10px; padding: 10px 14px; }
  .page .top .brand img { width: 28px; height: 28px; }
  .page .top .brand h1 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page .top .brand > div { min-width: 0; }
  .page .top .tagline { display: none; }
  .page .top .tagline:has(a) { display: block; font-size: 13px; }
  .top-right { flex-wrap: nowrap; gap: 6px; margin-left: auto; }
  .user-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; margin-left: auto;
    border-radius: 50%; border: 0; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .02em;
    background: var(--focus); color: #fff; }
  .top-right .user-btn { margin-left: 0; }
  .page .top .user-menu { display: none; }
  .page .top.menu-open .user-menu:not([hidden]) { display: flex; position: absolute; z-index: 70; top: calc(100% - 4px); right: 12px;
    width: min(260px, calc(100vw - 24px)); flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgb(16 24 40 / .18); }
  .page .top.menu-open .user-menu .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .page .top.menu-open .user-menu a { padding: 10px; border-radius: 8px; }
  .page .top.menu-open .user-menu .menu-extra:not([hidden]) { display: block; }
  .page .top.menu-open .user-menu a:hover { background: var(--surface-2); text-decoration: none; }
  .page .top.menu-open .user-menu .btn { margin-top: 6px; padding: 9px; font-size: 14px; }
}
.notice { max-width: 1280px; margin: 12px auto 0; padding: 8px 14px; font-size: 13.5px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--a-launcher) 45%, transparent); background: color-mix(in srgb, var(--a-launcher) 10%, transparent); }
.admin.wide-main { max-width: 1280px; display: flex; flex-direction: column; gap: 16px; }
.flash.floating { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow); background: var(--surface); }
.h-section { font-size: 17px; }
.crumbs { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pre { white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.clickable { cursor: pointer; }
table.grid.incidents tbody tr:hover td, table.grid tr.clickable:hover td { background: var(--surface-2); }
table.grid.compact td, table.grid.compact th { padding: 7px 9px; }
.table-wrap.flat { border: 0; border-radius: 0; }
.wide-btn { width: 100%; margin-top: 8px; }
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin: 14px 0 6px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.tile strong { font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile span { color: var(--ink-2); font-size: 13.5px; }
.tile-bad { border-color: color-mix(in srgb, var(--sev1) 50%, var(--line)); }
.tile-bad strong { color: var(--sev1); }
.tile-warn strong { color: var(--sev3); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.two-col > .card { overflow-x: auto; }
.two-col table.grid th { white-space: normal; }
.two-col .card + .card { margin-top: 0; }

/* severity, status */
.sev { display: inline-block; font: 700 11.5px/1.6 var(--mono); padding: 0 7px; border-radius: 5px; color: #fff; vertical-align: 1px; }
/* Severity badges take the colour chosen for the level in NOC settings. */
.sev-c-purple { background: var(--sev0); } .sev-c-red { background: var(--sev1); } .sev-c-orange { background: var(--sev2); }
.sev-c-yellow { background: var(--sev3); } .sev-c-blue { background: var(--sev-blue); } .sev-c-grey { background: var(--sev4); }
:root[data-theme="dark"] .sev { color: #10131a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sev { color: #10131a; } }
.st-investigating { background: color-mix(in srgb, var(--sev1) 14%, transparent); color: var(--sev1); }
.st-identified { background: color-mix(in srgb, var(--sev3) 16%, transparent); color: var(--sev3); }
.st-monitoring { background: color-mix(in srgb, var(--a-suite) 15%, transparent); color: var(--a-suite); }
.st-resolved, .badge-ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.ho-approved { background: color-mix(in srgb, var(--a-suite) 15%, transparent); color: var(--a-suite); }
.ho-accepted { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.badge-ai { background: color-mix(in srgb, var(--a-platform) 15%, transparent); color: var(--a-platform); }
.pr-high { background: color-mix(in srgb, var(--sev1) 14%, transparent); color: var(--sev1); }
.pr-medium { background: color-mix(in srgb, var(--sev3) 16%, transparent); color: var(--sev3); }

/* incident page */
.inc-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: start; }
.inc-title { font-size: 20px; }
.inc-head p { margin: 4px 0 0; }
.inc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.inc-main, .inc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.inc-main .card + .card, .inc-side .card + .card { margin-top: 0; }
.inc-side h2 { margin-bottom: 8px; }
.checks { border-radius: 12px; padding: 12px 16px; border: 1px solid var(--line); background: var(--surface); }
.checks ul { margin: 6px 0 0; padding-left: 4px; list-style: none; display: grid; gap: 3px; font-size: 14px; }
.checks.has-errors { border-color: color-mix(in srgb, var(--sev1) 45%, transparent); background: color-mix(in srgb, var(--sev1) 6%, var(--surface)); }
.checks.has-warnings { border-color: color-mix(in srgb, var(--sev3) 45%, transparent); background: color-mix(in srgb, var(--sev3) 7%, var(--surface)); }
.checks.ok { border-color: color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 10px; }
.inline-form > input[name="text"] { flex: 1 1 240px; }
.inline-form > select, .inline-form > input[type="datetime-local"] { flex: 0 1 200px; width: auto; }
.inline-form label { display: flex; flex-direction: column; gap: 3px; color: var(--ink-2); }
.inc-side .inline-form input { flex: 1 1 100px; width: auto; }
table.grid select, table.grid input { padding: 4px 6px; font-size: 13px; min-width: 130px; }
.unknowns li { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); }
.unknowns li.answered { opacity: .75; }
.unk-tools { display: flex; gap: 6px; align-items: center; }
.unk-tools select { width: auto; padding: 4px 6px; font-size: 13px; }
.ticket { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline .tl-update::before { background: var(--focus); }
.timeline .tl-impact::before { background: var(--sev1); }
.timeline .tl-handover::before { background: var(--ok); }
.tl-meta { font-size: 12.5px; color: var(--ink-3); }
.tl-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.timeline .tl-system .tl-text, .timeline .tl-status .tl-text { color: var(--ink-2); font-size: 14px; }
.ai-card { border-color: color-mix(in srgb, var(--a-platform) 35%, var(--line)); }
.ai-actions li { padding: 8px 10px; border-radius: 8px; background: var(--surface-2); display: grid; gap: 4px; justify-items: start; }
.lead-text { font-size: 16px; font-weight: 600; margin: 8px 0; }
.answer { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); }

/* handover */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.stepper li { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 14px; }
.stepper li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-size: 12px; font-weight: 700; }
.stepper li.done { color: var(--ink); }
.stepper li.done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.stepper li.active { color: var(--ink); font-weight: 600; }
.stepper li.active span { border-color: var(--focus); color: var(--focus); }
.handover-text { max-height: 70vh; font-size: 13px; }

/* notifications */
.notes li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.notes li.unread { border-left: 3px solid var(--focus); }
.note-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; font-weight: 600; }
.filters-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters-inline input[type="search"] { width: 280px; max-width: 100%; }

@media (max-width: 980px) {
  .inc-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .top { padding: 14px 16px 10px; }
  .notice { margin: 10px 16px 0; }
  table.grid.incidents th:nth-child(5), table.grid.incidents td:nth-child(5) { display: none; }
}

/* form polish */
.form-grid label.check, .stack label.check, .inline-checks label.check, .scopes label.check { flex-direction: row; align-items: center; white-space: nowrap; color: var(--ink); }
.scopes label.check { white-space: normal; }
.inc-grid textarea, dialog textarea, .ai-card textarea { font: 14px/1.5 var(--sans); }
.inline-form > input, .inline-form > select { width: auto; }
.inline-form > input[name="text"] { flex: 3 1 260px; }
.notice { width: calc(100% - 48px); max-width: 1232px; }
@media (max-width: 760px) { .notice { width: auto; } }
.admin section.checks { display: block; }
table.grid.compact td:first-child { min-width: 180px; }

/* ── NOC guide and next steps ── */
.guide-tip { margin: 0 0 14px; color: var(--ink-2); }
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.guide-nav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; }
.guide-nav a:hover { border-color: var(--focus); }
.guide-section { margin-bottom: 18px; scroll-margin-top: 16px; }
.guide-section > h2 { margin-top: 0; }
.flow { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 22px; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.flow li strong { font-size: 15px; }
.flow li .badge { align-self: flex-start; }
.flow li .small { color: var(--ink-2); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 700; }
.flow.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flow.cols-5 { grid-template-columns: repeat(5, 1fr); }
.flow.cols-4 li:nth-child(4n)::after, .flow.cols-5 li:nth-child(5n)::after { content: none; }
@media (max-width: 1100px) and (min-width: 701px) {
  .flow.cols-4, .flow.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .flow.cols-4 li::after, .flow.cols-5 li::after { content: "→"; }
  .flow.cols-4 li:nth-child(2n)::after, .flow.cols-5 li:nth-child(2n)::after, .flow li:last-child::after { content: none; }
}
.flow-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--focus); color: #fff; font-size: 12px; font-weight: 700; }
.guide-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 26px; }
.guide-group h3 { margin: 10px 0 6px; font-size: 15px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 3px 0 3px 22px; font-size: 14px; line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 11px; border: 2px solid var(--ok); border-radius: 3px; }
.next-card { border-left: 3px solid var(--focus); }
.next-steps { margin: 0; padding-left: 20px; }
.next-steps li { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.status-flow { margin: 4px 0 12px; }
@media (max-width: 700px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%); }
}

/* ── Sign-in page: a brand panel beside the form (same layout as the other Suite apps) ── */
body.auth-split { display: block; padding: 0; min-height: 100vh; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 48px 52px; color: #cbd5e1; background: linear-gradient(150deg, #0e1629 0%, #14213d 50%, #0c4a6e 100%); }
.auth-aside::before { content: ""; position: absolute; right: -130px; bottom: -130px; width: 400px; height: 400px; border-radius: 50%; background: rgb(79 209 197 / .09); }
.auth-aside::after { content: ""; position: absolute; right: 90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgb(245 101 101 / .07); }
.auth-logo { position: relative; z-index: 1; align-self: flex-start; height: 84px; width: auto; }
.auth-pitch { position: relative; z-index: 1; }
.auth-aside h2 { margin: 0 0 16px; color: #fff; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; max-width: 30rem; }
.auth-aside p { margin: 0 0 24px; color: #a9b8d0; font-size: 16.5px; line-height: 1.5; max-width: 30rem; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.auth-points li { display: flex; gap: 11px; align-items: flex-start; color: #e2e8f0; font-size: 15px; line-height: 1.45; }
.auth-points svg { flex: none; margin-top: 1px; }
.auth-foot { position: relative; z-index: 1; font-size: 13px; color: #8193b2; }
.auth-main { display: flex; flex-direction: column; padding: 24px 32px 40px; background: var(--bg); }
.auth-top { display: flex; justify-content: flex-end; min-height: 34px; }
.auth-top .auth-links { gap: 6px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.auth-top .auth-links a { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.auth-top .auth-links a:hover { background: var(--surface-2); text-decoration: none; }
.auth-panel { width: 100%; max-width: 420px; margin: auto; padding-top: 24px; }
.auth-panel h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.01em; }
.auth-panel .auth-lead { margin: 0 0 18px; font-size: 15px; }
.auth-panel .demo-notice { margin: 0 0 22px; }
.auth-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 24px;
  box-shadow: 0 4px 12px rgb(17 24 39 / .06), 0 2px 4px rgb(17 24 39 / .04); }
.auth-box + .auth-box { margin-top: 16px; }
.auth-box .btn-primary { width: 100%; padding-top: 10px; padding-bottom: 10px; background: #13867a; border-color: #13867a; color: #fff; font-weight: 600; }
.auth-box .btn-primary:hover { background: #0f6f65; border-color: #0f6f65; }
.auth-box .btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgb(19 134 122 / .3); }
.auth-sso p { margin: 0 0 10px; }
.auth-help { margin: 20px 0 0; text-align: center; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { padding: 24px 24px 26px; gap: 14px; }
  .auth-logo { height: 56px; }
  .auth-aside h2 { font-size: 21px; margin-bottom: 8px; }
  .auth-aside p { margin: 0; font-size: 15px; }
  .auth-points, .auth-foot { display: none; }
  .auth-main { padding: 16px 16px 32px; }
  .auth-panel { padding-top: 8px; }
}

/* ───────────── Load tester ───────────── */
:root { --fast: #15803d; --moderate: #b45309; --slow: #c2410c; --error: #b91c1c; --other: #94a3b8; --brand: #0284c7; --brand-2: #f59e0b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fast: #4ade80; --moderate: #fbbf24; --slow: #fb923c; --error: #f87171; --other: #64748b; --brand: #38bdf8; } }
:root[data-theme="dark"] { --fast: #4ade80; --moderate: #fbbf24; --slow: #fb923c; --error: #f87171; --other: #64748b; --brand: #38bdf8; }
.page-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.page-head h2 { margin: 0; font-size: 22px; display: flex; gap: 10px; align-items: center; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions.left { justify-content: flex-start; margin-top: 10px; }
ol.steps { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 6px; }
ul.plain { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.grid th.num { text-align: right; }
.ok { color: var(--fast); }
.break { overflow-wrap: anywhere; word-break: break-all; }
.r-fast { background: color-mix(in srgb, var(--fast) 15%, transparent); color: var(--fast); }
.r-moderate { background: color-mix(in srgb, var(--moderate) 16%, transparent); color: var(--moderate); }
.r-slow { background: color-mix(in srgb, var(--slow) 16%, transparent); color: var(--slow); }
.r-error { background: color-mix(in srgb, var(--error) 15%, transparent); color: var(--error); }
.r-other { color: var(--ink-3); }
.s-running, .s-queued, .s-cancelling { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.s-waiting-mfa { background: color-mix(in srgb, var(--brand-2) 20%, transparent); color: var(--moderate); }
.s-done { background: color-mix(in srgb, var(--fast) 15%, transparent); color: var(--fast); }
.s-failed { background: color-mix(in srgb, var(--error) 15%, transparent); color: var(--error); }
.k-section { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.k-page { background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--moderate); }
.tile-ok strong { color: var(--fast); }
.tile-bad { border-color: color-mix(in srgb, var(--error) 50%, var(--line)); }
.tile-bad strong { color: var(--error); }
.tile-warn strong { color: var(--moderate); }
a.tile { text-decoration: none; color: inherit; }
a.tile:hover { border-color: var(--ink-3); }
svg.rbar { display: block; width: 100%; height: 10px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
td.bar-cell { min-width: 120px; vertical-align: middle; }
.f-fast { fill: var(--fast); } .f-moderate { fill: var(--moderate); } .f-slow { fill: var(--slow); } .f-error { fill: var(--error); } .f-other { fill: var(--other); }
.f-mark { fill: color-mix(in srgb, var(--brand) 55%, transparent); } .f-load { fill: var(--brand); } .f-part { fill: var(--brand-2); }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart .ax { font: 11px var(--sans); fill: var(--ink-3); }
svg.chart .grid-l { stroke: var(--line); stroke-width: 1; }
svg.chart .b-good { stroke: var(--fast); stroke-dasharray: 4 4; stroke-width: 1; }
svg.chart .b-slow { stroke: var(--slow); stroke-dasharray: 4 4; stroke-width: 1; }
svg.chart .l-med { fill: none; stroke: var(--brand); stroke-width: 2.5; }
svg.chart .l-p95 { fill: none; stroke: var(--brand-2); stroke-width: 1.5; stroke-dasharray: 5 3; }
.legend .key { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin: 0 4px 0 10px; }
.legend .k-med { background: var(--brand); } .legend .k-p95 { background: var(--brand-2); }
table.tree td.d0 { font-weight: 600; } table.tree td.d1 { padding-left: 28px; } table.tree td.d2 { padding-left: 44px; }
table.tree td.d3 { padding-left: 60px; } table.tree td.d4 { padding-left: 76px; } table.tree td.d5 { padding-left: 92px; } table.tree td.d6 { padding-left: 108px; }
table.grid tr.on td { background: color-mix(in srgb, var(--brand) 9%, transparent); }
button.sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
button.sort.on { color: var(--ink); }
table.grid.pages td { padding: 8px 10px; }
pre.log { max-height: 360px; overflow: auto; font: 12px/1.5 var(--mono); background: var(--surface-2); padding: 10px 12px; border-radius: 8px; margin: 10px 0 0; white-space: pre-wrap; }
progress { width: 100%; height: 10px; accent-color: var(--brand); }
.mfa-card { border-color: color-mix(in srgb, var(--brand-2) 60%, var(--line)); background: color-mix(in srgb, var(--brand-2) 7%, var(--surface)); }
.code-in { max-width: 180px; font: 20px var(--mono); letter-spacing: .2em; }
.editor { display: flex; flex-direction: column; gap: 16px; }
.editor .card + .card { margin-top: 0; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .span3 { grid-column: 1 / -1; }
.form-grid .checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
table.edit-rows td { padding: 6px 6px; vertical-align: middle; }
table.edit-rows input.num-in { min-width: 80px; width: 90px; }
table.edit-rows td:nth-child(2) input { min-width: 240px; }
.sticky-actions { position: sticky; bottom: 0; padding: 12px 0; background: var(--bg); justify-content: flex-end; display: flex; gap: 8px; border-top: 1px solid var(--line); }
details > summary { cursor: pointer; color: var(--ink-2); font-size: 14px; }
.small-h { font-size: 16px; overflow-wrap: anywhere; }
dl.facts.wide { grid-template-columns: minmax(150px, max-content) 1fr; }
.targets li { overflow-wrap: anywhere; }
@media (max-width: 860px) { .form-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .form-grid.three { grid-template-columns: 1fr; } }
a.btn { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; }
a.btn.btn-primary { color: var(--bg); }
#f-pages { justify-content: flex-start; margin: 8px 0 12px; }
#f-pages input { width: 280px; max-width: 100%; }
#f-pages select { width: auto; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.two-col.wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 900px) { .two-col.wide-left { grid-template-columns: 1fr; } }
