@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#1a3031;--muted:#7b8987;--green:#174f46;--line:#e3e9e5;--bg:#f5f7f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:7px;padding:10px 15px;background:#edf2ed;color:var(--ink)}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #d0a555;outline-offset:3px}aside{width:248px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;color:var(--ink);text-decoration:none;font-weight:800;letter-spacing:1.1px;font-size:15px;align-items:center}.brand small{display:block;letter-spacing:3px;font-size:9px;color:var(--muted);margin-top:5px}.logo{background:var(--green);color:#eee3bd;font-size:30px;width:43px;height:43px;text-align:center;border-radius:12px}.workspace{margin:36px 0 24px;padding:16px 12px;background:#f5f7f3;border:1px solid var(--line);border-radius:9px;color:#8b9690;font-size:9px;letter-spacing:1px}.workspace strong{display:block;color:var(--ink);font-size:13px;letter-spacing:0;margin:9px 0}.workspace small{font-size:10px;letter-spacing:0}nav a{display:flex;gap:12px;align-items:center;margin:4px 0;padding:12px 14px;text-decoration:none;color:#74807b;font-size:13px;border-radius:7px}nav a.active{background:#eaf0e9;color:var(--green);font-weight:700}nav a:hover{background:#f3f6f1}nav i{font-style:normal;font-size:17px;width:20px}.aside-bottom{margin-top:auto;padding:20px 10px 0;font-size:11px;line-height:1.9;color:#79877e}.aside-bottom small{font-size:10px;color:#a1aaa4}main{margin-left:248px}header{padding:25px 40px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;letter-spacing:2px;color:#929d96}.crumb{margin-top:9px;font-size:12px}.crumb span{padding:0 12px;color:#b2bcb4}.crumb b{font-weight:500}.profile{display:flex;align-items:center;gap:9px;font-size:10px;color:#79867c}.online{width:6px;height:6px;background:#73a57c;border-radius:50%}.avatar{margin-left:15px;border-radius:50%;background:#e7eee4;padding:12px;color:var(--green);font-weight:700}.notice{margin:16px 40px 0;font-size:10px;color:#7e8b81;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.notice button{font-size:10px;padding:6px 9px}section{padding:27px 40px 40px;min-height:75vh}.title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:15px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:28px;letter-spacing:-1px;margin:0 0 8px}p{color:var(--muted);line-height:1.7;margin:0}.title-row p{font-size:12px}.primary{background:var(--green);color:white}.hero{border-radius:12px;background:#174f46;position:relative;overflow:hidden;padding:32px;color:#fff;display:flex;justify-content:space-between;margin-bottom:25px;min-height:174px}.hero:after{content:'✦';position:absolute;right:40px;top:-80px;font-size:300px;color:#ffffff08}.hero h2{font-size:23px;margin:10px 0}.hero p{color:#c2d5c7;font-size:12px;max-width:450px}.hero small{letter-spacing:2px;font-size:9px;color:#d3c794}.hero-date{z-index:1;align-self:end;text-align:right;font-size:12px;line-height:2;color:#d9e6d8}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.stat-label{color:#87938a;font-size:11px;display:flex;justify-content:space-between}.stat strong{display:block;font:800 27px Manrope,sans-serif;margin:16px 0 9px;letter-spacing:-1px}.stat small{font-size:10px;color:#789780}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.card h3{font-size:14px;margin:0 0 5px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.card-head small{color:var(--muted);font-size:10px}.card-head button{font-size:10px;background:none;color:var(--green);padding:0}.bars{display:flex;align-items:end;height:170px;gap:20px;border-bottom:1px solid var(--line);padding:0 15px}.bar-pair{height:100%;display:flex;align-items:end;gap:5px;flex:1;position:relative;padding-bottom:24px}.bar{width:45%;background:#225b4e;border-radius:4px 4px 0 0;min-height:3px}.bar.out{background:#d9dfbf}.bar-label{position:absolute;bottom:4px;font-size:9px;color:var(--muted);width:100%;text-align:center}.legend{display:flex;gap:20px;font-size:10px;color:var(--muted);margin-top:16px}.legend b{display:inline-block;width:7px;height:7px;background:#225b4e;margin-right:5px;border-radius:2px}.legend b.light{background:#d9dfbf}.event{display:flex;gap:14px;border-bottom:1px solid var(--line);padding:15px 0;align-items:center}.event:last-child{border:0}.datebox{padding:8px;width:46px;text-align:center;border-radius:6px;background:#eff3e9;color:var(--green);font-size:10px}.datebox b{display:block;font-size:20px}.event strong{font-size:12px;font-weight:500}.event p{font-size:10px;margin-top:4px}.bottom{margin-top:22px}.toolbar{display:flex;gap:12px;margin-bottom:20px}.toolbar input{max-width:340px;flex:1}.toolbar select{min-width:170px}input,select,textarea{padding:11px 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:#fff;width:100%}textarea{min-height:95px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:500;color:#8a958e;background:#f8faf6;font-size:10px;padding:13px}td{padding:16px 13px;border-bottom:1px solid #eef1ec}tr:last-child td{border:0}.table-wrap{overflow:auto;padding:5px}.badge{font-size:10px;border-radius:20px;padding:5px 9px;background:#edf4e8;color:#5b7e55}.badge.warn{background:#fcf2dc;color:#ad8740}.person{display:flex;gap:10px;align-items:center}.person span{border-radius:50%;background:#eef0e7;color:#6a7b5e;padding:9px;font-size:10px}.person small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.empty{text-align:center;padding:50px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.module-card{display:flex;flex-direction:column;gap:13px}.module-card h3{font-size:17px;margin:0}.module-card p{font-size:12px}.module-card .symbol{font-size:23px;background:#f2f5ec;width:45px;padding:10px;border-radius:9px;color:var(--green)}.module-card button{align-self:start;margin-top:auto}.module-card small{color:#899587;font-size:10px}.money-in{color:#397b59}.money-out{color:#b46c58}.report-actions{display:flex;gap:12px;margin-top:24px}footer{margin:0 40px;padding:20px 0;border-top:1px solid var(--line);font-size:10px;color:#95a08f;display:flex;justify-content:space-between}dialog{border:1px solid var(--line);border-radius:13px;width:470px;max-width:95vw;padding:26px;box-shadow:0 25px 90px #132a3033}dialog::backdrop{background:#142e2d66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{font-size:20px;margin:0}.ghost{background:none}label{display:block;font-size:12px;margin:14px 0 6px}#error{color:#b05b45;font-size:12px;margin:10px 0}#form>.primary{width:100%;margin-top:10px}#toast{position:fixed;bottom:25px;right:25px;padding:14px 22px;border-radius:8px;background:var(--green);color:#fff;box-shadow:0 6px 30px #0002;display:none;font-size:12px}.scope-note{padding:18px;background:#f0f3e8;border-radius:8px;margin-bottom:22px;font-size:12px;color:#748369}@media(max-width:1100px){aside{width:210px;padding:26px 13px}main{margin-left:210px}header{padding:22px}section{padding:25px 22px}.notice{margin-left:22px}.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.profile{font-size:0}.hero-date{display:none}}@media(max-width:650px){aside{position:relative;width:100%;padding:18px}.workspace,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:15px;gap:5px}nav a{white-space:nowrap;font-size:11px;padding:9px}nav i{display:none}main{margin:0}header{padding:18px}.crumb{font-size:10px}h1{font-size:24px}.title-row{align-items:start}.title-row button{font-size:11px}.hero{padding:25px}.hero h2{font-size:20px}.cards{grid-template-columns:1fr}.stat{padding:16px}.stat strong{font-size:23px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none}.toolbar select{flex:1}.notice{margin-right:22px}footer{margin:0 22px}.bars{gap:10px}}
/* Base visual da interface. Identidade 318 Conecta em brand.css. */

