:root{font-family:Inter,system-ui,sans-serif;color:#e9edf5;background:#0b0d13;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:0;border-radius:8px;background:#7775f5;color:#fff;cursor:pointer;font-weight:600}button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#252938;color:#e9edf5}input{background:#151923;border:1px solid #303544;color:#fff;border-radius:8px;padding:12px;width:100%;outline:none}input:focus{border-color:#7775f5}label{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#a5adbd}p,.muted{color:#929bad}small{font-size:12px;color:#929bad}h1{font-size:30px;margin:10px 0}h2{font-size:19px;margin:0 0 12px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-box{width:100%;max-width:400px;padding:36px;background:#12151e;border:1px solid #272b39;border-radius:16px;display:flex;flex-direction:column;gap:18px}.login-box h1{margin:0}.login-box p{margin:0 0 10px}.logo{width:42px;height:42px;display:grid;place-items:center;background:#7775f5;border-radius:10px;font-size:25px;font-weight:800}.layout{display:flex;min-height:100vh}.sidebar{width:250px;background:#11141c;border-right:1px solid #292d39;padding:24px 16px;display:flex;flex-direction:column;gap:24px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;padding:0 10px}.brand h2{font-size:17px;margin:0}.nav-item{padding:13px;display:flex;gap:12px;align-items:center;color:#a0aabd;border-radius:8px}.nav-item.active{background:#24243d;color:#adacff}.sidebar-bottom{margin-top:auto;overflow-wrap:anywhere}.sidebar-bottom p{margin-bottom:4px}.sidebar-bottom button{margin-top:18px}main{max-width:1400px;width:100%;margin:0 auto;padding:40px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:35px}header p{margin:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.card,.panel{background:#141821;border:1px solid #292e3c;border-radius:12px;padding:24px}.card h2{font-size:29px;margin:18px 0}.card h2 small{font-weight:400}.card p{font-size:12px;margin-bottom:0}.bar{height:7px;border-radius:8px;background:#303443;overflow:hidden}.bar div{height:100%;background:#7775f5;border-radius:inherit}.panel{margin-bottom:24px}.panel>p{margin-top:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;margin-top:25px;text-align:left}th{font-size:11px;color:#929bad;font-weight:600}th,td{padding:16px 12px;border-bottom:1px solid #292e3c}td small,.client-row small{display:block;margin-top:6px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.client-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #292e3c}.row-actions{display:flex;gap:10px;align-items:center}.row-actions input{max-width:170px}.overlay{position:fixed;inset:0;background:#000a;display:grid;place-items:center;padding:20px}.modal{width:100%;max-width:430px;background:#191d29;border:1px solid #34394a;border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:18px}.modal .row-actions{justify-content:flex-end}.error,.notice{padding:13px;border-radius:8px;margin-bottom:15px}.error{background:#44202a;color:#ffb0bd}.notice{background:#1b4036;color:#a6e9cb}@media(max-width:900px){.sidebar{width:190px}main{padding:24px}.stats{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.layout{flex-direction:column}.sidebar{width:100%}.sidebar-bottom{margin-top:0}.form-grid{grid-template-columns:1fr}header,.client-row{align-items:stretch;flex-direction:column}}
