
:root {
  --bg: #0f1115;
  --panel: #161a22;
  --text: #e8ecf1;
  --muted: #b6c0ce;
  --brand: #4da3ff;
  --accent: #a6ff4d;
  --danger: #ff6b6b;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji"; }

.container { width: min(1100px, 92%); margin: 0 auto; padding: 20px 0; }

.site-header { position: sticky; top:0; background: rgba(15,17,21,.8); backdrop-filter: blur(8px); border-bottom: 1px solid #232834; z-index:10; }
.site-header .brand { font-weight: 700; letter-spacing:.3px; color: var(--text); text-decoration:none; margin-right: 24px; }
.nav { list-style: none; display:flex; gap: 10px; margin:0; padding:0; flex-wrap:wrap; }
.nav a { display:block; padding:10px 12px; border-radius: 10px; text-decoration:none; color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--text); background: #1e2431; }

.hero { padding: 56px 0 18px; }
.hero .panel { display:grid; gap: 18px; background: var(--panel); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.hero p.lead { font-size: 1.125rem; color: var(--muted); margin:0 0 8px; }
.cta { display:flex; gap: 12px; flex-wrap:wrap; margin-top: 8px; }
.btn { border: 0; border-radius: 12px; padding: 12px 16px; background: var(--brand); color: #0b0f16; font-weight: 700; text-decoration:none; }
.btn.secondary { background: #262e3e; color: var(--text); }

.grid { display:grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid #2a3142; padding: 10px 8px; text-align:left; }
.table th { color: var(--muted); font-weight:600; }

.kpi { display:flex; gap: 16px; flex-wrap:wrap; margin: 18px 0; }
.kpi .card { text-align:center; }

.notice { padding: 12px 14px; background: #1e2431; border: 1px solid #2a3142; border-radius: 12px; color: var(--muted); }

.site-footer { border-top: 1px solid #232834; margin-top: 42px; padding: 30px 0; }
.site-footer .small { font-size: 0.9rem; display:flex; gap: 12px; align-items:center; justify-content: space-between; flex-wrap:wrap; }
.site-footer a { color: var(--muted); text-decoration:none; }
.site-footer a:hover { color: var(--text); }

form .row { display:grid; gap:12px; grid-template-columns: 1fr 1fr; }
form .row > * { width: 100%; }
label { display:block; font-weight:600; margin-top: 10px; }
input, textarea, select { width: 100%; background:#0e131b; color: var(--text); border:1px solid #2a3142; padding: 10px 12px; border-radius: 10px; }
textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 16px; display:flex; gap: 10px; }
@media (max-width: 700px) { form .row { grid-template-columns: 1fr; } }
