@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#1a2942;background:#f6f8fc;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#1b2b44;--muted:#7d8ba4;--line:#e6ebf3;--blue:#1f54c7;--blue-light:#ecf2ff;--green:#149765;--red:#de3748;--yellow:#d6a200;--panel:#fff;--radius:16px}*{box-sizing:border-box}svg{width:18px;height:18px;flex-shrink:0}body{margin:0;min-width:340px}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #99b6ff;outline-offset:2px}.layout{display:flex;min-height:100vh}.sidebar{width:254px;min-width:254px;min-height:100vh;background:white;border-right:1px solid var(--line);padding:25px 15px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 36px}.brand-mark{background:#2057bd;color:white;width:45px;height:45px;display:grid;place-items:center;border-radius:13px;box-shadow:0 6px 16px #275ccd22}.brand-mark svg{width:31px;height:31px}.brand-text{display:flex;flex-direction:column;gap:4px}.brand-text strong{font-weight:800;font-size:15px;white-space:nowrap;letter-spacing:-.4px}.brand-text small{font-size:9px;font-weight:800;letter-spacing:1.35px;color:#91a0b7}.sidebar-caption{font-size:10px;font-weight:800;color:#9aa7bb;letter-spacing:1.25px;margin:0 13px 12px}.utilities-caption{margin-top:32px}.nav-list{display:grid;gap:5px}.nav-link{width:100%;border:0;background:transparent;text-align:left;color:#65758c;display:flex;gap:12px;align-items:center;padding:12px 13px;font-size:13px;font-weight:700;border-radius:11px}.nav-link svg{width:18px;height:18px;stroke-width:1.9}.nav-link:hover{background:#f6f8fd;color:#1d4cad}.nav-link.active{background:#edf3ff;color:#2255c0}.nav-count{margin-left:auto;border-radius:7px;padding:2px 6px;font-size:10px;color:#92a0b5;background:#edf1f7}.sidebar-bottom{margin-top:auto}.local-notice{border:1px solid #e6ecf6;background:#f8faff;border-radius:14px;display:flex;gap:10px;padding:13px 10px;color:#5675ba}.local-notice svg{width:19px;flex:none}.local-notice div{display:flex;flex-direction:column;gap:4px}.local-notice strong{font-size:11px;color:#304a7d}.local-notice small{font-size:10px;color:#91a0b8}.version{font-size:10px;margin-top:18px;color:#a0acc0;text-align:center}.main{min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 33px;gap:16px}.topbar-left,.topbar-actions{display:flex;gap:22px;align-items:center}.breadcrumb{font-size:12px;color:#9ca9bb;white-space:nowrap}.breadcrumb span{margin:0 10px;color:#d2d9e4}.breadcrumb strong{color:#475975}.update-stamp{font-size:11px;color:#8b9ab0;white-space:nowrap}.content{max-width:1530px;margin:0 auto;padding:32px 32px 54px}.page-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.page-intro h1{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1.25px;line-height:1.2;margin:0 0 8px;font-weight:800}.page-intro p{font-size:13px;color:#8492a8;margin:0;line-height:1.6}.eyebrow{font-size:10px;color:var(--blue);font-weight:800;letter-spacing:1.5px;margin-bottom:8px;text-transform:uppercase}.intro-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.btn{border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:10px;background:white;color:#4c5e78;font-size:12px;font-weight:800;white-space:nowrap;transition:background .16s,transform .16s}.btn:hover{background:#f4f7fc}.btn:active{transform:scale(.98)}.btn svg{width:16px;height:16px}.btn-sm{padding:10px 14px}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 11px #225bcc26}.btn-primary:hover{background:#1745a8}.btn-ghost{background:transparent}.btn-danger{background:#fff4f4;border-color:#f1d1d4;color:#c42d40}.btn:disabled{opacity:.45;cursor:not-allowed}.menu-btn{display:none;background:none;border:0;padding:6px;color:#40536d}.menu-btn svg{width:23px}.filters{background:#fff;border:1px solid var(--line);box-shadow:0 3px 18px #1b335508;border-radius:14px;padding:17px 18px;margin-bottom:20px}.filters-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.filters-head strong{font-size:12px}.filters-head .muted{font-size:11px}.filter-grid{display:grid;grid-template-columns:1.15fr .9fr .95fr .95fr .95fr auto;gap:10px;align-items:end}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{color:#8694aa;font-size:10px;font-weight:800;letter-spacing:.2px}.field input,.field select{background:white;border:1px solid #e0e7f0;border-radius:9px;color:#354963;padding:11px 11px;outline:none;width:100%;font-size:12px;height:40px}.field input:focus,.field select:focus{border-color:#7aa1ef;box-shadow:0 0 0 3px #dce8ff}.field input::placeholder{color:#a8b4c5}.search-field{position:relative}.search-field input{padding-left:33px}.search-field svg{position:absolute;top:35px;left:11px;width:14px;color:#9ca9be}.search-field label{display:block}.date-row{display:flex;align-items:center;gap:7px}.date-row .field{width:155px;max-width:155px}.date-row input{width:100%;min-width:0}.filter-reset{height:40px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.stat-card{background:white;border:1px solid var(--line);border-radius:15px;padding:18px 19px 17px;text-align:left;min-width:0;position:relative;box-shadow:0 4px 18px #1a315507;transition:transform .18s,box-shadow .18s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #19335e12}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:16px}.stat-label{color:#78879e;font-size:12px;font-weight:700}.stat-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center}.stat-icon svg{width:19px;height:19px}.stat-value{font-size:32px;letter-spacing:-1.4px;font-weight:800;line-height:1.1;font-family:Manrope,sans-serif}.stat-sub{display:flex;align-items:center;gap:6px;color:#97a3b6;font-size:10px;margin-top:8px}.stat-card.green{border-top:3px solid #1da979}.stat-card.yellow{border-top:3px solid #e4b51f}.stat-card.red{border-top:3px solid #ea5662}.stat-card.blue{border-top:3px solid #3972e5}.stat-card.green .stat-icon{background:#e9f9f1;color:#139969}.stat-card.yellow .stat-icon{background:#fff8df;color:#c29d00}.stat-card.red .stat-icon{background:#fff0f1;color:#d8394b}.stat-card.blue .stat-icon{background:#edf3ff;color:#2861d5}.grid-main{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.panel{background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 4px 18px #1a315507;padding:20px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.panel-title{font-size:14px;font-weight:800;color:#263652;margin:0}.panel-subtitle{font-size:11px;color:#9eabbd;margin-top:5px}.panel-action{font-size:11px;font-weight:800;color:#285cc9;border:0;background:transparent;padding:2px;white-space:nowrap}.legend{display:flex;gap:17px;flex-wrap:wrap;color:#8190a4;font-size:11px}.legend-item{display:flex;align-items:center;gap:7px}.dot{width:9px;height:9px;display:inline-block;border-radius:50%}.dot.green{background:#18a777}.dot.yellow{background:#edbc31}.dot.red{background:#e65763}.dot.gray{background:#a6b2c4}.dot.blue{background:#4677dc}.progress-lg{height:16px;background:#f0f3f8;border-radius:10px;display:flex;overflow:hidden;margin:18px 0 19px}.progress-lg > span{height:100%;min-width:0;transition:width .2s}.progress-lg > span:first-child{border-radius:10px 0 0 10px}.mini-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mini-number{border-left:2px solid #eff2f7;padding-left:12px}.mini-number strong{display:block;font-size:20px;font-family:Manrope,sans-serif;letter-spacing:-.5px}.mini-number small{font-size:10px;color:#9ca8ba}.bar-list{display:grid;gap:15px}.bar-item{display:grid;grid-template-columns:95px minmax(0,1fr) 54px;gap:11px;align-items:center;font-size:11px}.bar-label{color:#667890;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{height:9px;background:#eff3f9;border-radius:10px;overflow:hidden}.bar-fill{height:100%;background:#6087e4;border-radius:10px}.bar-count{text-align:right;font-weight:800;color:#435875}.panel-table{padding:0;overflow:hidden}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 19px 17px;flex-wrap:wrap}.table-toolbar .right{display:flex;align-items:center;gap:9px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.data-table th{background:#f8fafd;color:#97a5b8;text-transform:uppercase;font-size:9px;letter-spacing:.65px;font-weight:800;padding:13px 15px;border-block:1px solid #edf1f6}.data-table td{padding:13px 15px;border-bottom:1px solid #eef2f7;font-size:11px;color:#4c5f7b;max-width:340px;overflow:hidden;text-overflow:ellipsis}.data-table tbody tr:hover{background:#fbfcff}.data-table tr:last-child td{border-bottom:0}.row-title{font-weight:800;color:#2f4261;font-size:12px}.row-meta{font-size:10px;color:#9aa8ba;margin-top:3px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.status{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;font-weight:800;font-size:10px}.status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.status.finalizado{color:#0f9564;background:#e8f8ef}.status.pendente{color:#ce3445;background:#fff0f1}.status.andamento{color:#b38b00;background:#fff8dc}.status.cancelada{color:#8f9cad;background:#f1f4f8}.status.outro{color:#6d68a8;background:#f1effa}.plain-btn{border:0;background:none;color:#2b61cf;font-size:11px;font-weight:800;padding:7px}.footerbar{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f6;color:#9aa7ba;font-size:11px;flex-wrap:wrap;gap:10px}.pagination{display:flex;gap:7px;align-items:center}.pagination button{border:1px solid #e0e7f1;background:#fff;border-radius:7px;padding:6px 9px;color:#536681}.pagination button:disabled{opacity:.3}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:250px;padding:30px}.empty-icon{height:62px;width:62px;background:#edf3ff;border-radius:20px;color:#3164c9;display:grid;place-items:center;margin-bottom:17px}.empty-icon svg{width:28px;height:28px}.empty h3{font-family:Manrope,sans-serif;font-size:16px;margin:0 0 7px}.empty p{margin:0 0 18px;color:#91a0b5;font-size:12px;max-width:390px;line-height:1.6}.subtle-panel{border:1px dashed #d8e2ef;background:#fbfcff}.notice{border-radius:12px;border:1px solid #dce9fd;background:#f2f7ff;color:#5575a7;display:flex;gap:11px;align-items:flex-start;padding:14px 15px;font-size:12px;line-height:1.55;margin-bottom:17px}.notice svg{width:18px;flex:none;margin-top:1px}.notice.warn{background:#fff9e9;border-color:#f4e6b3;color:#937415}.notice.danger{background:#fff0f2;border-color:#f4d8de;color:#b6384b}.tag{display:inline-block;border-radius:7px;font-size:10px;padding:6px 8px;font-weight:800;background:#edf2fc;color:#5375af}.tag.ok{background:#e9f9ef;color:#16875e}.tag.warn{background:#fff7dc;color:#b38b00}.tag.red{background:#fff1f2;color:#bf3d4a}.upload-zone{border:2px dashed #cad9f2;background:#fafcff;border-radius:15px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:25px;transition:background .2s,border-color .2s}.upload-zone.dragover{background:#eef5ff;border-color:#477bd5}.upload-zone h3{font-size:15px;margin:0}.upload-zone p{color:#96a4b7;font-size:12px;margin:0 0 6px;line-height:1.6}.upload-zone .upload-icon{width:48px;height:48px;background:#eaf1ff;color:#2d64ca;border-radius:13px;display:grid;place-items:center}.upload-zone .upload-icon svg{width:23px;height:23px}.split{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.help-list{display:grid;gap:16px}.help-item{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.6;color:#74859c}.help-index{width:25px;height:25px;border-radius:8px;background:#eef3fb;color:#3d6fcc;display:grid;place-items:center;font-weight:800;flex:none}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.preview-stat{padding:15px;border:1px solid #e6edf5;border-radius:11px}.preview-stat strong{font-size:24px;display:block;color:#314969}.preview-stat small{font-size:11px;color:#91a1b6}.separator{height:1px;background:#edf0f6;margin:20px 0}.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.metric-inline{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:12px 0;border-bottom:1px solid #edf1f6}.metric-inline:last-child{border-bottom:0}.metric-inline span{color:#7c8aa1}.metric-inline strong{color:#2d4569}.highlight-amount{font-weight:800;color:#214dab}.meta-form{display:flex;gap:10px;align-items:center}.meta-form input{width:118px;padding:9px 11px;border:1px solid #e0e7f0;border-radius:9px;font-size:12px}.meta-form button{padding:9px 11px}.progress-cell{min-width:155px}.tiny-progress{height:6px;background:#edf1f7;border-radius:8px;overflow:hidden;margin-top:6px}.tiny-progress span{height:100%;background:#4d81e3;display:block;border-radius:8px}.modal-root{position:fixed;inset:0;pointer-events:none;z-index:50}.modal-root.open{pointer-events:auto}.modal-backdrop{position:absolute;inset:0;background:#13203f77;backdrop-filter:blur(2px)}.drawer{position:absolute;right:0;top:0;bottom:0;max-height:100vh;width:min(100%,560px);background:#fff;box-shadow:-10px 0 45px #10244a20;display:flex;flex-direction:column;animation:slidein .2s ease-out}.drawer-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:23px 24px;border-bottom:1px solid var(--line)}.drawer-head h2{font-size:20px;letter-spacing:-.6px;margin:0 0 7px}.drawer-head p{font-size:11px;color:#91a1b7;margin:0}.icon-btn{background:#f2f5fa;color:#5a6c88;border:0;border-radius:9px;width:32px;height:32px;display:grid;place-items:center;flex:none}.icon-btn svg{width:18px}.drawer-body{overflow:auto;padding:23px 24px;display:grid;align-content:start;gap:20px}.detail-section h3{font-size:12px;color:#263d62;font-weight:800;margin:0 0 13px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.detail-cell small{font-size:10px;color:#92a1b6;display:block;margin-bottom:5px}.detail-cell strong{font-size:12px;color:#344b6b;font-weight:700;overflow-wrap:anywhere}.detail-text{background:#f8fafd;border-radius:10px;padding:12px;color:#536983;font-size:12px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.detail-links{display:flex;gap:8px;flex-wrap:wrap}.detail-links a{color:#2556c0;background:#edf3ff;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800}.detail-footer{border-top:1px solid var(--line);padding:17px 24px;display:flex;justify-content:flex-end}.toast-host{position:fixed;bottom:20px;right:20px;z-index:70;display:grid;gap:8px}.toast{background:#20334d;color:white;border-radius:12px;padding:12px 16px;font-size:12px;box-shadow:0 10px 30px #132b4c30;max-width:380px}.toast.error{background:#bc3546}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.text-right{text-align:right}.mt-18{margin-top:18px}.mb-18{margin-bottom:18px}.text-muted{color:#96a4b7}.mono{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}@keyframes slidein{from{transform:translateX(25px);opacity:.6}to{transform:none;opacity:1}}@media(max-width:1250px){.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-main{grid-template-columns:1fr 1fr}}@media(max-width:1020px){.sidebar{width:220px;min-width:220px}.content{padding:25px 20px 50px}.stat-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:27px}.grid-main,.split{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{position:fixed;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 28px #172b4a18}.sidebar.mobile-open{transform:none}.menu-btn{display:block}.topbar{padding:0 15px;height:65px}.topbar-left{gap:12px}.topbar-actions{gap:7px}.update-stamp{display:none}.topbar-actions .btn{font-size:0;padding:10px}.topbar-actions .btn svg{width:17px;height:17px}.content{padding:24px 14px 45px}.page-intro{flex-direction:column}.page-intro h1{font-size:24px}.intro-actions{justify-content:flex-start}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-reset{grid-column:span 2}.preview-grid{grid-template-columns:repeat(2,1fr)}.panel{padding:16px}.panel-table{padding:0}.mini-numbers{gap:6px}.mini-number{padding-left:7px}.mini-number strong{font-size:16px}.bar-item{grid-template-columns:77px minmax(0,1fr) 48px}.data-table th,.data-table td{padding:12px}.table-toolbar{padding:14px}.drawer-head,.drawer-body{padding:19px}.detail-grid{gap:13px}}@media(max-width:410px){.stat-card{padding:11px}.stat-value{font-size:24px}.stat-label{font-size:10px}.filter-grid{grid-template-columns:1fr}.filter-reset{grid-column:span 1}.mini-number small{font-size:9px}}

.panel-action,.plain-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px}.panel-action svg,.plain-btn svg,.stat-sub svg{width:12px;height:12px}.stat-sub{justify-content:space-between}
