*{box-sizing:border-box}body{color:#0f172a;background:#f4f7fb;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.shell{grid-template-columns:270px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;background:#071526;height:100vh;padding:22px 16px;position:sticky;top:0;overflow:auto}.logo{border-bottom:1px solid #1e3550;padding:6px 10px 20px}.logo b{letter-spacing:.06em;font-size:28px;display:block}.logo span{color:#8eabc9;letter-spacing:.18em;font-size:11px}.profile{background:#0b1f35;border:1px solid #1b3450;border-radius:14px;margin:18px 8px;padding:12px}.profile strong,.profile small{display:block}.profile small{color:#8eabc9;margin-top:4px}.menuGroup{margin:18px 0}.menuGroup label{letter-spacing:.16em;color:#6f90b3;margin:8px 10px;font-size:10px;display:block}.menuGroup button,.sideBottom button{color:#cfe0f2;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;width:100%;margin:2px 0;padding:10px 12px;font-weight:650}.menuGroup button:hover,.menuGroup button.active{color:#fff;background:#12345a}.sideBottom{border-top:1px solid #1e3550;padding-top:12px}.content{min-width:0;padding:26px 32px}.top{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.top h1{margin:0;font-size:30px}.top p{color:#64748b;margin:6px 0 0}.topRight{color:#64748b;align-items:center;gap:10px;font-size:12px;display:flex}.topRight span{background:#fff;border:1px solid #dbe4ef;border-radius:999px;padding:8px 10px}.statusDot{color:#16a34a!important}.notice{color:#155e75;background:#ecfeff;border:1px solid #a5f3fc;border-radius:12px;margin-bottom:16px;padding:12px 14px}.cards{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.kpi,.panel{background:#fff;border:1px solid #e1e8f0;border-radius:18px;box-shadow:0 10px 30px #0f172a0d}.kpi{padding:18px}.kpi span{color:#64748b;font-size:12px;font-weight:700;display:block}.kpi b{margin-top:8px;font-size:24px;display:block}.kpi small{color:#94a3b8}.quick{gap:10px;margin:18px 0;display:flex}.quick button,.primary{color:#fff;cursor:pointer;background:#0b62d6;border:0;border-radius:11px;padding:11px 16px;font-weight:750}.grid2{grid-template-columns:1fr 1fr;gap:16px;display:grid}.panel{margin-bottom:16px;padding:18px}.panelHead h2{margin:0 0 14px;font-size:18px}.form{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px;display:grid}.form input,.field input,.field select{background:#fff;border:1px solid #cad6e3;border-radius:10px;width:100%;padding:10px}.form button{color:#fff;background:#0b62d6;border:0;border-radius:10px;font-weight:750}.tablewrap{border:1px solid #e5ebf2;border-radius:12px;overflow:auto}table{border-collapse:collapse;background:#fff;width:100%}th{text-transform:uppercase;letter-spacing:.06em;color:#64748b;text-align:left;white-space:nowrap;background:#f8fafc;padding:10px;font-size:10px}td{white-space:nowrap;border-top:1px solid #edf1f5;padding:10px;font-size:12px}.empty{text-align:center;color:#94a3b8}.mini{color:#fff;cursor:pointer;background:#0b62d6;border:0;border-radius:8px;margin-right:4px;padding:7px 9px;font-weight:700}.mini.ghost{color:#27425f;background:#e7eef7}.mini.danger{color:#991b1b;background:#fee2e2}.wizard .steps{color:#d9e9f8;background:#071526;border-radius:14px;margin-bottom:16px;padding:14px;font-size:13px}.formGrid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.field span{color:#64748b;margin:0 0 5px;font-size:11px;font-weight:700;display:block}.big{margin-top:16px;padding:13px 20px;font-size:15px}.clean{margin:0;padding-left:20px;line-height:1.8}.loginPage{background:radial-gradient(circle at 20% 20%,#123b68,#071526 55%);place-items:center;min-height:100vh;display:grid}.loginCard{text-align:center;background:#fff;border-radius:24px;width:420px;padding:34px;box-shadow:0 30px 80px #0008}.brandMark{color:#fff;background:#0b62d6;border-radius:16px;place-items:center;width:54px;height:54px;margin:0 auto 14px;font-size:30px;font-weight:900;display:grid}.loginCard h1{margin:0}.loginCard p{color:#64748b}.loginCard input{border:1px solid #cad6e3;border-radius:11px;width:100%;margin:7px 0;padding:12px}.loginCard button{color:#fff;background:#071526;border:0;border-radius:11px;width:100%;margin:8px 0;padding:12px;font-weight:800}.loginCard small{color:#64748b}.error{color:#991b1b;background:#fee2e2;border-radius:9px;margin-top:8px;padding:9px}@media (width<=1200px){.cards{grid-template-columns:repeat(2,1fr)}.form,.formGrid,.grid2{grid-template-columns:1fr 1fr}}@media (width<=850px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:relative}.cards,.form,.formGrid,.grid2{grid-template-columns:1fr}.content{padding:18px}.top{flex-direction:column;align-items:flex-start;gap:10px}}.panel,.grid2,.tablewrap{min-width:0}.tablewrap{scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow:auto hidden}.tablewrap::-webkit-scrollbar{height:10px}.tablewrap::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}.tablewrap::-webkit-scrollbar-thumb{background:#b7c5d6;border-radius:999px}.tablewrap::-webkit-scrollbar-thumb:hover{background:#8fa3ba}.crudField{flex-direction:column;min-width:0;display:flex}.crudField span{color:#64748b;margin:0 0 5px;font-size:11px;font-weight:750;line-height:1.2;display:block}.crudField input{width:100%;min-height:42px}.formSave{align-self:end;min-height:42px}td,th{vertical-align:middle}.panelHead{justify-content:space-between;align-items:center;gap:12px;display:flex}@media (width<=1500px){.content{padding:24px}}.primary:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.15)}.statusBadge{color:#334155;background:#e2e8f0;border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:800;line-height:1;display:inline-flex}.status-issued,.status-active,.status-approved,.status-paid,.status-reconciled{color:#166534;background:#dcfce7}.status-open,.status-pending,.status-draft{color:#92400e;background:#fef3c7}.tablewrap{width:100%;max-width:100%;overflow-x:auto}.tablewrap table{min-width:100%}.statusBadge{white-space:nowrap}.mini:disabled,.primary:disabled{opacity:.45;cursor:not-allowed}td{max-width:420px}td:last-child{white-space:nowrap}.crudField select{color:#0f172a;background:#fff;border:1px solid #cad6e3;border-radius:10px;width:100%;min-height:42px;padding:10px}.crudField input[readonly]{color:#475569;background:#f8fafc}.status-reconciled,.status-paid,.status-approved,.status-active{color:#166534;background:#dcfce7}.tablewrap{width:100%;max-width:100%;overflow:auto hidden}.tablewrap table{width:max-content;min-width:100%}.primary:disabled,.mini:disabled{opacity:.45;cursor:not-allowed}.statusBadge{border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.status-approved,.status-active,.status-paid,.status-reconciled{color:#166534;background:#dcfce7}.status-open,.status-draft,.status-pending{color:#92400e;background:#fef3c7}.status-bound{color:#1d4ed8;background:#dbeafe}.status-cancelled,.status-rejected,.status-failed{color:#991b1b;background:#fee2e2}.crudField{min-width:0}.crudField span{color:#64748b;margin-bottom:5px;font-size:11px;font-weight:750;display:block}.topRight select,.loginLanguage{color:#334155;background:#fff;border:1px solid #dbe4ef;border-radius:999px;padding:8px 10px}.loginLanguage{border-radius:11px;width:100%;margin-top:8px}.aiGrid{grid-template-columns:minmax(300px,.8fr) minmax(420px,1.2fr);gap:16px;display:grid}.aiStatus{margin-bottom:4px;font-weight:750}.aiStatus .ready{color:#16a34a}.aiStatus .off{color:#94a3b8}.muted{color:#64748b;font-size:13px}.aiQuestion{resize:vertical;width:100%;min-height:120px;font:inherit;border:1px solid #cad6e3;border-radius:12px;margin-bottom:12px;padding:12px;display:block}.aiAnswer{white-space:pre-wrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;margin-top:14px;padding:16px;line-height:1.55}.aiGrid .formGrid{grid-template-columns:1fr;margin-bottom:12px}@media (width<=900px){.aiGrid{grid-template-columns:1fr}}.loginField{text-align:left;margin-bottom:4px;display:block}.loginField span{color:#64748b;font-size:11px;font-weight:700;display:block}.aiConsent{color:#475569;align-items:flex-start;gap:8px;margin:0 0 12px;font-size:12px;display:flex}.aiConsent input{margin-top:2px}
