:root{--brand-orange:#ff7c2b;--brand-orange-deep:#cc5714;--red:#b42318;--redSoft:#fee4e2;--vetor-shell-font:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;color-scheme:light;font-family:var(--vetor-shell-font);font-size:13px;color:#111;background:#f3f5f7;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.25;letter-spacing:-.65px}h2{font-size:17px;line-height:1.4}h3{font-size:14px}strong{font-weight:650}[hidden]{display:none!important}:focus-visible{outline:3px solid #ff7c2b80;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;z-index:2000;top:-70px;left:12px;background:#fff;padding:12px;border:1px solid #cc5714;border-radius:8px}.skip-link:focus{top:10px}
.shell-head{min-height:86px;padding:14px 30px;display:flex;align-items:center;gap:20px;background:#fff;border-bottom:1px solid #dce2e7}.brand{display:inline-flex;align-items:center;flex:none}.brand img{display:block;width:182px;height:56px;object-fit:contain}.brand-divider{height:34px;width:1px;background:#dce2e7}.portal-label{padding:8px 12px;border:1px solid #efc6ab;border-radius:8px;background:#fff8f2;color:#994313;font-weight:650;white-space:nowrap}.account{margin-left:auto;display:flex;align-items:center;gap:12px;min-width:0}.account>div{display:grid;gap:3px;min-width:0}.account strong{overflow-wrap:anywhere}.account>div>span{font-size:11px;color:#49515a}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff0e2;color:#bd5012;font-weight:750;flex:none}
main{min-height:calc(100dvh - 142px);width:100%;padding:30px 30px 36px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:6px 0 24px}.eyebrow{display:block;font-size:11px;letter-spacing:1.25px;color:#626a73;font-weight:650;margin-bottom:8px}.session-chip{display:flex;gap:7px;align-items:center;font-size:12px;border:1px solid #dce3e7;background:#fff;border-radius:25px;padding:7px 12px;white-space:nowrap}.session-chip i{width:6px;height:6px;border-radius:50%;background:#278066}.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.module-card{--theme:#ca5718;--tint:#fff4e9;position:relative;display:flex;flex-direction:column;min-height:258px;padding:26px 28px 22px;border:1px solid #e0e4e8;border-radius:16px;background:#fff;box-shadow:0 3px 14px #26323e04;text-decoration:none;overflow:hidden;transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}.module-card:before{content:"";position:absolute;height:4px;top:0;left:0;right:0;background:var(--theme)}.module-card:hover{transform:translateY(-5px) scale(1.008);border-color:color-mix(in srgb,var(--theme),white 55%);box-shadow:0 12px 28px #26323e12}.module-card.contabil{--theme:#2375ad;--tint:#edf6fc}.module-card.pessoal{--theme:#8054b7;--tint:#f4effb}.module-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.module-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:var(--tint);color:var(--theme)}.module-icon svg{width:29px;height:29px}.module-state{padding:5px 9px;font-size:11px;line-height:1.2;border-radius:6px;background:var(--tint);color:var(--theme);font-weight:650}.module-card h2{font-size:22px;letter-spacing:-.35px;margin-bottom:6px}.module-card p{color:#5f6872}.module-enter,.module-soon{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:26px;color:var(--theme);font-weight:650}.module-enter svg{width:20px;height:20px;transition:transform 180ms ease}.module-card:hover .module-enter svg{transform:translateX(3px)}.module-soon{font-size:12px;color:#777e86}.module-card[aria-disabled=true]{cursor:default}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:1px solid #dbe1e7;border-radius:8px;background:#fff;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap;transition:background 160ms,border-color 160ms}.button:hover:not(:disabled){border-color:#df9a6b;background:#fff8f2}.button.primary{background:var(--brand-orange-deep);border-color:var(--brand-orange-deep);color:#fff}.button.primary:hover:not(:disabled){background:#af4710;border-color:#af4710}.button.subtle{background:#f8fafb}.button.danger{background:#b42318;border-color:#b42318;color:white}.button.full{width:100%}.button.icon-button{padding:8px;width:38px}.heading-with-back{display:flex;align-items:center;gap:13px}.panel{border:1px solid #dce2e7;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 2px 5px #26323e04}.list-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:16px}.list-head h2{font-size:15px}.quick-search{position:relative;width:255px}.quick-search svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#64717f}.quick-search input{padding-left:36px}.list-head .list-count{width:192px;min-width:192px;margin-left:auto;text-align:right;font-size:12px}.status-filter{min-width:170px}.table-scroll{overflow:auto;max-height:calc(100dvh - 275px);min-height:165px;scrollbar-width:thin}.people-table{width:100%;min-width:1060px;border-collapse:separate;border-spacing:0;table-layout:fixed}.people-table th{position:sticky;top:0;z-index:1;background:#f6f7f8;font-size:11px;padding:14px 12px;font-weight:750}.people-table td{padding:17px 14px;text-align:center;font-size:13px;line-height:1.5;vertical-align:middle;border-right:1px solid #e5e9ee;border-bottom:1px solid #e1e6eb;overflow-wrap:anywhere;background:#fff}.people-table th{border-top:1px solid #e1e6eb;border-bottom:1px solid #e1e6eb;border-right:1px solid #e5e9ee}.people-table th:first-child{width:70px}.people-table th:nth-child(2){width:26%}.people-table th:nth-child(3){width:146px}.people-table th:nth-child(4){width:160px}.people-table th:last-child{width:260px}.people-table td:last-child{border-right:0}.people-table td strong,.people-table td small{display:block}.people-table td small{margin-top:3px;font-size:12px}.people-table tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:108px;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:650;background:#edf5f1;color:#14674d;border:1px solid #b8dfc9}.badge.pending{color:#89550d;background:#fff7df;border-color:#ecd091}.badge.inactive{color:#526070;background:#f0f2f5;border-color:#d4dbe2}.badge.role{background:#edf2f8;color:#3f5878;border-color:#d5deeb}.badge.master{background:#fff0e5;color:#a74a15;border-color:#f0c5a5}.row-actions{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.row-actions .button{min-width:74px;padding:7px 10px}.row-actions .operation-actions{display:flex;gap:6px;width:100%;justify-content:center}.empty-row{padding:35px!important;color:#55616c}
label{display:grid;gap:7px;font-size:12px;font-weight:650;min-width:0}input,select{display:block;width:100%;min-width:0;height:40px;padding:9px 11px;border:1px solid #d7dfe6;border-radius:8px;background:#fff;font-size:13px;font-weight:500}select{border-color:#ffb27e}input::placeholder{color:#9ba3af;opacity:1;font-weight:400}input:focus{border-color:#ff7c2b;outline:2px solid #ff7c2b30;outline-offset:2px}input[readonly]{background:#f5f7f8}label+label{margin-top:15px}.form-grid label+label{margin-top:0}.access-card{max-width:410px;margin:8vh auto 30px;padding:30px;border:1px solid #dce2e7;border-radius:16px;background:#fff;box-shadow:0 7px 30px #26323e07}.access-mark{display:grid;place-items:center;margin-bottom:20px;width:44px;height:44px;border-radius:11px;background:#fff1e5;color:#cc5714}.access-mark svg{width:26px;height:26px}.access-card h1{font-size:24px;margin-bottom:24px}.access-note{font-size:13px;line-height:1.6;margin-bottom:20px}.access-foot{margin-top:21px;padding-top:17px;border-top:1px solid #edf0f3;font-size:12px;line-height:1.6;color:#58636e}.text-button{border:0;background:transparent;padding:12px 0 0;color:#b44b12;text-decoration:underline}.message:empty{display:none}.message{margin:14px 0;line-height:1.55;font-size:12px;color:#b42318;white-space:pre-wrap;overflow-wrap:anywhere}.message.success{color:#176c4d}.page-message{padding:13px 16px;margin-bottom:20px;border:1px solid #ebce8e;background:#fff8e3;border-radius:8px;line-height:1.5}.page-message .button{margin-left:10px}.shell-foot{display:flex;justify-content:space-between;gap:12px;padding:16px 30px;font-size:11px;color:#68727d;border-top:1px solid #e3e8ec}
.modal{width:min(850px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce2e7;border-radius:15px;box-shadow:0 22px 70px #121d2830;overflow:hidden;color:#111;background:#fff}.modal::backdrop{background:#151b2566}.modal[open]{animation:modal-in 180ms ease}.modal>form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e0e5ea;flex:none}.modal-head h2{font-size:18px}.close-button{width:32px;height:32px;border:1px solid #e0e5ea;border-radius:50%;background:#fff;font-size:21px;line-height:1;flex:none}.modal-body{padding:22px;overflow:auto;overscroll-behavior:contain;line-height:1.6;min-height:0}.modal:not(:has(>form)) .modal-body{max-height:calc(100dvh - 188px)}.modal-foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #ecd9cc;padding:14px 22px;flex:none;background:#fff}.form-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);gap:16px}.section-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 12px}.periods{display:grid;gap:12px}.period-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(130px,1fr) minmax(130px,1fr) 34px;align-items:end;gap:12px;padding:14px;border:1px solid #e0e5ea;border-radius:10px;background:#fcfcfd}.period-row label+label{margin-top:0}.period-row .remove-period{height:40px;padding:0;font-size:20px}.period-row .themed-date-host{width:100%}.note{font-size:12px;color:#535d68;line-height:1.6;margin-top:14px}.person-summary{background:#f6f7f8;border:1px solid #e0e5ea;padding:13px 15px;border-radius:9px;margin-bottom:18px}.person-summary strong,.person-summary span{display:block}.person-summary span{font-size:12px;margin-top:3px}.operation-summary{margin-top:17px;padding:14px;background:#fff7ef;border-left:3px solid #ed8a43;line-height:1.65;font-size:13px}.access-modal{width:min(640px,calc(100vw - 32px))}.history-entry{border:1px solid #dce3e8;border-radius:9px;padding:16px;margin-bottom:14px}.history-entry:last-child{margin-bottom:0}.history-entry h3{color:#b44b12;margin-bottom:6px}.history-meta{font-size:12px;margin-bottom:12px}.history-changes{display:grid;gap:7px}.history-change{display:grid;grid-template-columns:130px minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px;background:#f7f9fa;border:1px solid #e5e9ee;border-radius:7px;font-size:12px}.history-change>*{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.history-change .change-value small{display:block;font-size:10px;font-weight:700;margin-bottom:3px}.toast{position:fixed;z-index:2000;top:100px;right:24px;max-width:min(420px,calc(100vw - 32px));padding:15px 18px;color:#fff;background:#24664e;border-radius:9px;font-size:13px;font-weight:600;box-shadow:0 10px 28px #121d2820;animation:toast-in 180ms ease}.toast.warning{background:#fff3cd;border:1px solid #e3be65;color:#735514}#departure-preview{margin-top:15px;border:1px solid #e3cba1;border-radius:8px;padding:13px;font-size:12px;line-height:1.65}
@keyframes modal-in{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(min-width:1700px){main{padding:38px 38px 44px}.module-card{min-height:280px;padding:30px 32px 26px}.modules{gap:24px}}
@media(max-width:800px){.shell-head{padding:12px 18px;gap:14px}.brand img{width:150px;height:47px}.account{gap:8px}.account>div{max-width:170px}.account-code{display:none}main{padding:24px 18px}.modules{gap:13px}.module-card{padding:22px 20px;min-height:240px}.module-card h2{font-size:19px}.module-icon{width:44px;height:44px}.module-state{font-size:10px}.shell-foot{padding:16px 18px}.portal-label{display:none}.brand-divider{display:none}.period-row{grid-template-columns:1fr 1fr 34px}.period-row label:first-child{grid-column:1/-1}.period-row label+label{margin:0}.list-head .list-count{margin-left:0;text-align:left}.form-grid{grid-template-columns:1fr}}
@media(max-width:560px){main{padding:22px 12px}.shell-head{padding:10px 12px;min-height:73px}.brand img{width:128px;height:42px}.account{gap:8px}.account>div{max-width:135px}.account strong{font-size:12px}.account>div>span{font-size:10px}.account .button{padding:7px 9px;min-height:33px}.page-heading{margin-bottom:20px}h1{font-size:24px}.session-chip{font-size:10px;padding:6px 8px}.eyebrow{font-size:9px;letter-spacing:.9px}.modules{grid-template-columns:1fr;gap:15px}.module-card{min-height:212px;padding:20px 22px}.module-top{margin-bottom:16px}.module-card h2{font-size:21px}.module-enter,.module-soon{padding-top:22px}.access-card{margin:5vh auto 20px;padding:24px}.list-head{padding:14px;gap:11px}.list-head h2{width:100%}.quick-search{width:100%}.list-head .list-count{min-width:0;width:auto;margin-left:auto}.status-filter{width:180px;min-width:0}.modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.modal>form{max-height:calc(100dvh - 18px)}.modal-head{padding:16px}.modal-body{padding:16px}.modal-foot{padding:12px 16px;flex-wrap:wrap}.modal-head h2{font-size:17px}.history-change{grid-template-columns:1fr 1fr}.history-change>strong{grid-column:1/-1}.section-row{flex-wrap:wrap}.period-row{padding:10px;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px}.period-row label{font-size:11px}.shell-foot{padding:15px 12px}.toast{top:83px;right:12px}}
.module-card p,.module-soon,.account>div>span,.access-foot,.note,.shell-foot,.eyebrow{color:#111}.people-table th:last-child{width:292px}.people-table th:nth-child(4){width:182px}.people-table th:first-child,.people-table td:first-child{position:sticky;left:0;z-index:2}.people-table th:nth-child(2),.people-table td:nth-child(2){position:sticky;left:70px;z-index:2;box-shadow:4px 0 5px -4px #38445140}.people-table th:first-child,.people-table th:nth-child(2){z-index:3}
.people-column-trigger{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:24px;padding:0;border:0;background:transparent;color:#111;font:inherit;font-weight:750;text-align:center}.people-column-trigger>span:last-child{color:#75818c;font-size:10px}.people-column-trigger:is(.is-filtered,.is-sorted,[aria-expanded=true]){color:#cc5714}
.column-filter-menu .filter-option,.column-filter-menu .filter-all{display:flex;align-items:center;margin:0;cursor:pointer;font-size:13px;font-weight:500;color:#111!important}.column-filter-menu .filter-option input,.column-filter-menu .filter-all input{width:16px;height:16px;min-width:16px;padding:0;flex:none;accent-color:#cc5714}.column-filter-menu .filter-sort-button{padding:7px;border:1px solid #dce1e5;border-radius:8px;background:#fff;font-weight:600;cursor:pointer}.column-filter-menu .filter-sort-button.active{color:#fff;background:#cc5714;border-color:#cc5714}.column-filter-menu .clear-filter{padding:5px 0;border:0;background:transparent;color:#b42318;font-weight:650}.column-filter-menu .filter-menu-actions .button{min-height:34px}.column-filter-menu .filter-sort-clear{padding:0}.column-filter-menu .filter-all{border-block:1px solid #e5e8ec}.column-filter-menu .filter-option>span{min-width:0;overflow-wrap:anywhere}.column-filter-menu .filter-options{scrollbar-width:thin}.column-filter-menu .filter-search input{font-weight:400}
.people-column-trigger.active{color:#cc5714}.people-column-filter>strong{padding:15px 16px 12px;background:#f8f9fa;border-bottom:1px solid #e5e8ec;font-size:14px}.people-column-filter>.column-order{margin:0;padding:12px 12px 0;font-size:12px}.people-column-filter>#column-search{flex:none;width:calc(100% - 24px);margin:12px;height:39px}.people-column-filter>.filter-option{flex:none;min-height:40px;padding:10px 14px;border-block:1px solid #e5e8ec;border-radius:0;background:#fffaf6}.people-column-filter>.column-filter-foot{display:flex;flex:none;justify-content:space-between;gap:10px;padding:11px 12px;border-top:1px solid #e5e8ec;background:#fafbfc}
/* Portal entry: centered cards, quiet header, unavailable modules in gray. */
.shell-head{min-height:80px;padding-block:12px}.portal-home{width:100%;max-width:1200px;margin-inline:auto}.welcome-title{text-align:center;font-size:34px;line-height:1.25;margin:4px 0 34px;letter-spacing:-.8px}.sign-out-button{display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:#45515e}.sign-out-button:hover{background:#edf0f3}.sign-out-button svg{width:23px;height:23px;stroke-width:1.6}.portal-home .module-card{min-height:320px;padding:26px}.portal-home .module-top{display:block;margin-bottom:20px}.portal-home .module-icon{width:68px;height:68px;margin:16px auto 0;border-radius:16px}.portal-home .module-icon svg{width:37px;height:37px}.portal-home .module-state{position:absolute;right:18px;top:18px}.portal-home .module-card h2,.portal-home .module-card p{text-align:center}.portal-home .module-card h2{font-size:24px}.portal-home .module-enter,.portal-home .module-soon{justify-content:center;gap:10px;padding-top:28px}.module-card.coming-soon{--theme:#76818c;--tint:#e2e6ea;background:#eef0f2;border-color:#dce1e5;box-shadow:none}.module-card.coming-soon h2,.module-card.coming-soon p,.module-card.coming-soon .module-soon{color:#616b75}.module-card.coming-soon:hover{transform:none;box-shadow:none;border-color:#dce1e5}
@media(max-width:800px){.welcome-title{font-size:29px}.portal-home .module-card{padding:22px 17px;min-height:300px}.portal-home .module-card h2{font-size:21px}.portal-home .module-state{right:14px;top:14px}}
@media(max-width:560px){.shell-head{min-height:70px;padding-block:10px}.welcome-title{font-size:26px;margin:0 8px 25px;letter-spacing:-.6px}.portal-home .module-card{min-height:275px}.portal-home .module-icon{width:62px;height:62px;margin-top:12px}.portal-home .module-card h2{font-size:23px}.portal-home .module-icon svg{width:34px;height:34px}}
/* Authentication keeps its original forms and handlers in a Vetor brand shell. */
.access-brand .auth-brand-logo{align-self:center}.access-form-panel .access-mark{align-self:center}.access-form-panel h1,.access-form-panel .access-foot{text-align:center}
body.portal-login-pending{overflow:hidden}
.portal-auth{background:#20272e;background-image:radial-gradient(ellipse at 12% 20%,#eb7a2620,transparent 48%),radial-gradient(ellipse at 95% 100%,#050a1060,transparent 65%)}.portal-auth .shell-head,.portal-auth .shell-foot{display:none}.portal-auth main{display:grid;place-items:center;min-height:100dvh;padding:40px 28px}.portal-auth .access-card{display:grid;grid-template-columns:1.02fr 1fr;position:relative;z-index:1;width:100%;max-width:1180px;min-height:610px;margin:0;padding:0;border:1px solid #ffffff15;border-radius:20px;overflow:hidden;box-shadow:0 26px 90px #00000040}.access-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;padding:42px 44px;background:linear-gradient(140deg,#29323b,#171d23);color:#fff;overflow:hidden}.auth-brand-logo{display:block;align-self:flex-start;padding:10px 14px;border-radius:10px;background:#fff;z-index:1}.auth-brand-logo img{display:block;width:220px;height:68px;object-fit:contain}.access-brand h2{position:relative;z-index:1;font-size:46px;line-height:1.16;font-weight:700;letter-spacing:-1.5px;margin:auto 0;padding:50px 0 65px}.access-brand h2::after{content:"";display:block;margin-top:24px;width:58px;height:4px;border-radius:4px;background:#ff812f}.access-brand-graphic{position:absolute;right:-70px;bottom:-5px;width:360px;height:300px;color:#ff8a3d;opacity:.13;stroke-width:3.5;pointer-events:none}.access-form-panel{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:44px 46px;background:#fff}.access-form-panel .access-mark{width:44px;height:44px;margin-bottom:17px}.access-form-panel h1{font-size:28px;color:#bf5118;margin-bottom:32px;letter-spacing:-.6px}.access-form-panel form label{font-size:13px;gap:8px}.access-form-panel input{height:46px;font-size:14px;border-radius:8px}.access-form-panel label+label{margin-top:20px}.access-form-panel .button.full{height:45px;margin-top:24px;font-size:13px}.access-form-panel .access-foot{margin-top:30px;padding-top:20px;font-size:12px;line-height:1.65}.access-form-panel .message{margin-bottom:0}.access-form-panel .text-button{text-align:left}.access-brand[hidden]{display:none}
@media(max-width:800px){.portal-auth main{padding:24px 18px}.portal-auth .access-card{min-height:560px;grid-template-columns:.95fr 1fr}.access-brand{padding:30px}.auth-brand-logo{padding:8px 12px}.auth-brand-logo img{width:175px;height:54px}.access-brand h2{font-size:36px}.access-form-panel{padding:32px 28px}.access-form-panel h1{font-size:25px}}
@media(max-width:600px){.portal-auth main{padding:16px 12px}.portal-auth .access-card{display:block;min-height:0;max-width:450px;border-radius:16px}.access-brand{min-height:190px;padding:22px 24px;gap:20px}.auth-brand-logo img{width:150px;height:46px}.auth-brand-logo{padding:6px 9px;border-radius:7px}.access-brand h2{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0;padding:0}.access-brand h2 br{display:none}.access-brand h2::after{margin-top:14px;width:40px;height:3px}.access-brand-graphic{width:230px;height:180px;right:-15px;bottom:-20px;opacity:.11}.access-form-panel{padding:26px 24px 28px}.access-form-panel .access-mark{display:none}.access-form-panel h1{font-size:24px;margin-bottom:24px}.access-form-panel .button.full{margin-top:21px}.access-form-panel .access-foot{margin-top:25px}}
/* People administration: readable text and aligned list controls. */
#settings{font-size:16px;line-height:1.5}
#settings .list-head{align-items:center}
#settings .list-head>label{margin:0}
#settings .list-head h2{font-size:18px}
#settings .button{min-height:40px;font-size:14px}
#settings input,#settings select{height:40px;font-size:16px}
#settings .list-count{font-size:14px}
#settings .people-table{min-width:1180px}
#settings .people-table th{font-size:14px}
#settings .people-table td{font-size:16px}
#settings .people-table td small{font-size:14px}
#settings .people-table th:first-child{width:80px}
#settings .people-table th:nth-child(2),#settings .people-table td:nth-child(2){left:80px}
#settings .people-table th:nth-child(3){width:166px}
#settings .people-table th:nth-child(4){width:204px}
#settings .people-column-trigger{white-space:nowrap}
#settings .badge{max-width:100%;font-size:14px;line-height:1.4;text-align:center}
#settings .row-actions .button{min-height:40px}
#settings .row-actions:has([data-action=depart]){display:grid;grid-template-columns:repeat(2,minmax(74px,1fr));max-width:240px;margin-inline:auto}
:is(#person-dialog,#access-dialog,#history-dialog){font-size:16px}
:is(#person-dialog,#access-dialog,#history-dialog) .modal-head h2{font-size:20px}
:is(#person-dialog,#access-dialog,#history-dialog) h3{font-size:16px}
:is(#person-dialog,#access-dialog,#history-dialog) label{font-size:14px}
:is(#person-dialog,#access-dialog,#history-dialog) input,:is(#person-dialog,#access-dialog,#history-dialog) select{font-size:16px}
:is(#person-dialog,#access-dialog,#history-dialog) .button{min-height:40px;font-size:14px}
:is(#person-dialog,#access-dialog,#history-dialog) :is(.note,.message,.person-summary span,.operation-summary,.history-meta,.history-change){font-size:14px}
#history-dialog .history-change .change-value small{font-size:12px}
#access-dialog #departure-preview{font-size:14px}
:is(#person-dialog,#access-dialog,#history-dialog) .themed-date-trigger{font-size:14px}
:is(#person-dialog,#access-dialog,#history-dialog) .themed-date-cell{font-size:14px}
:is(#person-dialog,#access-dialog,#history-dialog) .themed-date-week{font-size:12px}
:is(#person-dialog,#access-dialog,#history-dialog) .themed-date-foot button{font-size:14px}
#people-column-filter{font-size:14px}
#people-column-filter :is(.filter-option,.filter-all,.filter-sort-button,.clear-filter,.button){font-size:14px}
#people-column-filter input[type=search]{font-size:16px}
/* Module access is selected once; each selected module owns its periods. */
#person-module-options .module-access-option,#module-periods .module-period-group,#settings .person-module-card{--module-accent:#bf5115;--module-soft:#fff6ed;--module-edge:#efd0b9}
#person-module-options .module-access-option[data-module-key=contabil],#module-periods .module-period-group[data-module-key=contabil],#settings .person-module-card[data-module-key=contabil]{--module-accent:#246f9f;--module-soft:#f0f7fc;--module-edge:#c8dfef}
#person-module-options .module-access-option[data-module-key=pessoal],#module-periods .module-period-group[data-module-key=pessoal],#settings .person-module-card[data-module-key=pessoal]{--module-accent:#7951a5;--module-soft:#f6f1fc;--module-edge:#ded0ed}
#person-module-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
#person-dialog #person-module-options .module-access-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-content:center;align-items:center;column-gap:10px;row-gap:2px;min-height:66px;margin:0;padding:11px 13px;border:1px solid var(--module-edge);border-radius:10px;background:#fff;cursor:pointer;transition:background 160ms,border-color 160ms,box-shadow 160ms}
#person-dialog #person-module-options .module-access-option:has(input:checked){background:var(--module-soft);border-color:var(--module-accent)}
#person-dialog #person-module-options .module-access-option:has(input:focus-visible){box-shadow:0 0 0 3px #ff7c2b30}
#person-dialog #person-module-options input[type=checkbox]{grid-row:1/span 2;width:17px;height:17px;min-width:17px;margin:0;padding:0;border-radius:3px;accent-color:var(--module-accent)}
#person-module-options .module-access-name{grid-column:2;font-size:14px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;color:var(--module-accent)}
#person-module-options .module-access-state{grid-column:2;font-size:12px;font-weight:500;line-height:1.4;color:#626c77}
#person-dialog #person-module-options .module-access-option:has(input:disabled){background:var(--module-soft);cursor:not-allowed}
#person-module-options input:disabled{opacity:.55}
#module-periods .module-period-group{min-width:0;padding:14px;border:1px solid var(--module-edge);border-radius:11px;background:#fff}
#module-periods .module-period-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#module-periods .module-period-head h4{margin:0;font-size:16px;line-height:1.4;font-weight:700;color:var(--module-accent)}
#module-periods .module-period-head .button{border-color:var(--module-edge);background:var(--module-soft);color:var(--module-accent)}
#module-periods .module-period-rows{display:grid;gap:10px;min-width:0}
#module-periods .module-period-group .period-row{grid-template-columns:repeat(2,minmax(0,1fr)) 34px;background:var(--module-soft);border-color:var(--module-edge);min-width:0}
#module-periods .module-period-group .period-row label{margin:0;grid-column:auto;min-width:0}
#module-periods .module-period-group .period-row .remove-period{width:34px;min-width:34px;height:40px;min-height:40px;align-self:end}
#settings .person-modules{display:grid;gap:8px;min-width:0;width:100%;max-width:360px;margin-inline:auto}
#settings .person-module-card{display:grid;gap:3px;min-width:0;padding:10px 12px;border:1px solid var(--module-edge);border-left:3px solid var(--module-accent);border-radius:8px;background:var(--module-soft);text-align:center}
#settings .person-module-card strong{color:var(--module-accent);line-height:1.4}
#settings .person-module-card .module-period-range{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:560px){#person-module-options{grid-template-columns:minmax(0,1fr);gap:9px}#person-dialog #person-module-options .module-access-option{min-height:58px}#module-periods .module-period-group{padding:11px}#module-periods .module-period-head{flex-wrap:wrap;gap:8px}#module-periods .module-period-head .button{margin-left:auto}#module-periods .module-period-group .period-row{grid-template-columns:minmax(0,1fr) 34px;gap:10px;padding:11px}#module-periods .module-period-group .period-row label:first-child{grid-column:1/-1}#module-periods .module-period-group .period-row label:nth-child(2){grid-column:1}#module-periods .module-period-group .period-row .remove-period{grid-column:2}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.module-card:hover{transform:none}.module-card:hover .module-enter svg{transform:none}}

/* Self-service recovery stays inside the existing Vetor access panel. */
/* Ferramentas uses the Portal cards, header and responsive spacing. */
.ferramentas-card{--theme:#446051;--tint:#eaf3ed}
.portal-home .modules:has(#ferramentas-card){grid-template-columns:repeat(4,minmax(0,1fr))}
.ferramentas-view{width:100%;min-width:0}
.ferramentas-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px}
.ferramentas-list .module-card{min-height:210px}
#ferramentas-access-message{padding:14px 16px;border:1px solid #dce2e7;border-radius:8px;background:#fff;overflow-wrap:anywhere}
@media(max-width:1050px){.portal-home .modules:has(#ferramentas-card){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.portal-home .modules:has(#ferramentas-card){grid-template-columns:minmax(0,1fr)}}
.welcome-title{overflow-wrap:anywhere}

.account {
  flex: 0 1 auto;
  max-width: min(100%, 360px);
}
.account .account-details {
  flex: 0 1 auto;
  min-width: 0;
}
.account-details :is(strong, span) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}
.account .avatar {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid #f1d6c3;
  background: #fff7f0;
  color: #cc5a18;
}
.account-settings {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #45515e;
}
.account-settings:hover {
  background: #edf0f3;
}
.account :is(.account-settings, .sign-out-button) {
  flex: none;
}

/* Keep programmatic focus on the content without outlining the whole page. */
#main[tabindex="-1"]:focus {
  outline: none;
}

.shell-brand,
.codex-header-context {
  display: flex;
  align-items: center;
  gap: 16px;
}
.codex-shell-head {
  min-height: 72px;
  padding: 10px 28px;
  gap: 16px;
}
.codex-shell-head .brand img {
  width: 168px;
  height: 50px;
}
.codex-header-menu {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  border: 1px solid #e0e3e6;
  border-radius: 10px;
  background: #fff;
  color: #40454b;
  box-shadow: 0 1px 2px #191f240a;
}
.codex-header-menu:is(:hover, [aria-expanded="true"]) {
  background: #f6f7f8;
}
.codex-header-menu svg {
  width: 24px;
  height: 24px;
}
.codex-header-context .brand-divider {
  display: block;
  flex: 0 0 1px;
  height: 30px;
  background: #e3e5e8;
}
.codex-header-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #f1d6c3;
  border-radius: 9px;
  background: #fff7f0;
  color: #5c5651;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.codex-header-label strong {
  color: #cc5a18;
  font-weight: 750;
}
@media (max-width: 700px) {
  .codex-shell-head {
    min-height: 64px;
    padding: 10px 12px;
  }
  .codex-shell-head,
  .shell-brand,
  .codex-header-context {
    gap: 8px;
  }
  .codex-shell-head .brand img {
    width: 120px;
    height: 44px;
  }
  .codex-header-menu {
    width: 36px;
    height: 36px;
  }
  .codex-header-menu svg {
    width: 20px;
    height: 20px;
  }
  .codex-header-context .brand-divider {
    height: 28px;
  }
  .codex-header-label {
    gap: 3px;
    min-height: 32px;
    padding: 6px 7px;
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .shell-head,
  .account {
    gap: 6px;
  }
  .codex-shell-head {
    flex-wrap: wrap;
  }
  .account .avatar,
  .account :is(.account-settings, .sign-out-button) {
    width: 32px;
    height: 32px;
  }
  .account :is(.account-settings, .sign-out-button) {
    padding: 5px;
  }
  .account :is(.account-settings, .sign-out-button) svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 380px) {
  .shell-head {
    padding-inline: 10px;
  }
  .shell-head:not(.codex-shell-head) .brand img {
    width: 112px;
    height: 40px;
  }
  .codex-shell-head .brand img {
    width: 96px;
    height: 40px;
  }
  .shell-brand,
  .codex-header-context {
    gap: 6px;
  }
}
.access-card .recover-link{display:block;margin:12px auto 0;padding:7px 10px;font-size:13px;text-decoration:none;min-height:32px}.access-card .text-button:hover{text-decoration:underline}.access-card #back-login{display:block;margin-inline:auto}.access-card #recovery-form .access-note{margin-bottom:20px}
