:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;--nav:#101d2b;--nav-2:#172838;--primary:#075de7;--primary-2:#0a7cff;--line:#dbe3ee;--muted:#667085;--success:#13a065;--success-bg:#dff8e9;--danger:#e23d4f;--danger-bg:#ffe4e8;--amber:#d98c00;--surface:#fff;--shadow:0 18px 50px #0f172a12;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f6f8fb;min-width:320px;min-height:100vh;margin:0}button,textarea,input{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.62}input{color:#243247;background:#fbfdff;border:1px solid #cad5e2;border-radius:6px;outline:none;min-height:44px;padding:0 14px}input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #075de71a}.loading,.authPage{background:linear-gradient(135deg,#075de714,#0000 32%),#f6f8fb;place-items:center;min-height:100vh;padding:28px;display:grid}.authPanel{border:1px solid var(--line);width:min(440px,100%);box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:34px}.authBrand{justify-content:space-between;align-items:center;margin-bottom:26px;font-size:28px;font-weight:800;display:flex}.authBrand .icon{color:#fff;background:var(--primary);border-radius:7px;width:32px;height:32px;padding:7px}.authPanel h1{margin:0 0 10px;font-size:34px;line-height:1.05}.authPanel p{color:var(--muted);margin:0 0 24px;line-height:1.5}.authForm{gap:12px;display:grid}.authForm .primary{width:100%;margin-top:4px}.linkBtn{color:var(--primary);background:0 0;margin-top:16px;padding:0;font-weight:760}.demoHint,.errorBox,.successBox{border-radius:6px;margin-top:18px;padding:13px 14px;font-size:13px}.demoHint{color:#344054;border:1px solid var(--line);background:#f8fafc}.errorBox{color:#b42318;background:#fff0f0;border:1px solid #ffd1d1}.successBox{color:#057647;background:#ecfdf3;border:1px solid #abe7c4;margin-bottom:18px;font-weight:760}.appShell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;background:linear-gradient(#172838f5,#08121dfa),radial-gradient(circle at 20% 0,#007cff29,#0000 36%);flex-direction:column;gap:28px;height:100vh;padding:28px 14px 22px;display:flex;position:sticky;top:0}.brand{letter-spacing:0;justify-content:space-between;align-items:center;padding:0 18px;font-size:27px;font-weight:780;display:flex}.brandMark{background:var(--primary);border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.brandMark .icon{width:17px;height:17px}.sidebar nav{gap:8px;display:grid}.sidebar button{color:#d9e6f3;text-align:left;background:0 0;border-radius:7px;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 16px;font-size:14px;font-weight:680;display:flex}.sidebar button:hover,.sidebar button.active{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#fff;box-shadow:0 10px 22px #0060e83d}.logout{margin-top:auto}.icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.mainShell{min-width:0}.topbar{z-index:5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;justify-content:space-between;align-items:center;gap:20px;height:78px;padding:0 34px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:26px;font-weight:760;line-height:1.1}.topActions{align-items:center;gap:14px;display:flex}.creditBadge{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:168px;padding:10px 16px;box-shadow:0 8px 20px #0f172a0a}.creditBadge span,.metric span,.panel p,.finePrint{color:var(--muted);font-size:13px;line-height:1.4;display:block}.creditBadge strong{color:var(--amber);font-size:19px}.roleSwitch,.primary{color:#fff;background:linear-gradient(135deg, var(--primary), #004bd1);border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 20px;font-size:14px;font-weight:760;display:inline-flex;box-shadow:0 12px 24px #0053d233}.avatar{border:1px solid var(--line);color:#26364a;background:#f8fafc;border-radius:50%;place-items:center;width:42px;height:42px;font-size:13px;font-weight:780;display:grid}.content{width:min(1180px,100vw - 312px);margin:0 auto;padding:34px 0 46px}.sectionTitle{margin-bottom:26px}.sectionTitle h2{margin:0 0 10px;font-size:26px;line-height:1.1}.sectionTitle p{color:var(--muted);margin:0;font-size:15px}.validationGrid{grid-template-columns:minmax(0,1.08fr) minmax(320px,.86fr);gap:22px;display:grid}.workspaceGrid{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:22px;display:grid}.panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:8px}.inputPanel,.uploadPanel,.resultsPanel,.creditsPanel,.chartPanel,.adminTables .panel,.adminContent>.panel{padding:22px}.panelHeader{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.panelHeader h3,.panel h3{margin:0;font-size:17px;font-weight:780;line-height:1.2}.panelHeader button{color:var(--primary);background:0 0;font-size:13px;font-weight:760}textarea{resize:vertical;color:#243247;background:#fbfdff;border:1px solid #cad5e2;border-radius:6px;outline:none;width:100%;min-height:202px;padding:18px;font-family:SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.55}textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px #075de71a}.fieldFooter,.actionRow,.resultStats,.tabs,.priceNote{align-items:center;display:flex}.fieldFooter{color:var(--muted);justify-content:space-between;margin-top:10px;font-size:13px}.dropzone{color:#344054;text-align:center;background:#fbfdff;border:1.5px dashed #bac9dc;border-radius:6px;place-items:center;gap:10px;min-height:202px;padding:22px;display:grid}.dropzone .icon{width:38px;height:38px;color:var(--primary)}.dropzone input{opacity:0;width:1px;height:1px;position:absolute}.dropzone em{min-width:176px;min-height:42px;color:var(--primary);border:1px solid #9ec3f7;border-radius:6px;place-items:center;font-style:normal;font-weight:760;display:grid}.actionRow{gap:22px;margin:22px 0}.priceNote{color:#344054;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px;font-weight:680}.resultStats{color:var(--muted);gap:24px;font-size:13px}.resultStats span{border-left:1px solid var(--line);gap:3px;padding-left:18px;display:grid}.resultStats strong{color:#111827;font-size:20px}.ok{color:var(--success)!important}.bad{color:var(--danger)!important}.tableWrap{border:1px solid #e5ebf3;border-radius:6px;width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{color:#52637a;background:#f8fafc;font-weight:760}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e9eef5;padding:13px 14px}tr:last-child td{border-bottom:0}.pill{border-radius:5px;justify-content:center;align-items:center;min-width:72px;min-height:24px;padding:0 8px;font-size:12px;font-weight:760;display:inline-flex}.pill.aprovado,.pill.ativo,.pill.concluido{color:var(--success);background:var(--success-bg)}.pill.recusado,.pill.inativo{color:var(--danger);background:var(--danger-bg)}.pill.pendente{color:var(--amber);background:#fff4d6}.rowActions{align-items:center;gap:8px;display:flex}.rowActions button,.creditManage button{min-height:30px;color:var(--primary);background:#fff;border:1px solid #9ec3f7;border-radius:5px;padding:0 10px;font-size:12px;font-weight:760}.creditManage{align-items:center;gap:8px;min-width:720px;display:flex}.creditManage input{width:86px;min-height:30px;padding:0 9px;font-size:12px}.creditManage input[type=password]{width:128px}.tabs{border-bottom:1px solid var(--line);gap:10px;margin-top:24px}.tabs button{color:#536176;background:0 0;border-bottom:3px solid #0000;min-width:112px;min-height:46px;font-size:14px;font-weight:760}.tabs button.selected{color:var(--primary);border-color:var(--primary)}.tabs+.tableWrap,.metricStrip{margin-top:16px}.creditsPanel{position:sticky;top:100px}.creditsPanel>p{margin:18px 0 4px}.balance{color:var(--amber);margin-bottom:26px;font-size:40px;line-height:1;display:block}.creditsPanel h4{margin:0 0 12px;font-size:14px}.packages{gap:9px;margin-bottom:18px;display:grid}.packages button{border:1px solid var(--line);color:#1f2937;background:#fff;border-radius:6px;justify-content:space-between;align-items:center;min-height:46px;padding:0 14px;display:flex}.packages button:hover{border-color:var(--primary);box-shadow:0 8px 20px #075de714}.packages span{color:var(--muted);font-size:12px}.secondary{width:100%;min-height:44px;color:var(--primary);background:#fff;border:1px solid #9ec3f7;border-radius:7px;justify-content:center;align-items:center;gap:8px;font-weight:760;display:inline-flex}.finePrint{margin-top:18px}.depositBox{gap:12px;display:grid}.depositBox label{color:#52637a;font-size:13px;font-weight:760}.pixResult{border:1px solid var(--line);background:#f8fafc;border-radius:8px;gap:10px;margin-top:8px;padding:14px;display:grid}.pixResult img{background:#fff;border-radius:6px;width:180px;max-width:100%}.pixResult textarea{min-height:86px;font-size:12px}.metricStrip,.kpiGrid{gap:16px;display:grid}.metricStrip{grid-template-columns:repeat(3,1fr)}.metric,.kpiGrid .metric{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:18px}.metric strong{color:#101828;margin:10px 0 8px;font-size:28px;line-height:1.1;display:block}.metric em{color:var(--success);font-size:13px;font-style:normal;font-weight:760}.kpiGrid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:22px}.chartGrid{grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px;display:grid}.chartPanel{min-height:320px}.chartPanel .panelHeader span{color:var(--muted);font-size:13px}.bars{border-bottom:1px solid #edf2f7;border-left:1px solid #edf2f7;justify-content:space-around;align-items:end;height:220px;padding:26px 16px 8px;display:flex}.barGroup{align-items:end;gap:7px;width:46px;height:100%;display:flex}.barGroup span{border-radius:3px 3px 0 0;width:10px;min-height:12px}.barGroup span:first-child{background:var(--primary-2)}.barGroup span:nth-child(2){background:var(--success)}.barGroup span:nth-child(3){background:var(--danger)}.lineChart{width:100%;height:220px}.gridLine{fill:none;stroke:#edf2f7;stroke-width:1px}.line{fill:none;stroke:var(--primary-2);stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.lineChart circle{fill:#fff;stroke:var(--primary-2);stroke-width:4px}.adminTables{grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px;display:grid}@media (width<=1120px){.appShell{grid-template-columns:86px minmax(0,1fr)}.brand span:first-child,.sidebar button{font-size:0}.sidebar button{justify-content:center;padding:0}.content{width:min(100% - 32px,980px)}.kpiGrid{grid-template-columns:repeat(2,1fr)}.validationGrid,.workspaceGrid,.chartGrid,.adminTables{grid-template-columns:1fr}.creditsPanel{position:static}}@media (width<=720px){.appShell{display:block}.sidebar{width:100%;height:auto;min-height:0;padding:16px;position:relative}.brand{padding:0}.brand span:first-child,.sidebar button{font-size:inherit}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.logout{display:none!important}.topbar{flex-direction:column;align-items:flex-start;height:auto;padding:20px 16px;position:relative}.topActions{flex-wrap:wrap;width:100%}.creditBadge,.roleSwitch{flex:180px}.content{width:calc(100% - 28px);padding:22px 0}.resultStats,.panelHeader,.actionRow{flex-direction:column;align-items:flex-start}.metricStrip,.kpiGrid{grid-template-columns:1fr}.balance{font-size:34px}}
