/* ZWarden.Web Tailwind entry (ADR 0003). The generated wwwroot/app.css is
   committed and CI-diffed - run `npm run build:css` after editing this file or
   any markup, or the utilities silently vanish at runtime. */

/* The "Signal" identity tokens (:root light / .dark dark), inlined by
   postcss-import ahead of Tailwind so BlazorBlueprint and ZWarden utilities
   both read the same CSS variables. Authoritative source: docs/style-guide/. */

/* ============================================================================
 * ZWarden theme — "Signal"  (WIRED COPY)
 *
 * SYNCED FROM docs/style-guide/zwarden.css — that file is the AUTHORITATIVE
 * artifact (style-guide.md: "When the two disagree, the token file wins").
 * This copy is the one the app actually loads: @import-ed by app.tailwind.css
 * and inlined into the committed wwwroot/app.css by the Tailwind build. If you
 * change the identity, edit the docs file and re-sync this one verbatim.
 *
 * :root is LIGHT, .dark is DARK (the BlazorBlueprint theme contract). ZWarden
 * boots dark-first (App.razor puts .dark on <html>); light stays first-class.
 * BlazorBlueprint components read these same CSS variables, so dropping this in
 * reskins the library with no per-component change (ADR 0003 wrapper seam).
 * ========================================================================== */

:root {
  /* ---- surfaces (LIGHT — "daylight board") ---- */
  --background: oklch(0.965 0.006 220);
  --foreground: oklch(0.20 0.014 245);
  --card: oklch(0.995 0.003 220);
  --card-foreground: oklch(0.20 0.014 245);
  --popover: oklch(0.995 0.003 220);
  --popover-foreground: oklch(0.20 0.014 245);
  --primary: oklch(0.50 0.12 205);
  /* phosphor cyan, darkened for light ground */
  --primary-foreground: oklch(0.99 0.005 210);
  --secondary: oklch(0.93 0.008 220);
  --secondary-foreground: oklch(0.28 0.014 245);
  --muted: oklch(0.945 0.006 220);
  --muted-foreground: oklch(0.46 0.018 235);
  --accent: oklch(0.92 0.020 205);
  --accent-foreground: oklch(0.25 0.015 240);
  --destructive: oklch(0.54 0.21 27);
  --destructive-foreground: oklch(0.99 0.004 210);
  --border: oklch(0.87 0.008 225);
  --input: oklch(0.87 0.008 225);
  --ring: oklch(0.50 0.12 205);
  /* Squared, not pill. Cards, buttons, inputs and status badges all key off this. */
  --radius: 0.1875rem;
  /* 3px */
  /* ---- server-state ramp (boringly semantic, high-contrast) ---- */
  --status-running:   oklch(0.53 0.16 148);
  /* green  */
  --status-stopped:   oklch(0.52 0.014 235);
  /* grey   */
  --status-unhealthy: oklch(0.52 0.22 27);
  /* red    */
  --status-busy:      oklch(0.60 0.15 72);
  /* amber — "starting" / transitional */
  --status-unknown:   oklch(0.52 0.12 292);
  /* violet — agent unreachable */
  /* ---- meter thresholds: nominal / watch / hot ---- */
  --meter-nominal: oklch(0.53 0.16 148);
  --meter-watch:   oklch(0.60 0.15 72);
  --meter-hot:     oklch(0.52 0.22 27);
  --meter-track:   oklch(0.90 0.007 220);
}

