:root{
	--bg:#f6f8fb; --card:#fff; --border:#e5e7eb; --text:#0f172a; --muted:#64748b;
	--primary:#2563eb; --primary-600:#1d4ed8; --slate:#334155; --shadow:0 8px 20px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.container{max-width:1100px;margin:0 auto;padding:18px}

/* Topbar ala Kaskui */
header{--grad-a:#2563eb; --grad-b:#7c3aed; background:linear-gradient(90deg,var(--grad-a),var(--grad-b));
	color:#fff;border-radius:16px;padding:12px 16px;margin:12px auto;max-width:1100px;
	display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 20px rgba(2,6,23,.12)}
header .brand{display:flex;align-items:center;gap:10px;font-weight:800}
header .brand .brand-logo{width:28px;height:28px;border-radius:8px;object-fit:cover;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.18)}
nav{display:flex;align-items:center;gap:8px}
nav a{color:#fff;text-decoration:none;font-weight:600;padding:8px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.14)}
nav a:hover{background:rgba(255,255,255,.22)}
nav a.active{background:#fff;color:#1f2937;box-shadow:0 6px 14px rgba(255,255,255,.25)}

/* Hamburger toggle */
.menu-toggle{margin-left:auto;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);border-radius:10px;width:42px;height:42px;display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}
.menu-toggle .mt-bar{width:20px;height:2px;background:#fff;border-radius:2px;transition:.25s}
.open .menu-toggle .mt-bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.open .menu-toggle .mt-bar:nth-child(2){opacity:0}
.open .menu-toggle .mt-bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:860px){
	header{flex-wrap:wrap}
	nav{display:none;width:100%;flex-wrap:wrap;margin-top:8px}
	header.open nav{display:flex}
	.menu-toggle{display:flex}
}

/* Cards & layout */
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;margin:14px 0;box-shadow:var(--shadow)}
.flex{display:flex;gap:12px}
.flex-col{display:flex;flex-direction:column;gap:8px}
.footer{padding:12px;text-align:center;color:var(--muted)}

/* Inputs & buttons */
label{font-weight:600;font-size:14px}
input,select{width:100%;margin:6px 0;border:1px solid var(--border);border-radius:10px;padding:9px 10px;font-size:14px;background:#fff;color:inherit}
button{background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer}
button:hover{filter:brightness(.98)}
button.secondary{background:#e5e7eb;border-color:#e5e7eb;color:#111827}

/* Link buttons */
.btn{display:inline-block;background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:10px;padding:8px 12px;font-weight:700;text-decoration:none}
.btn:hover{filter:brightness(.98)}
.btn.secondary{background:#e5e7eb;border-color:#e5e7eb;color:#111827}

/* Tables */
.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--border);padding:10px;text-align:left;font-size:14px}
.table th{background:#f1f5f9;font-weight:700}
.table tbody tr:nth-child(even){background:#f8fafc}

/* Badges */
.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#1e40af;font-size:12px;border:1px solid #e0e7ff}
.badge.gray{background:#f1f5f9;color:#334155;border-color:#e5e7eb}

/* Summary cards & progress */
.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.summary-card{border:1px solid var(--border);background:#fff;border-radius:14px;padding:12px;box-shadow:var(--shadow)}
.summary-card h4{margin:0 0 6px 0;color:#334155;font-size:13px;font-weight:700}
.summary-card strong{font-size:24px;color:#0f172a}
.progress{height:12px;background:#f1f5f9;border:1px solid #e5e7eb;border-radius:999px;overflow:hidden}
.progress .fill{height:100%;background:#16a34a}
