@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #fff;
  --fg: #171a1f;
  --muted: #626a76;
  --panel: #f8f9fb;
  --line: #d7dce3;
  --faint-line: #e9ecf1;
  --accent: #00d7dc;
  --link: #006b73;
  --button-fg: #171a1f;
  --success: #16825c;
  --warning: #9a6212;
  --error: #bb3f4f;
  --syn-keyword: #1a56c4;
  --syn-string: #0a7a3f;
  --syn-number: #9a6700;
  --syn-type: #0f766e;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0d0f12;
  --fg: #e9ebef;
  --muted: #a3aab6;
  --panel: #171a1f;
  --line: #414752;
  --faint-line: #2a2f37;
  --accent: #00d7dc;
  --link: #5cdbdf;
  --success: #54cf8e;
  --warning: #f0c267;
  --error: #f47089;
  --syn-keyword: #5aa9e6;
  --syn-string: #79c98a;
  --syn-number: #e3b341;
  --syn-type: #4dd6c4;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
button { font: inherit; }
button[hidden] { display: none; }
a { color: var(--link); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
svg { flex: none; }
code { font-family: 'IBM Plex Mono', monospace; font-weight: 400; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.wrap { width: min(100% - 80px, 1200px); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px 16px; background: var(--bg); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--faint-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand-lockup { display: grid; flex: none; }
.brand-byline { display: flex; align-items: center; min-height: 24px; margin-inline-start: 34%; color: var(--muted); font-size: 11px; line-height: 14px; text-decoration: none; white-space: nowrap; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark, .icon-sun { display: none; }
[data-theme='dark'] .brand .logo-light, [data-theme='dark'] .icon-moon { display: none; }
[data-theme='dark'] .brand .logo-dark, [data-theme='dark'] .icon-sun { display: block; }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
nav a { color: var(--fg); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }
.nav-icon { display: inline-grid; place-items: center; min-width: 32px; min-height: 32px; color: var(--muted); }
.nav-icon svg { width: 18px; height: 18px; }
.theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--muted); cursor: pointer; }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 104px 0 88px; }
.eyebrow { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
h1 { font-size: clamp(40px, 4.2vw, 54px); font-weight: 780; letter-spacing: -0.05em; line-height: 1.05; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin-top: 18px; max-width: 560px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* The install command takes its own row, with the buttons on the next. */
.actions-break { flex-basis: 100%; height: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 2px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--fg); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--button-fg); }
.command { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; font-size: 12px; line-height: 1.7; }
.command code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.command code span { color: var(--muted); }
.install { font-size: 13px; min-height: 46px; width: fit-content; }
.copy { flex: none; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); padding: 4px 8px; color: var(--muted); font-family: Inter, sans-serif; font-size: 12px; cursor: pointer; }
/* Real sqt output. */
.terminal { margin: 0; padding: 22px 24px; background: var(--panel); color: var(--fg); font: 12px/1.7 'IBM Plex Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal .cmd { font-weight: 500; }
.terminal .cmd::before { content: '$ '; color: var(--muted); font-weight: 400; }
.terminal .dim, .terminal .cm, .terminal .prompt { color: var(--muted); }
.terminal .ok { color: var(--success); }
/* Output tokens, with the colours sqlload.io uses. Warn and bad are a shade darker in light mode
   so 12px text keeps 4.5:1 contrast on the panel. */
.terminal .strong { font-weight: 500; }
.terminal .kw { color: var(--syn-keyword); }
.terminal .str { color: var(--syn-string); }
.terminal .num { color: var(--syn-number); }
.terminal .ty { color: var(--syn-type); }
.terminal .arg { color: var(--link); }
.terminal .warn { color: var(--warning); }
.terminal .bad { color: var(--error); }
section { padding: 72px 0; border-top: 1px solid var(--faint-line); }
.section-head { max-width: 68ch; margin-bottom: 32px; }
.section-head p, .start .lede { margin-top: 12px; color: var(--muted); font-size: 17px; }
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border: 1px solid var(--line); border-radius: 2px; }
/* One panel split by fine lines, as on sqlbuild.com. */
.card { display: flex; flex-direction: column; padding: 24px; }
.card + .card { border-left: 1px solid var(--faint-line); }
.card h3, .step h3 { font-size: 18px; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.card .detail-link { margin-top: 14px; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.step-text { padding: 28px; }
.step-number { display: block; margin-bottom: 12px; color: var(--link); font: 500 13px 'IBM Plex Mono', monospace; }
.step-text p { margin: 10px 0 14px; color: var(--muted); font-size: 15px; }
.step .terminal { border-left: 1px solid var(--faint-line); }
.step-text code, .card code, .caption code { padding: 1px 4px; border-radius: 2px; background: var(--panel); font-size: 0.86em; }
.detail-link { font-size: 14px; text-decoration: none; }
.caption { margin-top: 16px; color: var(--muted); font-size: 13px; }
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.start ul { margin: 20px 0 0; padding: 0; list-style: none; }
.start li { padding: 10px 0; border-top: 1px solid var(--faint-line); color: var(--muted); font-size: 15px; }
.start .terminal { border: 1px solid var(--line); border-radius: 2px; }
.closing { padding: 88px 0 96px; text-align: center; }
.closing h2 { max-width: 22ch; margin: 0 auto; }
.closing p { max-width: 56ch; margin: 16px auto 0; color: var(--muted); font-size: 17px; }
.closing .actions { justify-content: center; }
footer.wrap { padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-main, .sqlstack-family { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sqlstack-family { flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--faint-line); }
.sqlstack-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; }
.sqlstack-brand img { width: 28px; height: auto; }
.sqlstack-dark, [data-theme='dark'] .sqlstack-light { display: none; }
[data-theme='dark'] .sqlstack-dark { display: block; }
footer nav { font-size: 13px; }
.sqlstack-family nav { flex-wrap: wrap; gap: 8px 20px; }
.sqlstack-family nav a { color: var(--muted); }
@media (hover: hover) {
  nav a:hover { text-decoration-color: var(--accent); }
  .brand-byline:hover, .sqlstack-brand:hover { color: var(--fg); text-decoration: underline; }
  .nav-icon:hover, .theme-toggle:hover { color: var(--fg); }
  .button:hover, .copy:hover { border-color: var(--link); }
  .primary:hover { background: var(--link); color: var(--bg); }
  .detail-link:hover { text-decoration: underline; }
}

/* Step panel: on wide screens, a list of the steps beside one step at a time (site.js). */
.step-nav { display: none; }
@media (min-width: 1100px) {
  .stepper { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
  .step-nav { display: grid; gap: 2px; position: sticky; top: 104px; }
  .step-nav button { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; border: 0; border-left: 2px solid var(--faint-line); background: none; color: var(--muted); font-size: 15px; text-align: left; cursor: pointer; }
  .step-nav button[aria-current] { border-left-color: var(--accent); color: var(--fg); font-weight: 600; }
  .step-nav .n { color: var(--link); font: 500 13px 'IBM Plex Mono', monospace; }
  .stepper .steps { display: grid; }
  .stepper .step { grid-area: 1 / 1; align-self: start; visibility: hidden; }
  .stepper .step.is-active { visibility: visible; }
  .stepper .step:focus { outline: none; }
}
@media (min-width: 1100px) and (hover: hover) {
  .step-nav button:hover { color: var(--fg); }
}

/* Below 1100px the UI window moves under the hero text, and each step's output under its text. */
@media (max-width: 1099px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 64px; }
  .uil { justify-self: stretch; max-width: none; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step .terminal { border-left: 0; border-top: 1px solid var(--faint-line); }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 16px; }
  .brand img { height: 26px; }
  nav { gap: 12px; }
  .nav-icon, .theme-toggle { width: 36px; height: 36px; }
  .hide-sm { display: none; }
  .hero { padding: 44px 0 48px; }
  h1 { font-size: clamp(40px, 10vw, 56px); }
  .eyebrow { margin-bottom: 18px; font-size: 13px; }
  .lede { font-size: 17px; }
  .actions { margin-top: 24px; }
  .terminal { padding: 18px; font-size: 11px; }
  section { padding: 52px 0; }
  .problems, .start { grid-template-columns: minmax(0, 1fr); }
  .card + .card { border-left: 0; border-top: 1px solid var(--faint-line); }
  .step-text, .card { padding: 20px; }
  .closing { padding: 56px 0 64px; text-align: left; }
  .closing h2, .closing p { margin-left: 0; }
  .closing .actions { justify-content: flex-start; }
  footer nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Hero backdrop: the SQLTide mark drawn in dots behind the headline (hero-mark.js). */
main { position: relative; overflow-x: clip; }
.hero-mark { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.hero-mark canvas { display: block; width: 100%; height: 100%; }
.hero-text { position: relative; isolation: isolate; }
/* A soft wash of the page colour behind the text, so the dots never run under the words. */
.hero-text::before { content: ''; position: absolute; inset: -48px -64px; z-index: -1; background: radial-gradient(closest-side, var(--bg) 40%, transparent); opacity: 0.7; pointer-events: none; }

/* Hero window: the SQLTide UI's deployment pages playing a promotion and a rollback (ui-hero.js).
   It is drawn at a fixed size and scaled to fit, with the UI's own colour tokens. */
.uil { position: relative; width: 100%; min-width: 0; max-width: 760px; overflow: hidden; justify-self: end; }
/* Without JS the window stays empty, so the headline takes the full width. */
.uil:empty { display: none; }
.hero:has(.uil:empty) { grid-template-columns: minmax(0, 1fr); }
.uil-scale { width: 760px; transform-origin: top left; }
.uil-win {
  --u-bg: #ffffff; --u-fg: #14161a; --u-muted: #5b616e; --u-faint: #6b7079; --u-side: #fbfbfc;
  --u-line: rgba(20, 24, 34, 0.1); --u-inner: rgba(20, 24, 34, 0.06); --u-card: #ffffff; --u-inset: #f3f4f6;
  --u-primary: #1a73e8; --u-on: rgba(26, 115, 232, 0.09); --u-ok: #0d9488; --u-warn: #b45309; --u-edge: rgba(20, 24, 34, 0.28);
  position: relative; height: 524px; overflow: hidden; border: 1px solid var(--u-line); border-radius: 6px;
  background: var(--u-bg); color: var(--u-fg); font: 11px/1.35 Inter, sans-serif;
  box-shadow: 0 50px 100px -40px rgb(10 40 60 / 0.35), 0 0 0 1px rgb(0 0 0 / 0.02);
}
:root[data-theme='dark'] .uil-win {
  --u-bg: #0b0c0f; --u-fg: #eaecef; --u-muted: #8b8f9b; --u-faint: #7e838f; --u-side: #08090b;
  --u-line: rgba(150, 155, 170, 0.18); --u-inner: rgba(150, 155, 170, 0.1); --u-card: #111317; --u-inset: #000000;
  --u-primary: #2e90ff; --u-on: rgba(46, 144, 255, 0.13); --u-ok: #4dd6c4; --u-warn: #f0c267; --u-edge: rgba(150, 155, 170, 0.4);
  box-shadow: 0 50px 120px -40px rgb(0 215 220 / 0.22), 0 0 0 1px rgb(255 255 255 / 0.03);
}
.uil-win svg { width: 13px; height: 13px; flex: none; }
.uil-win code, .uil-mono, .uil-top b, .uil-lrow, .uil-brow, .uil-facts b, .uil-node em, .uil-tag, .uil-cap, .uil-navhead, .uil-proj small, .uil-gtabs { font-family: 'IBM Plex Mono', monospace; }
.uil-chrome { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--u-line); background: var(--u-side); color: var(--u-faint); font: 10px 'IBM Plex Mono', monospace; }
.uil-chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--u-line); }
.uil-chrome span { margin-left: 8px; }
.uil-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); height: calc(100% - 26px); }
.uil-side { display: flex; flex-direction: column; min-height: 0; padding: 12px 8px 10px; border-right: 1px solid var(--u-line); background: var(--u-side); color: var(--u-muted); }
.uil-brand { display: flex; padding: 0 6px 6px; }
.uil-brand img { width: 70px; height: auto; }
.uil-brand .logo-for-dark, :root[data-theme='dark'] .uil-brand .logo-for-light { display: none; }
:root[data-theme='dark'] .uil-brand .logo-for-dark { display: block; }
.uil-navhead { margin: 12px 6px 5px; color: var(--u-faint); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.uil-proj { padding: 0 6px; }
.uil-proj b { display: flex; align-items: center; gap: 6px; color: var(--u-fg); font-weight: 500; }
.uil-proj b i { width: 5px; height: 5px; border-radius: 50%; background: var(--u-ok); }
.uil-proj small { display: block; margin-top: 3px; color: var(--u-faint); font-size: 8.5px; }
.uil-navlist { flex: 1; min-height: 0; overflow: hidden; }
.uil-nav { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 3px; }
.uil-nav.is-on { background: var(--u-on); color: var(--u-fg); box-shadow: inset 2px 0 var(--u-primary); }
.uil-badge { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--u-warn); font: 9px 'IBM Plex Mono', monospace; transition: opacity 0.3s ease; }
.uil-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--u-warn); }
.uil-win.is-promoted .uil-badge { opacity: 0; }
.uil-sidefoot { padding-top: 6px; border-top: 1px solid var(--u-line); }
.uil-main { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0 12px 12px; overflow: hidden; transition: opacity 0.45s ease; }
.uil-top { display: flex; flex: none; align-items: center; gap: 10px; height: 38px; margin: 0 -12px; padding: 0 12px; border-bottom: 1px solid var(--u-line); }
.uil-top b { font-size: 12px; font-weight: 500; }
.uil-top span { color: var(--u-faint); font: 10px 'IBM Plex Mono', monospace; }
.uil-top em { display: flex; align-items: center; gap: 5px; margin-left: auto; color: var(--u-ok); font: normal 10px 'IBM Plex Mono', monospace; }
.uil-top em i { width: 5px; height: 5px; border-radius: 1px; background: var(--u-ok); }
.uil-detail, .uil-list { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.uil-list { display: none; }
.uil-win[data-scene='list'] .uil-detail { display: none; }
.uil-win[data-scene='list'] .uil-list { display: flex; animation: uil-in 0.35s ease both; }
.uil-win[data-scene='old'] .uil-detail { animation: uil-in 0.35s ease both; }
@keyframes uil-in { from { opacity: 0; transform: translateY(3px); } }
.uil-crumb { display: flex; align-items: center; gap: 8px; color: var(--u-faint); font-size: 10px; }
.uil-crumb a { color: var(--u-muted); font-size: 10.5px; transition: color 0.15s ease; }
.uil-tag { padding: 1px 5px; border: 1px solid var(--u-line); border-radius: 3px; background: var(--u-inset); color: var(--u-faint); font-size: 9.5px; transition: color 0.3s ease; }
.uil-tag.warn { color: var(--u-warn); }
.uil-tag.ok { color: var(--u-ok); }
.uil-panel { border: 1px solid var(--u-line); border-radius: 4px; background: var(--u-card); }
.uil-grid { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 10px; }
.uil-graph { display: flex; flex-direction: column; }
.uil-gtabs { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--u-line); color: var(--u-muted); font-size: 9.5px; }
.uil-gtabs span { padding: 2px 6px; border-radius: 2px; }
.uil-gtabs .is-on { background: var(--u-inset); color: var(--u-fg); }
.uil-gtabs em { margin-left: auto; color: var(--u-faint); font-size: 8.5px; font-style: normal; }
.uil-canvas { position: relative; display: flex; flex: 1; align-items: center; gap: 16px; padding: 0 12px; background-image: radial-gradient(var(--u-inner) 1px, transparent 1px); background-size: 14px 14px; }
/* The edges: one dashed line behind the three nodes, flowing left to right. */
.uil-canvas::before { content: ''; position: absolute; top: 50%; left: 30px; right: 30px; height: 1.2px; background: linear-gradient(90deg, var(--u-ok) 50%, transparent 50%) 0 0 / 6px 100%; animation: uil-flow 0.6s linear infinite; }
@keyframes uil-flow { to { background-position: 6px 0; } }
.uil-node { position: relative; display: flex; flex: 1; gap: 6px; min-width: 0; padding: 7px 7px 6px; border: 1px solid var(--u-line); border-left: 2px solid var(--u-edge); border-radius: 3px; background: var(--u-card); box-shadow: 0 2px 8px rgb(0 0 0 / 0.06); }
.uil-node.n2, .uil-node.n3 { border-left-color: var(--u-ok); }
.uil-node div { min-width: 0; }
.uil-node b { display: block; font: 500 10px 'IBM Plex Mono', monospace; }
.uil-node small { display: block; color: var(--u-faint); font: 7.5px 'IBM Plex Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.uil-node b, .uil-node small, .uil-node em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.uil-node em { display: block; margin-top: 5px; color: var(--u-muted); font-size: 9px; font-style: normal; }
.uil-ver b { color: var(--u-warn); font-weight: 500; }
.uil-ver.is-switched b { color: var(--u-ok); }
.uil-aside { display: flex; flex-direction: column; gap: 10px; }
.uil-cap { padding: 6px 9px; border-bottom: 1px solid var(--u-line); color: var(--u-faint); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.uil-facts > div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 9px; border-top: 1px solid var(--u-inner); }
.uil-facts > p + div { border-top: 0; }
.uil-facts span { color: var(--u-muted); }
.uil-facts b { font-size: 9.5px; font-weight: 400; white-space: nowrap; }
.uil-act { display: grid; grid-template-rows: auto 1fr; overflow: hidden; transition: opacity 0.4s ease; }
.uil-acttext { padding: 7px 9px 0; color: var(--u-muted); font-size: 9.5px; line-height: 1.45; }
.uil-btn { display: block; margin: 8px 9px 0; padding: 5px; border-radius: 3px; background: var(--u-primary); color: #fff; font-size: 10.5px; font-weight: 500; text-align: center; transition: transform 0.12s ease, opacity 0.2s ease; }
.uil-btn.is-pressed { transform: scale(0.96); }
.uil-crumb a.is-pressed, .uil-lrow a.is-pressed { color: var(--u-fg); }
.uil-win[data-phase='busy'] .uil-btn { opacity: 0.55; }
.uil-act code { display: block; padding: 6px 9px 8px; overflow: hidden; color: var(--u-faint); font-size: 8.5px; white-space: nowrap; text-overflow: ellipsis; }
.uil-win[data-phase='live'] .uil-act { opacity: 0; }
.uil-table { overflow: hidden; }
.uil-brow { display: grid; grid-template-columns: 1.25fr 0.7fr 1.6fr 0.7fr 0.8fr 0.5fr; align-items: center; gap: 8px; padding: 0 9px; height: 30px; border-top: 1px solid var(--u-inner); font-size: 10px; transition: background-color 0.5s ease; }
.uil-brow.head { height: 26px; border-top: 0; background: var(--u-inset); color: var(--u-faint); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.uil-brow > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.uil-action { color: var(--u-warn); }
.uil-action.is-live { color: var(--u-ok); }
.uil-live { color: var(--u-primary); }
.uil-live b { font-weight: 400; transition: color 0.3s ease; }
.uil-brow.is-switched { animation: uil-flash 1.2s ease; }
.uil-brow.is-switched .uil-live b { color: var(--u-ok); }
@keyframes uil-flash { from { background: color-mix(in srgb, var(--u-ok) 16%, transparent); } }
.uil-delta { color: var(--u-ok); }
.uil-group { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; color: var(--u-muted); font-size: 10px; }
.uil-group b { color: var(--u-faint); font: 400 9px 'IBM Plex Mono', monospace; letter-spacing: 0.16em; text-transform: uppercase; }
.uil-group b.ok { color: var(--u-ok); }
.uil-lrow { display: grid; grid-template-columns: 1.6fr 0.7fr 0.6fr 1.6fr auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--u-line); color: var(--u-fg); font-size: 10px; }
.uil-lrow a { display: block; color: var(--u-primary); font-size: 10.5px; transition: color 0.15s ease; }
.uil-lrow small, .uil-lrow > span:nth-child(4) { color: var(--u-muted); font-size: 9px; }
.uil-lrow > span:nth-child(4) { font-size: 9.5px; }
.uil-cursor { position: absolute; top: 0; left: 0; width: 18px !important; height: 18px !important; fill: #fff; stroke: #111; stroke-width: 1.4px; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.3)); transition-property: transform; transition-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1); pointer-events: none; }
.uil-win[data-phase='fade'] .uil-main { opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .uil-canvas::before { animation: none; } }

/* The compact window for phones. */
.uil-win.is-compact .uil-body { grid-template-columns: minmax(0, 1fr); }
.uil-win.is-compact .uil-side, .uil-win.is-compact .uil-top span, .uil-win.is-compact .uil-facts,
.uil-win.is-compact .uil-brow > :nth-child(n + 4), .uil-win.is-compact .uil-lrow > :nth-child(n + 2):not(:last-child) { display: none; }
.uil-win.is-compact .uil-grid { grid-template-columns: minmax(0, 1fr); }
.uil-win.is-compact .uil-graph { height: 170px; }
.uil-win.is-compact .uil-brow { grid-template-columns: 1.3fr 0.7fr 1.4fr; }
.uil-win.is-compact .uil-lrow { grid-template-columns: minmax(0, 1fr) auto; }
.uil-win.is-compact .uil-top b { font-size: 11px; }
