.rpd-shell{background:#fff;border:1px solid #cad9e7;border-radius:12px;overflow:hidden;color:#173b5d}.rpd-heading{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #dce6ef}.rpd-heading small{letter-spacing:.12em;color:#3779b7;font-size:11px}.rpd-heading h3{font-size:22px;margin:6px 0}.rpd-heading p,.rpd-help{font-size:13px;line-height:1.7;color:#607f98;margin:5px 0}.rpd-state{padding:8px 12px;border:1px solid #d4e0ec;border-radius:7px;background:#f3f7fb;white-space:nowrap;font-size:12px}.rpd-workbench{display:grid;grid-template-columns:210px minmax(300px,1fr) 260px;min-height:690px}.rpd-pages{padding:16px;border-right:1px solid #dce6ef;max-height:800px;overflow:auto;background:#f8fafd}.rpd-pages label{display:grid;gap:8px;font-size:12px;font-weight:700}.rpd-pages input{width:100%;min-width:0;padding:9px;border:1px solid #bfd0e0;border-radius:6px;background:#fff;color:#173b5d}.rpd-pages section h4{font-size:12px;color:#577b9c;margin:20px 0 7px}.rpd-pages button{display:flex;justify-content:space-between;text-align:left;width:100%;border:1px solid transparent;padding:9px 8px;background:transparent;border-radius:6px;color:#244d70;cursor:pointer;font-size:13px;gap:5px}.rpd-pages button:hover{background:#edf4fb}.rpd-pages button[aria-current=page]{background:#dfedff;border-color:#a9c9ee;color:#0e5598;font-weight:700}.rpd-pages button b{font-size:10px;white-space:nowrap}.rpd-stage{min-width:0;background:#edf2f7;padding:14px}.rpd-stage-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}.rpd-stage-head button,.rpd-presets button,.rpd-footer button,.rpd-confirm button{border:1px solid #b4cadd;background:#fff;color:#183f63;padding:9px 12px;border-radius:6px;cursor:pointer;min-height:36px;font-size:12px}.rpd-stage-head button[aria-pressed=true]{background:#163e63;color:#fff}.rpd-preview-note{font-size:11px;line-height:1.6;color:#5d7890}.rpd-frame-wrap{background:#dfe7ef;padding:10px;border-radius:8px;min-height:620px;overflow:auto}.rpd-frame-wrap iframe{display:block;width:100%;height:620px;border:1px solid #b9cbdc;border-radius:6px;background:#fff;margin:auto}.rpd-frame-wrap.is-mobile iframe{width:390px;max-width:100%}.rpd-frame-wrap>[data-pd-preview-status]{font-size:12px;color:#7a5020;text-align:center}.rpd-frame-wrap>[data-pd-preview-status]:empty{display:none}.rpd-inspector{padding:16px;border-left:1px solid #dce6ef;max-height:800px;overflow:auto}.rpd-inspector h4{margin:0 0 12px;font-size:14px}.rpd-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.rpd-presets button{flex:1;white-space:nowrap}.rpd-field,.rpd-color{display:grid;gap:8px;margin:0 0 16px;font-size:12px;font-weight:600}.rpd-field>span{display:flex;justify-content:space-between;gap:8px}.rpd-field output,.rpd-color output{color:#2771ad;font-size:11px}.rpd-field>div{display:flex;gap:9px;align-items:center}.rpd-field input[type=range]{min-width:0;flex:1;accent-color:#205f99}.rpd-field input[type=number]{width:67px;min-width:0;border:1px solid #b6cbdc;border-radius:5px;padding:7px;background:#fff;color:#143d60}.rpd-color{grid-template-columns:1fr 48px;align-items:center}.rpd-color input{width:48px;height:32px;padding:2px;border:1px solid #b6cbdc;background:#fff}.rpd-color output{grid-column:1/-1}.rpd-footer{border-top:1px solid #dce6ef;padding:15px 18px;background:#f8fbfe;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.rpd-footer>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.rpd-footer [role=status]{font-size:13px;color:#24735b;line-height:1.6;flex:1;min-width:180px}.rpd-footer .is-error{color:#b33343}.rpd-footer button.primary-action,.rpd-confirm button.primary-action{background:#164d7e;color:#fff;border-color:#164d7e}.rpd-shell button:disabled{opacity:.5;cursor:not-allowed}.rpd-loading{padding:24px;color:#315f83}.rs-advanced-design{margin-top:18px;border:1px solid #d8e3ef;padding:14px;border-radius:9px}.rs-advanced-design summary{cursor:pointer;color:#355f81;font-size:13px}.rpd-confirm{width:min(640px,calc(100vw - 28px));max-height:85dvh;border:1px solid #bacfe2;border-radius:12px;padding:22px;color:#1d4364;background:white}.rpd-confirm::backdrop{background:#0c294a70}.rpd-confirm h3{margin-top:0}.rpd-confirm p{font-size:13px;line-height:1.7}.rpd-confirm>div{max-height:50dvh;overflow:auto}.rpd-confirm table{width:100%;border-collapse:collapse;min-width:0}.rpd-confirm th,.rpd-confirm td{padding:9px;border:1px solid #d4e0eb;text-align:left;font-size:13px}.rpd-confirm th{background:#eaf2fa}.rpd-confirm footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
/* Only saved page overrides opt into these rules. Status/attendance colors remain intact. */
.menu-section-divider:has([data-vr-open]){display:flex;align-items:center;justify-content:space-between}.menu-section-divider [data-vr-open]{border:1px solid #7596b2;border-radius:5px;background:transparent;color:#dfedff;width:25px;height:25px;padding:0;cursor:pointer;font-size:18px}.page-title-logo .menu-icon{width:100%;height:100%;margin:0}.page-title-logo svg{width:22px;height:22px}
.vr-manager{background:#fff;border:1px solid #ccdcea;border-radius:12px;padding:24px;color:#183d5f}.vr-manager h3{font-size:22px;margin:0 0 12px}.vr-manager p{font-size:14px;line-height:1.8;color:#5c7790}.vr-chips{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 24px}.vr-chips span{background:#edf4fc;border:1px solid #cadcec;border-radius:6px;padding:6px 10px;font-size:12px}.vr-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.vr-manager label{display:grid;gap:8px;font-size:13px;font-weight:600}.vr-manager :is(input,select){min-width:0;width:100%;padding:10px;background:white;border:1px solid #acbfd1;border-radius:6px;color:#183d5f;box-sizing:border-box}.vr-manager small{font-weight:400;font-size:12px;color:#688098;display:block;margin-top:5px}.vr-manager form{padding:18px;background:#f5f9fd;border:1px solid #d7e4ef;border-radius:8px}.vr-manager button{padding:10px 16px;border:1px solid #a9c1d8;border-radius:6px;cursor:pointer;background:#fff;color:#174b78}.vr-manager button.primary-action{background:#174b78;color:#fff}.vr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}.vr-cards article{border:1px solid #d3dfeb;padding:17px;border-radius:9px;display:grid;gap:12px}.vr-cards header{display:flex;align-items:center;gap:12px}.vr-icon{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d3dfeb;border-radius:8px}.vr-icon :is(svg,img){max-width:36px;max-height:36px}.vr-cards footer{display:flex;justify-content:flex-end;gap:8px}.vr-manager .is-error{color:#ac263b}.vr-manager button:disabled{opacity:.5}
#moduleView.rs-page-design-custom table{min-width:var(--rpd-table-min-width)}
#moduleView.rs-page-design-custom .search-panel{grid-template-columns:repeat(var(--rpd-search-columns),minmax(0,1fr))!important}
#moduleView.rs-page-design-custom :is(.metric-grid,.summary-grid){grid-template-columns:repeat(var(--rpd-summary-columns),minmax(0,1fr))!important}
#moduleView.rs-page-design-custom :is(.metric-card,.summary-card){min-height:var(--rpd-summary-card-height)!important}
#moduleView.rs-page-design-custom .hfr-settings-summary{grid-template-columns:repeat(var(--rpd-summary-columns),minmax(0,1fr));gap:var(--rpd-card-gap)}
#moduleView.rs-page-design-custom .hfr-settings-metric{min-height:var(--rpd-summary-card-height)}
#moduleView.rs-page-design-custom :is(.hfr-settings-toolbar,.hfr-history-toolbar,.hfr-assembly-filter){gap:var(--rpd-search-gap)}
#moduleView.rs-page-design-custom :is(.hfr-settings-toolbar,.hfr-history-toolbar,.hfr-assembly-filter) :is(input,select){min-height:var(--rpd-search-input-height)}
#dashboard.rs-page-design-custom table{font-size:var(--rpd-table-font-size)!important}#dashboard.rs-page-design-custom table :is(th,td){padding:var(--rpd-table-cell-padding)!important;height:var(--rpd-table-row-height)}#dashboard.rs-page-design-custom table th{background:var(--rpd-table-header-color)!important;color:var(--rpd-header-text)!important}
@media(max-width:760px){.vr-fields{grid-template-columns:1fr}.vr-manager{padding:16px}#moduleView.rs-page-design-custom :is(.search-panel,.metric-grid,.summary-grid,.hfr-settings-summary){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#moduleView.rs-page-design-custom table{font-size:var(--rpd-table-font-size)!important}
#moduleView.rs-page-design-custom table th{background:var(--rpd-table-header-color)!important;color:var(--rpd-header-text,#fff)!important}
#moduleView.rs-page-design-custom table :is(th,td){font-size:var(--rpd-table-font-size)!important;min-height:var(--rpd-table-row-height);height:var(--rpd-table-row-height);padding:var(--rpd-table-cell-padding)!important}
#moduleView.rs-page-design-custom :is(.table-scroll,.pn-scroll,.vmi-table-wrap,.vbm-table-wrap){max-height:var(--rpd-list-max-height)}
#moduleView.rs-page-design-custom :is(.search-panel,.pn-filter,.vmi-toolbar,.vbm-toolbar,.vendor-order-filter){gap:var(--rpd-search-gap)}
#moduleView.rs-page-design-custom :is(.search-panel,.pn-filter,.vmi-toolbar,.vbm-toolbar,.vendor-order-filter) :is(input,select){min-height:var(--rpd-search-input-height)!important}
#moduleView.rs-page-design-custom :is(.metric-grid,.personnel-page){gap:var(--rpd-card-gap)}
@media(max-width:1200px){.rpd-workbench{grid-template-columns:175px minmax(250px,1fr) 230px}.rpd-heading{align-items:flex-start}.rpd-state{white-space:normal}.rpd-stage{padding:10px}}
@media(max-width:900px){.rpd-workbench{grid-template-columns:170px 1fr}.rpd-inspector{grid-column:1/-1;border-left:0;border-top:1px solid #dce6ef;max-height:none}.rpd-inspector>[data-pd-fields]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.rpd-pages{max-height:730px}}
@media(max-width:600px){.rpd-heading{padding:16px;display:block}.rpd-heading h3{font-size:18px}.rpd-state{display:inline-block;margin-top:8px}.rpd-workbench{display:block}.rpd-pages{max-height:240px;border:0;border-bottom:1px solid #dce6ef}.rpd-pages>[data-pd-pages]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rpd-inspector>[data-pd-fields]{grid-template-columns:1fr}.rpd-frame-wrap{padding:3px}.rpd-footer button{min-height:42px}.rpd-footer>div:last-child{width:100%}.rpd-footer button{flex:1}.rpd-pages input,.rpd-field input[type=number]{font-size:16px}}
