*{box-sizing:border-box}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:#1e2430;background:#f4f6fa}body{margin:0;min-width:320px;background:#f4f6fa}button,input{font:inherit}button{cursor:pointer}.auth-page{min-height:100vh;padding:30px 6vw 50px;background:radial-gradient(circle at 20% 15%,rgba(105,85,255,.14),transparent 34%),radial-gradient(circle at 85% 70%,rgba(41,173,255,.13),transparent 32%),#f6f7fb}.auth-brand,.sidebar-brand{display:flex;align-items:center;gap:12px}.auth-brand strong,.sidebar-brand strong{display:block;font-size:20px}.auth-brand span,.sidebar-brand span{display:block;margin-top:2px;font-size:12px;color:#8a91a3}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;color:#fff;font-weight:800;font-size:21px;background:linear-gradient(135deg,#7557ff,#3e8cff);box-shadow:0 10px 24px #5050e640}.brand-mark.small{width:36px;height:36px;border-radius:11px;font-size:17px}.auth-panel{min-height:calc(100vh - 100px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,480px);align-items:center;gap:70px;max-width:1200px;margin:auto}.auth-copy{padding-left:3vw}.eyebrow{display:inline-flex;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:700;color:#6651de;background:#eeebff}.auth-copy h1{margin:22px 0;font-size:clamp(38px,5vw,64px);line-height:1.14;letter-spacing:-2px}.auth-copy p{max-width:540px;color:#71798c;font-size:18px;line-height:1.9}.auth-features{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.auth-features span{padding:9px 14px;background:#fff;border:1px solid #e8eaf0;border-radius:999px;color:#596174;box-shadow:0 5px 18px #191f320a}.auth-card{padding:34px;border-radius:24px;background:#fffffff0;box-shadow:0 24px 70px #2226481f;border:1px solid rgba(255,255,255,.8)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:5px;border-radius:12px;background:#f2f3f7;margin-bottom:28px}.auth-tabs button{border:0;padding:11px;border-radius:9px;color:#7b8292;background:transparent}.auth-tabs button.active{color:#292e39;font-weight:700;background:#fff;box-shadow:0 3px 12px #21263c14}.auth-form,.security-form,.modal-form{display:grid;gap:18px}label{display:grid;gap:8px;color:#4a5160;font-size:14px;font-weight:600}input{width:100%;padding:13px 14px;border:1px solid #dfe3eb;border-radius:10px;outline:none;color:#202632;background:#fff;transition:.18s ease}input:focus{border-color:#7963ed;box-shadow:0 0 0 3px #7963ed1a}label small{color:#949aa8;font-weight:400}.button{min-height:43px;padding:10px 18px;border:0;border-radius:10px;font-weight:700}.button.primary{color:#fff;background:linear-gradient(135deg,#7156ef,#4d7cf4)}.button.secondary{color:#4a5160;background:#eef0f5}.button:disabled{opacity:.48;cursor:not-allowed}.error-box,.success-box{padding:11px 13px;border-radius:9px;font-size:13px}.error-box{color:#b42318;background:#fef3f2;border:1px solid #fee4e2}.success-box{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.app-shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;display:flex;flex-direction:column;padding:22px 16px;border-right:1px solid #e7e9ef;background:#fff}.sidebar-brand{padding:0 8px 22px}.sidebar nav{display:grid;gap:4px}.sidebar nav button{display:flex;gap:11px;align-items:center;padding:11px 13px;border:0;border-radius:10px;color:#616979;background:transparent;text-align:left}.sidebar nav button:hover{background:#f6f7fa}.sidebar nav button.active{color:#5d47dd;font-weight:700;background:#f1efff}.sidebar nav button span{width:20px;text-align:center}.nav-label{padding:22px 13px 7px;color:#aaaeba;font-size:11px;font-weight:700;letter-spacing:.8px}.sidebar-user{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:14px 8px 2px;border-top:1px solid #eceef3}.sidebar-user strong,.sidebar-user span{display:block}.sidebar-user span{margin-top:3px;color:#979daa;font-size:11px}.sidebar-user button{border:0;color:#9a6670;background:transparent}.main{grid-column:2;min-width:0}.topbar{height:72px;position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:0 34px;border-bottom:1px solid #e7e9ef;background:#ffffffe6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar>div:first-child{display:flex;align-items:center;gap:10px}.topbar>div:first-child span{color:#a0a5b1}.points-pill{display:flex;gap:8px;align-items:center;padding:8px 12px;border-radius:999px;color:#6b7280;background:#f3f4f7;font-size:13px}.points-pill strong{color:#4e44c5}.content{padding:32px 34px 60px;max-width:1500px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:26px}.page-title h2{margin:0 0 7px;font-size:28px}.page-title p,.panel-head p{margin:0;color:#858c9b}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{min-height:142px;padding:21px;border:1px solid #e7e9ef;border-radius:15px;background:#fff}.stat-card span{color:#7e8595;font-size:13px}.stat-card strong{display:block;margin:15px 0 7px;font-size:30px}.stat-card small{color:#a0a5b1}.panel{border:1px solid #e6e8ee;border-radius:15px;background:#fff;overflow:hidden}.panel.narrow{max-width:600px;padding:25px}.panel-head{padding:21px 23px;border-bottom:1px solid #eceef2}.panel-head h3{margin:0 0 5px}.empty-state{display:grid;justify-items:center;padding:70px 20px;text-align:center}.empty-icon{display:grid;width:54px;height:54px;place-items:center;margin-bottom:14px;border-radius:15px;color:#6c55e4;font-size:23px;background:#f0edff}.empty-state h3{margin:0 0 8px}.empty-state p{max-width:470px;margin:0;color:#9298a5;line-height:1.7}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:15px 17px;border-bottom:1px solid #eceef2;text-align:left;font-size:13px}th{color:#858b99;font-weight:600;background:#fafbfc}td{color:#4d5565}td strong,td small{display:block}td small{margin-top:4px;color:#9aa0ad}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px}.status.active{color:#067647;background:#ecfdf3}.status.disabled{color:#b42318;background:#fef3f2}.actions{display:flex;gap:5px}.actions button{padding:6px 9px;border:1px solid #e0e3e9;border-radius:7px;color:#596171;background:#fff}.actions button:hover{background:#f6f7fa}.actions button.danger{color:#b42318}.loading,.empty-small{padding:40px;color:#969daa;text-align:center}.modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#12161f66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:min(620px,95vw);max-height:80vh;overflow:auto;padding:24px;border-radius:17px;background:#fff;box-shadow:0 30px 80px #0d111d40}.modal.small{width:min(460px,95vw)}.modal-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.modal-head h3{margin:0 0 5px}.modal-head p{margin:0;color:#8c93a1}.icon-button{width:32px;height:32px;border:0;border-radius:8px;color:#6b7280;background:#f2f3f6;font-size:22px}.ledger-list{display:grid;gap:8px}.ledger-item{display:flex;justify-content:space-between;gap:20px;padding:13px;border:1px solid #e9ebf0;border-radius:10px}.ledger-item>div{display:grid;gap:4px}.ledger-item>div:last-child{justify-items:end}.ledger-item strong{font-size:17px}.ledger-item span,.ledger-item small{color:#89909f;font-size:12px}.boot{min-height:100vh;display:grid;place-items:center;color:#7b8291}@media (max-width: 900px){.auth-panel{grid-template-columns:1fr;padding-top:70px}.auth-copy{display:none}.auth-card{max-width:520px;width:100%;margin:auto}.app-shell{grid-template-columns:72px 1fr}.sidebar{width:72px;padding-left:10px;padding-right:10px}.sidebar-brand>div:last-child,.sidebar nav button{font-size:0}.sidebar nav button span{font-size:17px}.nav-label,.sidebar-user{display:none}.main{grid-column:2}.stats{grid-template-columns:1fr}}
