:root {
    --bg: #0f172a;
    --card: #111827;
    --card-2: #1f2937;
    --text: #f9fafb;
    --muted: #9ca3af;
    --accent: #e11d48;
    --line: #374151;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #0b1220; color: var(--text); }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 20px; }
.topbar { background: linear-gradient(90deg, #111827, #1f2937); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar h1 { margin: 0; font-size: 26px; }
nav a { color: white; text-decoration: none; margin-left: 14px; font-weight: bold; }
nav a:hover { color: #fda4af; }
.muted { color: var(--muted); }
.card { background: rgba(17,24,39,0.95); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.22); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #111827; position: sticky; top: 0; z-index: 1; }
tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.badge { padding: 4px 8px; border-radius: 999px; background: #334155; display: inline-block; white-space: nowrap; }
.status-ok { background: #166534; }
.status-ko { background: #991b1b; }
.status-warn { background: #92400e; }
.btn, button { display: inline-block; background: var(--accent); color: white; text-decoration: none; border: none; border-radius: 10px; padding: 10px 14px; font-weight: bold; cursor: pointer; }
.btn.secondary { background: #374151; }
.btn.danger { background: #991b1b; }
.quick-links { display:flex; gap:10px; flex-wrap:wrap; }
input, select, textarea { width: 100%; background: #0f172a; color: white; border: 1px solid #475569; border-radius: 8px; padding: 10px; }
label { display:block; margin-bottom: 6px; font-weight: bold; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.notice.success { background: #14532d; }
.notice.error { background: #7f1d1d; }
.footer { color: var(--muted); padding-bottom: 40px; }
.hero h2, h3 { margin-top: 0; }
.big-number { font-size: 28px; font-weight: bold; }
.screen-mode { font-size: 18px; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kpi { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 14px; }
.kpi .value { font-size: 24px; font-weight: bold; }
.small { font-size: 12px; }
@media (max-width: 840px) { .topbar-inner { flex-direction: column; align-items: flex-start; } nav a { margin-left: 0; margin-right: 12px; display: inline-block; margin-top: 8px; } }