:root{--ink:#0b2d5b;--muted:#707070;--green:#0066ff;--line:#e8e5ed;--bg:#faf9fc}
body{font-family:'Montserrat',Arial,sans-serif}h1,h2,h3{font-family:'Montserrat',Arial,sans-serif}aside{border-top:7px solid #0066ff;padding-top:24px}.brand{display:flex;flex-direction:column;align-items:start;gap:9px}.brand-image{width:185px;height:auto;display:block}.brand-caption{font-size:8px;letter-spacing:3px;margin-left:9px;color:#6c6079}.workspace{background:#f5f9ff;border-radius:2px;border-left:3px solid #0066ff;margin-top:24px}.workspace strong{color:#0b2d5b}.logo{display:none}nav a{border-radius:3px;color:#606060}nav a.active{background:#e9f3ff;color:#0066ff;border-left:3px solid #0066ff;padding-left:11px}nav a:hover{background:#f1f7ff}nav i{font-weight:700}.aside-bottom{color:#777}.aside-bottom:before{content:'';display:block;width:45px;height:4px;background:#0066ff;margin-bottom:12px}header{border-top:7px solid #0b2d5b}.avatar{background:#e9f3ff;color:#0066ff}.online{background:#0066ff}.notice button{background:#e9f3ff;color:#0066ff}.hero{background:#0066ff;border-radius:2px;padding:32px 36px;min-height:205px;isolation:isolate}.hero:after{content:'';width:200px;height:390px;position:absolute;right:54px;top:-90px;background:#0b2d5b;transform:rotate(-29deg);z-index:-1}.hero:before{content:'';position:absolute;width:230px;height:230px;right:180px;top:-58px;border:40px solid #ffffff0e;border-radius:50%;z-index:-1}.hero small{color:#fff;font-size:10px;letter-spacing:2.5px}.hero h2{font-size:29px;line-height:1.27;font-weight:800;letter-spacing:-.7px;margin:13px 0}.hero p{color:#dceaff;max-width:470px}.hero-date{color:#fff;font-size:10px;max-width:190px}.hero-date b{font-weight:500}.title-row h1{font-size:26px;font-weight:800;color:#0b2d5b}.title-row{border-bottom:1px solid var(--line);padding-bottom:20px}.primary{background:#0066ff;border-radius:3px}.stat,.card{border-radius:3px;box-shadow:0 3px 14px #36125403}.stat{border-top:3px solid #0b2d5b}.stat:nth-child(even){border-top-color:#0066ff}.stat strong{font-family:'Montserrat',Arial,sans-serif;font-weight:700;color:#0b2d5b}.stat small{color:#78688a}.stat-label span{color:#0066ff}.bar{background:#0066ff;border-radius:2px 2px 0 0}.bar.out{background:#0b2d5b}.legend b{background:#0066ff}.legend b.light{background:#0b2d5b}.datebox{background:#e9f3ff;color:#0066ff;border-radius:2px}.datebox b{font-weight:800}.card h3{font-weight:700}.badge{background:#e9f3ff;color:#0066ff}.badge.warn{background:#f2f2f2;color:#555}.person span{background:#e9f3ff;color:#0066ff}.module-card .symbol{background:#0066ff;color:#fff;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;padding:0}.module-card:nth-child(even) .symbol{background:#0b2d5b}.module-card h3{color:#0066ff;font-weight:800}button{border-radius:3px}input,select,textarea{border-radius:3px}.scope-note{border-left:4px solid #0066ff;background:#e9f3ff;color:#665774;border-radius:2px}th{background:#f3f8ff;color:#675873}footer{border-top:5px solid #0b2d5b;position:relative;color:#666}footer:before{content:'';position:absolute;top:-5px;left:0;width:70px;height:5px;background:#0066ff}#toast{background:#0066ff;border-radius:3px}dialog{border-radius:4px}.money-in{color:#0066ff}.money-out{color:#67616d}.report-actions button{border-radius:3px}
@media(max-width:1100px){.brand-image{width:165px}.hero h2{font-size:26px}.hero:after{right:-50px}.hero:before{right:20px}}
@media(max-width:650px){.brand{flex-direction:row;align-items:center;gap:18px}.brand-image{width:155px}.brand-caption{font-size:7px;max-width:85px;line-height:1.8}.hero{padding:25px;min-height:210px}.hero h2{font-size:25px}.hero p{max-width:85%;font-size:11px}.hero:after{right:-130px}.title-row h1{font-size:23px}header{border-top-width:4px}}
@media print{aside,header,.notice,footer,.report-actions,button{display:none!important}main{margin:0}section{padding:0}.stats{grid-template-columns:repeat(4,1fr)}.stat,.card{break-inside:avoid;box-shadow:none}body{background:#fff}}

.toolbar{flex-wrap:wrap}.toolbar button{white-space:nowrap}button:disabled{opacity:.5;cursor:wait}
