:root { color-scheme: dark; font-family: Inter, system-ui, Arial, sans-serif; background:#0b1020; color:#e8eefc; }
* { box-sizing: border-box; }
body { margin:0; }
a { color: inherit; text-decoration:none; }
.app-shell { min-height:100vh; display:flex; }
.sidebar { width:260px; background:#111831; border-right:1px solid #26304f; padding:24px; }
.brand { font-size:22px; font-weight:800; margin-bottom:28px; }
.brand span { display:block; font-size:12px; color:#8ea0c6; font-weight:500; margin-top:4px; }
nav { display:grid; gap:10px; }
nav a { padding:12px 14px; border:1px solid #26304f; border-radius:14px; background:#141d3a; }
nav a:hover { background:#1a2650; }
.content { flex:1; padding:32px; }
h1 { margin:0 0 8px; font-size:34px; }
p { color:#a8b6d8; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:24px; }
.card, .panel { background:#111831; border:1px solid #26304f; border-radius:18px; padding:18px; box-shadow:0 12px 32px rgba(0,0,0,.25); }
.card strong { display:block; font-size:18px; margin-bottom:8px; }
.card span { color:#a8b6d8; }
.row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
button, input, select { background:#172143; color:#e8eefc; border:1px solid #32406a; border-radius:12px; padding:10px 12px; }
button { cursor:pointer; font-weight:700; }
button:hover { background:#20305f; }
table { width:100%; border-collapse:collapse; margin-top:16px; }
th, td { text-align:left; padding:10px; border-bottom:1px solid #26304f; vertical-align:top; }
th { color:#8ea0c6; font-size:12px; text-transform:uppercase; }
.badge { display:inline-flex; padding:4px 8px; border-radius:999px; background:#20305f; color:#bcd0ff; font-size:12px; }
.ok { color:#78e08f; } .warn { color:#f6d365; } .bad { color:#ff7675; }
pre { white-space:pre-wrap; overflow:auto; background:#070b17; border:1px solid #26304f; border-radius:14px; padding:14px; }
@media(max-width:800px){ .app-shell{display:block}.sidebar{width:auto}.content{padding:18px} }
.space-between { justify-content: space-between; }
.compact-grid { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.compact-grid label { display:grid; gap:8px; color:#a8b6d8; }
.mode-box { display:grid; gap:12px; margin-top:14px; }
.mode-option { display:flex; gap:12px; align-items:flex-start; border:1px solid #32406a; background:#0f1730; border-radius:16px; padding:14px; cursor:pointer; }
.mode-option input { margin-top:4px; }
.mode-option strong { display:block; color:#e8eefc; }
.mode-option small { display:block; color:#a8b6d8; margin-top:4px; line-height:1.4; }
.mode-option.real-mode { border-color:#684044; }
.warning-box { margin-top:14px; border:1px solid #ff7675; background:rgba(255,118,117,.08); color:#ffd6d6; border-radius:14px; padding:12px; font-weight:700; }
.danger-panel { border-color:#3b2f4a; }
.wide-input { min-width: min(560px, 100%); }
small { color:#8ea0c6; }
label input, label select { width:100%; }
.mode-option:has(input:checked) { outline:2px solid #78e08f; background:#132047; }
.mode-option.real-mode:has(input:checked) { outline-color:#ff7675; }
