/* IoT platforma — konzole. Neutrální paleta, jedna akcentová barva, hustá data. */
:root {
  --bg: #f6f6f7; --surface: #ffffff; --surface-2: #fafafa; --hover: #f3f4f6;
  --border: #e5e7eb; --border-strong: #d1d5db;
  --text: #111827; --text-2: #374151; --muted: #6b7280; --faint: #9ca3af;
  --accent: #2f5bd3; --accent-hover: #2349b5; --accent-soft: #eef2fd; --accent-text: #2f5bd3;
  --ok: #15803d; --ok-soft: #ecfdf3; --warn: #b45309; --warn-soft: #fffbeb;
  --err: #b91c1c; --err-soft: #fef2f2; --off: #9ca3af;
  --code-bg: #f6f7f9;
  --radius: 6px; --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --surface: #16191f; --surface-2: #1b1f26; --hover: #1f242c;
    --border: #262b33; --border-strong: #353b45;
    --text: #e8eaed; --text-2: #c9cdd3; --muted: #8b929c; --faint: #6b727c;
    --accent: #6b8ff0; --accent-hover: #86a3f4; --accent-soft: #1c2440; --accent-text: #8ea8f5;
    --ok: #4ade80; --ok-soft: #12261a; --warn: #fbbf24; --warn-soft: #2b2312;
    --err: #f87171; --err-soft: #2d1616; --off: #5b626c;
    --code-bg: #12151a; --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; font: 14px/1.5 var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 20px; } h2 { font-size: 14px; } h3 { font-size: 13px; }
p { margin: 0 0 .75rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }

/* ---------- rozvržení ---------- */
.app { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 14px 10px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-weight: 600; }
.brand .logo { width: 22px; height: 22px; border-radius: 5px; background: var(--text); color: var(--surface); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: -.02em; }
.env { margin-left: auto; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 4px; background: var(--warn-soft); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); }
.env.prod { background: var(--err-soft); color: var(--err); }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius); color: var(--text-2); font-weight: 500; }
.nav a:hover { background: var(--hover); text-decoration: none; }
.nav a.active { background: var(--accent-soft); color: var(--accent-text); }
.nav svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.nav .sep { height: 1px; background: var(--border); margin: 8px 4px; }
.sidebar .foot { margin-top: auto; padding: 8px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sidebar .foot form { margin-left: auto; }
.main { min-width: 0; }
.content { max-width: 1280px; padding: 24px 32px 48px; }

.page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-head .titles { min-width: 0; }
.page-head .sub { color: var(--muted); margin-top: 2px; font-size: 13px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }

/* ---------- panely ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel + .panel, .stack > * + * { margin-top: 16px; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.panel-head .hint { color: var(--muted); font-size: 12.5px; }
.panel-head .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.panel-body { padding: 16px; }
.panel-body.tight { padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }

/* ---------- tabulky ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 8px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 9px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--hover); }
.table tr.dim td { color: var(--faint); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table td.wrap { white-space: normal; word-break: break-word; }
.table .row-link { color: var(--text); font-weight: 500; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--text-2); margin-bottom: 4px; }

/* ---------- stavy ---------- */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--off); margin-right: 6px; vertical-align: 1px; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.dot.err { background: var(--err); }
.dot.warn { background: var(--warn); }
.status { display: inline-flex; align-items: center; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface-2); white-space: nowrap; }
.tag.ok { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.tag.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.tag.err { color: var(--err); background: var(--err-soft); border-color: transparent; }
.tag.info { color: var(--accent-text); background: var(--accent-soft); border-color: transparent; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }

/* ---------- tlačítka a formuláře ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: 500 13px var(--sans); cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.btn:hover { background: var(--hover); }
.btn:disabled, .btn[aria-disabled=true] { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.danger { color: var(--err); }
.btn.danger:hover { background: var(--err-soft); border-color: color-mix(in srgb, var(--err) 40%, transparent); }
.btn.danger.solid { background: var(--err); border-color: var(--err); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--hover); }
.btn.sm { height: 26px; padding: 0 8px; font-size: 12.5px; }
.btn svg { width: 14px; height: 14px; }
.btn-group { display: inline-flex; }
.btn-group .btn { border-radius: 0; margin-left: -1px; }
.btn-group .btn:first-child { border-radius: var(--radius) 0 0 var(--radius); margin-left: 0; }
.btn-group .btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-text); cursor: pointer; }

.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.field > label, .label { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.field .help { font-size: 12px; color: var(--muted); }
.input, .select, .textarea { width: 100%; height: 32px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font: 13.5px var(--sans); }
.textarea { height: auto; min-height: 140px; padding: 8px 10px; font: 12.5px/1.5 var(--mono); resize: vertical; }
.input.mono { font-family: var(--mono); font-size: 12.5px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.select { padding-right: 28px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 8px; align-items: center; padding-top: 4px; }
.check { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.prefix { display: flex; } .prefix .addon { display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--border-strong); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--surface-2); color: var(--muted); font: 12.5px var(--mono); }
.prefix .input { border-radius: 0 var(--radius) var(--radius) 0; }
.toolbar { display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.toolbar .input, .toolbar .select { width: auto; height: 30px; }
.toolbar .search { width: 260px; }
.toolbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
form.inline { display: inline; }

/* ---------- záložky ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 8px 12px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--text); border-bottom-color: var(--text); }
.tabs .count { font-size: 11px; color: var(--muted); margin-left: 4px; }

/* ---------- klíč–hodnota ---------- */
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { margin: 0; min-width: 0; word-break: break-word; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); margin-bottom: 16px; }
.stat { padding: 12px 16px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 16px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .v.mono { font-size: 14px; }

/* ---------- kód a JSON ---------- */
pre.code { margin: 0; padding: 12px 14px; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--radius); font: 12.5px/1.55 var(--mono); overflow: auto; max-height: 420px; white-space: pre; }
pre.code.flush { border: 0; border-radius: 0; }
.j-key { color: var(--accent-text); } .j-str { color: var(--ok); } .j-num { color: var(--warn); } .j-lit { color: var(--err); }
.delta-yes { color: var(--warn); }

