/* Панель: простой рабочий вид. Системный шрифт, светлая или тёмная тема по системе, без украшений */
:root {
  --bg: #F6F7F9; --surface: #FFFFFF; --surface-2: #EEF1F5; --raised: #EEF1F5;
  --line: #E7EAEE; --line-2: #D3D8DF;
  --text: #16181D; --text-2: #3D434D; --muted: #6B7280; --dim: #CBD2DB;
  --accent: #2F6FEB; --accent-soft: #E8F0FE; --ok: #1A7F37; --warn: #9A6700; --bad: #CF222E;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: var(--sans);
  --ease: ease; --spring: ease;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317; --surface: #191C21; --surface-2: #22262D; --raised: #22262D;
    --line: #262A31; --line-2: #363C45;
    --text: #E8EAED; --text-2: #C3C7CE; --muted: #8B929C; --dim: #3F4650;
    --accent: #5B8DEF; --accent-soft: #1E2A40; --ok: #3FB950; --warn: #D29922; --bad: #F85149;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
h1, h2, p { margin: 0; }
h1 { font-size: 22px; font-weight: 600; }
h2 { font-size: 15px; font-weight: 600; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: .95em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent); opacity: .9; }
.btn-danger { color: var(--bad); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--c, var(--dim)); }
.c-ok { --c: var(--ok); } .c-warn { --c: var(--warn); } .c-bad { --c: var(--bad); } .c-dim { --c: var(--dim); }
.t-ok { color: var(--ok); } .t-warn { color: var(--warn); } .t-bad { color: var(--bad); } .t-accent { color: var(--accent); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.rise, .bar { animation: none; }
