:root{--bg:#f4f7f5;--white:#fff;--ink:#18312b;--muted:#809189;--forest:#155442;--forest-deep:#103e33;--mint:#e1f2e9;--mint-light:#f4fbf7;--border:#e7eeea;--red:#bf4d55;--red-bg:#faecec;--shadow:0 12px 38px rgba(31,67,54,.05);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin-top:0}h1{font-size:23px;margin:3px 0 0;font-weight:750;letter-spacing:-.8px}h2{font-size:25px;line-height:1.2;letter-spacing:-.9px;margin:5px 0 7px;font-weight:750}h3{font-size:15px;letter-spacing:-.2px;margin-bottom:3px}h4{font-size:14px;margin-bottom:2px}p{color:var(--muted)}.muted{color:var(--muted)}.eyebrow{color:#79a58d;letter-spacing:2px;font-size:10px;font-weight:850}.layout{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;background:#fff;border-right:1px solid var(--border);padding:26px 16px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:4px 9px 27px;white-space:nowrap}.brand-img{width:48px;height:48px;object-fit:contain;flex-shrink:0}.brand strong{display:block;color:#174b3d;font-size:17px;letter-spacing:-.6px;font-weight:800}.brand small{display:block;color:#899a93;font-size:10px;font-weight:600;letter-spacing:.15px}.nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;width:100%;background:transparent;border:1px solid transparent;text-align:left;color:#697d73;padding:11px 12px;gap:12px;border-radius:11px;font-weight:620;transition:background .2s,color .2s,transform .2s}.nav-item:hover{background:#f6faf7;color:var(--forest);transform:translateX(2px)}.nav-item.active{background:#e5f3eb;color:var(--forest);font-weight:780}.nav-icon{width:23px;height:23px;display:inline-grid;place-items:center;font-size:20px;line-height:1}.side-bottom{margin-top:auto;color:#8a9a93;padding:16px 9px 0;border-top:1px solid var(--border);font-size:11px}.side-bottom small{display:block;color:#b4c0b9;margin:6px 0 0 14px;font-size:10px;line-height:1.4}.mini-dot{display:inline-block;width:7px;height:7px;background:#6bbb89;border-radius:50%;margin-right:5px;box-shadow:0 0 0 3px #e3f6eb}.main-wrap{min-width:0;flex:1;max-width:100%}.topbar{background:#fff;min-height:86px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:17px clamp(18px,3vw,44px);position:sticky;top:0;z-index:15;gap:16px}.top-left,.top-right{display:flex;align-items:center;gap:11px}.top-right{gap:12px}.breadcrumb{font-size:9px;letter-spacing:1.6px;font-weight:800;color:#9cac9f}.login-user{font-weight:700;color:#425c51;font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-user small{display:block;font-size:10px;font-weight:500;color:#9caaa1}.avatar,.emp-avatar{background:#dcefe4;color:var(--forest);font-weight:800;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.avatar{width:37px;height:37px}.icon-btn{height:34px;min-width:34px;border:none;border-radius:10px;background:#f5f8f6;color:#688273;font-size:18px;transition:background .2s}.icon-btn:hover{background:#e4efe8;color:var(--forest)}.mobile-only{display:none}.content{padding:26px clamp(18px,3vw,44px) 48px;max-width:1680px;margin:0 auto}.page{display:none;animation:fadeUp .28s ease-out}.page.visible{display:block}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 24px}.section-heading p{margin-bottom:0}.filter-label{display:flex;flex-direction:column;gap:5px;color:#7a8e84;font-size:11px;font-weight:700}.filter-label input,.filter-label select{min-width:160px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.card,.kpi{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.kpi{padding:22px 23px;position:relative;overflow:hidden;min-height:145px}.kpi:after{content:'';height:70px;width:70px;position:absolute;right:-30px;bottom:-35px;background:#e5f4eb;border-radius:50%;opacity:.8}.kpi-label{display:block;font-size:12px;color:#899a92;font-weight:640}.kpi strong{display:block;font-size:32px;font-weight:780;letter-spacing:-1.1px;margin:9px 0 0;line-height:1.3}.kpi-sub{color:#a1aea6;font-size:11px}.kpi-icon{position:absolute;top:19px;right:19px;width:29px;height:29px;display:grid;place-items:center;background:#ecf8f0;color:#4e9e75;border-radius:9px;font-size:19px}.flash{animation:flash .45s ease}.two-panels{display:grid;grid-template-columns:1.4fr 1fr;gap:17px;margin-bottom:18px}.card{padding:20px 23px;margin-bottom:18px;min-width:0}.two-panels .card{margin:0;min-height:248px}.card-top{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:2px 0 20px}.card-top p{font-size:12px;margin:0}.tag{background:#eff8f2;border:1px solid #e1efe6;color:#5b9674;font-size:10px;font-weight:750;padding:5px 10px;border-radius:20px;white-space:nowrap}.bar-comparison{padding:17px 5px}.bar-comparison>div:not(.bar-track){display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#71847a}.bar-comparison strong{font-size:13px;color:#355849}.bar-track{height:13px;background:#edf4ef;border-radius:14px;overflow:hidden;margin:12px 0 28px}.bar-track:last-child{margin-bottom:8px}.bar-fill{height:100%;width:0;background:linear-gradient(90deg,#1b664e,#5baa80);border-radius:14px;transition:width 1s cubic-bezier(.25,.75,.25,1)}.bar-soft{background:#b6dcc5}.balance-row{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:12px;color:#647a6d}.balance-row strong{margin-left:auto;color:var(--ink);font-size:17px}.round-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;font-size:21px;font-weight:500}.round-icon.pos{background:#e4f6eb;color:#35825d}.round-icon.neg{background:#fceeee;color:#b65e59}.balance-note{background:#f6faf7;border-radius:11px;padding:11px 14px;margin-top:10px;font-size:11px;color:#779182;display:flex;justify-content:space-between;gap:8px}.balance-note strong{font-size:13px;color:var(--forest)}.table-scroll{width:100%;overflow-x:auto;scrollbar-color:#d0ddd4 transparent;scrollbar-width:thin}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{color:#95a49a;font-size:10px;text-transform:uppercase;letter-spacing:1.03px;font-weight:780;padding:12px 12px;background:#f8fbf9}td{padding:13px 12px;border-top:1px solid #eff3f0;color:#5b7568;font-size:12px}tbody tr:hover{background:#fcfefc}td strong{color:#2e4b3f;font-weight:720}.clickable{cursor:pointer}.clickable:hover td:first-child strong{text-decoration:underline}.text-red{color:var(--red)!important}.text-green{color:#32845c!important}.empty{text-align:center;padding:35px;color:#9aa9a0}.toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--border)}.toolbar-spacer{flex:1}.toolbar .btn{white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;min-height:39px;border-radius:10px;border:1px solid transparent;font-size:12px;font-weight:750;transition:background .2s,transform .2s,box-shadow .2s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:var(--forest);color:#fff;box-shadow:0 5px 14px rgba(20,85,66,.16)}.btn.primary:hover{background:#176a50}.btn.outline{border-color:#d9e7de;background:#fff;color:var(--forest)}.btn.outline:hover{background:#f3faf5}.btn.subtle{color:var(--forest);background:#eef7f1;padding:7px 10px;min-height:32px}.btn.wide{width:100%;justify-content:space-between;font-size:14px;padding:12px 17px;margin-top:5px}.mini-kpis{display:flex;flex-wrap:wrap;gap:12px;margin:17px 0 15px}.mini-kpis>div{flex:1;min-width:118px;background:#f6faf7;border-radius:11px;padding:12px 15px;color:#8da298;font-size:11px}.mini-kpis strong{display:block;font-size:22px;line-height:1.35;color:#305946;letter-spacing:-.3px}.mini-kpis .emphasis{background:#e1f2e8;color:var(--forest)}.mini-kpis .emphasis strong{color:#165b42}.ponto-card{padding:18px 20px}.ponto-table th,.ponto-table td{padding:11px 10px}.ponto-table td small{display:block;color:#aab8ae;font-size:10px}.attention td:first-child{border-left:3px solid #e0ae7a}.status{display:inline-block;border-radius:8px;padding:4px 8px;color:#82938a;background:#f1f5f2;font-size:10px;font-weight:720}.status-regular,.status-positivo,.status-feriado{background:#e9f6ef;color:#31825a}.status-negativo,.status-ausencia,.status-pendente{background:#fbeeee;color:#c35d5d}.status-hoje,.status-andamento{background:#ecf2fa;color:#5c83aa}.info-mark{margin-left:5px;color:#7f9d8b;cursor:help}.edit-mini{border:0;background:#eff6f1;color:#3e9164;width:28px;height:28px;border-radius:8px;font-size:16px}.point-footer{border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:17px}.footer-actions{display:flex;gap:8px;flex-wrap:wrap}.employee-layout{display:grid;grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:16px;align-items:start}.emp-list-card{padding:14px;position:sticky;top:111px}.employee-list{max-height:65vh;overflow:auto}.search-label{display:flex;align-items:center;gap:8px;padding:0 12px;background:#f6faf7;border:1px solid #e7efea;border-radius:10px;margin-bottom:13px;color:#7c9c8a}.search-label input{border:0!important;background:transparent!important;padding:10px 0!important;min-width:0;width:100%;outline:0!important}.emp-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:none;background:transparent;border-radius:11px;text-align:left;min-width:0}.emp-item:hover,.emp-item.active{background:#eff7f1}.emp-avatar{width:35px;height:35px;font-size:13px}.emp-item>span:nth-child(2){min-width:0;flex:1}.emp-item strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;color:#3d584a}.emp-item small{display:block;font-size:10px;color:#91a497}.emp-status{height:7px;width:7px;border-radius:50%;background:#53b47e}.emp-status.inactive{background:#c8d2cb}.emp-form-card{padding:23px 25px}.form-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:1px 0 17px;margin-bottom:20px}.form-header h3{font-size:18px}.form-header p{font-size:12px;margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}.form-grid .span2{grid-column:span 2}label{display:block}label input,label select,label textarea,.filter-label input,.filter-label select{display:block;width:100%;border:1px solid #dce8df;border-radius:9px;padding:10px 11px;outline:none;color:#2c4b3c;background:#fff;margin-top:5px;transition:border-color .2s,box-shadow .2s;font-weight:550;min-height:40px}label input:focus,label select:focus,label textarea:focus,.filter-label input:focus,.filter-label select:focus{border-color:#76b590;box-shadow:0 0 0 3px #edf8f0}label textarea{resize:vertical;min-height:70px}.form-grid label{color:#72867a;font-size:11px;font-weight:700}.form-grid label small{font-weight:450;color:#a4afa6}.subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 13px}.subhead h4{margin-bottom:2px}.subhead p{font-size:10px;margin:0}.schedule-table{min-width:660px}.schedule-table th,.schedule-table td{padding:8px 9px}.schedule-table input[type=time]{border:1px solid #dce9e0;border-radius:7px;padding:5px 7px;max-width:108px;min-width:0;width:100%;font-size:12px;background:#fff;color:#3c584b}.schedule-table input:disabled{opacity:.3}.schedule-table input[type=checkbox]{width:16px;height:16px;accent-color:#17674b}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:13px;border-top:1px solid var(--border);padding-top:19px;margin-top:26px}.admin-extra summary{font-weight:750;color:#517462;cursor:pointer;padding:4px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:15px 0}.settings-grid h3{margin-bottom:12px}.inline-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.inline-form label{font-size:11px;flex:1;min-width:120px}.compact-list{margin:15px 0;max-height:260px;overflow:auto}.compact-item{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2ed;padding:6px 4px;color:#708778;font-size:12px}.compact-item strong{color:var(--forest);margin-right:5px}.inline-between{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.audit-list{font-size:11px;max-height:320px;overflow:auto}.audit-item{padding:10px 3px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:9px}.audit-item time{color:#a4b1a8;white-space:nowrap}.audit-item small{color:#a7b2aa}.modal{border:1px solid var(--border);border-radius:19px;box-shadow:0 25px 100px rgba(12,42,31,.25);width:min(94vw,540px);padding:23px 26px;color:var(--ink)}.modal::backdrop{background:rgba(15,44,34,.38);backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:23px}.modal-head h3{font-size:19px}.modal-head p{font-size:12px;margin:0}.modal-actions{display:flex;justify-content:end;gap:10px;margin-top:21px}.toast{position:fixed;z-index:100;right:22px;bottom:22px;max-width:min(450px,calc(100vw - 36px));border-radius:12px;background:#174f40;color:#fff;box-shadow:0 15px 60px rgba(0,0,0,.17);padding:13px 20px;opacity:0;transform:translateY(16px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#b65056}.login-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 15% 12%,#d8f0e3 0,transparent 34%),radial-gradient(circle at 90% 85%,#e2f3e8 0,transparent 35%),#f4f8f5}.login-card{width:min(100%,430px);background:#fff;border:1px solid #e5efe7;border-radius:23px;box-shadow:0 35px 90px rgba(32,70,48,.1);padding:40px}.brand-login{padding:0;margin-bottom:30px}.brand-login .brand-img{height:56px;width:56px}.brand-login strong{font-size:22px}.brand-login small{font-size:11px}.login-greeting{font-size:21px;font-weight:780;letter-spacing:-.7px;color:var(--forest);margin-bottom:4px}.login-card p{font-size:12px}.login-card label{margin-top:16px;color:#748b7e;font-weight:680;font-size:12px}.login-card label input{margin-top:5px}.login-card form{margin-top:24px}.login-first-access{text-align:center;margin:21px 0 0;font-size:12px;color:#718779}.login-first-access a{color:#155442;text-decoration:underline;text-underline-offset:3px;font-weight:750}.login-footer{margin-top:31px;text-align:center;font-size:10px!important;color:#a7b6aa!important}.alert{padding:10px 14px;border-radius:10px;font-size:12px;margin:12px 0}.alert.error{color:#ab494d;background:#fbeaec}.alert.success{color:#206d49;background:#e7f7ec}.brand-mark{font-size:35px;color:var(--forest)}@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes flash{from{opacity:.3}to{opacity:1}}@media(max-width:1180px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:220px}.employee-layout{grid-template-columns:220px minmax(0,1fr)}.two-panels{grid-template-columns:1fr 1fr}}@media(max-width:900px){.sidebar{position:fixed;left:-260px;top:0;height:100vh;box-shadow:0 10px 60px rgba(0,0,0,.1);transition:left .2s}.sidebar.mobile-open{left:0}.mobile-only{display:inline-grid;place-items:center}.topbar{padding:12px 19px}.content{padding:20px}.settings-grid{grid-template-columns:1fr}.two-panels{grid-template-columns:1fr}.employee-layout{grid-template-columns:1fr}.emp-list-card{position:static}.employee-list{max-height:245px;overflow:auto}.login-user{display:none}}@media(max-width:600px){h1{font-size:18px}h2{font-size:21px}.breadcrumb{font-size:8px}.topbar{min-height:65px}.top-right{gap:5px}.avatar{width:30px;height:30px}.content{padding:16px 12px 34px}.section-heading{align-items:start;flex-wrap:wrap;gap:10px;margin-bottom:16px}.kpis{gap:9px}.kpi{padding:14px;min-height:124px}.kpi strong{font-size:25px}.kpi-label{font-size:10px}.kpi-icon{display:none}.card{padding:15px;border-radius:14px}.toolbar{align-items:end}.toolbar .filter-label{flex:1}.toolbar .filter-label input,.toolbar .filter-label select{min-width:0}.toolbar-spacer{display:none}.toolbar .btn{flex:1}.mini-kpis{gap:7px}.mini-kpis>div{min-width:calc(33.333% - 7px);padding:10px;font-size:10px}.mini-kpis strong{font-size:16px}.employee-layout{gap:8px}.emp-form-card{padding:15px}.form-grid{gap:12px}.subhead{align-items:start;flex-wrap:wrap}.form-actions{flex-wrap:wrap;justify-content:stretch}.form-actions .btn{width:100%}.point-footer{align-items:stretch}.footer-actions{width:100%}.footer-actions .btn{flex:1}.login-card{padding:30px 23px}.login-body{padding:12px}.modal{padding:19px}.modal .form-grid{grid-template-columns:1fr 1fr}.audit-item{flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
#adminUsuarios{scroll-margin-top:112px}
.access-layout{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.7fr);gap:22px;align-items:start}
.access-list{display:grid;gap:7px;max-height:380px;overflow:auto}
.access-item{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e6efe8;border-radius:12px;background:#fff;padding:10px;width:100%}
.access-item:hover,.access-item.active{background:#ecf7f0;border-color:#9dceb1}
.access-info{flex:1;min-width:0}
.access-info strong,.access-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.access-info strong{font-size:12px;color:#274838}
.access-info small{font-size:11px;color:#7d9987}
.access-pill{border-radius:15px;background:#e5f5ea;color:#2b7e52;font-size:10px;font-weight:700;padding:4px 9px}
.access-pill.inactive{background:#f3ecec;color:#a45d5d}
.access-form{background:#f8fbf9;border:1px solid #e5eee8;border-radius:14px;padding:18px}
.access-form h4{font-size:15px;margin-bottom:18px}
.access-active{display:flex;align-items:center;gap:10px;align-self:end;min-height:44px}
.access-active input{width:18px;height:18px;min-height:auto;accent-color:var(--forest);margin:0}
@media(max-width:880px){.access-layout{grid-template-columns:1fr}.access-list{max-height:240px}}
@media(max-width:500px){#btnAbrirUsuarios{padding:8px;font-size:11px;min-height:35px}.access-form .form-grid{grid-template-columns:1fr}.access-form .form-grid .span2{grid-column:auto}.access-form{padding:12px}.access-list{max-height:190px}}
