*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f8fafc;color:#111827}body{padding:20px}.hero{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:linear-gradient(135deg,#fff7ed,#faf5ff);border:1px solid #e5e7eb;border-radius:22px;padding:20px 22px;margin-bottom:16px;box-shadow:0 10px 30px rgba(15,23,42,.06)}.eyebrow{margin:0 0 4px;color:#7c3aed;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:900}.hero h1,.card h2{margin:0}.hero h1{font-size:26px}.muted{color:#64748b;font-size:13px;line-height:1.45}.layout{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 26px rgba(15,23,42,.06);padding:18px}.full{grid-column:1 / -1}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:1fr 160px;gap:12px}.wide{grid-column:1 / -1}label{font-size:12px;font-weight:800;color:#374151}input,select{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:10px 11px;font-size:14px;background:#fff;color:#111827;margin-top:6px}input:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.16)}button{border:0;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}.primary{width:100%;color:#fff;background:linear-gradient(90deg,#f59e0b,#ec4899,#8b5cf6);margin-top:14px}.secondary{background:#111827;color:#fff}.mini{padding:7px 10px;font-size:12px}.danger{background:#fee2e2;color:#991b1b}.ok{background:#dcfce7;color:#166534}.ghost{background:#f1f5f9;color:#334155}.generated-key{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;padding:12px;border:1px dashed #a78bfa;background:#f5f3ff;border-radius:14px}.generated-key span{font-size:12px;color:#6b21a8;font-weight:800}.generated-key strong{font-family:Consolas,monospace;font-size:16px;color:#111827}.rule-list{display:grid;gap:10px}.rule-list div{border:1px solid #e5e7eb;border-radius:14px;padding:11px;background:#f8fafc}.rule-list b{display:block;margin-bottom:4px}.rule-list span{display:block;color:#64748b;font-size:13px;line-height:1.4}.filter-row{min-width:240px}.table-wrap{overflow:auto;border:1px solid #e5e7eb;border-radius:14px;max-height:420px}table{width:100%;border-collapse:collapse;min-width:980px}th,td{padding:10px 11px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:13px;vertical-align:middle}th{position:sticky;top:0;background:#f8fafc;z-index:2;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#475569}tr:hover td{background:#fafafa}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.pill.owner{background:#fef3c7;color:#92400e}.pill.admin{background:#dbeafe;color:#1d4ed8}.pill.dealer{background:#ede9fe;color:#6d28d9}.pill.retailcustomer{background:#dcfce7;color:#166534}.pill.off{background:#fee2e2;color:#991b1b}.pill.on{background:#dcfce7;color:#166534}.center{text-align:center}.actions{display:flex;gap:6px;flex-wrap:wrap}.toast{position:fixed;right:18px;bottom:18px;background:#111827;color:white;border-radius:14px;padding:12px 14px;box-shadow:0 12px 30px rgba(0,0,0,.2);max-width:360px;font-size:13px;z-index:10}.session-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#94a3b8;margin-right:6px}.session-dot.on{background:#14b8a6}@media(max-width:860px){body{padding:12px}.hero,.card-head{display:block}.layout{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.filter-row{min-width:0;margin-top:10px}}


/* V2.7.2 password reset key UI */
.reset-card{border-color:#bae6fd;background:linear-gradient(180deg,#ffffff,#f0f9ff);}
.reset-primary{background:linear-gradient(90deg,#0ea5e9,#14b8a6,#22c55e)!important;}
.reset-key{background:#ecfeff!important;border-color:#67e8f9!important;}
.reset-key span{color:#0e7490!important;}
button[data-fill-reset]{background:#e0f2fe;color:#0369a1;}
