/* Versa Secure AI Gateway console. Derived from the Phase 1 GUI mockup's stylesheet (VER-3915); no
   external font, script or image: the console serves every asset itself.

   Versa brand guidelines (March 2026) and editorial style guide (VER-3973):
   - every colour is from the brand palette (pages 9 to 12), and every text meets WCAG 2.0 AA on its
     background, as the guidelines' colour accessibility page shows: on the red, orange, yellow,
     green and teal fills the text is dark, never white; links are Sapphire Blue, the palette colour
     that passes on white;
   - the typeface is IBM Plex Sans (and Plex Mono for code), served by the console itself under the
     SIL Open Font License (static/fonts/OFL-IBM-Plex.txt); Arial is the fallback the guidelines name;
   - eyebrows are Plex Bold in capitals, tracked; headlines Plex SemiBold; subheadlines Plex Medium;
   - call-to-action buttons are in capitals (editorial style guide);
   - cards have rounded corners and a subtle drop shadow.
   test/browser/brand.mjs checks every page against these rules in a real browser. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/static/fonts/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/static/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/IBMPlexSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2"); }
:root {
  --teal: #009CA6; --teal-dark: #0071BC; --aqua: #2AD2C9; --teal-50: #CCEEEE; --pale-teal: #EBFFFD;
  --ink: #001E2B; --ink-2: #121619; --ink-3: #343A3F; --black: #020304;
  --g100: #121619; --g90: #21272A; --g80: #343A3F; --g70: #4D5358; --g60: #697077; --g50: #878D96;
  --g40: #A2A9B0; --g30: #C1C7CD; --g20: #DDE1E6; --g10: #F2F4F8;
  /* the accent colours; text on a tinted or white background is dark, and the accent marks it */
  --green: #62BB46; --green-text: #020304; --green-pale: #E6FFE6;
  --red: #E63946; --red-text: #020304; --red-pale: #FFFFFF;
  --orange: #FF8C42; --orange-text: #020304; --orange-pale: #FFFFFF;
  --yellow: #FFD23F; --blue: #0071BC; --blue-pale: #EBFBFF; --purple: #7B68EE; --purple-pale: #F2F4F8; --lavender: #A8B9FF;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18, 22, 25, .06), 0 2px 8px rgba(18, 22, 25, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 16px; color: var(--g90);
  background: var(--g10); display: grid; grid-template-rows: 1fr; overflow: hidden; /* the app fills the window (the alpha ribbon row is gone, VER-3971) */; line-height: 24px; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono, textarea.json, pre { font-family: "IBM Plex Mono", "DejaVu Sans Mono", Consolas, monospace; font-size: 12px; line-height: 16px; }

.app { display: grid; grid-template-columns: 236px 1fr; min-height: 0; }

