/* RH Mazzui product frame v3: shared by administrator, supervisor and employee. */
body.rh-workspace.rh-product-v3{--rh-header-height:72px;--rh-sidebar-width:244px;--rh-chrome:#0b3452;--rh-chrome-line:#ffffff20;--rh-space:20px;padding-top:var(--rh-header-height)!important;font-size:13px;line-height:1.6}
body.rh-workspace.rh-product-v3:not(.mz-auth) .topbar{height:var(--rh-header-height)!important;min-height:var(--rh-header-height)!important;padding:0 20px!important;gap:18px!important;background:var(--rh-chrome)!important;border-bottom:1px solid var(--rh-chrome-line)!important;box-shadow:none!important}
body.rh-workspace.rh-product-v3 .topbar .rh-menu-toggle{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:7px;background:transparent!important;border:1px solid #ffffff30!important;border-radius:8px;color:#dcecf5;cursor:pointer}
body.rh-workspace.rh-product-v3 .rh-menu-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
body.rh-workspace.rh-product-v3 .topbar-logo,body.rh-workspace.rh-product-v3 .topbar-left{gap:24px;flex:1;min-width:0}
body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark{width:166px!important;min-width:166px!important;height:54px!important;padding:0;background:transparent!important;overflow:hidden}
body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark img{width:166px!important;max-width:100%!important;height:auto!important}
body.rh-workspace.rh-product-v3 .topbar .topbar-logo-text{padding-left:24px;border-left:1px solid var(--rh-chrome-line);min-width:0}
body.rh-workspace.rh-product-v3 .topbar .topbar-logo-text h1,body.rh-workspace.rh-product-v3 .topbar .topbar-title{color:#f2f8fc!important;font-size:18px!important;line-height:1.3}
body.rh-workspace.rh-product-v3 .topbar .topbar-logo-text p{color:#b4ccdc!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}
body.rh-workspace.rh-product-v3 .topbar :is(.rh-theme-toggle,.btn-sair){background:transparent!important;border:1px solid #ffffff30!important;color:#e4f1f8!important;min-height:36px!important;height:36px;padding:7px 12px!important;box-shadow:none!important;font-size:11px!important;white-space:nowrap;margin:0}
body.rh-workspace.rh-product-v3 .rh-theme-toggle{margin-left:auto!important}
body.rh-workspace.rh-product-v3 .rh-sidebar{background:var(--rh-chrome)!important;background-image:none!important;border-right:1px solid var(--rh-chrome-line);padding:16px 12px 14px;width:var(--rh-sidebar-width);top:var(--rh-header-height);box-sizing:border-box}
body.rh-workspace.rh-product-v3 .rh-sidebar-label{font-size:10px;padding:0 12px 14px;letter-spacing:1.1px}
body.rh-workspace.rh-product-v3 .rh-sidebar .mz-nav-link{min-height:44px;padding:10px 11px;font-size:12.5px;gap:11px;border-radius:9px}
body.rh-workspace.rh-product-v3 .rh-nav-caption{padding:18px 12px 6px;font-size:10px}
body.rh-workspace.rh-product-v3 .rh-sidebar-footer{padding:12px 10px 0;margin-top:12px;font-size:9px}
body.rh-workspace.rh-product-v3 .rh-sidebar>nav{display:flex;flex-direction:column;gap:4px;min-height:100%}
body.rh-workspace.rh-product-v3 .rh-nav-group{display:block;border-top:1px solid transparent}
body.rh-workspace.rh-product-v3 .rh-nav-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;margin:4px 0 0;padding:8px 11px;border:0;border-radius:8px;background:transparent;color:#b8cfdd;font:700 10.5px/1.2 inherit;letter-spacing:.075em;text-transform:uppercase;cursor:pointer;text-align:left}
body.rh-workspace.rh-product-v3 .rh-nav-group-toggle:hover,body.rh-workspace.rh-product-v3 .rh-nav-group-toggle:focus-visible{background:#ffffff10;color:#fff;outline:2px solid #7dd3fc;outline-offset:-2px}
body.rh-workspace.rh-product-v3 .rh-nav-chevron{font-size:17px;line-height:1;transition:transform .16s ease}
body.rh-workspace.rh-product-v3 .rh-nav-group[data-expanded] .rh-nav-chevron{transform:rotate(180deg)}
body.rh-workspace.rh-product-v3 .rh-nav-group-items{display:none;gap:3px}
body.rh-workspace.rh-product-v3 .rh-nav-group[data-expanded] .rh-nav-group-items{display:grid}
body.rh-workspace.rh-product-v3 .rh-nav-catalog{margin-top:auto;padding-top:10px;border-top:1px solid var(--rh-chrome-line)}
body.rh-workspace.rh-product-v3.mz-admin .page,body.rh-workspace.rh-product-v3.mz-personal .page{margin:0 0 0 var(--rh-sidebar-width)!important;width:calc(100% - var(--rh-sidebar-width))!important;padding:26px clamp(20px,2.4vw,40px) 48px!important;min-width:0;box-sizing:border-box}
body.rh-workspace.rh-product-v3 :is(.admin-content,.admin-shell){min-width:0;max-width:1600px}
body.rh-workspace.rh-product-v3 .mz-breadcrumb{margin-bottom:18px;font-size:11px}
body.rh-workspace.rh-product-v3 :is(.rh-module-heading,.pd-heading,.tr-heading,.mz-intro){margin-bottom:24px;gap:16px}
body.rh-workspace.rh-product-v3 :is(.rh-module-heading,.pd-heading,.tr-heading,.mz-intro) h1{font-size:clamp(25px,2.15vw,32px)!important;line-height:1.25;letter-spacing:-.035em;margin:7px 0 10px}
body.rh-workspace.rh-product-v3 :is(.rh-module-heading,.pd-heading,.tr-heading,.mz-intro) p{font-size:13px!important;line-height:1.7;max-width:800px;margin-bottom:0;color:var(--rh-muted)}
body.rh-workspace.rh-product-v3 :is(.actions-bar,.admin-user-actions,.signature-actions){display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 20px}
body.rh-workspace.rh-product-v3 .actions-bar :is(a,button){margin:0!important;min-height:38px;padding:9px 13px!important;font-size:12px!important;line-height:1.4;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
body.rh-workspace.rh-product-v3 .actions-bar .btn-download:not(.rh-primary-action){color:var(--rh-link)!important;background:var(--rh-surface)!important;border:1px solid var(--rh-line)!important}
body.rh-workspace.rh-product-v3 :is(.panel,.pd-card,.wf-card,.tr-card,.rh-block,.signature-card){padding:22px!important;border-radius:12px!important;margin-bottom:20px;min-width:0;box-shadow:none!important}
body.rh-workspace.rh-product-v3 :is(.panel,.pd-card,.wf-card,.tr-card)>h3{font-size:17px!important;margin-top:0;margin-bottom:16px}
body.rh-workspace.rh-product-v3 :is(.table-tools,.wf-filter,.pd-filter,.tr-filter,.notification-filters){padding:16px!important;gap:12px;margin-bottom:20px;border-radius:12px}
body.rh-workspace.rh-product-v3 .table-tools{display:flex;align-items:flex-end;flex-wrap:wrap}
body.rh-workspace.rh-product-v3 .table-tools>.campo{flex:1 1 170px;min-width:0;margin:0}
body.rh-workspace.rh-product-v3 :is(.campo,.rh-field,.pd-field,.tr-field)>label,body.rh-workspace.rh-product-v3 .table-tools label{font-size:12px;font-weight:600;margin-bottom:6px}
body.rh-workspace.rh-product-v3 :is(.campo,.rh-field,.pd-field,.tr-field,.wf-filter) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:13px;min-height:40px;padding:9px 11px;border-radius:8px;box-sizing:border-box;max-width:100%}
body.rh-workspace.rh-product-v3 :is(.table-wrap,.table-scroll,.table-responsive){border-radius:12px;max-width:100%;overflow:auto;box-sizing:border-box}
body.rh-workspace.rh-product-v3 #tabelaRegistros{min-width:900px;width:100%;font-size:12px}
body.rh-workspace.rh-product-v3 #tabelaRegistros :is(th,td){padding:12px 14px!important;line-height:1.45;max-width:250px;vertical-align:middle;white-space:normal}
body.rh-workspace.rh-product-v3 #tabelaRegistros th{background:var(--rh-soft)!important;color:var(--rh-muted)!important;font-size:10px;font-weight:600;letter-spacing:.04em;border-bottom:1px solid var(--rh-line);resize:none}
body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell{min-width:210px}
body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell strong{font-size:12px;display:block;line-height:1.5}
body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell small{font-size:10px;display:block;margin-top:4px;color:var(--rh-muted)}
body.rh-workspace.rh-product-v3 #tabelaRegistros .status-tag{font-size:10px;line-height:1.3;padding:5px 7px;max-width:135px;white-space:normal}
body.rh-workspace.rh-product-v3 .table-tools-meta{margin:0 0 12px;gap:12px;font-size:11px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
body.rh-workspace.rh-product-v3 .table-tools-meta label{display:inline-flex;align-items:center;gap:8px;font-size:11px}
body.rh-workspace.rh-product-v3 :is(.pd-grid,.wf-grid,.tr-grid,.rh-grid,.profile-grid){gap:16px}
body.rh-workspace.rh-product-v3 :is(.mz-metrics,.rh-dashboard-layout,.mz-module-grid){gap:18px}
body.rh-workspace.rh-product-v3 .mz-metric{padding:20px!important;border-radius:12px}
body.rh-workspace.rh-product-v3 .mz-metric>strong{font-size:34px}
body.rh-workspace.rh-product-v3 .rh-dashboard-layout .mini-list{max-height:340px}
[data-rh-nav-backdrop]{position:fixed;inset:var(--rh-header-height) 0 0;z-index:150;background:#06172599;border:0;border-radius:0;cursor:pointer;padding:0}
[data-rh-nav-backdrop][hidden]{display:none!important}
@media(min-width:1101px){html[data-rh-sidebar=compact] body.rh-product-v3{--rh-sidebar-width:76px}html[data-rh-sidebar=compact] .rh-product-v3 .rh-sidebar{padding-inline:10px}html[data-rh-sidebar=compact] .rh-product-v3 .rh-sidebar :is(.menu-text,.rh-sidebar-label,.rh-nav-caption,.rh-sidebar-footer,.rh-nav-group-toggle){display:none!important}html[data-rh-sidebar=compact] .rh-product-v3 .rh-nav-group-items{display:grid!important;gap:3px}html[data-rh-sidebar=compact] .rh-product-v3 .rh-nav-group{border-top:1px solid var(--rh-chrome-line);padding-top:7px;margin-top:7px}html[data-rh-sidebar=compact] .rh-product-v3 .rh-sidebar .mz-nav-link{justify-content:center;padding:11px!important;gap:0;min-height:46px}html[data-rh-sidebar=compact] .rh-product-v3 .rh-sidebar .mz-nav-link .mz-icon{width:20px!important;height:20px!important;flex-basis:20px}.rh-product-v3 .rh-sidebar{transform:none!important}}
@media(min-width:901px) and (max-width:1100px){body.rh-workspace.rh-product-v3{--rh-sidebar-width:280px}body.rh-workspace.rh-product-v3.mz-admin .page,body.rh-workspace.rh-product-v3.mz-personal .page{width:100%!important;margin-left:0!important}body.rh-workspace.rh-product-v3 .rh-sidebar{width:var(--rh-sidebar-width);transform:translateX(-100%)!important;transition:transform .18s ease;box-shadow:12px 0 30px #06172530}body.rh-workspace.rh-product-v3.rh-nav-open .rh-sidebar{transform:translateX(0)!important}body.rh-product-v3.rh-mobile-menu-open{overflow:hidden}}
@media(max-width:900px){body.rh-workspace.rh-product-v3{--rh-header-height:64px;--rh-sidebar-width:248px}body.rh-workspace.rh-product-v3 .topbar .topbar-logo-text{display:none!important}body.rh-workspace.rh-product-v3.mz-admin .page,body.rh-workspace.rh-product-v3.mz-personal .page{width:100%!important;margin:0!important;padding:22px 20px 40px!important}body.rh-workspace.rh-product-v3 .rh-sidebar{transform:translateX(-100%);transition:transform .18s ease;box-shadow:12px 0 30px #06172530}body.rh-workspace.rh-product-v3.rh-nav-open .rh-sidebar{transform:translateX(0)}body.rh-product-v3.rh-mobile-menu-open{overflow:hidden}body.rh-workspace.rh-product-v3 #tabelaRegistros{min-width:800px}body.rh-workspace.rh-product-v3 .actions-bar{gap:8px}}
@media(max-width:560px){body.rh-workspace.rh-product-v3:not(.mz-auth) .topbar{padding:0 12px!important;gap:10px!important}body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark{width:128px!important;min-width:128px!important}body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark img{width:128px!important}body.rh-workspace.rh-product-v3 .topbar .rh-theme-toggle{width:34px;padding:7px!important;min-width:34px}body.rh-workspace.rh-product-v3 .rh-theme-toggle span{display:none}body.rh-workspace.rh-product-v3 .topbar .btn-sair{padding:7px 9px!important}body.rh-workspace.rh-product-v3.mz-admin .page,body.rh-workspace.rh-product-v3.mz-personal .page{padding:20px 14px 36px!important}body.rh-workspace.rh-product-v3 :is(.panel,.pd-card,.wf-card,.tr-card,.rh-block,.signature-card){padding:18px!important}body.rh-workspace.rh-product-v3 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}body.rh-workspace.rh-product-v3 .table-tools>.campo{flex-basis:100%}body.rh-workspace.rh-product-v3 .actions-bar .rh-primary-action{width:100%;min-height:42px}body.rh-workspace.rh-product-v3 .actions-bar .btn-download:not(.rh-primary-action){flex:1 1 auto}body.rh-workspace.rh-product-v3 .rh-dashboard-layout{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body.rh-product-v3 .rh-sidebar{transition:none!important}}
@media print{body.rh-workspace.rh-product-v3{padding-top:0!important}body.rh-workspace.rh-product-v3 .page{margin:0!important;width:100%!important;padding:0!important}body.rh-product-v3 :is(.topbar,.rh-sidebar,[data-rh-nav-backdrop]){display:none!important}}
@media(max-width:760px){body.rh-workspace.rh-product-v3 #tabelaRegistros{min-width:0!important}body.rh-workspace.rh-product-v3 #tabelaRegistros :is(th,td){max-width:none}body.rh-workspace.rh-product-v3 #tabelaRegistros tbody{padding:8px;gap:12px}body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell{min-width:0}}

body.rh-workspace.rh-product-v3 .rh-editor-dialog footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--rh-line)}
body.rh-workspace.rh-product-v3 .rh-editor-dialog footer .btn-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;max-width:100%;padding:11px 18px!important;margin:0!important;line-height:1.5;white-space:normal;box-sizing:border-box;flex:0 1 auto}
body.rh-workspace.rh-product-v3 .rh-editor-dialog [data-rh-form-status]{min-width:0;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:650px){body.rh-workspace.rh-product-v3 .rh-editor-dialog footer .btn-download{width:100%;flex-basis:100%}}

/* Shared form actions: align the control itself, independently of label height. */
.mz-admin .signature-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.mz-admin .signature-toolbar>label{flex:1 1 320px;min-width:0;margin:0}
.mz-admin .signature-toolbar>label input{box-sizing:border-box;width:100%;min-width:0;margin-top:6px;min-height:44px}
.mz-admin .signature-toolbar>button,.mz-admin .pending-summary .doc-link-row :is(a,button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 16px!important;line-height:1.4;white-space:normal;text-align:center;margin:0}
.mz-admin .signature-toolbar>span{flex-basis:100%;margin:0}
.mz-admin .alerts-scroll{display:grid;gap:12px;padding-right:8px}
.mz-admin .alerts-scroll>.pending-summary{display:grid;gap:8px;padding:18px;min-width:0;overflow-wrap:anywhere}
.mz-admin .alerts-scroll>.pending-summary>strong{font-size:14px;line-height:1.5}
.mz-admin .alerts-scroll>.pending-summary>.muted-small{line-height:1.7}
.mz-admin .pending-summary .doc-link-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.mz-admin .pending-summary .doc-link-row form{display:flex;margin:0}
#rhCompaniesModule{box-sizing:border-box;min-width:0;max-width:100%;padding-inline:0}
#companyForm{box-sizing:border-box;scroll-margin-top:100px;min-width:0}
#companyForm label{min-width:0}
#companyForm label>span{display:block;line-height:1.5}
#companyForm input:not([type=checkbox]):not([type=hidden]),#companyForm textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:14px;line-height:1.5;padding:11px 14px;display:block;margin-top:6px}
#companyForm input:not([type=checkbox]):not([type=hidden]){min-height:44px;height:44px}
#companyForm label:has(>input[type=checkbox]){align-self:end;display:flex;align-items:center;gap:10px;min-height:44px;height:auto;padding:10px 14px;margin:0}
#companyForm input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:0}
#companyForm textarea{min-height:100px;resize:vertical}
#companyForm :is(button,a){min-height:44px;box-sizing:border-box;max-width:100%;white-space:normal;padding:11px 18px!important}
@media(max-width:650px){.mz-admin .signature-toolbar>button{flex:1 1 100%}.mz-admin .pending-summary .doc-link-row{align-items:stretch}.mz-admin .pending-summary .doc-link-row :is(a,form){flex:1 1 100%}.mz-admin .pending-summary .doc-link-row button{width:100%}}

.mz-admin .alerts-scroll>.pending-summary>.status-pill{justify-self:start;width:auto;max-width:100%}
#frequency-module .fq-table th{resize:none!important}

/* Mobile workspace: one option per row, profile switching in the menu. */
.rh-mobile-context-links{display:none}
@media(max-width:900px){
 body.rh-workspace.rh-product-v3 .topbar :is(.rh-header-shortcuts,.rh-admin-return,.topbar-title){display:none!important}
 body.rh-workspace.rh-product-v3 .topbar :is(.topbar-logo,.topbar-left){flex:1 1 auto;overflow:hidden;gap:0}
 body.rh-workspace.rh-product-v3 .topbar>form{flex:0 0 auto;margin:0}
 body.rh-workspace.rh-product-v3 .rh-sidebar{width:100%;height:calc(100dvh - var(--rh-header-height));max-height:none;bottom:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px calc(24px + env(safe-area-inset-bottom));flex-direction:column}
 body.rh-workspace.rh-product-v3 .rh-sidebar>nav{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}
 body.rh-workspace.rh-product-v3 .rh-sidebar .mz-nav-link{width:100%;box-sizing:border-box;min-height:48px;font-size:14px;gap:14px}
 body.rh-workspace.rh-product-v3 .rh-sidebar .menu-text{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal}
 body.rh-workspace.rh-product-v3 .rh-sidebar :is(.rh-sidebar-label,.rh-sidebar-footer){display:block}
 body.rh-workspace.rh-product-v3 .rh-mobile-context-links{display:grid;gap:4px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--rh-chrome-line)}
 body.rh-workspace.rh-product-v3 .rh-nav-caption{padding:18px 12px 6px}
 body.rh-workspace.rh-product-v3.mz-admin :is(.admin-profile-grid,.grid-form,.profile-data-grid,.contract-panel form,.panel-grid){grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){
 body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark{width:120px!important;min-width:0!important;max-width:100%!important}
 body.rh-workspace.rh-product-v3 .topbar .rh-brand-mark img{width:120px!important}
 body.rh-workspace.rh-product-v3 .topbar :is(.rh-theme-toggle,.btn-sair,.rh-menu-toggle){min-height:44px!important;height:44px!important}
}
@media(max-width:760px){
 body.rh-workspace.rh-product-v3 #tabelaRegistros tbody{display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:16px}
 body.rh-workspace.rh-product-v3 #tabelaRegistros tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:16px;gap:12px;box-sizing:border-box}
 body.rh-workspace.rh-product-v3 #tabelaRegistros tbody td{display:block!important;grid-column:1/-1;min-width:0!important;width:100%!important;padding:0!important;box-sizing:border-box;word-break:normal;overflow-wrap:break-word;background:transparent!important}
 body.rh-workspace.rh-product-v3 #tabelaRegistros td::before{font-size:10px;letter-spacing:.04em;line-height:1.4;margin-bottom:6px}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell{grid-row:1;padding-bottom:12px!important;margin:0}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell::before{display:none}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .mz-person-cell strong{font-size:15px}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .status-tag{display:inline-flex;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal;width:auto!important}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .portal-box{width:100%;min-width:0;max-width:100%}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .portal-details>summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:44px}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .portal-summary-count{margin-left:auto;white-space:normal}
 body.rh-workspace.rh-product-v3 #tabelaRegistros :is(.row-actions-menu-body,.portal-actions-menu-body){position:static;width:100%;max-width:100%;box-sizing:border-box;margin-top:8px}
 body.rh-workspace.rh-product-v3 #tabelaRegistros .col-tecnica{display:none!important}
 body.rh-workspace.rh-product-v3 #tabelaRegistros.show-tecnicas .col-tecnica{display:block!important}
}
