/* Theme palette shared by the RH workspace. */
:root{--rh-page:#f7f9fc;--rh-surface:#fff;--rh-soft:#f0f5fa;--rh-ink:#18364c;--rh-muted:#586d7c;--rh-line:#dce5ed;--rh-link:#24668c}
:root[data-theme="dark"]{--rh-page:#0d1c29;--rh-surface:#172b3b;--rh-soft:#203749;--rh-ink:#e6f0f7;--rh-muted:#b2c6d5;--rh-line:#365064;--rh-link:#8bd3eb}
/* RH Mazzui · workspace v4. Visual contract: approved entry, 29 Sep 2026. */
:root:root[data-theme],:root:root{color-scheme:light;--mz-bg:var(--rh-page);--mz-surface:#fff;--mz-subtle:var(--rh-soft);--mz-ink:var(--rh-ink);--mz-soft:var(--rh-muted);--mz-line:var(--rh-line);--mz-accent:#004b87;--mz-on-accent:#fff;--mz-radius:15px;--mz-shadow:0 4px 20px #12385405;--mz-font:Inter,'Segoe UI',Arial,sans-serif;--mz-focus:#1685b0;--mz-success:#187555;--mz-warning:#925a15;--brand-primary:#004b87;--brand-primary-strong:#004b87;--brand-accent:#31a2c9;--brand-gradient:linear-gradient(125deg,#063552,#004b87);--bg-page:var(--rh-page);--bg-surface:#fff;--bg-panel:#fff;--bg-soft:var(--rh-soft);--bg-input:#fff;--text-main:var(--rh-ink);--text-soft:var(--rh-muted);--text-muted:var(--rh-muted);--border-soft:var(--rh-line);--border-strong:#c4d2df;--success:#187555;--success-bg:#eaf6f0;--warning:#925a15;--warning-bg:#fff5e5;--danger:#a83840;--danger-bg:#fff0f0;--rh-sidebar-width:248px;--rh-header-height:88px}
body.rh-workspace{background:var(--rh-page)!important;background-image:none!important;color:var(--rh-ink)!important;font:14px/1.65 Inter,Arial,sans-serif;--mz-font:Inter,Arial,sans-serif;--text:var(--rh-ink);--text-main:var(--rh-ink);--text-soft:var(--rh-muted);--text-muted:var(--rh-muted);--muted:var(--rh-muted);--surface:#fff;--surface-soft:var(--rh-soft);--border:var(--rh-line);--border-color:var(--rh-line);--brand-primary:#004b87;--rh-font-title:Quicksand,Arial,sans-serif}
body.rh-workspace::before,body.rh-workspace::after{content:none!important;background:none!important;display:none!important}.rh-workspace :where(h1,h2,h3,h4){font-family:var(--rh-font-title);font-weight:700;color:var(--rh-ink);letter-spacing:-.035em}.rh-workspace :where(button,input,select,textarea){font-family:Inter,Arial,sans-serif}.rh-workspace :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #1685b0;outline-offset:3px}.rh-workspace :where(button,.btn,.btn-download,.mz-button){transition:background-color .16s,border-color .16s,box-shadow .16s;box-shadow:none;font-size:13px;font-weight:600;border-radius:9px;min-height:42px}.rh-workspace :where(button,.btn,.mz-button):hover{box-shadow:0 3px 10px #0635520c}.rh-workspace :where(button,.btn):disabled{box-shadow:none}.rh-workspace .theme-toggle{display:none!important}
/* Consistent application frame, shared by RH and personal workspaces. */
.rh-workspace:not(.mz-auth) .topbar{position:fixed!important;inset:0 0 auto 0;z-index:160;min-height:var(--rh-header-height)!important;height:var(--rh-header-height)!important;width:100%;flex-wrap:nowrap!important;background:var(--rh-surface)!important;border-bottom:1px solid var(--rh-line);padding:0 30px 0 0;gap:20px;box-shadow:none}.rh-workspace .topbar-logo,.rh-workspace .topbar-left{display:flex;gap:32px;align-items:center;min-width:0;text-decoration:none}.rh-workspace .rh-brand-mark{display:flex;align-items:center;justify-content:center;width:var(--rh-sidebar-width);min-width:var(--rh-sidebar-width);height:88px;background:#063c63;overflow:hidden}.rh-workspace .rh-brand-mark img{width:282px!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain!important;margin:0;flex-shrink:0}.rh-workspace .topbar .topbar-logo-text h1,.rh-workspace .topbar .topbar-title{font-family:Quicksand,Arial,sans-serif;font-size:21px!important;font-weight:700;color:var(--rh-ink)!important;letter-spacing:-.6px}.rh-workspace .topbar .topbar-logo-text p{color:var(--rh-muted)!important;font-size:11px!important;margin-top:2px;opacity:1}.rh-workspace .topbar .btn-sair{border:1px solid #ccdce7!important;color:var(--rh-link)!important;background:var(--rh-surface)!important;min-height:38px;padding:8px 19px;border-radius:8px;font-size:12px}.rh-workspace .topbar .btn-sair:hover{background:var(--rh-soft)!important;border-color:#87adc5!important}.rh-workspace .topbar form{margin:0}.rh-sidebar{position:fixed;left:0;top:var(--rh-header-height);bottom:0;width:var(--rh-sidebar-width);z-index:155;display:flex;flex-direction:column;padding:19px 14px 16px;background:#063c63;background-image:radial-gradient(ellipse at 0 100%,#095676,transparent 65%);color:#dceaf4;border-right:1px solid #ffffff08}.rh-sidebar>nav{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#407793 transparent;min-height:0;flex:1;display:flex;flex-direction:column;gap:4px}.rh-sidebar-label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#a4c9dc;padding:0 13px 19px}.rh-workspace .rh-sidebar .mz-nav-link{border:1px solid transparent!important;min-height:43px;padding:11px 12px;border-radius:8px;font-size:12px;font-weight:500;gap:11px;line-height:1.4;background:transparent!important;color:#dceaf4!important;flex-shrink:0;margin:0}.rh-workspace .rh-sidebar .mz-nav-link .menu-text{color:inherit!important}.rh-workspace .rh-sidebar .mz-nav-link .mz-icon{width:19px!important;height:19px!important;flex-basis:19px;opacity:.86}.rh-workspace .rh-sidebar .mz-nav-link:hover{background:#ffffff0d!important;color:white!important}.rh-workspace .rh-sidebar .mz-nav-link.active,.rh-workspace .rh-sidebar .mz-nav-link[aria-current=page]{background:#ffffff14!important;border-color:#80cde83d!important;color:#fff!important;box-shadow:inset 3px 0 #81d4e9}.rh-workspace .rh-sidebar .mz-nav-link.active .mz-icon{color:#97e0ef;opacity:1}.rh-nav-caption{display:block;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;font-weight:600;padding:22px 13px 7px;color:#94bcd1}.rh-sidebar-footer{display:flex;align-items:center;gap:8px;padding:16px 13px 0;margin-top:15px;border-top:1px solid #ffffff12;font-size:10px;color:#a6c7d9}.rh-sidebar-footer span{background:#68c6df;width:5px;height:5px;border-radius:50%}.rh-workspace.mz-admin .page,.rh-workspace.mz-personal .page{width:calc(100% - var(--rh-sidebar-width));max-width:none;margin:0 0 0 var(--rh-sidebar-width);padding:36px clamp(24px,3vw,56px) 64px}.rh-workspace.mz-admin .admin-shell{display:block}.rh-workspace .admin-content{max-width:1550px;margin-inline:auto}.rh-workspace .rh-menu-toggle{display:none}.rh-workspace .mz-breadcrumb{font-size:12px;color:var(--rh-muted);margin-bottom:22px}.rh-workspace .mz-breadcrumb a{font-weight:600}.rh-workspace .mz-mobile-nav{display:none!important}
/* Page hierarchy and real-data dashboard. */
.rh-workspace .mz-intro{margin-bottom:29px}.rh-workspace .mz-intro h1{font-size:clamp(27px,2.4vw,37px);line-height:1.2;margin:9px 0 11px}.rh-workspace .mz-intro p{font-size:14px;line-height:1.7;color:var(--rh-muted)}.rh-workspace .mz-eyebrow{font-size:10px;letter-spacing:1.65px;color:var(--rh-link)}.rh-workspace .mz-date{padding:8px 12px;border:1px solid var(--rh-line);background:var(--rh-surface);border-radius:8px;align-self:flex-start;font-size:11px;color:var(--rh-muted)}.rh-workspace .mz-metrics{gap:20px;margin-bottom:26px}.rh-workspace .mz-metric{border:1px solid var(--rh-line)!important;background:var(--rh-surface)!important;border-radius:15px;box-shadow:0 3px 14px #14385103;padding:23px 25px;gap:14px;position:relative}.rh-workspace .mz-metric::before{content:'';position:absolute;left:25px;top:0;width:32px;height:3px;border-radius:0 0 3px 3px;background:#31a2c9}.rh-workspace .mz-metric:nth-child(2)::before{background:#b59155}.rh-workspace .mz-metric:nth-child(3)::before{background:#879db2}.rh-workspace .mz-metric>span{font-size:12px;font-weight:500;color:var(--rh-muted)}.rh-workspace .mz-metric>strong{font-family:Quicksand,Arial,sans-serif;font-size:39px;letter-spacing:-1.5px;color:var(--rh-ink)}.rh-workspace .mz-metric>small{border-top:1px solid var(--rh-line);padding-top:12px;color:var(--rh-link);font-size:11px;font-weight:500}.rh-workspace .mz-metric:hover{border-color:#9bbbd0!important;box-shadow:0 7px 22px #12385409}.rh-workspace .mz-next-step{position:relative;overflow:hidden;background:linear-gradient(115deg,#063552,#004b87)!important;color:#fff!important;border:0!important;padding:27px 30px;gap:25px;border-radius:16px;box-shadow:none;flex-direction:row;align-items:center}.rh-workspace .mz-next-step:after{content:'';position:absolute;width:270px;height:270px;right:10%;bottom:-260px;border:1px solid #ffffff1c;border-radius:50%;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff04;pointer-events:none}.rh-workspace .mz-next-step h2{font-size:24px;color:white!important}.rh-workspace .mz-next-step .mz-eyebrow{color:#acd8e9!important;font-size:9px}.rh-workspace .mz-next-step p{color:#cce1ed!important;font-size:13px}.rh-workspace .mz-next-step .mz-button{background:var(--rh-surface)!important;color:var(--rh-link)!important;border:0!important;min-height:45px;font-size:12px;padding:12px 20px;z-index:1}.rh-workspace .mz-next-step .mz-button svg{display:none!important}.rh-workspace .panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.rh-workspace :where(.panel,.card,.stat-card,.doc-card,.profile-section,.table-wrap,.admin-profile,.wf-card,.pd-card,.tr-card,.rh-block){background:var(--rh-surface)!important;border:1px solid var(--rh-line)!important;border-radius:15px!important;box-shadow:0 3px 16px #12385404!important;color:var(--rh-ink)}.rh-workspace :where(.panel,.card){padding:24px}.rh-workspace .panel h3{font-size:17px;line-height:1.3;margin-bottom:14px}.rh-workspace .panel>p{font-size:13px;color:var(--rh-muted);margin:0 0 19px}.rh-workspace .panel-icon{background:#eaf4f9!important;color:#27718f!important;border:1px solid #d6e8f0!important;border-radius:8px}.rh-workspace .mini-item{background:var(--rh-soft)!important;border:1px solid var(--rh-line)!important;border-radius:10px;font-size:12px;padding:13px;line-height:1.65}.rh-workspace .mini-list{gap:10px;scrollbar-width:thin;scrollbar-color:#c5d4df transparent;max-height:340px}.rh-workspace .panel-mark{border-top-width:1px!important}.rh-workspace .rh-approval-box summary{list-style:none;background:#004b87;color:white;border-radius:9px;padding:11px 15px;font-size:12px;font-weight:600;cursor:pointer;text-align:center;margin:14px 0}.rh-workspace .rh-approval-box summary::-webkit-details-marker{display:none}.rh-workspace .rh-approval-box[open] summary{background:#edf4f9;color:#004b87;margin-bottom:18px}.rh-workspace .rh-approval-box .campo{margin-bottom:15px}.rh-workspace .rh-approval-box form>button{width:100%}
/* Modules, tools and forms. */
.rh-workspace .mz-module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rh-workspace .mz-module-card{border-radius:15px;padding:25px;background:var(--rh-surface)!important;border-color:var(--rh-line);box-shadow:0 3px 18px #12385404}.rh-workspace .mz-module-card:hover{border-color:#7aabc6;box-shadow:0 8px 24px #004b870b}.rh-workspace .mz-module-icon{width:43px;height:43px;background:#eaf4f9;color:#17658e;border-radius:11px;margin-bottom:19px}.rh-workspace .mz-module-card:nth-child(3n+2) .mz-module-icon{background:#eef1f9;color:#596887}.rh-workspace .mz-module-card:nth-child(3n) .mz-module-icon{background:#eef7f5;color:#387b71}.rh-workspace .mz-module-card h2{font-size:20px;line-height:1.3;letter-spacing:-.6px}.rh-workspace .mz-module-card>p{font-size:13px;line-height:1.75}.rh-workspace .mz-module-card .mz-eyebrow{font-size:9px;letter-spacing:1.4px}.rh-workspace .mz-module-footer{gap:8px;padding-top:16px}.rh-workspace .mz-module-footer .mz-text-link{font-size:12px}.rh-workspace .mz-module-footer .mz-text-link svg{display:none!important}.rh-workspace .mz-module-footer .mz-favorite{font-size:10px;min-height:35px;padding:8px 10px}.rh-workspace .mz-catalog-toolbar{background:var(--rh-surface);border:1px solid var(--rh-line);border-radius:13px;padding:18px 22px;margin-bottom:22px;align-items:center}.rh-workspace .mz-catalog-toolbar label{font-size:12px}.rh-workspace :where(input,select,textarea){border:1px solid var(--rh-line)!important;background:var(--rh-surface)!important;color:var(--rh-ink)!important;border-radius:9px!important;box-shadow:none!important;font:13px/1.5 Inter,Arial,sans-serif;min-height:45px;padding:11px 13px}.rh-workspace :where(input,select,textarea):focus{border-color:#2e8caf!important;box-shadow:0 0 0 3px #31a2c91a!important;outline:none}.rh-workspace :where(input,textarea)::placeholder{color:#8697a4;font-size:12px}.rh-workspace :where(input[readonly],input:disabled,select:disabled,textarea[readonly]){background:var(--rh-soft)!important;color:var(--rh-muted)!important}.rh-workspace :where(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-height:18px;padding:0;border-radius:4px!important;accent-color:#004b87}.rh-workspace input[type=file]{padding:9px;font-size:12px}.rh-workspace input::file-selector-button{background:#eaf3fa;border:0;border-radius:6px;color:#1e5a82;padding:7px 12px;margin-right:12px;font:500 11px Inter,Arial;cursor:pointer}.rh-workspace :where(.campo label,.field label,.pd-field>span,.tr-field>span,.rh-field>span){font-size:12px!important;text-transform:none!important;letter-spacing:0!important;font-weight:600;line-height:1.5;color:var(--rh-ink)!important;margin-bottom:7px}.rh-workspace :where(.campo,.field){margin-bottom:0}.rh-workspace .campo{margin-bottom:17px}.rh-workspace :where(.grid-form,.form-grid,.pd-grid,.wf-grid,.tr-grid,.rh-grid){gap:18px}.rh-workspace textarea{min-height:96px;resize:vertical}.rh-workspace .section-title{font:700 24px/1.35 Quicksand,Arial;letter-spacing:-.6px;color:var(--rh-ink)!important}.rh-workspace .readonly-field{background:var(--rh-soft)!important;border-color:var(--rh-line)!important;border-radius:9px;color:var(--rh-ink);font-size:13px;padding:12px}.rh-workspace :where(.actions-bar,.table-tools,.pd-filter,.wf-filter,.tr-filter){gap:14px}.rh-workspace :where(.pd-button,.tr-link,.wf button,.btn,.btn-download,.btn-login,.mz-button){border-radius:9px;font-weight:600;font-size:12px}.rh-workspace :where(.secondary,.btn-light,.btn-secondary,.pd-button.secondary,.wf-secondary){background:var(--rh-surface)!important;color:var(--rh-link)!important;border:1px solid #cbdbe6!important}.rh-workspace :where(.danger,.btn-danger){background:#fff0f0!important;border-color:#efc9cd!important;color:#a83840!important}
/* Dense records retain all actions, with calmer typography and horizontal containment. */
.rh-workspace table{font-family:Inter,Arial,sans-serif;font-size:12px;color:var(--rh-ink)}.rh-workspace th{font-size:10px;letter-spacing:.6px;background:var(--rh-soft)!important;color:var(--rh-muted)!important;font-weight:600;padding:14px 16px}.rh-workspace td{border-color:var(--rh-line)!important;padding:15px 16px;vertical-align:middle}.rh-workspace tbody tr{background:#fff}.rh-workspace tbody tr:hover{background:var(--rh-soft)!important}.rh-workspace .table-wrap{overflow:visible}.rh-workspace :where(.table-scroll,.table-responsive){overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bdd0df transparent}.rh-workspace :where(.table-wrap,.pd-list,.wf-card,.tr-card)>table{display:block;overflow-x:auto;max-width:100%}.rh-workspace .mz-person-cell strong{font-size:12px;font-weight:600;line-height:1.6}.rh-workspace :where(.badge,.status-tag,.status-pill,.pd-badge,.wf-badge,.tr-badge){font-size:10px!important;font-weight:600;letter-spacing:0;border-radius:6px;line-height:1.5;padding:4px 8px}.rh-workspace .status-ok{color:#187555!important;background:#eaf6f0!important}.rh-workspace .status-warn{color:#925a15!important;background:#fff5e5!important}.rh-workspace .profile-tabs,.rh-workspace .pd-tabs{gap:7px;border-bottom:1px solid var(--rh-line);padding-bottom:12px;margin-bottom:22px}.rh-workspace .profile-tab-btn{background:var(--rh-surface)!important;color:#527084!important;border:1px solid var(--rh-line)!important;padding:10px 17px;border-radius:8px;font-size:12px}.rh-workspace .profile-tab-btn.active,.rh-workspace .pd-tabs [aria-current=page]{background:#edf5fb!important;color:var(--rh-link)!important;border-color:#9bc0d8!important}.rh-workspace .admin-profile-head{padding:24px 28px;background:var(--rh-soft)!important;border-bottom:1px solid var(--rh-line)}.rh-workspace .admin-profile-head h2{font-size:25px}.rh-workspace .admin-profile-head>div>div{color:var(--rh-muted);font-size:12px;margin-top:7px}.rh-workspace :where(.pd-heading,.tr-heading,.wf-heading){margin-bottom:24px;gap:20px}.rh-workspace :where(.pd-heading h1,.tr-heading h1,.wf-heading h1){font-size:29px}.rh-workspace :where(.pd-help,.tr-muted,.wf-help){color:var(--rh-muted);font-size:13px}.rh-workspace :where(.pd-notice,.tr-notice,.wf-feedback,.alert,.msg-ok){border-radius:10px;line-height:1.7;font-size:13px}.rh-workspace :where(.pd-paper,.tr-term,.doc-body){background:var(--rh-surface)!important;color:var(--rh-ink)!important;border-color:var(--rh-line)!important;line-height:1.8}.rh-workspace .pd-template{border-radius:12px!important;box-shadow:none!important}.rh-workspace .pd-list-row{padding:17px;border-color:var(--rh-line)}.rh-workspace .rh-document-modal{border:1px solid var(--rh-line);border-radius:17px;box-shadow:0 24px 100px #062f5145;background:var(--rh-soft)}.rh-workspace .rh-document-header{background:var(--rh-surface);border-color:var(--rh-line)}.rh-workspace .rh-document-header h2{font-size:19px;color:var(--rh-ink)}.rh-workspace .rh-document-toolbar{background:var(--rh-soft);color:#275b7e}.rh-workspace dialog::backdrop{background:#082c4a70;backdrop-filter:blur(3px)}
/* Colleague journey. */
.rh-workspace.mz-personal .hero{display:flex;align-items:center;justify-content:space-between;gap:25px;border:0;background:transparent!important;padding:0 0 30px;box-shadow:none;margin:0}.rh-workspace.mz-personal .hero h1{font:700 32px/1.25 Quicksand,Arial;color:var(--rh-ink);letter-spacing:-1px}.rh-workspace.mz-personal .hero p{font-size:13px;line-height:1.7;margin-top:10px!important;color:var(--rh-muted)}.rh-workspace.mz-personal .progress{background:var(--rh-surface);border:1px solid var(--rh-line);border-radius:12px;padding:16px 18px;min-width:230px;max-width:290px}.rh-workspace.mz-personal .progress-label{font-size:11px!important;color:var(--rh-muted)}.rh-workspace.mz-personal .bar{height:5px;background:#e8f0f6;border-radius:6px;margin-top:10px}.rh-workspace.mz-personal .bar>span{background:#31a2c9}.rh-workspace .mz-journey{gap:17px}.rh-workspace .mz-journey li{background:var(--rh-surface);border:1px solid var(--rh-line);border-radius:14px;padding:22px}.rh-workspace .mz-journey li strong{font-size:13px;font-weight:600}.rh-workspace .mz-journey li span{font-size:12px}.rh-workspace .mz-journey li::before{font-size:12px;width:28px;height:28px}.rh-workspace .mz-journey .current{border-bottom:3px solid #31a2c9}.rh-workspace .mz-journey .done::before{background:#e4f4ed;color:#187555}.rh-workspace .doc-head h1{font-size:26px}.rh-workspace .doc-card h3{font-size:18px}.rh-workspace .doc-card{padding:24px}.rh-workspace .doc-card p{font-size:13px}.rh-workspace .auth-footer{font-size:10px;color:#7d919e;max-width:100%;padding:30px}
/* Admission wizard and password recovery share the approved visual language. */
.rh-workspace.rh-admission{padding:36px 24px 50px!important;background:var(--rh-page)!important}.rh-workspace .form-wrapper{max-width:1100px;margin:0 auto;background:var(--rh-surface);border:1px solid var(--rh-line);border-radius:19px;box-shadow:0 10px 45px #113b5608;overflow:hidden}.rh-workspace .form-header{background:linear-gradient(120deg,#063552,#004b87)!important;padding:36px 40px;display:flex;align-items:center;gap:35px;position:relative;overflow:hidden}.rh-workspace .form-header:after{content:'';width:300px;height:300px;position:absolute;right:-100px;bottom:-275px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff04;pointer-events:none}.rh-workspace .form-header img{width:270px!important;max-width:270px!important;height:auto!important;max-height:none!important}.rh-workspace .rh-form-eyebrow{font:600 9px/1.5 Inter,Arial;letter-spacing:1.6px;color:#b3dbea}.rh-workspace .form-header h1{font:700 28px/1.25 Quicksand,Arial;color:#fff!important;letter-spacing:-.8px;margin:8px 0}.rh-workspace .form-header p{color:#c7dfec!important;font-size:12px;opacity:1}.rh-workspace .progress-bar-wrap{padding:22px 38px;background:var(--rh-soft)!important;border-bottom:1px solid var(--rh-line)!important}.rh-workspace .progress-steps{gap:8px}.rh-workspace .step-dot{font:600 11px/1.4 Inter,Arial;min-height:36px;border-radius:7px!important;background:var(--rh-surface)!important;color:#647e90!important;border:1px solid var(--rh-line)}.rh-workspace .step-dot.active{background:#004b87!important;border-color:var(--rh-link)!important;color:#fff!important}.rh-workspace .step-dot.done{background:#e6f4ef!important;color:#23705a!important;border-color:#c8e5d8!important}.rh-workspace .progress-bar-wrap>.progress-label{font-size:11px;color:var(--rh-muted);margin-top:12px}.rh-workspace .section{padding:35px 40px}.rh-workspace .row{gap:22px;margin-bottom:22px}.rh-workspace .nav-bar{background:var(--rh-surface)!important;border-top:1px solid var(--rh-line);padding:22px 38px;gap:16px}.rh-workspace .nav-bar button{min-height:46px;padding:12px 24px;font-size:12px}.rh-workspace .success-screen{padding:45px}.rh-workspace.mz-auth{background:linear-gradient(110deg,#063552 0%,#004b87 42%,var(--rh-page) 42%)!important}.rh-workspace.mz-auth .login-wrap{min-height:100svh;padding:55px 24px}.rh-workspace.mz-auth .login-card{background:var(--rh-surface)!important;max-width:450px;width:100%;border:1px solid var(--rh-line);border-radius:18px;padding:36px;box-shadow:0 18px 60px #082f511c}.rh-workspace.mz-auth .login-card div.login-logo{background:linear-gradient(120deg,#063552,#004b87)!important;border-radius:11px;padding:22px;margin-bottom:25px}.rh-workspace.mz-auth .login-card h2{font:700 28px/1.3 Quicksand,Arial;color:var(--rh-ink)}.rh-workspace.mz-auth .login-card p{font-size:13px;color:var(--rh-muted)}.rh-workspace.mz-auth .auth-footer{color:#587486;background:transparent}.rh-workspace.mz-auth .brand{background:#063c63!important}
@media(min-width:1800px){.rh-workspace .mz-module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){:root:root{--rh-sidebar-width:222px}.rh-workspace .topbar-logo,.rh-workspace .topbar-left{gap:25px}.rh-workspace .rh-brand-mark img{width:255px!important}.rh-workspace .panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-workspace .mz-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-workspace .mz-next-step{flex-direction:column;align-items:flex-start}.rh-workspace .topbar-logo-text p{display:block}.rh-workspace .mz-module-footer{flex-wrap:wrap}.rh-workspace .form-header{gap:20px;padding:30px}.rh-workspace .form-header img{width:240px!important;max-width:240px!important}}
@media(max-width:900px){.rh-workspace:not(.mz-auth) .topbar{height:76px;min-height:76px;padding:0 18px;gap:15px;justify-content:flex-start;background:#063c63!important}.rh-workspace .rh-brand-mark{height:76px;width:210px;min-width:0;background:transparent}.rh-workspace .rh-brand-mark img{width:255px!important}.rh-workspace .topbar-logo,.rh-workspace .topbar-left{gap:0;flex:1;min-width:0}.rh-workspace .topbar-logo-text,.rh-workspace .topbar .topbar-title{display:none!important}.rh-workspace .rh-menu-toggle{display:grid!important;place-items:center;background:transparent!important;color:white!important;border:1px solid #ffffff30!important;width:39px;height:39px;min-height:39px;padding:8px;border-radius:8px;flex-shrink:0}.rh-menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.rh-workspace .topbar .btn-sair{background:transparent!important;color:white!important;border-color:#ffffff35!important;min-height:36px;padding:8px 13px;font-size:11px}.rh-sidebar{position:fixed;top:var(--rh-header-height);bottom:auto;width:100%;display:none;padding:16px 20px 22px;max-height:calc(100dvh - var(--rh-header-height));border:0}.rh-workspace.rh-nav-open .rh-sidebar{display:flex}.rh-sidebar-label,.rh-sidebar-footer{display:none}.rh-sidebar>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:4px}.rh-nav-caption{grid-column:1/-1;padding:18px 12px 4px}.rh-workspace .rh-sidebar .mz-nav-link{font-size:12px}.rh-workspace.mz-admin .page,.rh-workspace.mz-personal .page{width:100%;margin:0;padding:27px 22px 40px}.rh-workspace .mz-next-step{flex-direction:row;align-items:center}.rh-workspace .mz-metrics{gap:13px}.rh-workspace .mz-metric{padding:20px}.rh-workspace .mz-metric::before{left:20px}.rh-workspace .mz-metric>strong{font-size:33px}.rh-workspace.mz-personal .hero h1{font-size:28px}.rh-workspace .form-header h1{font-size:24px}.rh-workspace .form-header img{width:215px!important;max-width:215px!important}}
@media(max-width:640px){.rh-workspace:not(.mz-auth) .topbar{padding-inline:14px;gap:9px}.rh-workspace .rh-brand-mark{width:190px}.rh-workspace .rh-brand-mark img{width:225px!important}.rh-workspace .mz-metrics{grid-template-columns:1fr;gap:12px}.rh-workspace .mz-metric{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;padding:18px 20px}.rh-workspace .mz-metric>span{font-size:12px}.rh-workspace .mz-metric>strong{grid-row:1/3;grid-column:2;font-size:34px}.rh-workspace .mz-metric>small{grid-row:2;grid-column:1;border:0;padding:0;font-size:10px}.rh-workspace .mz-metric::before{width:3px;height:25px;left:0;top:20px;border-radius:0 3px 3px 0}.rh-workspace .mz-metric:last-child{grid-column:auto}.rh-workspace .mz-intro h1{font-size:28px}.rh-workspace .mz-intro p{font-size:13px}.rh-workspace .mz-next-step{padding:24px;flex-direction:column;align-items:stretch;gap:20px}.rh-workspace .mz-next-step h2{font-size:23px}.rh-workspace .mz-next-step .mz-button{width:100%}.rh-workspace .panel-grid,.rh-workspace .mz-module-grid{grid-template-columns:1fr;gap:16px}.rh-workspace .mz-module-card{padding:24px}.rh-workspace .mz-module-footer{flex-wrap:nowrap}.rh-workspace .mz-catalog-toolbar{padding:18px;align-items:stretch;gap:12px}.rh-workspace .mz-catalog-toolbar p{font-size:11px}.rh-workspace :where(.panel,.card){padding:21px}.rh-workspace.mz-personal .hero{display:block;padding-bottom:24px}.rh-workspace.mz-personal .progress{max-width:none;min-width:0;margin-top:18px}.rh-workspace .mz-journey{grid-template-columns:1fr;gap:10px}.rh-workspace .mz-journey li{padding:18px}.rh-workspace.rh-admission{padding:14px 10px 25px!important}.rh-workspace .form-wrapper{border-radius:15px}.rh-workspace .form-header{display:block;padding:22px 24px}.rh-workspace .form-logo-link{display:block;margin-left:-25px;margin-bottom:16px}.rh-workspace .form-header img{width:245px!important;max-width:245px!important}.rh-workspace .form-header h1{font-size:26px}.rh-workspace .progress-bar-wrap{padding:18px 22px}.rh-workspace .section{padding:27px 22px}.rh-workspace .section-title{font-size:23px}.rh-workspace .nav-bar{padding:18px 22px}.rh-workspace .nav-bar button{padding:11px 18px}.rh-workspace .row{gap:18px;margin-bottom:19px}.rh-workspace :where(input,select,textarea){font-size:16px}.rh-workspace .topbar .topbar-logo-text p{display:none}.rh-workspace.mz-auth{background:var(--rh-page)!important}.rh-workspace.mz-auth .login-wrap{padding:24px 16px}.rh-workspace.mz-auth .login-card{padding:25px}.rh-workspace .admin-profile-head{padding:22px}.rh-workspace .admin-profile-head h2{font-size:23px}.rh-workspace .auth-footer{font-size:9px}}
@media(max-width:360px){.rh-workspace .rh-brand-mark{width:160px}.rh-workspace .rh-brand-mark img{width:195px!important}.rh-sidebar>nav{grid-template-columns:1fr}.rh-workspace.mz-admin .page,.rh-workspace.mz-personal .page{padding-inline:15px}}
@media(prefers-reduced-motion:reduce){.rh-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.rh-workspace .rh-sidebar,.rh-workspace .topbar,.rh-workspace .rh-menu-toggle{display:none!important}.rh-workspace.mz-admin .page,.rh-workspace.mz-personal .page{width:100%;margin:0;padding:0}.rh-workspace{background:var(--rh-surface)!important}.rh-workspace .mz-next-step{background:var(--rh-surface)!important;border:1px solid #aaa!important}.rh-workspace .mz-next-step :is(h2,p,.mz-eyebrow){color:#000!important}.rh-workspace .form-wrapper{border:0;box-shadow:none!important}.rh-workspace .section{break-inside:avoid}}

/* Header brand is deliberately blue in both themes so the official white logo remains visible. */
.rh-workspace .topbar .rh-brand-mark{background:#063c63!important;display:flex!important;flex-shrink:0!important}
.rh-workspace .topbar-logo,.rh-workspace .topbar-left{flex:1;min-width:0}
.rh-workspace .rh-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:38px;padding:8px 12px;border:1px solid var(--rh-line)!important;background:var(--rh-surface)!important;color:var(--rh-ink)!important;border-radius:9px;cursor:pointer;font:600 11px/1.3 Inter,Arial,sans-serif;white-space:nowrap}
.rh-theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rh-workspace .login-card>.rh-theme-toggle{float:right;margin-bottom:15px}
.rh-workspace .form-header>.rh-theme-toggle{position:absolute;right:18px;top:12px;background:#ffffff12!important;color:#fff!important;border-color:#ffffff40!important;z-index:2}
.rh-workspace .form-header{padding-top:55px}
:root:root[data-theme="dark"]{color-scheme:dark;--mz-bg:var(--rh-page);--mz-surface:var(--rh-surface);--mz-subtle:var(--rh-soft);--mz-ink:var(--rh-ink);--mz-soft:var(--rh-muted);--mz-line:var(--rh-line);--mz-accent:#83cee8;--mz-on-accent:#082e48;--bg-page:var(--rh-page);--bg-surface:var(--rh-surface);--bg-panel:var(--rh-surface);--bg-soft:var(--rh-soft);--bg-surface-3:#294559;--bg-input:var(--rh-surface);--text-main:var(--rh-ink);--text-soft:var(--rh-muted);--text-muted:var(--rh-muted);--border-soft:var(--rh-line);--border-strong:#47667b;--success:#98dfbb;--success-bg:#163c31;--warning:#f2cf94;--warning-bg:#453723;--danger:#f5b2b7;--danger-bg:#482b36}
[data-theme="dark"] .rh-workspace .mz-next-step .mz-button{background:#eaf5fb!important;color:#004b87!important}
[data-theme="dark"] .rh-workspace :is(.mz-module-icon,.panel-icon){background:#244557!important;color:#99d9ed!important;border-color:#3c6277!important}
[data-theme="dark"] .rh-workspace :is(.status-ok,.mz-journey li.done::before){background:#173e33!important;color:#a0dfbf!important}
[data-theme="dark"] .rh-workspace .status-warn{background:#443724!important;color:#f0cf98!important}
[data-theme="dark"] .rh-workspace :is(.danger,.btn-danger){background:#422632!important;border-color:#724451!important;color:#f2b6bd!important}
[data-theme="dark"] .rh-workspace .profile-tab-btn{background:var(--rh-surface)!important;color:var(--rh-muted)!important;border-color:var(--rh-line)!important}
[data-theme="dark"] .rh-workspace :is(.profile-tab-btn.active,.pd-tabs [aria-current=page],.rh-approval-box[open] summary){background:#25485f!important;color:#a1def1!important;border-color:#55869f!important}
[data-theme="dark"] .rh-workspace :is(.pd-paper,.tr-term,.doc-body){color:var(--rh-ink)!important;background:var(--rh-surface)!important}
[data-theme="dark"] .rh-workspace input::file-selector-button{background:#294b62;color:#d7edf9}
[data-theme="dark"] .rh-workspace .step-dot{background:var(--rh-soft)!important;color:var(--rh-muted)!important;border-color:var(--rh-line)!important}
[data-theme="dark"] .rh-workspace .step-dot.active{background:#2077aa!important;color:#fff!important}
[data-theme="dark"] .rh-workspace .step-dot.done{background:#1d4639!important;color:#b3e7ce!important}
[data-theme="dark"] .rh-workspace :is(.mz-date,.readonly-admin){background:var(--rh-surface)!important;color:var(--rh-muted)!important;border-color:var(--rh-line)!important}
@media(max-width:900px){.rh-workspace .topbar .rh-theme-toggle{background:transparent!important;color:#fff!important;border-color:#ffffff40!important}.rh-workspace .topbar .rh-theme-toggle span{display:none}.rh-workspace .topbar .rh-theme-toggle{width:36px;min-height:36px;padding:8px}.rh-workspace .topbar-logo,.rh-workspace .topbar-left{flex:1}.rh-workspace .topbar .rh-brand-mark{background:transparent!important;max-width:100%}.rh-workspace .topbar .rh-brand-mark img{max-width:none!important}}
@media(max-width:400px){.rh-workspace .topbar{gap:6px!important;padding-inline:10px!important}.rh-workspace .topbar .rh-brand-mark{width:145px}.rh-workspace .topbar .rh-brand-mark img{width:186px!important}.rh-workspace .topbar .btn-sair{padding-inline:9px!important}}
@media print{.rh-theme-toggle{display:none!important}}

/* Shared component layout. Covers administration, personal portal and admission. */
html:has(body.rh-workspace){scroll-padding-top:108px}
body.rh-workspace:is(.mz-admin,.mz-personal){padding-top:var(--rh-header-height)!important}
.rh-workspace *{box-sizing:border-box}
.rh-workspace :is(.admin-content,.admin-shell,.page,.rh-dashboard-stack,.panel,.card,.pd-module,.tr-module,.wf){min-width:0}
.rh-workspace :is(.admin-content,.mz-personal .page){max-width:1550px}
.rh-workspace .topbar{padding:0 24px 0 0!important;gap:20px!important;box-shadow:0 1px 0 var(--rh-line)!important}
.rh-workspace .topbar .rh-brand-mark{height:var(--rh-header-height)!important}
.rh-workspace .page{min-height:calc(100svh - var(--rh-header-height))}
.rh-workspace :is(.panel,.card,.table-wrap,.stat-card,.admin-profile,.doc-card){box-shadow:none!important}
.rh-workspace :is(.panel,.card,.mini-item,.rh-block) :is(h2,h3,strong){color:var(--rh-ink)}
.rh-workspace .rh-dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:24px;margin:24px 0}
.rh-workspace .rh-dashboard-layout>.rh-dashboard-stack:only-child,.rh-workspace .rh-dashboard-layout>.panel:only-child{grid-column:1/-1}
.rh-workspace .rh-dashboard-stack{display:flex;flex-direction:column;gap:20px}
.rh-workspace .rh-dashboard-layout .panel{margin:0!important;padding:24px!important;height:auto!important;min-height:0!important}
.rh-workspace .rh-dashboard-layout .panel-mark-alert .mini-list{max-height:560px}
.rh-workspace .rh-dashboard-layout .mini-list{max-height:300px;overflow:auto;scrollbar-gutter:stable}
.rh-workspace .rh-dashboard-layout .mini-item{background:var(--rh-soft)!important}
.rh-workspace .panel h3{display:flex;align-items:center;gap:10px}
.rh-workspace .panel h3 .panel-icon{flex:0 0 32px;width:32px;height:32px;margin:0;display:grid;place-items:center}
.rh-workspace :is(.doc-link-row,.inline-form,.pd-actions,.tr-actions,.notification-actions){align-items:center;gap:10px;flex-wrap:wrap}
.rh-workspace .doc-link-row>a{display:inline-flex;align-items:center;min-height:42px;padding:9px 12px;border:1px solid var(--rh-line);border-radius:8px;color:var(--rh-link);text-decoration:none}
.rh-workspace .doc-link-row form{margin:0}
/* One content width and heading hierarchy, including independently rendered modules. */
.rh-workspace :is(.pd-module,.tr-module,.wf){max-width:none;width:100%;margin:0;--wf-line:var(--rh-line);--wf-card:var(--rh-surface);--wf-ink:var(--rh-ink);--pd-line:var(--rh-line);--pd-ink:var(--rh-ink);--pd-muted:var(--rh-muted);--pd-paper:var(--rh-surface);--pd-soft:var(--rh-soft);--border:var(--rh-line);--card:var(--rh-surface);--input-bg:var(--rh-soft);color:var(--rh-ink);font-size:14px}
.rh-workspace :is(.rh-module-heading,.pd-heading,.tr-heading,.wf>header){margin:0 0 28px;align-items:flex-start}
.rh-workspace :is(.rh-module-heading h1,.pd-heading h1,.tr-heading h1,.wf>header h2){font:700 clamp(26px,2.4vw,34px)/1.25 Quicksand,Arial,sans-serif;letter-spacing:-.035em;color:var(--rh-ink);margin:8px 0 10px}
.rh-workspace :is(.rh-module-heading p,.pd-heading p,.tr-heading p,.wf>header p){font-size:14px;line-height:1.7;color:var(--rh-muted);max-width:760px;margin:0}
.rh-workspace :is(.pd-eyebrow,.tr-eyebrow,.wf>header>span){font:600 10px/1.5 Inter,Arial,sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:var(--rh-link)}
.rh-workspace .actions-bar:empty{display:none}
.rh-workspace .actions-bar{margin:0 0 20px;gap:12px;align-items:center}
.rh-workspace :is(.actions-bar,.pd-heading,.tr-heading) :is(button,.btn,.btn-download){white-space:normal;line-height:1.5}
/* Filters align their controls at the bottom. Long labels never change button position. */
.rh-workspace :is(.pd-filter,.tr-filter,.wf-filter,.table-tools,.notification-filters){padding:20px;background:var(--rh-surface)!important;border:1px solid var(--rh-line)!important;border-radius:14px;box-shadow:none!important;margin:0 0 24px;gap:16px;align-items:end}
.rh-workspace :is(.pd-filter,.tr-filter){grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto}
.rh-workspace .wf-filter{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
.rh-workspace :is(.pd-filter,.tr-filter,.wf-filter) :is(label,.pd-field,.tr-field,button){margin:0!important;align-self:end}
.rh-workspace .table-tools>.campo{flex:1 1 190px;min-width:0;max-width:100%;margin:0}
.rh-workspace :is(.pd-field,.tr-field,.wf label,.rh-field,.notification-field){min-width:0;font-size:12px;line-height:1.5}
.rh-workspace :is(.pd-field,.tr-field,.wf label,.rh-field,.notification-field) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;width:100%;max-width:100%;font-size:13px}
.rh-workspace :is(.pd-grid,.wf-grid,.tr-grid,.rh-grid,.profile-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rh-workspace :is(.pd-card,.wf-card,.tr-card,.pd-step,.pd-publish,.rh-block){padding:24px;border:1px solid var(--rh-line);border-radius:14px;background:var(--rh-surface);box-shadow:none;margin-bottom:20px}
.rh-workspace :is(.wf-card,.tr-card){margin-top:20px}
.rh-workspace :is(.pd-card,.wf-card,.tr-card,.rh-block)>:last-child{margin-bottom:0}
.rh-workspace :is(.wf,.pd-module,.tr-module) :is(button,.pd-button,.btn){font:600 12px/1.5 Inter,Arial,sans-serif;min-height:44px;border-radius:9px;padding:11px 16px}
.rh-workspace :is(.wf>nav,.pd-tabs,.profile-tabs){display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;padding:0 0 12px;margin:0 0 24px;border-bottom:1px solid var(--rh-line);scrollbar-width:thin}
.rh-workspace :is(.wf>nav a,.pd-tabs a,.profile-tab-btn){flex:0 0 auto;min-height:42px;display:inline-flex;align-items:center;border:1px solid var(--rh-line);background:var(--rh-surface);color:var(--rh-muted);padding:10px 14px;font:600 12px/1.4 Inter,Arial,sans-serif;border-radius:8px;text-decoration:none}
.rh-workspace :is(.wf>nav a.selected,.pd-tabs a[aria-current],.profile-tab-btn.active){background:var(--rh-soft)!important;color:var(--rh-link)!important;border-color:var(--rh-link)!important}
.rh-workspace :is(.pd-metrics,.tr-metrics){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px;margin:0 0 24px}
.rh-workspace :is(.pd-metrics,.tr-metrics)>a{padding:20px 22px;border:1px solid var(--rh-line);border-radius:14px;background:var(--rh-surface);color:var(--rh-muted);font-size:12px;text-decoration:none;min-width:0}
.rh-workspace :is(.pd-metrics,.tr-metrics) strong{font:700 32px/1.3 Quicksand,Arial,sans-serif;color:var(--rh-ink);display:block;margin:8px 0 0}
.rh-workspace :is(.pd-list-row,.wf-row,.tr-route li,.log-row){border-color:var(--rh-line);color:var(--rh-ink);font-size:13px;line-height:1.7}
.rh-workspace .pd-list-label strong{font-size:14px}.rh-workspace .pd-list-label{overflow-wrap:anywhere}
.rh-workspace :is(.pd-empty,.empty-state){background:var(--rh-surface);border:1px dashed var(--rh-line);border-radius:14px;padding:32px 24px;color:var(--rh-muted);text-align:center}
.rh-workspace :is(.pd-empty,.empty-state) h2{font-size:22px;color:var(--rh-ink)}
/* Document preparation: editable details alongside a bounded, readable preview. */
.rh-workspace .pd-editor-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.rh-workspace .pd-editor-layout .pd-paper{top:calc(var(--rh-header-height) + 20px);max-height:calc(100dvh - var(--rh-header-height) - 40px)}
.rh-workspace .pd-catalog{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.rh-workspace .pd-template{display:flex;flex-direction:column;padding:24px}.rh-workspace .pd-template-cta{margin-top:auto;padding-top:12px}
.rh-workspace :is(.pd-step,.wf-card,.tr-card)>summary{font:700 16px/1.5 Quicksand,Arial,sans-serif;color:var(--rh-ink)}
.rh-workspace :is(.pd-context,.pd-notice,.tr-notice,.wf-feedback:not(:empty)){background:var(--rh-soft);border-color:var(--rh-line);color:var(--rh-ink)}
.rh-workspace .tr-line{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px 0;gap:16px}.rh-workspace .tr-line>.tr-link{grid-column:1/-1;justify-self:start}
.rh-workspace :is(.pd-targets,.notification-center-list){scrollbar-gutter:stable;scrollbar-width:thin}
/* Profile, access administration, notifications, records and logs. */
.rh-workspace .admin-profile-body{padding:24px}
.rh-workspace .profile-section{padding:24px!important;margin-top:20px;border:1px solid var(--rh-line)}
.rh-workspace :is(.admin-profile-head,.profile-row,.admin-user-card,.notification-card,.log-row,.readonly-admin){background:var(--rh-surface)!important;border-color:var(--rh-line)!important;color:var(--rh-ink)}
.rh-workspace :is(.profile-row,.log-row) :is(strong,pre){color:var(--rh-ink)!important}
.rh-workspace .log-row pre{background:var(--rh-soft)!important;border-color:var(--rh-line)!important}
.rh-workspace :is(.log-meta,.log-details,.muted-small,.portal-status){color:var(--rh-muted)}
.rh-workspace .admin-users-panel{padding:24px!important}
.rh-workspace .admin-user-card{border-radius:12px!important;box-shadow:none!important;margin:0 0 16px!important}
.rh-workspace .admin-user-card summary{padding:18px!important;font-size:13px!important}
.rh-workspace .admin-user-edit-form{padding:20px!important}
.rh-workspace .notification-card{padding:20px;border-radius:12px}
.rh-workspace .notification-actions :is(a,button){min-height:40px;background:var(--rh-soft);border-color:var(--rh-line);color:var(--rh-link);font-size:12px;font-weight:600}
.rh-workspace :is(.approval-grid,.signature-list){gap:20px}
.rh-workspace .signature-card{background:var(--rh-surface)!important;border:1px solid var(--rh-line)!important;border-radius:14px!important;box-shadow:none!important;padding:22px!important}
.rh-workspace :is(.table-scroll,.table-responsive,.profile-table-wrap){max-width:100%;overflow:auto}
.rh-workspace table tbody tr:nth-child(n){background:var(--rh-surface)!important}
.rh-workspace table tbody tr:nth-child(even){background:var(--rh-soft)!important}
.rh-workspace table tbody tr:hover{background:var(--rh-soft)!important}
.rh-workspace td.cell:hover{background:var(--rh-surface)!important;color:var(--rh-ink)}
.rh-workspace .portal-modal-overlay{z-index:1000!important;background:#071c35a6!important;backdrop-filter:blur(3px)}
.rh-workspace .portal-modal{background:var(--rh-surface)!important;color:var(--rh-ink)!important;border:1px solid var(--rh-line)!important;border-radius:16px!important;padding:28px!important;max-height:calc(100dvh - 40px);overflow:auto}
.rh-workspace .portal-modal :is(h2,h3,p,label){color:var(--rh-ink)!important}.rh-workspace .portal-modal-footer{gap:12px}
/* Narrow viewports use the same components without fixed minimum widths. */
@media(max-width:1100px){.rh-workspace .rh-dashboard-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.rh-workspace :is(.pd-heading,.tr-heading){flex-wrap:wrap}.rh-workspace .pd-editor-layout{grid-template-columns:1fr}.rh-workspace .pd-editor-layout .pd-paper{position:static;max-height:65vh}.rh-workspace .pd-filter,.rh-workspace .tr-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-workspace :is(.pd-filter,.tr-filter)>button{justify-self:start}}
@media(max-width:900px){:root:root{--rh-header-height:76px}.rh-workspace .topbar{padding:0 16px!important;gap:12px!important}.rh-workspace.mz-admin .page,.rh-workspace.mz-personal .page{padding:28px 22px 48px!important;width:100%!important;margin:0!important}.rh-sidebar{box-shadow:0 15px 30px #00182830}.rh-workspace .rh-dashboard-layout{gap:18px}.rh-workspace .topbar .rh-brand-mark{min-width:0!important}}
@media(max-width:680px){.rh-workspace .rh-dashboard-layout{grid-template-columns:minmax(0,1fr)}.rh-workspace .rh-dashboard-layout .mini-list{max-height:360px}.rh-workspace :is(.pd-grid,.wf-grid,.tr-grid,.rh-grid,.profile-grid,.pd-filter,.tr-filter,.wf-filter,.notification-filters,.approval-grid){grid-template-columns:minmax(0,1fr)!important}.rh-workspace .log-row summary{grid-template-columns:minmax(0,1fr)!important}.rh-workspace .notification-card{grid-template-columns:minmax(0,1fr)}.rh-workspace .notification-actions{justify-content:flex-start}.rh-workspace :is(.pd-card,.wf-card,.tr-card,.pd-step,.pd-publish,.rh-block,.profile-section){padding:20px!important}.rh-workspace .table-tools{padding:18px}.rh-workspace .table-tools>.campo{flex-basis:100%}.rh-workspace :is(.pd-heading,.tr-heading){display:flex;flex-direction:column;gap:18px}.rh-workspace :is(.pd-field,.tr-field,.wf label,.rh-field,.notification-field) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}.rh-workspace .admin-profile-body{padding:18px}.rh-workspace .mz-intro{flex-wrap:wrap}.rh-workspace .topbar{gap:8px!important;padding-inline:12px!important}.rh-workspace .topbar .rh-brand-mark{width:160px}.rh-workspace .topbar .rh-brand-mark img{width:205px!important}}
@media(max-width:380px){.rh-workspace .topbar .rh-brand-mark{width:125px}.rh-workspace .topbar .rh-brand-mark img{width:162px!important}.rh-workspace .tr-line{grid-template-columns:1fr}.rh-workspace .topbar{gap:6px!important;padding-inline:8px!important}}
@media print{body.rh-workspace:is(.mz-admin,.mz-personal){padding-top:0!important}.rh-workspace .page{min-height:0}.rh-workspace .rh-dashboard-layout{display:block}.rh-workspace .pd-editor-layout .pd-paper{max-height:none;overflow:visible}.rh-workspace .page{margin:0!important;padding:0!important;width:100%!important}}
.rh-workspace .admin-profile{max-width:none;margin-inline:0}
.rh-workspace .admin-profile-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.rh-workspace .profile-section h3{font-size:18px!important;line-height:1.4}
.rh-workspace .profile-row{padding:12px 0;font-size:13px;line-height:1.7}
.rh-workspace .rh-contract .rh-field input,.rh-workspace .rh-contract .rh-field select,.rh-workspace .rh-contract .rh-field textarea{min-height:45px;font-size:13px}
.rh-workspace .rh-summary{border-left-width:3px;background:var(--rh-soft);border-color:var(--rh-line);padding:24px;box-shadow:none}
.rh-workspace .rh-summary h3{font-size:25px!important}.rh-workspace .rh-kpis>div{padding:16px;background:var(--rh-surface);border:1px solid var(--rh-line);border-radius:10px}
@media(max-width:680px){.rh-workspace .rh-kpis{grid-template-columns:1fr}.rh-workspace .rh-contract .rh-field input,.rh-workspace .rh-contract .rh-field select,.rh-workspace .rh-contract .rh-field textarea{font-size:16px}}
/* Override legacy mobile grid and high-specificity dark shadows. */
.rh-workspace:not(.mz-auth) .topbar{display:flex!important;align-items:center!important}
:root[data-theme] .rh-workspace :is(.panel,.card,.table-wrap,.stat-card,.profile-section,.admin-user-card,.notification-card,.admin-profile,.doc-card){box-shadow:none!important}
