:root {
    color-scheme: light;
    --bg: #f4f7fb;
    --panel: #ffffff;
    --border: #dfe6ee;
    --text: #14213d;
    --muted: #65748b;
    --primary: #2563eb;
    --success: #16a34a;
    --danger: #dc2626;
}
* { box-sizing: border-box; }
body { margin:0; font-family: Inter, Segoe UI, Arial, sans-serif; background:var(--bg); color:var(--text); }
.page-shell { min-height:100vh; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:16px 24px; background:#0f172a; color:#fff; position:sticky; top:0; z-index:20; }
.brand-row { display:flex; align-items:center; gap:10px; }
.brand { font-size:1.15rem; font-weight:700; letter-spacing:0.02em; }
.nav-links { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.nav-links a { color:#cbd5e1; text-decoration:none; padding:6px 10px; border-radius:999px; }
.nav-links a:hover { background:rgba(255,255,255,.12); color:#fff; }
.app-shell { display:flex; min-height:calc(100vh - 72px); }
.sidebar { width:280px; background:#111827; color:#fff; padding:20px 16px; border-right:1px solid rgba(255,255,255,.08); }
.sidebar-section h4 { margin:0 0 12px 0; font-size:1rem; color:#cbd5e1; }
.sidebar-link { display:block; padding:10px 12px; margin-bottom:8px; border-radius:10px; color:#e5e7eb; text-decoration:none; }
.sidebar-link:hover { background:#1f2937; }
.content { padding:24px; flex:1; }
.main-content { background:linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%); }
.hero-card, .auth-card, .card { background:var(--panel); border:1px solid var(--border); border-radius:18px; padding:24px; box-shadow:0 14px 36px rgba(15,23,42,.06); }
.hero-card { display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:center; }
.hero-copy h1 { font-size:2rem; margin:8px 0; }
.badge { display:inline-block; background:#dbeafe; color:#1d4ed8; padding:6px 10px; border-radius:999px; font-size:.75rem; font-weight:600; }
.hero-actions { display:flex; gap:12px; margin-top:16px; }
.btn { display:inline-block; border:none; padding:10px 14px; border-radius:10px; cursor:pointer; text-decoration:none; font-weight:600; }
.btn-primary { background:var(--primary); color:white; }
.btn-secondary { background:#e2e8f0; color:#0f172a; }
.summary-grid { display:grid; gap:12px; grid-template-columns:repeat(2,1fr); }
.summary-card { background:linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%); padding:16px; border-radius:14px; border:1px solid var(--border); }
.summary-card h3 { margin:0 0 4px 0; font-size:1.3rem; }
.summary-card p { margin:0; color:var(--muted); }
.sidebar-toggle { display:none; border:none; background:#1f2937; color:#fff; padding:8px 10px; border-radius:10px; cursor:pointer; }
label { display:block; font-weight:600; margin-top:10px; }
input, select, textarea { width:100%; padding:10px 12px; margin-top:6px; border:1px solid var(--border); border-radius:10px; }
.error { color:var(--danger); }
.success { color:var(--success); }
.table { width:100%; border-collapse:collapse; margin-top:16px; }
.table th, .table td { border-bottom:1px solid var(--border); padding:10px; text-align:left; }
.table th { background:#f8fafc; }
@media (max-width: 900px) { .app-shell { display:block; } .sidebar { display:none; width:100%; border-right:none; border-bottom:1px solid rgba(255,255,255,.08); } .sidebar.open { display:block; } .sidebar-toggle { display:inline-flex; } .topbar { flex-direction:column; align-items:flex-start; gap:8px; } }
@media (max-width: 768px) { .hero-card { grid-template-columns:1fr; } .summary-grid { grid-template-columns:1fr; } }
