:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}.shell{display:flex;min-height:100vh}.sidebar{width:240px;background:#0f2e5a;color:#fff;padding:24px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;gap:12px;align-items:center;margin:2px 8px 30px}.brand-mark{width:38px;height:38px;background:#fff;color:#0f2e5a;border-radius:11px;display:grid;place-items:center;font-weight:800}.brand strong,.brand span{display:block}.brand span{font-size:12px;opacity:.65;margin-top:2px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{color:#d7e4f6;text-decoration:none;padding:11px 13px;border-radius:9px;font-size:14px}.sidebar nav a.active,.sidebar nav a:hover{background:#ffffff1f;color:#fff}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:3px;padding:10px;color:#a9bdd8;font-size:12px}.main{margin-left:240px;width:calc(100% - 240px)}header{height:74px;background:#fff;border-bottom:1px solid #e6ebf2;padding:13px 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:4}header h1{font-size:16px;margin:0}header p{font-size:12px;color:#8993a4;margin:4px 0 0}.avatar{width:36px;height:36px;border-radius:50%;background:#e7eef9;display:grid;place-items:center;color:#173865;font-size:12px;font-weight:800}.content{padding:28px;max-width:1500px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.page-head h2{margin:0;font-size:25px}.page-head p,.muted{margin:5px 0 0;color:#7c8798;font-size:14px}.btn{background:#1358a5;color:#fff;border:0;border-radius:8px;padding:10px 15px;font-weight:650;cursor:pointer;text-decoration:none;font-size:13px;display:inline-block}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.secondary{background:#fff;border:1px solid #d9e1ec;color:#354357}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.card,.table-card{background:#fff;border:1px solid #e4e9f0;border-radius:13px;box-shadow:0 1px 2px #10182808}.card{padding:19px}.metric span{font-size:12px;color:#7e8999;text-transform:uppercase;letter-spacing:.04em}.metric strong{display:block;font-size:27px;margin:8px 0 3px}.metric small{color:#8792a3}.metric.warn strong{color:#aa6a00}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.card h3{margin:0 0 15px;font-size:15px}.status-row{display:flex;justify-content:space-between;border-top:1px solid #edf0f5;padding:12px 0;font-size:13px}.status-row:first-of-type{border-top:0}.green{color:#168253}.flow{display:flex;gap:10px;align-items:center;margin-top:24px}.flow span{background:#eef4fc;color:#214a7e;border-radius:8px;padding:10px 14px;font-weight:700;font-size:13px}.flow i{color:#99a4b3}.toolbar,.account-new{display:flex;gap:10px;margin-bottom:14px}.toolbar input,.account-new input{flex:1}.toolbar select{width:170px}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #d8e0ea;border-radius:8px;background:#fff;color:#253247;outline:none}input:focus,select:focus{border-color:#6b9bd0;box-shadow:0 0 0 3px #edf4fb}.table-card{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{background:#f8fafc;color:#687587;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:12px 14px;border-bottom:1px solid #e8edf3}td{padding:13px 14px;border-bottom:1px solid #edf0f4;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfe}.pill,.badge{display:inline-block;border-radius:999px;padding:4px 8px;background:#eef2f7;color:#586679;font-size:11px;font-weight:700}.badge.ok{background:#e8f7ef;color:#18734a}.badge.warning{background:#fff2d8;color:#9c6200}.product-cell{display:flex;gap:10px;align-items:center;min-width:280px}.product-cell img{width:42px;height:42px;object-fit:contain;border:1px solid #edf0f3;border-radius:7px}.product-cell small{display:block;color:#8b95a4;margin-top:3px}.modal-bg{position:fixed;inset:0;background:#0c17287a;display:grid;place-items:center;z-index:20;padding:20px}.modal{background:#fff;border-radius:14px;padding:21px;width:min(560px,100%);box-shadow:0 18px 60px #0003}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal h3{margin:0}.x{border:0;background:transparent;font-size:24px;color:#7e8997;cursor:pointer}.modal label{display:block;font-size:12px;font-weight:700;color:#657185;margin:12px 0 0}.modal label input,.modal label select{margin-top:6px;font-weight:400}.cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.account-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.account-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.account-top .badge{margin-left:auto}.account-top h3{margin:0 0 3px}.account-top p{margin:0;color:#8b95a3;font-size:12px}.ml-logo{width:42px;height:42px;background:#ffe600;border-radius:10px;display:grid;place-items:center;font-weight:900;color:#2d3440}.account-actions{margin-top:12px}.account-actions .btn{width:100%;text-align:center}@media(max-width:1000px){.cards{grid-template-columns:1fr 1fr}.sidebar{width:200px}.main{margin-left:200px;width:calc(100% - 200px)}.grid2,.account-grid{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{position:static;width:100%;min-height:auto}.shell{display:block}.main{margin-left:0;width:100%}.sidebar nav{grid-template-columns:repeat(3,1fr)}.sidebar-bottom{display:none}.cards{grid-template-columns:1fr}.content{padding:18px}.cols{grid-template-columns:1fr}}
