:root {
  --brand:#0B3D91; --bg:#f7f9fc; --card:#ffffff; --text:#1f2937; --muted:#6b7280; --border:#e5e7eb;
}
*{box-sizing:border-box} html,body{height:100%}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial;color:var(--text);background:linear-gradient(180deg,#f8fbff,#fff)}
.header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:10}
.header h1{margin:0;font-size:18px}.header small{color:var(--muted)}
.container{max-width:980px;margin:0 auto;padding:16px;display:grid;gap:16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;box-shadow:0 10px 20px rgba(0,0,0,0.04);padding:16px}
.grid{display:grid;gap:12px}
@media(min-width:900px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:1fr 1fr 1fr}}
.label{font-size:12px;color:var(--muted);margin-bottom:6px}
.row{display:flex;gap:8px;align-items:center}
input,select,button{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;font-size:14px}
button{background:var(--brand);color:#fff;border:none;cursor:pointer}
button.secondary{background:#eef2ff;color:#1f2a44}
button.ghost{background:#f3f4f6;color:#111827}
button:disabled{opacity:.5} h2{margin:0 0 8px 0;font-size:16px}
.kv{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #eef1f5}
.kv:last-child{border-bottom:none}.kv .k{color:var(--muted)}
.table{overflow:auto;border:1px solid var(--border);border-radius:12px}
table{border-collapse:collapse;width:100%} th,td{border-bottom:1px solid var(--border);padding:10px 12px;text-align:left;font-size:13px}
thead th{background:#f8fafc;font-weight:600}.footer{padding:10px 16px;color:var(--muted);font-size:12px;text-align:center}
.quick .chip{padding:6px 10px;border-radius:999px;border:1px solid var(--border);cursor:pointer} .quick{display:flex;flex-wrap:wrap;gap:8px}