:root { color-scheme: light; --line: #dee2e6; --muted: #6c757d; --text: #212529; --primary: #0d6efd; }
* { box-sizing: border-box; }
body { margin: 0; background: #f8f9fa; color: var(--text); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.bar { min-height: 52px; background: var(--text); color: #fff; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; padding: 0 24px; }
.bar b { font-size: 16px; }
.bar a { color: #adb5bd; text-decoration: none; }
.bar a.on { color: #fff; }
.bar .link { background: none; border: 0; color: #adb5bd; cursor: pointer; font: inherit; padding: 0; min-height: 0; }
.grow { flex-grow: 1; }
main { max-width: 1300px; margin: 0 auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
h1 { margin: 0; font-size: 24px; }
h2 { margin: 0 0 8px; font-size: 15px; }
.head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.head h2 { margin: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.card.flush { padding: 0; overflow-x: auto; }
.card.login { max-width: 380px; margin: 60px auto; width: 100%; }
.narrow-card { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.narrow { max-width: 460px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #495057; }
input, textarea { border: 1px solid #ced4da; border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--text); min-height: 36px; width: 100%; }
.row input { width: auto; }
button, .button { min-height: 32px; padding: 0 12px; border: 1px solid #ced4da; background: #fff; color: #343a40; border-radius: 6px; font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
button.primary, .button.primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
button.danger { color: #b02a37; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 12px; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid #eef0f2; }
tr:last-child td { border-bottom: 0; }
tr.selected { background: #e7f1ff; }
td.end { text-align: right; }
td a { color: #0a58ca; text-decoration: none; font-weight: 600; }
.mono { font-family: ui-monospace, monospace; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; margin: 10px 0 0; }
.head .hint { margin: 0; font-size: 12px; }
.error { color: #b02a37; margin: 0; }
.badge { font-size: 12px; font-weight: 600; color: #495057; background: #e9ecef; border-radius: 10px; padding: 2px 9px; white-space: nowrap; }
.badge.ok { color: #146c43; background: #d1e7dd; }
.badge.warn { color: #664d03; background: #fff3cd; }
dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 12px; margin: 0; }
dt { color: #495057; }
dd { margin: 0; overflow-wrap: anywhere; }
code { font-size: 13px; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  main { padding: 16px; }
  .bar { padding: 8px 16px; }
}