.dark {
  /* ---- surfaces (DARK — control-room wall, the default mode) ---- */
  --background: oklch(0.155 0.012 248);
  --foreground: oklch(0.94 0.006 220);
  --card: oklch(0.195 0.014 250);
  --card-foreground: oklch(0.94 0.006 220);
  --popover: oklch(0.195 0.014 250);
  --popover-foreground: oklch(0.94 0.006 220);
  --primary: oklch(0.82 0.13 200);
  /* phosphor cyan, full glow on dark */
  --primary-foreground: oklch(0.16 0.020 240);
  --secondary: oklch(0.25 0.014 250);
  --secondary-foreground: oklch(0.92 0.006 220);
  --muted: oklch(0.235 0.013 250);
  --muted-foreground: oklch(0.70 0.020 215);
  --accent: oklch(0.28 0.020 205);
  --accent-foreground: oklch(0.95 0.006 210);
  --destructive: oklch(0.66 0.22 27);
  --destructive-foreground: oklch(0.98 0.004 210);
  --border: oklch(0.30 0.015 245);
  --input: oklch(0.30 0.015 245);
  --ring: oklch(0.82 0.13 200);
  --status-running:   oklch(0.80 0.19 148);
  --status-stopped:   oklch(0.62 0.014 240);
  --status-unhealthy: oklch(0.68 0.23 27);
  --status-busy:      oklch(0.83 0.17 80);
  --status-unknown:   oklch(0.74 0.15 292);
  --meter-nominal: oklch(0.80 0.19 148);
  --meter-watch:   oklch(0.83 0.17 80);
  --meter-hot:     oklch(0.68 0.23 27);
  --meter-track:   oklch(0.28 0.013 250);
}

/* The app-shell chrome (#157, ADR 0040) — static-SSR `zw-*` classes that read the
   Signal tokens above. Imported here so the same build emits it into wwwroot/app.css. */

/* ============================================================================
 * ZWarden app shell — the "Signal" sidebar-09 chrome (#157, ADR 0040).
 *
 * Static-SSR chrome: no interactive Bb components, no circuit. These `zw-*`
 * classes are a faithful port of the design prototype and read the Signal tokens
 * (zwarden.css), so light/dark come for free. Behaviour (menus, mobile drawer,
 * .dark toggle) is wired by wwwroot/js/shell.js against the data-* hooks below.
 * Built into wwwroot/app.css by `npm run build:css` (imported from
 * app.tailwind.css) and CI-diffed (ADR 0003).
 * ========================================================================== */

/* ---- icons -------------------------------------------------------------- */

.zw-ico {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Theme glyph: show the sun in dark mode (tap to go light), the moon in light. */

.zw-ico-moon {
  display: none;
}

html:not(.dark) .zw-ico-sun {
  display: none;
}

html:not(.dark) .zw-ico-moon {
  display: inline-block;
}

/* ---- frame -------------------------------------------------------------- */

.zw-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- sidebar ------------------------------------------------------------ */

.zw-side {
  width: 248px;
  flex: none;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 30;
}

.zw-side-hd, .zw-side-ft {
  padding: 10px;
}

.zw-side-hd {
  border-bottom: 1px solid var(--border);
}

.zw-side-ft {
  border-top: 1px solid var(--border);
  position: relative;
}

.zw-side-ct {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px;
}

.zw-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.zw-trigger:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.zw-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.zw-t1 {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zw-t2 {
  font-size: 10.5px;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zw-chev {
  color: var(--muted-foreground);
}

.zw-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 40%, transparent),
              0 0 14px -2px var(--primary);
}

.zw-mark-sm {
  width: 26px;
  height: 26px;
  font-size: 13px;
  box-shadow: none;
}

.zw-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--border);
}

/* ---- nav ---------------------------------------------------------------- */

.zw-grp {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 14px 8px 4px;
  font-weight: 600;
}

.zw-navitem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
}

.zw-navitem:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.zw-navitem.active {
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
}

.zw-navitem.active .zw-ico {
  color: var(--primary);
}

/* ---- menus (workspace + account) --------------------------------------- */

.zw-menu-wrap {
  position: relative;
}

.zw-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55);
  padding: 5px;
}

.zw-menu-above {
  bottom: calc(100% + 6px);
}

.zw-menu-below {
  top: calc(100% + 6px);
}

.zw-menu[hidden] {
  display: none;
}

