/* Paleta = web a appka PSippr (sites/psippr.org/style.css, Theme.kt): černá, žlutý akcent. */
:root {
  --bg: #000000;
  --surface: #141414;
  --accent: #f5c518;
  --text: #e0e0e0;
  --muted: #757575;
  --line: #262626;
  --ok: #4caf50;
  --bad: #e53935;
  --warn: #f5c518;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid var(--accent); background: var(--surface); position: sticky; top: 0; z-index: 5; }
.brand { font-size: 22px; font-weight: 700; color: var(--accent); }
.dim { color: var(--muted); font-weight: 400; }
main { max-width: 1200px; margin: 0 auto; padding: 20px 16px 60px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.card.narrow { max-width: 420px; margin: 60px auto; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
h2 { margin: 0 0 8px; font-size: 18px; color: var(--accent); }
form { display: flex; gap: 8px; }
input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }
button { padding: 8px 14px; border-radius: 8px; border: 0; background: var(--accent); color: #000; font: inherit; font-weight: 600; cursor: pointer; }
button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.small { padding: 4px 10px; font-size: 13px; }
button:disabled { opacity: .5; cursor: wait; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.tile .k { color: var(--muted); font-size: 13px; }
.tile .v { font-size: 20px; font-weight: 700; }
.bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td.actions { text-align: right; }
td.actions button { margin-left: 6px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }
pre { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 480px; overflow: auto; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--accent); padding: 10px 16px; border-radius: 8px; max-width: 90vw; }
code { color: var(--accent); }
