:root{--nav:#10263f;--blue:#1769e0;--bg:#f4f7fb;--text:#172234;--muted:#68758a;--line:#dce3ec;--good:#0d8a57;--danger:#c43c3c}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text)}header{min-height:64px;background:var(--nav);color:white;display:flex;align-items:center;padding:0 4%;gap:30px;position:sticky;top:0;z-index:2}.brand{color:white;text-decoration:none;font-size:19px;font-weight:750}.brand small{color:#75b5ff;font-weight:600}nav{display:flex;gap:7px;flex:1}nav a{color:#dce9f7;text-decoration:none;padding:9px;border-radius:7px}nav a:hover{background:#ffffff16}.who{font-size:12px;color:#b8c9dc}.container{max-width:1240px;margin:28px auto;padding:0 20px;min-height:calc(100vh - 130px)}h1{font-size:27px;margin:0 0 20px}h2{font-size:19px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 2px 10px #22334a0a}.metric b{font-size:27px;display:block}.metric span,.muted{color:var(--muted)}.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.toolbar .field{min-width:150px}.split{display:grid;grid-template-columns:2fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:13px}.field label{font-weight:650;font-size:13px}input,select,textarea{border:1px solid #cbd5e1;border-radius:7px;padding:9px 10px;font:inherit;background:white;max-width:100%}textarea{min-height:85px}.btn{display:inline-block;border:0;border-radius:7px;background:var(--blue);color:#fff;padding:9px 13px;text-decoration:none;cursor:pointer;font-weight:650}.btn.gray{background:#66758a}.btn.red{background:var(--danger)}.btn.small{padding:5px 9px;font-size:12px}table{width:100%;border-collapse:collapse;background:white;border-radius:10px;overflow:hidden}th,td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:12px;text-transform:uppercase;color:var(--muted);background:#f8fafc}.badge{display:inline-block;border-radius:20px;background:#e7f0ff;color:#155ab8;padding:3px 9px;font-size:12px}.flash{padding:12px 15px;border-radius:8px;margin-bottom:18px;background:#e3f7ee;color:var(--good)}.flash.error{background:#feecec;color:var(--danger)}.login{max-width:420px;margin:10vh auto}.login .card{padding:30px}.actions{display:flex;gap:7px;flex-wrap:wrap}.code{font-family:ui-monospace,monospace;font-size:12px;word-break:break-all}.qr{width:150px;height:150px;border:1px solid var(--line)}footer{text-align:center;color:var(--muted);padding:15px}@media(max-width:800px){header{align-items:flex-start;flex-direction:column;gap:5px;padding:14px 20px}nav{flex-wrap:wrap}.who{display:none}.grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}table{display:block;overflow-x:auto}}@media print{header,footer,.no-print{display:none}.container{margin:0;max-width:none}.card{box-shadow:none}}
body,button,input,select,textarea{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Segoe UI,sans-serif}