.zw-menu-label {
  font-size: 11px;
  color: var(--muted-foreground);
  padding: 6px 8px 4px;
  font-weight: 600;
}

.zw-menu-hd {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px 9px;
}

.zw-mi {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: calc(var(--radius) * .8);
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.zw-mi:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.zw-mi-danger {
  color: var(--destructive);
}

.zw-mi-current {
  cursor: default;
}

.zw-mi-current:hover {
  background: transparent;
}

.zw-msep {
  height: 1px;
  background: var(--border);
  margin: 5px 2px;
}

.zw-logout {
  margin: 0;
}

/* ---- inset + top bar ---------------------------------------------------- */

.zw-inset {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.zw-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 56px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.zw-icobtn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}

.zw-icobtn:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.zw-sb-trigger {
  display: none;
}

.zw-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.zw-crumbs b {
  color: var(--foreground);
  font-weight: 600;
}

.zw-spacer {
  flex: 1;
}

.zw-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  min-width: 120px;
  max-width: 280px;
  flex: 1;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 12.5px;
}

.zw-search .zw-ico {
  width: 15px;
  height: 15px;
}

.zw-search-ph {
  flex: 1;
}

.zw-kbd {
  font-family: var(--font-mono, "Chivo Mono", ui-monospace, monospace);
  font-size: 11px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * .8);
  padding: 1px 6px;
  color: var(--muted-foreground);
}

.zw-envpill {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background: var(--muted);
  font-family: var(--font-mono, "Chivo Mono", ui-monospace, monospace);
  white-space: nowrap;
}

/* ---- content ------------------------------------------------------------ */

.zw-content {
  padding: 20px 24px 44px;
  width: 100%;
  max-width: 1400px;
}

.zw-content-plain {
  margin-inline: auto;
  max-width: 64rem;
}

/* ---- server detail: sticky header + grouped vertical rail (#162) -------- */

