/* Phase 1 presentation layer only: retain existing XD palette, Mundial and component geometry. */
:root{--rc-radius:24px;--rc-gap:24px}.dashboard-content{min-width:0}.nav-item.selected img{filter:brightness(0) invert(1)}.nav-item:not(.selected) img{filter:brightness(0);opacity:.55}.nav-item[aria-current=page]{font-weight:600}.rc-stay-gate{display:grid;gap:9px;max-width:300px}.rc-stay-gate small{font-size:11px;line-height:1.6}.rc-stay-gate button:disabled{cursor:not-allowed}.data-note,.settlement-note{line-height:1.75}.dashboard-heading,.page-heading{gap:24px}.page-heading{margin-bottom:24px}.benefit-action{max-width:300px;font-size:13px;line-height:1.7}.settlement-kpis strong{font-size:24px}.settlement-kpis>div{min-width:0}.settlement-scope{margin-bottom:22px}.settlement-scope a{white-space:normal}.pool-monthly-heading{display:grid;grid-template-columns:1fr auto;gap:20px;padding:14px 12px;color:var(--muted);font-size:11px;border-bottom:1px solid #e4e7f0}.pool-monthly-row{padding:17px 12px}.pool-own{border-left:3px solid var(--brand)}.pool-monthly-row:not(.pool-own){border-left:3px solid transparent}.pool-monthly-row.pool-own{border-radius:8px}.pool-day>summary{min-height:178px;gap:10px}.pool-day-basis strong{font-size:21px}.pool-day-facts{font-size:11px}.pool-day .day-expand{color:var(--brand);font-size:11px}.pool-day[open] .day-expand{color:white}.pool-day[open]>summary,.pool-days-list .pool-day>summary{min-height:85px}.pool-day-detail{line-height:1.7}.pool-rounding{border-top:1px solid #e5e7ef;padding-top:8px}.pool-distribution .pool-own{border-left:0}.invoice-card h3{margin-bottom:12px}.invoice-card p{line-height:1.7;margin:10px 0}.invoice-card>a.primary{display:inline-flex;width:auto;margin-top:12px;padding:13px 24px}.invoice-history>div{line-height:1.7}.invoice-card summary{padding:9px 0;cursor:pointer}.invoice-upload input[type=file]::file-selector-button{border:0;border-radius:8px;background:#efefff;color:#3532ff;padding:10px;margin-right:12px;font:inherit}.workflow-item h3{line-height:1.5}.workflow-item button{min-height:38px}.workflow-panel>h1{margin:12px 0}.workflow-pagination a{padding:10px 0}.workflow-bell-panel{border:1px solid #ececf5}.bell-link{display:flex;gap:5px;align-items:center}.rc-error{display:grid;min-height:100vh;place-items:center;padding:24px;box-sizing:border-box}.rc-error main{background:#fff;border-radius:24px;padding:40px;max-width:620px;box-sizing:border-box}.rc-error .logo{width:180px}.rc-error h1{font-size:28px;line-height:1.3;margin:30px 0 18px}.rc-error p{line-height:1.8;overflow-wrap:anywhere;margin-bottom:25px}.rc-error .primary{display:inline-flex}.rc-error-login{display:block;margin-top:20px;font-size:13px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ff6401;outline-offset:3px}
@media(max-width:1024px){.pool-day>summary{min-height:170px}.pool-day[open]>summary,.pool-days-list .pool-day>summary{min-height:90px}}
@media(max-width:600px){.rc-stay-gate{max-width:none;width:100%}.rc-stay-gate .primary{width:100%}.pool-day>summary{min-height:178px}.pool-day[open]>summary,.pool-days-list .pool-day>summary{min-height:125px}.pool-day-basis strong{font-size:19px}.pool-monthly-heading{font-size:10px}.pool-final{font-size:18px}.invoice-card>a.primary{display:flex;width:100%;box-sizing:border-box;justify-content:center}.settlement-heading{flex-wrap:wrap}.settlement-kpis strong{font-size:23px}.rc-error main{padding:24px}.rc-error h1{font-size:24px}.workflow-bell-panel .workflow-item{padding:12px 0}.page-heading{display:block}.scope-bar form{gap:16px}.benefit-action{max-width:none}}

/* XD account controls: notification circle, account pill, separate secure logout. */
.topbar .user-tools{gap:12px;min-width:0}.topbar .workflow-bell>summary,.topbar .bell-link{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--brand);flex-shrink:0}.topbar .bell{display:block;opacity:1;width:24px;height:26px;filter:brightness(0) invert(1)}.topbar .workflow-badge{position:absolute;right:0;bottom:-10px;min-width:24px;height:24px;display:grid;place-items:center;padding:0 5px;border-radius:14px;background:white;color:#5e6b86;font-size:12px;line-height:1;border:2px solid var(--bg)}.topbar .user-menu>summary{height:48px;min-width:265px;max-width:360px;padding:0 22px;gap:14px;border-radius:28px;background:#f3f3f4;font-size:15px;color:#5e6b86}.account-icon{width:24px;height:26px;flex-shrink:0}.topbar .account-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chevron{width:11px;height:11px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:18px;margin-top:-6px;flex-shrink:0}.user-menu[open] .account-chevron{transform:rotate(225deg);margin-top:6px}.header-logout{margin:0;flex-shrink:0}.header-logout button{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f3f3f4;color:#5e6b86}.header-logout img{width:22px;height:25px}.header-logout button:hover,.topbar .user-menu>summary:hover{background:#e8eaf0}.topbar .menu{top:60px;border-radius:18px;z-index:35}.topbar .workflow-bell-panel{top:64px}.workflow-bell>summary::-webkit-details-marker{display:none}
@media(max-width:700px){.topbar{height:auto;min-height:110px;padding:12px 20px 18px;gap:12px;flex-wrap:wrap}.topbar .user-tools{width:100%;gap:10px}.topbar .user-menu{flex:1;min-width:0}.topbar .user-menu>summary{width:100%;min-width:0;max-width:none;padding:0 15px;gap:10px}.topbar .user-menu .account-name{max-width:none;font-size:13px}.account-chevron{margin-left:3px}.topbar .workflow-bell-panel{position:fixed;top:190px;left:12px;right:12px;width:auto;max-height:60vh}.topbar .menu{max-width:calc(100vw - 40px);min-width:220px;right:-58px}}

.header-new-reservation{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:0 28px 0 20px;border-radius:28px;background:#f3f3f4;color:#5e6b86;font-size:15px;font-weight:600;white-space:nowrap}.header-new-reservation img{width:26px;height:26px;flex-shrink:0}.header-new-reservation:hover{background:#e8eaf0}.topbar{position:relative;z-index:100;gap:16px}@media(min-width:701px) and (max-width:1000px){.topbar .user-menu>summary{min-width:0;max-width:230px}.header-new-reservation{padding:0 16px;font-size:13px}.topbar .user-tools{gap:8px}}

.account-navigation{display:grid;gap:4px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line)}.account-navigation a{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:600}.account-navigation img{width:19px;height:21px;object-fit:contain;filter:brightness(0);opacity:.55}.account-navigation a:hover{background:var(--soft)}.account-navigation a[aria-current=page]{background:var(--brand);color:white}.account-navigation a[aria-current=page] img{filter:brightness(0) invert(1);opacity:1}.topbar .user-menu .menu{max-height:65vh;overflow-y:auto}.topbar .menu>.account-link{min-height:44px;display:flex;align-items:center;line-height:1.5}
@media(max-width:700px){.sidebar>nav{display:none}.sidebar .logo{margin-bottom:0}.topbar .user-menu .menu{max-height:60vh}}

@media(max-width:700px){
 .app-layout{position:relative}.sidebar{min-height:84px;padding-right:210px}.sidebar .logo{max-width:none}
 .topbar{min-height:0;padding:0 20px 18px}.topbar .user-tools{position:absolute;top:18px;right:20px;width:auto;gap:10px}
 .topbar .user-menu{flex:none}.topbar .user-menu>summary{width:72px;padding:0 14px;gap:12px}.topbar .user-menu .account-name{display:none}.topbar .user-menu .account-chevron{margin-left:0}
 .topbar .workflow-bell-panel{top:84px}.topbar .user-menu .menu{max-height:calc(100dvh - 100px)}
}
@media(max-width:380px){
 .sidebar{padding-left:16px;padding-right:185px}.sidebar .logo{width:100px}.topbar{padding-left:16px;padding-right:16px}.topbar .user-tools{right:16px;gap:8px}
 .topbar .workflow-bell>summary,.topbar .bell-link,.header-logout button{width:44px;height:44px}.topbar .user-menu>summary{width:64px;height:44px;padding:0 11px;gap:10px}.topbar .user-menu .menu{right:-52px}
}

.mobile-new-reservation{display:none}.menu-logout{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line)}.menu-logout button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;border-radius:12px;background:transparent;color:var(--ink);text-align:left;font-size:14px}.menu-logout button:hover{background:var(--soft)}.menu-logout img{width:19px;height:21px;object-fit:contain}
@media(max-width:700px){.topbar .header-logout,.topbar>.header-new-reservation{display:none}.mobile-new-reservation{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f3f3f4;flex-shrink:0}.mobile-new-reservation img{width:26px;height:26px}.mobile-new-reservation:hover{background:#e8eaf0}.topbar{padding:0;min-height:0;gap:0}.topbar .user-menu .menu{right:0}}
@media(max-width:380px){.mobile-new-reservation{width:44px;height:44px}.topbar .user-menu .menu{right:0}}

@media(max-width:700px){.workflow-item a,.workflow-item button{display:flex;align-items:center;min-height:44px}.invoice-upload input[type=file]{max-width:100%;width:100%}.invoice-upload button{width:100%;min-height:48px}.workflow-bell-panel{overscroll-behavior:contain}.account-navigation a,.menu-logout button{min-height:48px}}

.impersonation-banner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 18px;margin:0 0 22px;border:1px solid #eac585;border-radius:14px;background:#fff5df;color:#604b26;font-size:13px}.impersonation-banner form{margin:0}.impersonation-banner button{background:white;color:#604b26;border-radius:20px;min-height:40px;padding:8px 16px;font-weight:600}.rc-error>.impersonation-banner{width:min(100%,760px);margin:0}.login-page>.impersonation-banner{margin:12px}

.inspect-table .primary.impersonate-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;border-radius:50%;line-height:1}.impersonate-icon svg{display:block;flex-shrink:0}

.admin-users-table tbody td:first-child{font-size:16px;font-weight:600;line-height:1.45}

.admin-users-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.admin-users-filters label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:150px}.admin-users-filters label:first-child{width:320px;max-width:100%}.admin-users-filters input,.admin-users-filters select{width:100%;height:48px;margin:0}.admin-users-filters>.primary{height:48px;margin:0}@media(max-width:600px){.admin-users-filters label,.admin-users-filters label:first-child{width:100%;min-width:0}.admin-users-filters>.primary{width:100%}}
