/* Rental Suite Staff App shell.
 * Page content intentionally comes from assets/css/admin.css so the same
 * Rental Suite screen has the same identity in WordPress and in the PWA. */
:root{--flexi-blue:#103f5b;--flexi-blue-2:#17627a;--flexi-orange:#f47a22;--flexi-pale:#eaf5f8;--flexi-ink:#122d3b;--flexi-muted:#647784;--flexi-line:#d6e3e8;--flexi-bg:#f4f8fa;--flexi-danger:#b42318}
html,body.rs-staff-subdomain{min-height:100%;margin:0;background:var(--flexi-bg);color:var(--flexi-ink);overflow-x:hidden}body.rs-staff-subdomain #wpadminbar{display:none!important}
.rs-staff-app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh;background:var(--flexi-bg)}
.rs-staff-sidebar{display:flex;flex-direction:column;min-height:100vh;background:#1d2327;color:#f0f0f1}.rs-staff-brand{display:flex;align-items:center;min-height:84px;padding:20px;background:#2c3338}.rs-brand-logo{display:block;max-width:176px;max-height:54px;width:auto;height:auto;object-fit:contain}.rs-brand-wordmark{font-size:22px;color:#fff;line-height:1.1}.rs-staff-nav-links{display:grid;align-content:start;padding:10px 0}.rs-staff-menu-group{border-bottom:1px solid rgba(255,255,255,.08)}.rs-staff-menu-group summary{display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:8px;min-height:46px;padding:0 14px;color:#f0f0f1;cursor:pointer;font-size:14px;font-weight:700;list-style:none}.rs-staff-menu-group summary::-webkit-details-marker{display:none}.rs-staff-menu-group summary:hover,.rs-staff-menu-group[open]>summary{background:#2271b1;color:#fff}.rs-staff-menu-group summary .dashicons:last-child{font-size:16px;transition:transform .18s}.rs-staff-menu-group[open] summary .dashicons:last-child{transform:rotate(180deg)}.rs-staff-menu-group>div{padding:4px 0;background:#2c3338}.rs-staff-nav-links a{display:flex;align-items:center;gap:9px;min-height:39px;padding:0 12px 0 30px;color:#c3c4c7;text-decoration:none;font-size:13px;font-weight:600}.rs-staff-nav-links a:hover{color:#72aee6}.rs-staff-nav-links a.active{background:#f0f0f1;color:#1d2327;box-shadow:inset 4px 0 0 var(--flexi-orange)}.rs-staff-sidebar-footer{margin-top:auto;padding:14px;background:#2c3338}.rs-staff-sidebar-footer a{color:#f0f0f1}
.rs-staff-content{min-width:0}.rs-staff-topbar{position:sticky;z-index:90;top:0;display:grid;grid-template-columns:minmax(260px,1fr) auto;justify-content:space-between;gap:24px;min-height:72px;padding:10px 28px;box-sizing:border-box;background:rgba(255,255,255,.98);border-bottom:1px solid var(--flexi-line);backdrop-filter:blur(10px)}.rs-global-search{display:flex;align-items:center;gap:8px;max-width:580px;padding:0 13px;border:1px solid var(--flexi-line);border-radius:12px;background:#f7fafb}.rs-global-search input{width:100%;min-height:44px;border:0!important;outline:0;background:transparent!important;font-size:16px}.rs-mobile-logo{display:none}.rs-staff-user{display:flex;align-items:center;justify-content:flex-end;gap:9px}.rs-staff-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--flexi-blue-2);color:#fff!important;text-decoration:none;font-size:16px;font-weight:850}.rs-staff-identity strong,.rs-staff-identity a{display:block}.rs-staff-identity a{font-size:11px;color:var(--flexi-blue-2)}.rs-staff-settings{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--flexi-blue)!important;text-decoration:none}.rs-staff-settings:hover{background:var(--flexi-pale)}
.rs-staff-workspace{box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto;padding:28px}.rs-staff-workspace a[href="#rs-backend-only"],.rs-staff-workspace a[href="#rs-restricted"]{display:none!important}

/* Alpha 177 desktop workspace. The desktop Staff App uses the same information
 * as mobile, but keeps the full-width navigation and compact dashboard shown in
 * the approved desktop design. Mobile rules below remain deliberately separate. */
@media(min-width:901px){
 .rs-staff-app{grid-template-columns:270px minmax(0,1fr)}
 .rs-staff-sidebar{position:sticky;top:0;height:100vh;min-height:0;overflow:auto;border-right:1px solid #cbdbe4;background:#fff;color:var(--flexi-blue);box-shadow:4px 0 18px rgba(16,63,91,.05)}
 .rs-staff-brand{position:sticky;z-index:2;top:0;min-height:98px;padding:18px 22px;border-bottom:1px solid #d8e4e9;background:#fff}
 .rs-staff-brand .rs-brand-logo{max-width:205px;max-height:66px}
 .rs-staff-nav-links{padding:10px 0 24px}
 .rs-staff-menu-group{margin:0;border:0;border-bottom:1px solid #dbe6eb;background:#fff}
 .rs-staff-menu-group summary{min-height:48px;padding:0 16px;background:#eaf5f8;color:#0d4968;font-size:15px}
 .rs-staff-menu-group summary:hover,.rs-staff-menu-group[open]>summary{background:#137ca3;color:#fff}
 .rs-staff-menu-group summary .dashicons{color:inherit}
 .rs-staff-menu-group>div{padding:3px 0 7px;background:#fff}
 .rs-staff-nav-links a{min-height:40px;padding:0 14px 0 34px;color:#263d4b;font-size:14px}
 .rs-staff-nav-links a .dashicons{color:#123f5c}
 .rs-staff-nav-links a:hover{background:#f0f8fb;color:#073d5b}
 .rs-staff-nav-links a.active{background:#f4f8fa;color:#082f49;box-shadow:inset 5px 0 0 var(--flexi-orange);font-weight:800}
 .rs-staff-topbar{min-height:70px;padding:10px 30px;background:#fff}
 .rs-staff-workspace{max-width:none;margin:0;padding:28px clamp(24px,3vw,48px) 50px}
 .rs-staff-workspace>.wrap{box-sizing:border-box;width:100%;max-width:none;margin:0}
 .rs-staff-workspace .rs362-dashboard{display:flex;flex-direction:column;gap:0}
 .rs-staff-workspace .rs362-dashboard>.rs33-hero{order:1;align-items:center;margin:0 0 16px;padding:20px 24px;border:1px solid #c6d7df!important;border-left:5px solid var(--flexi-orange)!important;border-radius:14px;background:#fff!important;color:var(--flexi-blue)!important;box-shadow:0 5px 18px rgba(16,63,91,.07)!important}
 .rs-staff-workspace .rs362-dashboard>.rs33-hero h1{margin:3px 0 6px;color:var(--flexi-blue)!important;font-size:30px}
 .rs-staff-workspace .rs362-dashboard>.rs33-hero p:not(.rs33-kicker){max-width:760px;color:#405b6a!important}
 .rs-staff-workspace .rs362-dashboard>.rs33-hero .rs33-hero-actions{flex:0 0 auto;margin-left:auto}
 .rs-staff-workspace .rs362-dashboard>.rs33-quick-actions{order:2;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;margin:0 0 14px}
 .rs-staff-workspace .rs362-dashboard>.rs33-quick-actions a{min-height:84px;padding:14px;border:1px solid #cedce3;border-radius:12px;box-shadow:0 3px 12px rgba(16,63,91,.05)}
 .rs-staff-workspace .rs362-dashboard>.rs33-ops-grid{order:3;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:0 0 14px}
 .rs-staff-workspace .rs362-dashboard>.rs33-ops-grid .rs33-stat-card{min-height:122px;padding:15px;border-radius:12px;box-shadow:0 3px 12px rgba(16,63,91,.05)}
 .rs-staff-workspace .rs362-dashboard>.rs33-main-grid{order:4;grid-template-columns:minmax(0,2fr) minmax(290px,.72fr);gap:14px;margin:0}
 .rs-staff-workspace .rs362-dashboard .rs33-panel{padding:18px;border-radius:14px;box-shadow:0 3px 12px rgba(16,63,91,.05)}
}
@media(min-width:901px) and (max-width:1280px){
 .rs-staff-app{grid-template-columns:238px minmax(0,1fr)}
 .rs-staff-workspace .rs362-dashboard>.rs33-quick-actions,.rs-staff-workspace .rs362-dashboard>.rs33-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rs-staff-workspace .rs362-dashboard>.rs33-main-grid{grid-template-columns:1fr}
}
.rs-bottom-nav{display:none}.rs-more-list{display:grid;gap:9px;max-width:760px}.rs-more-list>a,.rs-more-install{box-sizing:border-box;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:66px;padding:10px 14px;border:1px solid var(--flexi-line);border-radius:12px;background:#fff;color:var(--flexi-ink)!important;text-align:left;text-decoration:none!important}.rs-more-list>a>.dashicons:first-child,.rs-more-install>span:first-child{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--flexi-pale);color:var(--flexi-blue);font-size:22px}.rs-more-list strong,.rs-more-list small,.rs-more-install strong,.rs-more-install small{display:block}.rs-more-list small,.rs-more-install small{color:var(--flexi-muted)}.rs-more-install{width:100%;cursor:pointer}
.rs-mobile-menu-group{overflow:hidden;border:1px solid var(--flexi-line);border-radius:12px;background:#fff}.rs-mobile-menu-group>summary{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:8px;min-height:58px;padding:0 14px;background:#1d2327;color:#fff;list-style:none;cursor:pointer}.rs-mobile-menu-group>summary::-webkit-details-marker{display:none}.rs-mobile-menu-group>summary .dashicons:last-child{transition:transform .18s}.rs-mobile-menu-group[open]>summary .dashicons:last-child{transform:rotate(180deg)}.rs-mobile-menu-group>div>a{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:8px;min-height:52px;padding:0 14px;color:var(--flexi-ink)!important;text-decoration:none!important;border-top:1px solid var(--flexi-line)}.rs-mobile-menu-group>div>a>.dashicons:first-child{color:#2271b1}.rs-mobile-wordpress-menu>.rs-more-install{margin-top:2px}
.rs-mobile-menu-group>summary{min-height:68px;padding:0 16px;background:#0d3b66;border-left:6px solid var(--flexi-orange);font-size:18px;letter-spacing:.01em}.rs-mobile-menu-group>summary .dashicons:first-child{color:#fff}.rs-staff-app .rs-global-admin-search{display:none!important}.rs-staff-app .rs33-quick-actions{margin-top:0}.rs-staff-topbar{grid-template-columns:1fr auto}.rs-more-list{margin-top:8px}
.rs-profile-signature{max-width:780px}.rs-saved-signature{display:grid;gap:6px;margin:12px 0;padding:14px;border:1px solid var(--flexi-line);border-radius:12px;background:#fff}.rs-saved-signature img{max-width:100%;max-height:190px;object-fit:contain}.rs-profile-signature-form{display:grid;gap:12px}.rs-signature-modal{position:fixed;inset:0;z-index:2147483200;background:#fff;padding:16px;overflow:auto}.rs-signature-modal>div{height:100%;display:flex;flex-direction:column}.rs-signature-modal canvas{display:block;width:100%;flex:1;min-height:55vh;border:2px solid var(--flexi-blue);border-radius:10px;touch-action:none;user-select:none;background:#fff}.rs-signature-modal p:last-child{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.rs-signature-modal button{min-height:46px;padding:8px 16px}.rs-signing-open{overflow:hidden}
.rs-staff-pin{box-sizing:border-box;max-width:390px;margin:40px auto;padding:22px;background:#fff;border:1px solid var(--flexi-line);border-radius:12px;font:400 16px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif}.rs-staff-pin h2{margin-top:0;color:var(--flexi-blue)}.rs-staff-pin form,.rs-staff-pin label{display:grid;gap:10px}.rs-staff-pin input{font-size:22px;letter-spacing:.25em;padding:12px;border:1px solid #aebdca;border-radius:7px}.rs-staff-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rs-staff-keypad button{min-height:58px;border:1px solid #bdcbd6;border-radius:7px;background:#eef4f8;color:var(--flexi-blue);font-size:19px;font-weight:700}.rs-staff-pin [name="rental_suite_staff_pin_login"]{min-height:48px;border:0;border-radius:8px;background:var(--flexi-orange);color:#fff;font-weight:800}
.rs-connectivity-banner{position:fixed;z-index:2147483100;top:12px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);padding:10px 15px;border-radius:10px;background:#7a271a;color:#fff;font-weight:800;box-shadow:0 5px 18px rgba(0,0,0,.2)}.rs-connectivity-banner[hidden]{display:none}
.rs-nav-van{width:26px;height:22px;fill:currentColor}
@media(max-width:900px){
 body.rs-staff-subdomain{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.rs-staff-app{display:block;min-height:100dvh}.rs-staff-sidebar{display:none!important}.rs-staff-content{min-height:100dvh}.rs-staff-topbar{grid-template-columns:minmax(0,1fr) auto;min-height:64px;padding:8px 10px;background:#fff}.rs-global-search{display:none}.rs-mobile-logo{display:block}.rs-mobile-logo .rs-brand-logo{max-width:155px;max-height:52px}.rs-mobile-logo .rs-brand-wordmark{color:var(--flexi-blue);font-size:19px}.rs-staff-identity{display:none}.rs-staff-avatar{width:40px;height:40px}.rs-staff-settings{width:38px;height:38px}.rs-staff-workspace{width:100%;max-width:none;margin:0;padding:12px 8px calc(92px + env(safe-area-inset-bottom));overflow-x:hidden}.rs-staff-workspace>.wrap,.rs-staff-workspace .wrap{box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}.rs-staff-workspace .rs33-dashboard{width:100%;max-width:none;margin:0 0 20px!important}.rs-staff-workspace .rs33-hero,.rs-staff-workspace .rs33-panel,.rs-staff-workspace .rs33-money-card,.rs-staff-workspace .rs33-stat-card,.rs-staff-workspace .rs33-quick-actions a{box-sizing:border-box;max-width:100%}
 .rs-mobile-menu-group{border-color:var(--flexi-line);box-shadow:none}.rs-mobile-menu-group>summary{background:#fff;color:var(--flexi-blue);border-bottom:1px solid var(--flexi-line)}.rs-mobile-menu-group[open]>summary{background:#fff;color:var(--flexi-blue)}
 .rs-bottom-nav{position:fixed;z-index:2147483000;inset:auto 0 0 0;display:flex;justify-content:space-around;box-sizing:border-box;width:100vw;min-height:66px;margin:0;padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));border-top:1px solid #d4e0e5;background:rgba(255,255,255,.98);box-shadow:0 -5px 18px rgba(16,63,91,.09)}.rs-bottom-nav a{display:grid;flex:1 1 0;place-items:center;align-content:center;min-width:0;min-height:54px;border-radius:10px;color:#6b7c86!important;text-decoration:none!important}.rs-bottom-nav a.active{color:var(--flexi-blue)!important;background:var(--flexi-pale)}.rs-bottom-nav .dashicons{width:24px;height:24px;font-size:22px;line-height:24px}.rs-bottom-nav small{font-size:11px;font-weight:750}
 .rs-signature-modal{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.rs-signature-modal canvas{min-height:58vh}.rs-signature-modal p:last-child{display:grid;grid-template-columns:1fr 1fr}.rs-signature-modal button{width:100%}
}
@media(max-width:900px){.rs-mobile-menu-group>summary,.rs-mobile-menu-group[open]>summary{min-height:68px;padding:0 16px;border-left:6px solid var(--flexi-orange);border-bottom:0;background:#0d3b66;color:#fff;font-size:18px}.rs-mobile-menu-group>summary .dashicons{color:#fff}}

/* Alpha 167 profile, inbox and notification controls. */
.rs-staff-avatar{overflow:hidden}.rs-staff-avatar img{width:100%;height:100%;object-fit:cover}
.rs-header-icon{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--flexi-blue)!important;text-decoration:none}.rs-header-icon:hover{background:var(--flexi-pale)}.rs-header-icon b{position:absolute;top:-3px;right:-3px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;border:2px solid #fff;border-radius:999px;background:#d92d20;color:#fff;font-size:10px;line-height:1}
.rs-profile-card,.rs-profile-notifications{max-width:780px}.rs-profile-photo-preview{display:grid;place-items:center;overflow:hidden;width:116px;height:116px;margin:12px 0;border-radius:50%;background:var(--flexi-blue-2);color:#fff;font-size:42px;font-weight:850}.rs-profile-photo-preview img,.rs-profile-photo-preview canvas{width:100%;height:100%;object-fit:cover}.rs-photo-edit-controls,.rs-push-actions,.rs-signature-edit{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.rs-signature-edit{padding:12px;border:1px solid var(--flexi-line);border-radius:12px;background:#fff}.rs-signature-edit canvas{display:block;width:100%;height:auto;border:1px solid var(--flexi-line);background:#fff}.rs-profile-notifications fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px;padding:14px;border:1px solid var(--flexi-line);border-radius:12px}.rs-profile-notifications label{display:flex;align-items:center;gap:8px}.rs-profile-notifications input[type=checkbox]{flex:0 0 24px;width:24px!important;height:24px!important;margin:0!important;appearance:auto!important}
.rs-staff-workspace details:not(.rs-mobile-menu-group):not(.rs-mobile-actions):not([style*="background"])>summary{padding:14px 16px;border:1px solid #b9d8e6;border-radius:10px;background:#dbeef6;color:var(--flexi-blue);font-weight:800}.rs-staff-workspace details[open]:not(.rs-mobile-menu-group):not(.rs-mobile-actions)>summary{border-radius:10px 10px 0 0;background:#c9e4ef}
@media(max-width:900px){.rs-staff-user{gap:4px}.rs-header-icon,.rs-staff-avatar,.rs-staff-settings{width:38px;height:38px}.rs-profile-notifications fieldset{grid-template-columns:1fr}}
.rs-email-confirm-dialog{width:min(92vw,520px);border:0;border-radius:20px;padding:24px;box-shadow:0 24px 80px #062b4f55;color:#123047}.rs-email-confirm-dialog::backdrop{background:#062b4f88}.rs-email-confirm-dialog h2{margin-top:0;color:#062b4f}.rs-email-confirm-actions{display:grid;gap:10px;margin-top:20px}.rs-email-confirm-actions .button{min-height:48px;white-space:normal}
.rs-profile-photo-choices{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.rs-profile-photo-choices label{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;cursor:pointer}.rs-profile-photo-choices input[type=file]{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}.rs-task-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.rs-task-actions form{margin:0}.rs-task-dismiss{min-height:38px;padding:7px 11px;border:1px solid #b7c8d2;border-radius:8px;background:#fff;color:#365366;font-weight:750;cursor:pointer}
@media(max-width:900px){.rs-app-task{align-items:flex-start}.rs-task-actions{flex-direction:column;align-items:stretch}.rs-task-actions>*{width:100%}.rs-task-dismiss{width:100%}}

/* Keep action labels legible inside the staff PWA, including embedded workflows. */
.rs-staff-app :is(button.rs-button,a.rs-button,.button.button-primary,button.button-primary,input[type="submit"].button-primary){background:#174e73!important;border-color:#174e73!important;color:#fff!important;text-shadow:none!important}
.rs-staff-app :is(button.rs-button,a.rs-button,.button.button-primary,button.button-primary,input[type="submit"].button-primary):hover{background:#0d3858!important;border-color:#0d3858!important;color:#fff!important}
.rs-staff-app :is(button.rs-button,a.rs-button,.button.button-primary,button.button-primary,input[type="submit"].button-primary):focus-visible{outline:3px solid #f27621!important;outline-offset:2px}