.zw-srvhead {
  position: sticky;
  top: 56px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.zw-lifebtns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.zw-srvlayout {
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 16px;
  align-items: start;
}

.zw-secbody {
  min-width: 0;
}

.zw-rail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.zw-railgrp {
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  padding: 11px 8px 4px;
  font-weight: 600;
}

.zw-railitem {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

.zw-railitem:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.zw-railitem.active {
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
}

.zw-railitem.active .zw-ico {
  color: var(--primary);
}

.zw-railitem-soon {
  cursor: default;
  opacity: .7;
}

.zw-railitem-soon:hover {
  background: transparent;
  color: var(--muted-foreground);
}

.zw-rail-soon {
  margin-left: auto;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 18%, var(--card));
  color: var(--primary);
}

/* Phone width: the rail collapses to a wrapping icon strip; content goes full-width. */

@media (max-width: 960px) {
  .zw-srvlayout {
    grid-template-columns: 1fr;
  }

  .zw-rail {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .zw-railgrp {
    width: 100%;
  }
}

/* ---- mod browser (#110 PR-C) -------------------------------------------- */

/* Preview / search result cards in a responsive grid. All text is untrusted Workshop data, escaped at render
   (trust-boundaries §8); the thumbnail src is constrained to http(s) at parse and loaded lazily. */

.zw-mb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.zw-mb-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.zw-mb-thumb {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: calc(var(--radius) - 2px);
  -o-object-fit: cover;
     object-fit: cover;
  background: var(--muted);
}

.zw-mb-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.zw-mb-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zw-mb-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

.zw-mb-meta {
  font-size: 11px;
  color: var(--muted-foreground);
}

.zw-mb-desc {
  font-size: 12px;
  color: var(--muted-foreground);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.zw-mb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.zw-mb-chip, .zw-mb-chip-bad {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  white-space: nowrap;
}

.zw-mb-chip-bad {
  border-color: color-mix(in oklab, var(--destructive) 55%, var(--border));
  color: var(--destructive);
  background: color-mix(in oklab, var(--destructive) 8%, var(--card));
}

.zw-mb-actions {
  margin-top: auto;
  padding-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* The small resolved-thumbnail in the installed inventory list (#110 enrichment). */

.zw-mb-thumb-sm {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  background: var(--muted);
}

/* ---- live config editor (#108 / F20c) ----------------------------------- */

/* Static-SSR schema editor: one big form of pre-filled controls grouped by section, each with an ⓘ
   comment-sourced tooltip. Search, dirty-highlight and raw-toggle are progressive enhancement in
   wwwroot/js/config-editor.js against the data-* hooks; the form posts and applies without a circuit. */

.zw-cfg-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.zw-cfg-searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 180px;
  max-width: 340px;
  padding: 6px 10px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
}

.zw-cfg-searchbox input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.zw-cfg-searchbox .zw-ico {
  width: 15px;
  height: 15px;
}

.zw-cfg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
}

.zw-cfg-tab {
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.zw-cfg-tab:hover {
  color: var(--foreground);
}

.zw-cfg-tab.active {
  color: var(--foreground);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.zw-cfg-sec {
  margin-top: 18px;
}

.zw-cfg-sec > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.zw-cfg-sec > summary::-webkit-details-marker {
  display: none;
}

.zw-cfg-sec > summary .zw-cfg-count {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted-foreground);
  background: var(--muted);
  border-radius: 999px;
  padding: 1px 8px;
}

.zw-cfg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px 16px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}

.zw-cfg-row.zw-cfg-hidden {
  display: none;
}

.zw-cfg-row.zw-cfg-changed {
  background: color-mix(in oklab, var(--primary) 8%, transparent);
  border-radius: var(--radius);
}

.zw-cfg-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.zw-cfg-name .zw-cfg-labeltext {
  font-size: 13.5px;
  font-weight: 500;
}

.zw-cfg-path {
  display: block;
  font-size: 10.5px;
  color: var(--muted-foreground);
  font-family: var(--font-mono, ui-monospace, monospace);
  margin-top: 1px;
}

.zw-cfg-changed-dot {
  color: var(--primary);
  font-size: 16px;
  line-height: 1;
  visibility: hidden;
}

.zw-cfg-row.zw-cfg-changed .zw-cfg-changed-dot {
  visibility: visible;
}

.zw-cfg-control {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: stretch;
}

.zw-cfg-control > input[type="number"], .zw-cfg-control > input[type="text"], .zw-cfg-control > select {
  width: 100%;
}

.zw-cfg-restart {
  font-size: 10px;
  color: var(--muted-foreground);
}

/* ⓘ info trigger + hover/focus popover (no JS, no circuit). */

.zw-cfg-info {
  flex: none;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 700;
  cursor: help;
}

.zw-cfg-info:hover, .zw-cfg-info:focus-visible {
  color: var(--foreground);
  border-color: var(--foreground);
  outline: none;
}

.zw-cfg-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  width: 280px;
  max-width: 70vw;
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55);
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  cursor: auto;
  display: none;
}

.zw-cfg-info:hover .zw-cfg-pop, .zw-cfg-info:focus-within .zw-cfg-pop {
  display: block;
}

.zw-cfg-pop .zw-cfg-pop-meta {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 11px;
}

.zw-cfg-pop .zw-cfg-pop-src {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-style: italic;
}

/* Plain SSR controls, styled to match Blueprint's inputs. The editor binds a dynamic, index-keyed row
   list (name="_editorForm.Rows[i].X"), which the expression-bound Bb inputs do not fit, so these are
   hand-styled native controls under static SSR (CLAUDE.md's "no SSR-safe fit" allowance). */

.zw-cfg-input {
  width: 100%;
  padding: 6px 9px;
  font-size: 13px;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
}

.zw-cfg-input:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 30%, transparent);
}

