:root { --bg:#0b1020; --card:#111936; --muted:#93a4c7; --text:#eaf0ff; --line:#22305c; }
*{ box-sizing:border-box; font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu; }
body{ margin:0; background:linear-gradient(180deg,#070a15, #0b1020 30%, #070a15); color:var(--text); }
.wrap{ max-width:1200px; margin:0 auto; padding:18px; }
.header{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; }
h1{ margin:0; font-size:22px; }
.sub{ color:var(--muted); font-size:13px; margin-top:4px; }
.controls{ display:flex; gap:10px; align-items:center; }
select, input, button{ padding:8px 10px; border-radius:10px; border:1px solid var(--line); background:#0c1430; color:var(--text); }
button{ cursor:pointer; }
.grid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width: 920px){ .grid{ grid-template-columns:1fr 1fr; } .kpis{ grid-column:1/-1; } }
.card{ background:rgba(17,25,54,0.9); border:1px solid rgba(34,48,92,0.7); border-radius:16px; padding:16px; box-shadow:0 12px 40px rgba(0,0,0,0.25); }
.card h2{ margin:0 0 12px; font-size:16px; }
.kpiGrid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media (min-width: 920px){ .kpiGrid{ grid-template-columns:repeat(6,1fr); } }
.kpi{ padding:10px; border-radius:14px; background:rgba(12,20,48,0.9); border:1px solid rgba(34,48,92,0.6); }
.kpi .k{ color:var(--muted); font-size:12px; }
.kpi .v{ font-size:16px; margin-top:6px; font-weight:600; }
.muted{ color:var(--muted); font-size:12px; margin-top:10px; }
.twoCol{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width: 920px){ .twoCol{ grid-template-columns:1fr 1fr; } }
.formRow{ display:grid; grid-template-columns:180px 1fr; gap:10px; align-items:center; margin-bottom:10px; }
pre{ white-space:pre-wrap; background:#0c1430; border:1px solid var(--line); padding:10px; border-radius:12px; overflow:auto; max-height:260px; }
table{ width:100%; border-collapse:collapse; }
th,td{ padding:8px; border-bottom:1px solid rgba(34,48,92,0.6); font-size:13px; text-align:left; }
th{ color:var(--muted); font-weight:600; }
hr{ border:0; border-top:1px solid rgba(34,48,92,0.7); margin:16px 0; }
