:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#172c36;background:#f5f7f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.55;cursor:wait}.app{display:flex;min-height:100vh}.sidebar{width:260px;background:#102d38;color:#fff;padding:25px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:800}.brand svg{color:#36d3a0}.sub{color:#b6cbd0;font-size:13px;margin:5px 0 35px 39px}nav{display:grid;gap:6px}.nav{display:flex;gap:12px;align-items:center;text-align:left;background:transparent;color:#c5d5d9;padding:14px;border-radius:10px;font-size:14px}.nav:hover,.nav.active{background:#23505b;color:#fff}.sidebar-foot{margin-top:auto;display:grid;gap:5px;padding-top:30px;font-size:13px}.sidebar-foot small{color:#9cb7bd}.logout{margin-top:15px;background:transparent;color:#fff;display:flex;gap:10px;align-items:center;padding:8px 0}main{min-width:0;flex:1}header{display:flex;align-items:center;gap:15px;justify-content:space-between;background:#fff;border-bottom:1px solid #e2e9ed;padding:24px 32px}header h1{font-size:24px;margin:0}header p{margin:5px 0 0;color:#778891;font-size:13px}.refresh,.mobile-menu{background:#eff4f5;padding:10px;border-radius:9px}.mobile-menu{display:none}.content{max-width:1250px;margin:auto;padding:30px}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:24px}.toolbar label{font-size:13px;color:#5b727b;display:grid;gap:7px}.toolbar select{min-width:190px}.toolbar button,.modal form button,.login form button{display:flex;align-items:center;justify-content:center;gap:9px;background:#108c70;color:#fff;border-radius:9px;padding:12px 18px;font-weight:700}select,input,textarea{padding:11px 12px;border:1px solid #cfdce0;border-radius:8px;background:#fff;min-width:0;color:#182c35}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cards article,.panel{background:#fff;border:1px solid #e0e8ec;border-radius:14px;padding:23px}.cards article{display:grid;gap:14px}.cards span{font-size:13px;color:#647982}.cards strong{font-size:22px;overflow-wrap:anywhere}.panel{margin-top:20px}.panel h2{font-size:18px;margin:0 0 20px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid #e9eff1;vertical-align:top}th{font-size:12px;color:#617680;background:#f8fafb;white-space:nowrap}td{min-width:100px}.actions{display:flex;gap:8px}.minor{background:#eaf3f3;border-radius:7px;padding:8px;color:#185c62}.danger{color:#ba3434;background:#fff0f0}.empty,.hint,.notice{color:#70828b;font-size:13px}.error,.error-banner{color:#a52828}.error-banner{background:#fff0f0;border:1px solid #f0caca;border-radius:9px;padding:12px;margin-bottom:20px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#09232bb3;display:flex;align-items:center;justify-content:center;padding:18px;z-index:5}.modal{background:#fff;width:min(500px,100%);max-height:90vh;overflow:auto;padding:25px;border-radius:15px}.modalhead{display:flex;align-items:center;justify-content:space-between}.modalhead h2{font-size:19px}.modal form{display:grid;gap:15px}.modal label,.login label{display:grid;gap:7px;font-size:13px;font-weight:600}.modal textarea{min-height:80px;resize:vertical}.login{min-height:100vh;background:linear-gradient(135deg,#102d38,#0f6c62);display:grid;place-items:center;padding:20px}.login-card{background:#fff;border-radius:18px;padding:38px;width:min(420px,100%);box-shadow:0 15px 60px #0002}.login-card h1{margin:28px 0 4px}.login-card p{color:#6c8089}.login-card form{display:grid;gap:17px;margin:25px 0}.login-card small{color:#70828b}.center{max-width:600px;margin:15vh auto;padding:25px}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.sidebar{position:fixed;z-index:4;inset:0 auto 0 0;transform:translate(-100%);transition:transform .2s}.sidebar.visible{transform:none}.mobile-menu{display:block}header{padding:18px}header h1{font-size:20px}.content{padding:18px}.cards{gap:10px}.cards article{padding:15px}.cards strong{font-size:17px}.panel{padding:14px}.toolbar{align-items:stretch}.toolbar button{align-self:end}.toolbar select{min-width:0;width:100%}}:root{--navy: #082b55;--green: #009b50;--red: #ef344d;--blue: #0878d9;--purple: #7734df}body{background:#f2f7fc;color:#102b50}.sidebar{background:linear-gradient(165deg,#061f40,#07376c);box-shadow:4px 0 24px #092b4b15}.brand{font-size:25px}.brand svg{color:#29d49b}.nav{color:#e0ebf7;font-weight:600;border-radius:12px}.nav:hover{background:#ffffff1b}.nav.active{background:linear-gradient(110deg,#00b45e,#008a47);color:#fff;box-shadow:0 6px 16px #001a2d35}header{background:linear-gradient(115deg,#fff 55%,#e4f6ed);border-bottom:1px solid #dce9f0}header h1{color:#092b55;font-weight:800}.content{max-width:1500px}.cards{gap:18px}.cards article{border:0;border-radius:17px;padding:26px;min-height:155px;color:#fff;box-shadow:0 9px 22px #173d641a;transition:transform .2s,box-shadow .2s}.cards article:hover{transform:translateY(-3px);box-shadow:0 14px 28px #173d642b}.cards article:nth-child(1){background:linear-gradient(135deg,#00a957,#007b42)}.cards article:nth-child(2){background:linear-gradient(135deg,#ff4054,#d91f40)}.cards article:nth-child(3){background:linear-gradient(135deg,#0796ef,#0752b5)}.cards article:nth-child(4){background:linear-gradient(135deg,#9548f2,#5924c6)}.cards article span{color:#ffffffed;font-size:15px;font-weight:600}.cards article strong{color:#fff;font-size:26px;font-weight:800}.panel{border:1px solid #dce8f1;border-radius:19px;box-shadow:0 8px 24px #153c6110}.panel h2{color:#092b55;font-size:21px}th{background:#008b50;color:#fff;font-size:13px}tbody tr:hover{background:#f2faf7}.toolbar button,.modal form button,.login form button{background:linear-gradient(120deg,#00a95d,#00864c);box-shadow:0 5px 12px #00864c20}.refresh{background:#e8f1f9;color:#0a4479}.login{background:linear-gradient(135deg,#061e40,#087d68)}.login-card{box-shadow:0 20px 65px #001b3540}@media(max-width:720px){.cards article{min-height:125px;padding:16px}.cards article strong{font-size:19px}}.cards article{color:#fff;border:none;border-radius:18px;min-height:175px;box-shadow:0 10px 24px #0a23411f;transition:transform .2s,box-shadow .2s}.cards article:hover{transform:translateY(-4px);box-shadow:0 16px 32px #0a23412e}.cards article span{color:#ffffffeb;font-weight:600}.cards article strong{color:#fff;font-size:26px}.card-revenues{background:linear-gradient(135deg,#00b66b,#008348)!important}.card-expenses{background:linear-gradient(135deg,#ff4057,#d91e43)!important}.card-balance{background:linear-gradient(135deg,#079cf0,#0754b8)!important}.card-absences{background:linear-gradient(135deg,#9345f5,#5925c5)!important}.sidebar{background:linear-gradient(180deg,#071d3b,#103b65);box-shadow:4px 0 20px #05193714}.brand{letter-spacing:-.5px}.nav{border-radius:12px;transition:background .2s,transform .2s}.nav:hover{background:#ffffff21;transform:translate(3px)}.nav.active{background:linear-gradient(110deg,#00b96b,#008d58);color:#fff;box-shadow:0 5px 15px #00965a2e}header{background:linear-gradient(110deg,#fff,#eafaf4)}header h1{color:#082b53;font-weight:800}.refresh{color:#0757a8;transition:transform .25s,background .2s}.refresh:hover{background:#dceefa;transform:rotate(25deg)}.panel{border-radius:20px;box-shadow:0 8px 25px #0c2b480d}.panel h2{color:#082b53;font-weight:800}th{background:#008d59;color:#fff;font-weight:700}tbody tr{transition:background .2s}tbody tr:hover{background:#edf8f4}.toolbar button,.modal form button,.login form button{background:linear-gradient(110deg,#00aa78,#008b68);transition:transform .2s,box-shadow .2s}.toolbar button:hover,.modal form button:hover,.login form button:hover{transform:translateY(-2px);box-shadow:0 6px 15px #008c6433}input:focus,select:focus,textarea:focus{outline:2px solid #16b88b;outline-offset:1px}.header-tricycle{width:200px;height:100px;object-fit:contain;display:block;flex-shrink:0}.header-title{display:flex;align-items:center;gap:20px}@media(max-width:720px){.header-tricycle{width:100px;height:60px}}header{padding:16px 32px}.header-title{display:flex;align-items:center;gap:16px}.header-tricycle{width:150px;height:75px;object-fit:contain}header p{margin-top:4px}@media(max-width:720px){.header-tricycle{width:90px;height:50px}}