/* Boolean toggle — a styled native checkbox; unchecked simply posts nothing and binds to false because
   the row's hidden Path field materialises the element regardless. */

.zw-cfg-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.zw-cfg-toggle .zw-cfg-state {
  font-size: 12px;
  color: var(--muted-foreground);
  min-width: 24px;
}

.zw-cfg-switch {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  cursor: pointer;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--muted);
  border: 1px solid var(--border);
  transition: background .15s, border-color .15s;
}

.zw-cfg-switch::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--background);
  transition: transform .15s;
}

.zw-cfg-switch:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.zw-cfg-switch:checked::after {
  transform: translateX(16px);
  background: var(--primary-foreground);
}

.zw-cfg-switch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 30%, transparent);
}

.zw-cfg-raw {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.zw-cfg-raw > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zw-cfg-raw > summary::-webkit-details-marker {
  display: none;
}

.zw-cfg-raw pre {
  margin: 0;
  padding: 12px;
  border-top: 1px solid var(--border);
  overflow: auto;
  max-height: 460px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--foreground);
}

.zw-cfg-rawedit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 0;
  border-top: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  resize: vertical;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  line-height: 1.5;
}

.zw-cfg-rawedit:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--primary) 30%, transparent);
}

.zw-cfg-empty {
  padding: 20px 4px;
  color: var(--muted-foreground);
  font-size: 13px;
}

@media (max-width: 700px) {
  .zw-cfg-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---- mobile drawer ------------------------------------------------------ */

.zw-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 25;
  border: 0;
}

