
:root{
  --bg:#f8fafc; --card:#ffffff; --ink:#0f172a; --muted:#475569;
  --primary:#2563eb; --ring:0 0 0 3px rgba(37,99,235,.25);
  --radius:16px; --shadow:0 8px 30px rgba(2,6,23,.08);
}
*{box-sizing:border-box} html,body{margin:0;padding:0}
body{font-family:system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}
.container{max-width:1200px;margin:24px auto;padding:16px}
header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}
h1{font-size:clamp(20px,3vw,28px);margin:0}
.searchbar{display:flex;gap:8px;flex-wrap:wrap}
input[type="search"]{flex:1;min-width:220px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;outline:none}
select{padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
button{padding:10px 14px;border:0;border-radius:12px;background:var(--primary);color:#fff;cursor:pointer}
button:focus{outline:var(--ring)}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.tab{padding:8px 12px;border-radius:999px;background:#e2e8f0;color:#0f172a;cursor:pointer;font-weight:600}
.tab.active{background:var(--primary);color:#fff}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;overflow:auto}
.table{width:100%;border-collapse:separate;border-spacing:0 8px;min-width:800px}
.table thead th{font-size:12px;text-transform:uppercase;color:var(--muted);text-align:left;padding:8px 10px;white-space:nowrap}
.table tbody td{padding:12px 10px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;vertical-align:top}
.table tbody tr td:first-child{border-left:1px solid #e2e8f0;border-top-left-radius:12px;border-bottom-left-radius:12px}
.table tbody tr td:last-child{border-right:1px solid #e2e8f0;border-top-right-radius:12px;border-bottom-right-radius:12px}
.badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px}
.footer{margin-top:16px;color:var(--muted);font-size:12px;text-align:center}
@media print{
  header,.tabs,.searchbar,.footer{display:none}
  .container{max-width:100%;margin:0;padding:0}
  .card{box-shadow:none;border-radius:0}
  body{background:#fff}
}