/* ---------- hlášky ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin-bottom: 16px; font-size: 13.5px; }
.flash.ok { border-color: color-mix(in srgb, var(--ok) 30%, transparent); background: var(--ok-soft); }
.flash.err { border-color: color-mix(in srgb, var(--err) 30%, transparent); background: var(--err-soft); color: var(--err); }
.flash.warn { border-color: color-mix(in srgb, var(--warn) 30%, transparent); background: var(--warn-soft); }
.flash .grow { flex: 1; }
.flash.inline { margin: 8px 0 0; padding: 6px 10px; font-size: 13px; }
.callout { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.callout h3 { margin-bottom: 4px; }

/* ---------- průběh ---------- */
.progress { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--hover); min-width: 120px; }
.progress span { display: block; height: 100%; }
.progress .p-ok { background: var(--ok); } .progress .p-err { background: var(--err); }
.progress .p-run { background: var(--accent); } .progress .p-skip { background: var(--border-strong); }

/* ---------- live MQTT ---------- */
.live { font: 12.5px/1.5 var(--mono); }
.live-row { display: grid; grid-template-columns: 92px 18px minmax(220px, 34%) 1fr; gap: 10px; padding: 5px 16px; border-bottom: 1px solid var(--border); cursor: pointer; align-items: baseline; }
.live-row:hover { background: var(--hover); }
.live-row .t { color: var(--muted); }
.live-row .d { font-weight: 700; }
.live-row .d.in { color: var(--ok); } .live-row .d.out { color: var(--accent-text); }
.live-row .tp { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-row .tp .seg-id { color: var(--accent-text); }
.live-row .pl { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-row .flags { color: var(--warn); font-size: 11px; margin-left: 6px; }
.live-row.open .pl { white-space: pre-wrap; overflow: visible; }
.live-body { max-height: calc(100vh - 260px); min-height: 300px; overflow: auto; }
.live-body.short { max-height: 480px; min-height: 160px; }
.live-new { animation: flashrow 1.2s ease-out; }
@keyframes flashrow { from { background: var(--accent-soft); } to { background: transparent; } }

/* ---------- přihlášení ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login .box { width: 100%; max-width: 360px; }
.login .brand { justify-content: center; padding-bottom: 20px; font-size: 16px; }

@media (max-width: 1000px) {
  .split, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
}
/* ---------- dashboard ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 14px; color: var(--text); box-shadow: var(--shadow); }
a.tile:hover { border-color: var(--border-strong); text-decoration: none; }
.tile .k { font-size: 12px; color: var(--muted); }
.tile .v { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .v .of { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.tile .note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tile .meter { height: 4px; border-radius: 2px; background: var(--hover); margin-top: 8px; overflow: hidden; }
.tile .meter span { display: block; height: 100%; background: var(--ok); border-radius: 2px; }
.tone-warn { color: var(--warn); } .tone-err { color: var(--err); }
.grid-dash { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-bottom: 16px; }
.grid-dash > .panel + .panel { margin-top: 0; }

.legend { gap: 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sw-a { background: var(--accent); } .sw-e { background: var(--err); }

.chart { position: relative; padding-left: 28px; }
.chart-max { position: absolute; left: 0; top: -2px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; border-bottom: 1px solid var(--border-strong);
        background: linear-gradient(to bottom, var(--border) 1px, transparent 1px) 0 0 / 100% 50%; }
.bars .col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bars .col:hover { background: var(--hover); }
.bars .bar { width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 2px; }
.bars .bar-err { background: var(--err); border-top: 2px solid var(--surface); }
.bars .col:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
        white-space: nowrap; background: var(--text); color: var(--surface); font-size: 12px; padding: 4px 8px; border-radius: 4px; z-index: 5; pointer-events: none; }
.xlabels { display: flex; gap: 3px; margin-top: 4px; }
.xlabels span { flex: 1; white-space: nowrap; overflow: visible; }

.hb-group { margin: 10px 0 4px; } .hb-group:first-child { margin-top: 0; }
.hb { display: grid; grid-template-columns: 110px 1fr 32px; gap: 10px; align-items: center; padding: 3px 0; }
.hb-label { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { height: 10px; background: var(--hover); border-radius: 3px; overflow: hidden; }
.hb-fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.hb-val { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }

@media (max-width: 1200px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .grid-dash { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- responzivita ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap > .table { min-width: 100%; }
.page-head { flex-wrap: wrap; }
.panel-head { flex-wrap: wrap; }

@media (max-width: 1300px) { .hide-lg { display: none; } }
@media (max-width: 1100px) {
  .hide-md { display: none; }
  /* Tablet a menší notebook: postranní lišta jen s ikonami */
  .app { grid-template-columns: 60px minmax(0, 1fr); }
  .sidebar { padding: 12px 8px; align-items: center; }
  .brand { padding: 4px 0 14px; flex-direction: column; gap: 6px; }
  .brand .brand-name { display: none; }
  .env { margin-left: 0; font-size: 10px; padding: 0 4px; }
  .nav a { justify-content: center; padding: 8px; }
  .nav a .lbl { display: none; }
  .nav svg { width: 18px; height: 18px; }
  .sidebar .foot { flex-direction: column; padding: 8px 0; gap: 6px; }
  .sidebar .foot .who, .sidebar .foot .rev { display: none; }
  .sidebar .foot form { margin-left: 0; }
  .content { padding: 20px 20px 40px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  /* Telefon: horní lišta, menu v jednom řádku s vodorovným posunem */
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { min-width: 0; position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center;
             padding: 8px 12px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .brand { flex-direction: row; padding: 0; gap: 8px; }
  .brand .brand-name { display: inline; font-size: 14px; }
  .env { font-size: 11px; padding: 1px 6px; }
  .sidebar .foot { order: 2; margin: 0 0 0 auto; padding: 0; flex-direction: row; gap: 8px; }
  .nav { order: 3; min-width: 0; width: calc(100% + 24px); margin: 6px -12px 0; padding: 0 8px 6px; flex-direction: row; flex-wrap: nowrap;
         overflow-x: auto; scrollbar-width: none; gap: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 6px 10px; }
  .nav a .lbl { display: inline; }
  .nav svg { width: 16px; height: 16px; }
  .nav .sep { display: none; }
  .content { padding: 14px 12px 32px; }
  h1 { font-size: 18px; }
  .page-head { gap: 10px; margin-bottom: 14px; }
  .page-head .actions { margin-left: 0; width: 100%; }
  .page-head .actions > * { flex: 1 1 auto; }
  .page-head .actions .btn-group { display: flex; width: 100%; }
  .page-head .actions .btn-group .btn { flex: 1; }
  .form-row { grid-template-columns: 1fr; }
  .toolbar { padding: 10px 12px; }
  .toolbar .search { width: 100%; }
  .toolbar .select { flex: 1 1 140px; }
  .toolbar .right { margin-left: 0; width: 100%; }
  .table th, .table td { padding: 8px 12px; }
  .panel-head { padding: 10px 12px; }
  .panel-body { padding: 12px; }
  .kv { grid-template-columns: 110px 1fr; }
  .flash { flex-wrap: wrap; }
  .live-viewer .toolbar .prefix { max-width: none !important; flex: 1 1 100%; }
  .live-viewer .toolbar .right { justify-content: space-between; }
  .live-row { grid-template-columns: 64px 14px 1fr; padding: 6px 12px; }
  .live-row .pl { grid-column: 1 / -1; }
  .live-body { max-height: calc(100vh - 300px); }
  .bars { height: 120px; gap: 2px; }
  .chart { padding-left: 20px; }
  .xlabels { gap: 2px; font-size: 11px; }
  .hb { grid-template-columns: 90px 1fr 28px; }
}
/* položky mřížek se smí zúžit pod šířku obsahu (dlouhé <select>, kód) */
.split > *, .grid-2 > *, .grid-3 > *, .grid-dash > *, .stack > * { min-width: 0; }
.select, .input, .textarea { max-width: 100%; }
.table .row-link, .table td.mono:not(.wrap), .table td > .mono { white-space: nowrap; }

/* ---------- shadow: tabulka parametrů ---------- */
.st td { vertical-align: middle; }
.st .st-ed { display: flex; gap: 6px; }
.st .st-ed .input, .st .st-ed .select { height: 28px; font-size: 12.5px; }
.st .st-ed .st-val, .st .st-ed .st-newval { flex: 1; min-width: 90px; }
.st .st-ed .st-type, .st .st-ed .st-newtype { width: 86px; flex: none; }
.st .st-newkey { height: 28px; font-size: 12.5px; }
.st tr.st-changed td { background: color-mix(in srgb, var(--accent) 6%, transparent); }
details.panel > summary { list-style: none; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel[open] > summary { border-bottom: 1px solid var(--border); }
details.panel:not([open]) > summary { border-bottom: 0; }
.sel-bar { display: inline-flex; gap: 8px; align-items: center; }
.table input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--accent); vertical-align: middle; }