@media (max-width: 760px) {
  .zw-side {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: 0 0 60px rgba(0, 0, 0, .4);
  }

  html.zw-nav-open .zw-side {
    transform: translateX(0);
  }

  html.zw-nav-open .zw-scrim {
    display: block;
  }

  .zw-sb-trigger {
    display: grid;
  }

  .zw-envpill {
    display: none;
  }

  .zw-content {
    padding: 16px 16px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zw-side {
    transition: none;
  }
}

/* Self-hosted Chivo / Chivo Mono (OFL, see wwwroot/fonts/OFL.txt). No CDN in
   production (style-guide.md); latin subset, normal style, only the weights the
   UI uses. `font-display: swap` so text paints immediately on the fallback. */

@font-face {
  font-family: "Chivo";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("/fonts/chivo-400.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo";

  font-style: normal;

  font-weight: 600;

  font-display: swap;

  src: url("/fonts/chivo-600.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo";

  font-style: normal;

  font-weight: 800;

  font-display: swap;

  src: url("/fonts/chivo-800.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo";

  font-style: normal;

  font-weight: 900;

  font-display: swap;

  src: url("/fonts/chivo-900.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo Mono";

  font-style: normal;

  font-weight: 400;

  font-display: swap;

  src: url("/fonts/chivo-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo Mono";

  font-style: normal;

  font-weight: 500;

  font-display: swap;

  src: url("/fonts/chivo-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "Chivo Mono";

  font-style: normal;

  font-weight: 700;

  font-display: swap;

  src: url("/fonts/chivo-mono-700.woff2") format("woff2");
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Chivo, ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: Chivo Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* Dark-first ground; the whole app reads the tokens through Tailwind's
     bg-background / text-foreground (mapped in tailwind.config.js). */

html {
  background-color: var(--background);
  color: var(--foreground);
  font-family: Chivo, ui-sans-serif, system-ui, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

/* Tabular data (player counts, CPU/mem, uptime, versions) is Chivo Mono with
     lining tabular figures so digits stay in their columns (style-guide.md). */

.font-mono {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Blazor circuit-error bar (markup in Components/Layout/MainLayout.razor). The stock
     template ships this hide rule in its site CSS; F0 dropped it when it swapped to the
     Tailwind pipeline, leaving the bar visible on every page (issue #70). Hidden by
     default; the framework reveals it (inline display:block) on an unhandled circuit
     error. Styled with the "Signal" destructive tokens instead of the template yellow. */

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  background-color: var(--destructive);
  color: var(--destructive-foreground);
  box-shadow: 0 -1px 2px rgb(0 0 0 / 0.2);
}

#blazor-error-ui .reload {
  color: inherit;
  text-decoration: underline;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-9 {
  height: 2.25rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-10 {
  width: 2.5rem;
}

.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-9 {
  width: 2.25rem;
}

.w-\[108px\] {
  width: 108px;
}

.w-\[160px\] {
  width: 160px;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-40 {
  min-width: 10rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-xs {
  max-width: 20rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.cursor-pointer {
  cursor: pointer;
}

.list-decimal {
  list-style-type: decimal;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-\[auto\2c 1fr\] {
  grid-template-columns: auto 1fr;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}

.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}

.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}

.gap-y-1 {
  row-gap: 0.25rem;
}

.gap-y-2 {
  row-gap: 0.5rem;
}

.gap-y-4 {
  row-gap: 1rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-md {
  border-radius: var(--radius);
}

.rounded-sm {
  border-radius: calc(var(--radius) - 1px);
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.border-primary {
  border-color: var(--primary);
}

.border-status-busy {
  border-color: var(--status-busy);
}

.border-status-running {
  border-color: var(--status-running);
}

.border-status-stopped {
  border-color: var(--status-stopped);
}

.border-status-unhealthy {
  border-color: var(--status-unhealthy);
}

.border-status-unknown {
  border-color: var(--status-unknown);
}

.border-l-destructive {
  border-left-color: var(--destructive);
}

.border-l-primary {
  border-left-color: var(--primary);
}

.border-l-status-busy {
  border-left-color: var(--status-busy);
}

.border-l-status-running {
  border-left-color: var(--status-running);
}

.bg-background {
  background-color: var(--background);
}

.bg-card {
  background-color: var(--card);
}

.bg-destructive {
  background-color: var(--destructive);
}

.bg-meter-hot {
  background-color: var(--meter-hot);
}

.bg-meter-nominal {
  background-color: var(--meter-nominal);
}

.bg-meter-track {
  background-color: var(--meter-track);
}

.bg-meter-watch {
  background-color: var(--meter-watch);
}

.bg-muted {
  background-color: var(--muted);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-status-busy {
  background-color: var(--status-busy);
}

.bg-status-running {
  background-color: var(--status-running);
}

.bg-status-stopped {
  background-color: var(--status-stopped);
}

.bg-status-unhealthy {
  background-color: var(--status-unhealthy);
}

.bg-status-unknown {
  background-color: var(--status-unknown);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.pr-4 {
  padding-right: 1rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.align-top {
  vertical-align: top;
}

.font-mono {
  font-family: Chivo Mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-\[0\.7rem\] {
  font-size: 0.7rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-black {
  font-weight: 900;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.leading-relaxed {
  line-height: 1.625;
}

.tracking-\[0\.1em\] {
  letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}

.text-destructive {
  color: var(--destructive);
}

.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-status-busy {
  color: var(--status-busy);
}

.text-status-running {
  color: var(--status-running);
}

.text-status-unhealthy {
  color: var(--status-unhealthy);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.opacity-40 {
  opacity: 0.4;
}

.outline {
  outline-style: solid;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.last\:mb-0:last-child {
  margin-bottom: 0px;
}

.hover\:bg-muted:hover {
  background-color: var(--muted);
}

.hover\:text-foreground:hover {
  color: var(--foreground);
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:no-underline:hover {
  text-decoration-line: none;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:grid-cols-\[12rem_1fr\] {
    grid-template-columns: 12rem 1fr;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .sm\:items-end {
    align-items: flex-end;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-color-scheme: dark) {
  .dark\:text-amber-500 {
    --tw-text-opacity: 1;
    color: rgb(245 158 11 / var(--tw-text-opacity, 1));
  }
}
