:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#17213a;background:#f3f6fc}*{box-sizing:border-box}body{margin:0}.hidden{display:none!important}button,input,select,textarea{font:inherit}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 10%,#dfeaff,transparent 35%),linear-gradient(145deg,#f8faff,#eaf1ff)}.login-card{width:390px;padding:42px;border:1px solid #e2e9f5;border-radius:24px;background:#fff;box-shadow:0 25px 70px rgba(34,72,136,.16);text-align:center}.logo{display:grid;place-items:center;width:62px;height:62px;margin:auto;border-radius:18px;background:linear-gradient(145deg,#1769e9,#073eae);color:#fff;font-size:28px;font-weight:800;box-shadow:0 14px 25px rgba(12,83,200,.25)}.logo.small{width:42px;height:42px;margin:0;border-radius:12px;font-size:20px}.login-card h1{margin:22px 0 8px}.login-card p{margin:0 0 24px;color:#8190a9}.login-card input{width:100%;height:48px;padding:0 14px;border:1px solid #dce5f3;border-radius:11px;outline:none}.login-card button,.create-form button,#create-button,#copy-keys{width:100%;height:46px;margin-top:12px;border:0;border-radius:11px;background:#0b60df;color:#fff;font-weight:700;cursor:pointer}.login-card span{display:block;min-height:20px;margin-top:10px;color:#d13c4e;font-size:12px}.app{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:230px;padding:24px 16px;background:#0b2552;color:#fff}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 30px}.brand div:last-child{display:flex;flex-direction:column}.brand span{font-size:11px;opacity:.58}.brand strong{font-size:17px}nav{display:flex;flex-direction:column;gap:7px}nav button,.logout{width:100%;padding:13px 15px;border:0;border-radius:10px;background:transparent;color:#9fb2d4;text-align:left;cursor:pointer}nav button:hover,nav button.active{background:#153665;color:#fff}.logout{position:absolute;left:16px;right:16px;bottom:22px;width:calc(100% - 32px)}main{grid-column:2;padding:28px 34px 45px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}header span{font-size:11px;color:#8492a9;letter-spacing:1px}header h1{margin:4px 0 0;font-size:25px}.secondary{padding:9px 16px;border:1px solid #dce5f3;border-radius:9px;background:#fff;color:#315171;cursor:pointer}.view{display:none}.view.active{display:block}.hero{display:flex;justify-content:space-between;align-items:center;padding:30px 35px;border-radius:20px;background:linear-gradient(125deg,#116be8,#073d9f);color:#fff;box-shadow:0 17px 42px rgba(10,76,174,.22)}.hero span{font-size:11px;opacity:.75;letter-spacing:1px}.hero h2{margin:9px 0 7px;font-size:27px}.hero p{margin:0;opacity:.7}.shield{display:grid;place-items:center;width:95px;height:95px;border:1px solid rgba(255,255,255,.2);border-radius:28px;background:rgba(255,255,255,.12);font-size:43px}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:17px 0}.stat{padding:18px;border:1px solid #e3eaf5;border-radius:14px;background:#fff;box-shadow:0 7px 25px rgba(30,64,116,.05)}.stat span{display:block;color:#8694aa;font-size:11px}.stat strong{display:block;margin-top:7px;color:#0a57cd;font-size:25px}.panel{padding:22px;border:1px solid #e1e9f5;border-radius:17px;background:#fff;box-shadow:0 8px 30px rgba(28,65,120,.06)}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel-head h3{margin:0 0 4px}.panel-head p{margin:0;color:#8d9aaf;font-size:12px}.create-form{display:grid;grid-template-columns:110px 130px 140px 1fr 120px;gap:12px;align-items:end}.create-form label{display:flex;flex-direction:column;gap:6px;color:#677892;font-size:11px}.create-form input,.filters input,.filters select{height:41px;padding:0 11px;border:1px solid #dce5f2;border-radius:9px;outline:none}.create-form button{height:41px;margin:0}.filters{display:flex;gap:8px}.filters input{width:230px}.filters select{width:110px}#create-button{width:auto;height:41px;margin:0;padding:0 15px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:13px 10px;border-bottom:1px solid #edf1f7;text-align:left;white-space:nowrap}th{color:#8290a5;font-size:10px;letter-spacing:.5px}td{color:#44536b}.badge{padding:4px 8px;border-radius:20px;background:#e5f8ef;color:#168158}.badge.disabled{background:#fff0e1;color:#bf6a00}.badge.revoked{background:#fee9ec;color:#b82f43}.machine{max-width:170px;overflow:hidden;text-overflow:ellipsis}.actions{display:flex;gap:5px}.actions button{padding:5px 8px;border:0;border-radius:6px;background:#edf3fc;color:#28558f;cursor:pointer;font-size:10px}dialog{width:min(600px,90vw);padding:25px;border:0;border-radius:18px;box-shadow:0 25px 80px rgba(14,37,77,.25)}dialog::backdrop{background:rgba(11,30,62,.45);backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h3{margin:0}.dialog-head button{border:0;background:none;font-size:25px;cursor:pointer}dialog p{color:#8a97aa;font-size:12px}dialog textarea{width:100%;height:220px;padding:12px;border:1px solid #dce5f2;border-radius:10px;resize:none;font-family:Consolas,monospace;font-size:12px}.toast{position:fixed;right:25px;bottom:25px;padding:12px 17px;border-radius:10px;background:#16233a;color:#fff;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:none}.toast.error{background:#c5374a}@media(max-width:1050px){.stats{grid-template-columns:repeat(3,1fr)}.create-form{grid-template-columns:repeat(2,1fr)}.app{grid-template-columns:200px 1fr}aside{width:200px}}
