:root{--bg:#0f172a;--card:#111827;--border:#334155;--text:#e5e7eb;--muted:#94a3b8;--primary:#2563eb;--danger:#dc2626;--radius:16px}
:root[data-theme='light']{--bg:#f3f4f6;--card:#fff;--border:#d1d5db;--text:#111827;--muted:#6b7280}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,sans-serif}
.container-gp{max-width:1280px;margin:0 auto;padding:18px}
.navbar-gp{background:#111827;border-bottom:1px solid rgba(255,255,255,.08)}
:root[data-theme='light'] .navbar-gp{background:#3b82f6;border-bottom:1px solid var(--border)}
.navbar-gp .inner{max-width:1280px;margin:0 auto;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.brand{font-weight:700;text-decoration:none;color:var(--text)}
.nav-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.nav-links a,.theme-toggle{text-decoration:none;padding:8px 12px;border-radius:10px;color:var(--text);border:1px solid transparent;background:transparent;cursor:pointer}
.nav-links a:hover,.theme-toggle:hover{background:rgba(255,255,255,.08)}
.card{background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);padding:16px}
.page-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.page-header-title h1{margin:0;font-size:1.45rem}.page-header-title span{display:block;color:var(--muted);margin-top:4px}
.grid-4,.grid-2,.form-grid{display:grid;gap:12px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-2,.form-grid{grid-template-columns:repeat(2,1fr)}
.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:.82rem;color:var(--muted)}
input,select,textarea{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--text);box-sizing:border-box}
textarea{min-height:110px;resize:vertical}.form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;text-decoration:none;border:1px solid transparent;cursor:pointer}
.btn-sm{padding:8px 12px;font-size:.85rem}.btn-primary{background:var(--primary);color:#fff}.btn-secondary{background:#374151;color:#fff}.btn-outline-light{border-color:var(--border);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}
.table-responsive{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:10px 8px;border-bottom:1px solid var(--border);text-align:left}.small{font-size:.82rem;color:var(--muted)}
.badge{display:inline-flex;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:700;background:rgba(148,163,184,.15);color:#cbd5e1}
.alert-danger{background:rgba(220,38,38,.15);color:#fecaca;border:1px solid rgba(220,38,38,.35);padding:10px 12px;border-radius:10px}
@media (max-width:900px){.grid-4,.grid-2,.form-grid{grid-template-columns:1fr}}