/* Sidebar */
.side { background: var(--ink); color: var(--g30); display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.brand { padding: 20px 20px 16px; border-bottom: 1px solid var(--ink-3); }
.brand img { height: 32px; display: block; }
.brand .product { color: #fff; font-weight: 600; font-size: 16px; margin-top: 12px; line-height: 24px; }
.brand .product span { color: var(--aqua); }
.nav { padding: 8px 0 12px; }
.nav .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .048em; text-transform: uppercase; color: var(--g50); padding: 16px 20px 8px; line-height: 16px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 8px 20px; color: var(--g30); border-left: 3px solid transparent;
  font-size: 16px; line-height: 24px; }
.nav a:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.nav a.active { background: var(--ink-2); color: #fff; border-left-color: var(--aqua); font-weight: 600; }
.nav a svg { flex: none; }
.nav .count { margin-left: auto; background: var(--red); color: var(--black); font-size: 12px; font-weight: 700; border-radius: 9px; padding: 0 8px; line-height: 16px; }
.aui-card { margin: auto 16px 16px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 12px; font-size: 12px; color: var(--g30); line-height: 16px; }
.aui-card b { color: #fff; display: block; margin-bottom: 4px; font-size: 12px; line-height: 16px; }
.aui-card q { display: block; margin-top: 8px; color: var(--aqua); font-style: italic; }

/* Top bar and main */
.mainwrap { display: grid; grid-template-rows: auto auto 1fr; min-height: 0; }
.topbar {
  background: #fff; border-bottom: 1px solid var(--g20); display: flex; align-items: center; gap: 16px; padding: 12px 24px;
}
.tenant { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--g100); }
.tenant small { font-weight: 400; color: var(--g60); }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; background: var(--g10); border: 1px solid var(--g20); border-radius: 8px; padding: 8px 12px; color: var(--g60); }
.search input { border: 0; background: transparent; outline: none; font: inherit; flex: 1; color: var(--g90); }
.spacer { flex: 1; }
.version { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--g70); background: var(--pale-teal); border: 1px solid var(--teal-50); border-radius: 8px; padding: 4px 12px; line-height: 16px; }
.version b { color: var(--teal-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.dot.off { background: var(--red); }
.iconbtn { position: relative; border: 0; background: transparent; color: var(--g70); cursor: pointer; padding: 4px; }
.iconbtn .pip { position: absolute; top: 0; right: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.me { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--g70); line-height: 16px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; line-height: 16px; }
main { overflow-y: auto; padding: 24px 28px 48px; min-height: 0; }

/* Page furniture */
.pagehead { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
h1 { font-weight: 600; } /* every headline: Plex SemiBold (brand guidelines, typography) */
.pagehead h1 { font-size: 24px; font-weight: 600; color: var(--g100); margin: 0; line-height: 32px; }
.pagehead p { margin: 4px 0 0; color: var(--g60); max-width: 820px; }
.pagehead .actions { margin-left: auto; display: flex; gap: 8px; }
.eyebrow-t { font-size: 12px; font-weight: 700; letter-spacing: .048em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 4px; line-height: 16px; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.g21 { grid-template-columns: 2fr 1fr; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--g20); padding: 16px 20px; min-width: 0; }
.card h2 { font-size: 16px; font-weight: 500; color: var(--g100); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; line-height: 24px; }
.card h2 .sub { font-weight: 400; color: var(--g60); font-size: 12px; line-height: 16px; }
.card h2 .right { margin-left: auto; font-weight: 400; font-size: 12px; line-height: 16px; }
.stack > * + * { margin-top: 16px; }
.kpi .label { color: var(--g60); font-size: 12px; line-height: 16px; }
.kpi .value { font-size: 28px; font-weight: 600; color: var(--g100); margin: 4px 0 4px; line-height: 36px; }
.kpi .note { font-size: 12px; color: var(--g60); line-height: 16px; }
.kpi .note .up { color: var(--green-text); font-weight: 600; }
.kpi .note .bad { color: var(--red-text); font-weight: 600; }
.muted { color: var(--g60); }
small, .small { font-size: 12px; line-height: 16px; } /* the browser's own "smaller" is off the 4pt type scale */
.hint { font-size: 12px; color: var(--g60); margin-top: 8px; line-height: 16px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 4px 8px; white-space: nowrap; line-height: 16px; }
.b-allow { background: var(--green); color: var(--black); }
.b-refuse { background: var(--red); color: var(--black); }
.b-redact { background: var(--orange); color: var(--black); }
.b-failover { background: var(--lavender); color: var(--black); }
.b-neutral { background: var(--g10); color: var(--g70); border: 1px solid var(--g20); }
.b-info { background: var(--blue-pale); color: var(--blue); }
.b-beta { background: var(--g10); color: var(--g60); border: 1px dashed var(--g40); font-weight: 500; }
.surface { font-size: 12px; border-radius: 6px; padding: 4px 8px; font-weight: 600; white-space: nowrap; line-height: 16px; }
.s-gui { background: var(--g10); color: var(--g80); border: 1px solid var(--g20); }
.s-aui { background: var(--pale-teal); color: var(--teal-dark); border: 1px solid var(--teal-50); }
.s-pack { background: var(--lavender); color: var(--black); }
.s-api { background: var(--blue-pale); color: var(--blue); }

/* Tables */
table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: 12px; font-weight: 600; color: var(--g60); padding: 8px 12px; border-bottom: 1px solid var(--g20); white-space: nowrap; line-height: 16px; }
table.data td { padding: 8px 12px; border-bottom: 1px solid var(--g10); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.click { cursor: pointer; }
table.data tr.click:hover td { background: var(--pale-teal); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.who { font-weight: 600; color: var(--g100); }
.who small { display: block; font-weight: 400; color: var(--g60); }

/* Controls */
.nowrap { white-space: nowrap; }
.btn { white-space: nowrap; font: inherit; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; border-radius: 8px; padding: 8px 16px; border: 1px solid var(--g30); background: #fff; color: var(--g90); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; line-height: 16px; }
.btn:hover { border-color: var(--g50); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn.primary:hover { background: var(--aqua); border-color: var(--aqua); }
.btn.danger { color: var(--black); border-color: var(--red); }
.btn.danger-solid { background: var(--red); border-color: var(--red); color: var(--black); }
.btn.danger-solid:hover { border-color: var(--black); }
.btn.small { padding: 4px 12px; font-size: 12px; line-height: 16px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
select, input[type=number], input[type=text], input[type=password], textarea { font: inherit; font-size: 12px; border: 1px solid var(--g30); border-radius: 7px; padding: 8px 8px; background: #fff; color: var(--g90); line-height: 16px; }
input[type=number] { width: 72px; }
input.changed { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filters label { font-size: 12px; color: var(--g60); display: flex; flex-direction: column; gap: 4px; line-height: 16px; }
.toggle { width: 40px; height: 24px; border-radius: 11px; background: var(--g30); position: relative; cursor: pointer; flex: none; border: 0; }
.toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on { background: var(--teal); }
.toggle.on::after { left: 20px; }

/* Bars */
.bar { height: 8px; background: var(--g20); border-radius: 4px; overflow: hidden; min-width: 92px; }
.bar > i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.bar.warn > i { background: var(--orange); }
.bar.full > i { background: var(--red); }

/* Alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 12px; border-radius: 8px; border-left: 4px solid; }
.alert + .alert { margin-top: 12px; }
.alert .t { font-weight: 600; color: var(--g100); }
.alert .d { color: var(--g70); font-size: 12px; margin-top: 4px; line-height: 16px; }
.alert .go { margin-left: auto; white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 16px; }
.a-red { background: var(--red-pale); border-color: var(--red); }
.a-orange { background: var(--orange-pale); border-color: var(--orange); }
.a-purple { background: var(--purple-pale); border-color: var(--purple); }
.a-teal { background: var(--pale-teal); border-color: var(--teal); }

/* Matrix */
table.matrix td, table.matrix th { text-align: center; }
table.matrix td:first-child, table.matrix th:first-child { text-align: left; }
.cell { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; }
.cell input { width: 16px; height: 16px; accent-color: var(--teal); }
.cell .why { color: var(--black); font-weight: 600; }
.cell .ok { color: var(--green-text); }

/* Drawer, modal, toast */
.scrim { position: fixed; inset: 0; background: rgba(0, 30, 43, .35); display: none; z-index: 20; }
.scrim.open { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 520px; background: #fff; box-shadow: -8px 0 24px rgba(0, 0, 0, .12); z-index: 30; transform: translateX(100%); transition: transform .18s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer header, .modal header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--g20); }
.drawer header h3, .modal header h3 { margin: 0; font-size: 16px; color: var(--g100); line-height: 24px; }
.drawer .body { padding: 16px 20px 24px; overflow-y: auto; }
.close { margin-left: auto; border: 0; background: transparent; font-size: 20px; line-height: 28px; color: var(--g60); cursor: pointer; }
.modal { position: fixed; left: 50%; top: 8vh; transform: translateX(-50%); width: min(760px, 92vw); max-height: 84vh; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); z-index: 40; display: none; flex-direction: column; }
.modal.open { display: flex; }
.modal .body { padding: 16px 20px; overflow-y: auto; }
.modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--g20); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 12px; opacity: 0; transition: all .2s; z-index: 50; pointer-events: none; max-width: 720px; line-height: 16px; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.kv { display: grid; grid-template-columns: 152px 1fr; gap: 8px 12px; font-size: 12px; line-height: 16px; }
.kv.narrow { grid-template-columns: 92px 1fr; }
.kv dt { color: var(--g60); }
.kv dd { margin: 0; color: var(--g90); }
.trace { list-style: none; padding: 0; margin: 0; }
.trace li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--g20); }
.trace li:last-child { border-bottom: 0; }
.trace .mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--black); line-height: 16px; }
.m-pass { background: var(--green); }
.m-fail { background: var(--red); }
.m-change { background: var(--orange); }
.m-skip { background: var(--g20); }
.trace .st { font-weight: 600; color: var(--g100); }
.trace .sd { color: var(--g70); font-size: 12px; line-height: 16px; }
.trace li.skipped .st, .trace li.skipped .sd { color: var(--g50); }
.privacy { background: var(--g10); border-radius: 8px; padding: 12px 12px; font-size: 12px; color: var(--g70); display: flex; gap: 8px; line-height: 16px; }

/* Code */
pre.cedar { background: var(--ink); color: var(--g20); border-radius: 8px; padding: 16px 16px; overflow-x: auto; font-size: 12px; line-height: 16px; margin: 0; }
pre.cedar .k { color: var(--aqua); }
pre.cedar .c { color: var(--g40); }
pre.cedar .s { color: #BEE666; }
pre.cedar .a { color: #FFD23F; }

/* Definition diff */
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.def { border: 1px solid var(--g20); border-radius: 8px; overflow: hidden; }
.def .h { background: var(--g10); padding: 8px 12px; font-size: 12px; color: var(--g70); display: flex; gap: 8px; line-height: 16px; }
.def pre { margin: 0; padding: 12px; font-size: 12px; white-space: pre-wrap; line-height: 16px; }
.def mark { background: var(--yellow); color: var(--black); border-radius: 3px; padding: 0 4px; }

/* Pack import */
.stepper { display: flex; gap: 0; margin-bottom: 16px; }
.stepper .st { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 12px; border-bottom: 3px solid var(--g20); color: var(--g60); font-weight: 600; font-size: 12px; cursor: pointer; line-height: 16px; }
.stepper .st .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--g20); color: var(--g70); font-size: 12px; line-height: 16px; }
.stepper .st.done { border-color: var(--teal); color: var(--g80); }
.stepper .st.done .n { background: var(--teal); color: var(--ink); }
.stepper .st.cur { border-color: var(--teal); color: var(--g100); }
.stepper .st.cur .n { background: var(--ink); color: #fff; }
.change { display: flex; gap: 12px; align-items: flex-start; padding: 12px 12px; border: 1px solid var(--g20); border-radius: 8px; }
.change + .change { margin-top: 8px; }
.change .op { font-weight: 700; width: 20px; text-align: center; }
.change.tighten .op { color: var(--green-text); }
.change.loosen { border-color: var(--red); background: #fff; }
.change.loosen .op { color: var(--red-text); }
.change .flag { margin-left: auto; }
.bindrow { display: grid; grid-template-columns: 220px 32px 1fr; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--g20); }
.tests li { padding: 4px 0; }
.tests li::marker { content: "✓  "; color: var(--black); font-weight: 700; }
.chart-legend { display: flex; gap: 16px; font-size: 12px; color: var(--g60); margin-top: 8px; line-height: 16px; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.hbar { display: grid; grid-template-columns: 112px 1fr 92px; align-items: center; gap: 12px; padding: 4px 0; font-size: 12px; line-height: 16px; }
.hbar .bar { height: 12px; }
.reason { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--g20); font-size: 12px; line-height: 16px; }
.reason:last-child { border-bottom: 0; }
/* The red button and the suspension banner (UC22) */
.stop-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.stop-wrap small { font-size: 12px; color: var(--g60); line-height: 16px; }
.stopbtn { font: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: 8px; padding: 8px 16px; background: var(--red); border: 2px solid var(--red); color: var(--black); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; line-height: 16px; }
.stopbtn:hover { border-color: var(--black); }
.stopbtn.restart { background: #fff; color: var(--black); }
.stopbtn.restart:hover { border-color: var(--black); }
.susp-banner { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; line-height: 16px; }
.susp-banner.frozen, .susp-banner.notify { padding: 8px 24px; }
.susp-banner.frozen { background: var(--red); color: var(--black); }
.susp-banner.notify { background: var(--orange); color: var(--black); border-bottom: 1px solid var(--orange); }
.susp-banner .ref { margin-left: auto; font-weight: 400; font-size: 12px; opacity: .9; white-space: nowrap; line-height: 16px; }
.countdown { font-size: 72px; font-weight: 700; color: var(--red); /* large text: AA needs 3:1 */ text-align: center; font-variant-numeric: tabular-nums; line-height: 80px; margin: 8px 0 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--g70); margin: 12px 0; line-height: 16px; }
.field-inline { display: flex; gap: 8px; align-items: center; font-size: 12px; margin: 8px 0; line-height: 16px; }
.field-inline.disabled { color: var(--g50); }
.radio { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border: 1px solid var(--g20); border-radius: 8px; margin-top: 8px; color: var(--g90); cursor: pointer; }
.radio input { margin-top: 4px; }

/* Model risk levels. Not assessed is a separate state: dashed outline, never a colour next to None. */
.lvl { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 4px 8px; white-space: nowrap; border: 1px solid transparent; line-height: 16px; }
.lvl.sm { font-size: 12px; padding: 0 8px; line-height: 16px; }
.lv0 { background: var(--g10); color: var(--g80); border-color: var(--g30); }
.lv1 { background: var(--green); color: var(--black); border-color: var(--green); }
.lv2 { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.lv3 { background: var(--orange); color: var(--black); border-color: var(--orange); }
.lv4 { background: var(--red); color: var(--black); border-color: var(--red); }
.lv5 { background: #fff; color: var(--g60); border: 1px dashed var(--g50); font-style: italic; font-weight: 500; }
table.data th.catcol { font-size: 12px; padding-left: 4px; padding-right: 4px; line-height: 16px; }
table.data td.catcell { white-space: nowrap; padding-left: 4px; padding-right: 4px; }
.ovr { color: var(--purple); font-size: 12px; margin-left: 4px; vertical-align: 1px; line-height: 16px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: 12px; color: var(--g60); line-height: 16px; }
.legend span:last-child { flex-basis: 100%; }
.src-l { font-weight: 600; font-size: 12px; color: var(--g90); border-left: 3px solid; padding-left: 8px; line-height: 16px; }
.src-versa { border-left-color: var(--teal); }
.src-override { border-left-color: var(--purple); }
.src-imported { border-left-color: var(--blue); }
.src-fixture { border-left-color: var(--orange); }
.src-none { color: var(--g60); font-style: italic; }
.ok-t { color: var(--black); font-weight: 600; }
.why-t { color: var(--black); font-weight: 600; }
.stepper .st.locked { cursor: not-allowed; opacity: .6; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--g20); margin-bottom: 16px; }
.tabs a { padding: 8px 12px; color: var(--g60); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: 0; cursor: pointer; }
.tabs a.on { color: var(--g100); border-color: var(--teal); text-decoration: none; }

/* Console additions */
[title] { cursor: help; }
a[title], button[title], input[title], select[title], textarea[title], label[title] { cursor: pointer; }
input[type=text][title], input[type=password][title], textarea[title] { cursor: text; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 12px; border-left: 4px solid; line-height: 16px; }
.flash.ok { background: var(--green-pale); border-color: var(--green); color: var(--black); }
.flash.err { background: #fff; border-color: var(--red); color: var(--black); }
.flash.warn { background: #fff; border-color: var(--orange); color: var(--black); }
.state-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; border-radius: 8px; padding: 4px 12px; border: 1px solid; line-height: 16px; }
.state-chip.same { background: var(--pale-teal); border-color: var(--teal); color: var(--ink); }
.state-chip.pending { background: var(--orange-pale); border-color: var(--orange); color: var(--orange-text); font-weight: 600; }
.state-chip.failed { background: var(--red-pale); border-color: var(--red); color: var(--red-text); font-weight: 600; }
.login-wrap { display: grid; place-items: center; min-height: 100%; background: var(--ink); overflow-y: auto; }
.login { background: #fff; border-radius: 12px; padding: 28px 32px; width: min(420px, 92vw); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.login img { height: 32px; }
.login h1 { font-size: 20px; font-weight: 600; margin: 16px 0 4px; color: var(--g100); line-height: 28px; }
.login .field input { width: 100%; }
.empty { padding: 28px; text-align: center; color: var(--g60); border: 1px dashed var(--g30); border-radius: 8px; background: #fff; }
meter { width: 112px; height: 12px; }
textarea.json { width: 100%; min-height: 280px; font-family: "IBM Plex Mono", "DejaVu Sans Mono", Consolas, monospace; font-size: 12px; line-height: 16px; }
pre.json { background: var(--g10); border: 1px solid var(--g20); border-radius: 8px; padding: 12px 12px; font-size: 12px; overflow-x: auto; margin: 0; white-space: pre-wrap; line-height: 16px; }
.inline { display: inline; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a .ico { width: 20px; text-align: center; font-size: 12px; opacity: .8; line-height: 16px; }
.countdown-page { text-align: center; }
.b-would { background: #fff; color: var(--black); border: 1px dashed var(--orange); }
.b-loosen { background: var(--red); color: var(--black); }
.b-tighten { background: var(--green); color: var(--black); }
table.data td.wrap { white-space: normal; max-width: 420px; }
.formgrid { display: grid; grid-template-columns: 200px 1fr; gap: 12px 16px; align-items: center; max-width: 760px; }
.formgrid label { font-size: 12px; color: var(--g70); line-height: 16px; }
.mt16 { margin-top: 16px; }
.mt12 { margin-top: 12px; }
.mt10 { margin-top: 12px; }
.filters label.field-inline { flex-direction: row; align-items: center; align-self: flex-end; margin-bottom: 8px; }
