*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,Segoe UI,sans-serif;background:#f3f6fa;color:#172b42}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#132b43;color:#e5edf5;padding:32px 22px}.brand{font-size:30px;font-weight:800;letter-spacing:2px;color:#48d5bb}.brand span{color:white}aside p{font-size:12px;color:#a8bdce}.section{font-size:10px;letter-spacing:2px;margin:44px 12px 12px;color:#91aabd}nav{display:grid;gap:8px}button,input,select{font:inherit}nav button{text-align:left;padding:13px 16px;border:0;border-radius:9px;background:transparent;color:#c6d5e3;cursor:pointer}nav button.active{background:#25516d;color:#fff;font-weight:600}aside footer{position:absolute;bottom:28px;font-size:12px;color:#94aebe}main{margin-left:238px;padding:38px 42px;max-width:1650px}header{display:flex;justify-content:space-between;align-items:center}.eyebrow{color:#64849b;font-size:11px;font-weight:700;letter-spacing:1.5px;margin:0}h1{font-size:30px;letter-spacing:-.6px;margin:8px 0}h2{font-size:17px;margin:0}.muted{color:#698094;margin:0}.badge{background:#e0edf5;border:1px solid #bfd3e2;color:#385c77;padding:5px 12px;border-radius:20px;font-size:12px}.notice{margin:25px 0;background:#fff9e9;border:1px solid #eadbb5;border-radius:8px;padding:12px 16px;font-size:13px;color:#796333}.filters{display:flex;gap:16px;align-items:end;margin-bottom:24px}label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#567083}label[hidden]{display:none}.search{flex:1}input,select{width:100%;background:white;border:1px solid #cbd7e2;border-radius:8px;height:43px;padding:8px 12px;color:#213b50}select{min-width:220px}.secondary{border:1px solid #bfcfdb;border-radius:8px;background:white;color:#35546d;padding:10px 15px;cursor:pointer;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.cards article{padding:19px;background:white;border:1px solid #e0e7ef;border-radius:10px;box-shadow:0 3px 12px #132b4305}.cards article span{font-size:12px;color:#607b90}.cards strong{display:block;font-size:27px;letter-spacing:-.5px;margin-top:8px}.cards article:nth-child(3){border-top:3px solid #32a58a}.cards article:nth-child(4){border-top:3px solid #d99b3b}.results{background:white;border:1px solid #e0e7ef;border-radius:10px;overflow:hidden}.results-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e7edf2}.results-head span{font-size:12px;color:#7690a3}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;padding:14px 18px;color:#6b8396;font-size:11px;background:#f9fbfd;font-weight:600;white-space:nowrap}td{padding:18px;border-top:1px solid #edf1f5;vertical-align:top}td small{display:block;color:#8094a4;font-size:10px;margin-top:4px}.money{text-align:right;white-space:nowrap}.pill{display:inline-block;border-radius:5px;background:#e5f4ed;color:#22735a;padding:4px 8px;font-size:10px;font-weight:600;white-space:nowrap}.pill.pending{background:#fff1d8;color:#9a6a1d}#status{font-size:13px;color:#687e90;padding:0 22px}#status:empty{display:none}.footnote{font-size:11px;color:#758b9c;margin-top:17px}:focus-visible{outline:3px solid #43b6ce;outline-offset:2px}@media(max-width:1050px){aside{width:190px}main{margin-left:190px;padding:25px}.cards{grid-template-columns:repeat(2,1fr)}.filters{flex-wrap:wrap}}@media(max-width:650px){aside{position:static;width:auto;padding:18px}.brand{font-size:22px}aside p,.section,aside footer{display:none}nav{display:flex;margin-top:12px}main{margin:0;padding:20px}header{gap:10px}h1{font-size:25px}.filters{display:grid}.cards{gap:10px}.cards article{padding:13px}.cards strong{font-size:23px}select{min-width:0}}

.column-filters th{padding:7px 10px 12px}.column-filters input,.column-filters select{min-width:110px;height:35px;font-size:12px;padding:6px 8px;font-weight:400}.column-filters th:nth-child(2) input,.column-filters th:nth-child(4) input{min-width:150px}.column-filters th:nth-child(3) input{min-width:90px}.value-range{display:flex;gap:5px}.value-range input{width:95px;min-width:95px}.filter-hint{font-size:11px;color:#7590a3;margin:4px 0 0}.results[aria-busy="true"] tbody{opacity:.45}

.column-filters td{padding:6px 10px 12px;background:#f9fbfd;border-top:0}.column-filters td input,.column-filters td select{width:140px;min-width:140px;height:35px;font-size:12px;padding:6px 8px}.column-filters .value-range-cell{white-space:nowrap}.column-filters .value-range-cell input{width:95px;min-width:95px}.column-filters .value-range-cell input+input{margin-left:5px}.wide-column{min-width:210px}.table-wrap{max-height:65vh;scrollbar-gutter:stable;overscroll-behavior-x:contain}thead{position:sticky;top:0;z-index:1}.results-head{position:relative}th{white-space:nowrap}td{min-width:110px}.table-wrap:focus-visible{outline-offset:-3px}

.grid-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}button:disabled{opacity:.4;cursor:default}.primary{background:#25516d;color:white;border:0;border-radius:8px;padding:10px 20px;cursor:pointer}dialog{width:min(650px,95vw);border:1px solid #cbd7e2;border-radius:12px;padding:24px;color:#172b42;box-shadow:0 20px 90px #0004}dialog::backdrop{background:#132b4377}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px}.dialog-head p{font-size:13px;color:#698094}.dialog-tools{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}#lista-colunas{list-style:none;padding:0;margin:0;max-height:45vh;overflow:auto}#lista-colunas li{display:flex;gap:7px;align-items:center;border-bottom:1px solid #edf1f5;padding:8px}#lista-colunas label{display:flex;flex:1;align-items:center;gap:10px;font-size:13px}#lista-colunas input{width:18px;height:18px;accent-color:#25516d}.dialog-foot{display:flex;justify-content:end;gap:10px;margin-top:16px}#erro-colunas{color:#a2292e;font-size:13px}

.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#132b43,#25516d);padding:22px}.login-card{width:min(430px,100%);background:white;border-radius:15px;padding:38px;box-shadow:0 20px 60px #0003}.login-card .brand span{color:#132b43}.login-card p{color:#698094}.login-card h1{font-size:24px;margin:25px 0}.login-card form{display:grid;gap:10px}.login-card input{margin-bottom:9px}.login-card .primary{height:46px}.login-note{font-size:12px;margin:23px 0 0}#login-erro{color:#a2292e;font-size:13px;margin:0}.login-card label{font-size:13px}.user-actions{display:flex;gap:12px;align-items:center}.user-actions span{font-size:12px;color:#64849b}

.pagination{display:flex;gap:12px;justify-content:end;align-items:center;padding:16px;font-size:12px;color:#64849b}
