
:root{
  --brand:#004a6b;
  --accent:#ef781a;
  --bg:#f6f8fa;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;background:var(--bg);color:#222}
.header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06);position:sticky;top:0;z-index:10}
.header .left{display:flex;align-items:center;gap:12px}
.header img{height:44px}
.header h1{font-size:18px;margin:0;color:var(--brand);letter-spacing:.3px}
.container{max-width:1100px;margin:24px auto;padding:0 16px}
.card{background:#fff;border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.06);padding:18px}
.grid{display:grid;grid-template-columns:1fr;gap:16px}
label{display:block;margin:10px 0 6px;font-weight:600}
input[type="email"],input[type="password"],input[type="text"]{width:100%;padding:12px 14px;border:1px solid #d0d7de;border-radius:10px;font-size:15px}
.btn{display:inline-block;border:none;background:var(--brand);color:#fff;padding:12px 16px;border-radius:12px;font-weight:600;cursor:pointer;text-decoration:none}
.btn.secondary{background:#eaeef2;color:#111}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.legend{font-size:14px;color:#444;margin-top:8px}
.kv{display:grid;grid-template-columns:200px 1fr;gap:10px 14px}
.kv div{padding:8px 10px;background:#f8fafc;border-radius:10px;border:1px solid #e3e8ef}
.table-wrap{overflow:auto;background:#fff;border-radius:14px;border:1px solid #e3e8ef}
.footer-note{font-size:13px;color:#555;margin-top:12px}
.flash{padding:10px 12px;border-radius:10px;border:1px solid #e3e8ef;background:#f3fbff}
.flash.error{background:#fff5f5;border-color:#ffd5d5}
.top-actions{display:flex;justify-content:flex-end;margin-bottom:10px}
.small{font-size:12px;color:#666}
hr{border:none;height:1px;background:#e9eef3;margin:16px 0}
a{color:var(--brand)}
.table-title{font-weight:700;margin:0 0 10px 0}
