:root{
  --bg:#f6f7fb; --card:#fff; --text:#111; --muted:#666; --border:#e6e7ee;
  --shadow:0 8px 28px rgba(0,0,0,.06); --radius:16px;
}
*{box-sizing:border-box}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}
.container{max-width:980px;margin:0 auto;padding:24px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.h2{font-size:16px;margin:0;color:#222;font-weight:800}
.muted{color:var(--muted);font-size:13px;line-height:1.45}
.card{background:var(--card);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.card + .card{margin-top:14px}
.h1{font-size:24px;margin:0 0 10px;font-weight:900}
.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#eef0ff;color:#2a2f90;font-size:12px;font-weight:800}
.flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.hr{height:1px;background:#eee;margin:16px 0;border:0}
.smallbtn{padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:#fff;cursor:pointer;font-weight:800;font-size:13px}
.row{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:860px){.row-2{grid-template-columns:1fr 1fr}}
.label{font-size:13px;color:#444;margin-bottom:6px;display:block;font-weight:800}
.input,.select,.textarea{
  width:100%;padding:12px 12px;border:1px solid var(--border);border-radius:12px;outline:none;background:#fff;font-size:14px
}
.input:focus,.select:focus,.textarea:focus{border-color:#9aa2ff;box-shadow:0 0 0 3px rgba(154,162,255,.2)}
.btn{width:100%;padding:12px 14px;border:0;border-radius:12px;background:#111;color:#fff;font-weight:900;cursor:pointer;font-size:14px}
.btn2{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:#111;font-weight:900;cursor:pointer;font-size:14px}
.err{color:#b00020;font-size:12px;margin-top:6px;font-weight:800}
.notice{padding:12px;background:#fafbff;border:1px solid #eef0ff;border-radius:14px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px 8px;border-bottom:1px solid #eee;font-size:13px;text-align:left;vertical-align:top}
.pill{padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;font-size:12px}
