/* Compact staff workspaces. Scoped so guest booking pages retain their design. */
:where(.hotel-workspace-theme,.hp-staff-portal) [hidden]{display:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-bulk-panel{margin:10px 0;border:1px solid var(--hp-w-input-edge,#ccd8dc);border-radius:6px;background:var(--hp-w-panel,#fff);color:var(--hp-w-panel-ink,#22343d)}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-bulk-panel>summary{padding:10px 12px;min-height:44px;box-sizing:border-box;cursor:pointer;font-weight:600;font-size:14px}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-bulk-panel:not([open])>*:not(summary){display:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-bulk-controls{margin:0!important;padding:12px!important;border:0!important;box-shadow:none!important;border-radius:0!important;gap:10px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) input[form^="hotel-bulk-"]:not(.hp-bulk-visible){display:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-bulk-selection-help{display:none}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-head{display:block!important;margin:0 0 14px!important;padding:12px!important;border-radius:8px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-title{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 10px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-title .button{width:auto!important;white-space:normal;line-height:1.35!important;padding:10px 14px!important;font-size:14px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;align-items:end;width:100%!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-search-line{display:flex;align-items:end;gap:8px;grid-column:1/-1;min-width:0}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-query{flex:1;min-width:0}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search label{display:grid;gap:5px;font-size:13px;font-weight:600;min-width:0;margin:0!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-date-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-export-options{position:static!important;align-self:end;min-width:0}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-export-options>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center;padding:10px 12px;cursor:pointer;font-size:14px;border:1px solid var(--hp-w-input-edge,#ccd8dc);border-radius:6px}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-export-options>div{position:static!important;display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-top:10px;box-shadow:none}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-export-options[open]{grid-column:1/-1}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search input,:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search select{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box;height:44px!important;min-height:44px!important;padding:7px 9px!important;font-size:16px!important;line-height:1.35!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search .button{height:auto!important;min-height:44px!important;min-width:0!important;margin:0!important;padding:10px 12px!important;line-height:1.35!important;white-space:normal;font-size:14px!important;width:auto!important;box-sizing:border-box}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-advanced-query{position:static!important;inset:auto!important;box-shadow:none!important;width:auto!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search{padding:12px!important;margin:0 0 14px!important;border-radius:8px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;align-items:end}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-query{grid-column:1/4!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-actions{display:flex!important;gap:6px!important;grid-column:4!important;margin:0!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search label>span{font-size:13px!important;font-weight:600!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search input,:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search select{width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:7px 9px!important;box-sizing:border-box;font-size:16px!important;line-height:1.35!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search .button{min-width:0!important;min-height:44px!important;padding:10px 12px!important;line-height:1.35!important;font-size:14px!important;box-sizing:border-box;margin:0!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-more-filters{grid-column:1/-1!important;margin:0!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-more-filters>summary{padding:10px 12px!important;min-height:44px;box-sizing:border-box;font-size:14px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-filter-panel{position:static!important;box-shadow:none!important;padding:10px 0!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-quick{display:flex!important;flex-wrap:wrap;gap:6px!important;margin-top:10px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-quick a{padding:8px 10px!important;min-height:40px;box-sizing:border-box;font-size:13px!important;line-height:1.5!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search input[type=checkbox]{height:20px!important;min-height:20px!important;width:20px!important;flex:0 0 20px;padding:0!important}
/***** dashboard and navigation *****/
.pms-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.pms-dashboard-heading h1{margin:0;font-size:24px}.pms-dashboard-heading input{box-sizing:border-box;min-height:44px;max-width:100%;font-size:16px;padding:8px 12px}
.pms-dashboard-home .pms-department-launcher{gap:10px!important}.pms-dashboard-home .pms-department-launcher>a{padding:16px!important;min-height:88px!important;border-radius:8px!important}
.pms-dashboard-home [hidden]{display:none!important}.hp-dashboard .hp-dash-hero{padding:16px!important;min-height:0!important}.hp-dashboard .hp-dash-hero h2{font-size:24px!important;margin:0!important}.hp-dashboard .hp-dash-hero p{margin:6px 0 0!important;font-size:13px!important}
.hp-dashboard .hp-quick{gap:8px!important}.hp-setup-menu{flex-basis:100%;font-size:14px}.hp-setup-menu summary{cursor:pointer;min-height:44px;padding:10px;box-sizing:border-box}.hp-setup-menu>div{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
html.hotel-workspace-embedded .bo-top{display:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo{margin:8px 0 24px!important;max-width:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-card{padding:14px!important;border-radius:8px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-heading h2{font-size:22px!important;line-height:1.3!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .pms-topbar{gap:6px!important;padding:6px 8px!important;min-height:56px!important;border-radius:8px!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .pms-topbar select,:where(.hotel-workspace-theme,.hp-staff-portal) .pms-topbar .pms-mobile-menu>summary{height:44px!important;min-height:44px!important;padding:7px 10px!important;font-size:16px!important;line-height:1.35!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .pms-property-name{margin:0!important}
@media(max-width:782px){
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-query{grid-column:1/-1!important}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-actions{grid-column:1/-1!important}
 :where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-search{grid-template-columns:1fr!important}
 :where(.hotel-workspace-theme,.hp-staff-portal) .bo-search-line{flex-wrap:wrap}
 :where(.hotel-workspace-theme,.hp-staff-portal) .bo-query{flex-basis:100%}
 :where(.hotel-workspace-theme,.hp-staff-portal) .bo-export-options{justify-self:start}
 :where(.hotel-workspace-theme,.hp-staff-portal) .bo-list-title{justify-content:flex-start}
 :where(.hotel-workspace-theme,.hp-staff-portal) .pms-topbar{position:relative!important;top:auto!important}
 .pms-portal .pms-brandbar{gap:6px!important;padding:6px 8px!important;flex-wrap:wrap;min-height:0!important}
 .pms-portal .pms-brandbar .pms-property-name{flex:1 1 160px!important;max-width:none!important}
 .pms-portal .pms-brandbar .pms-property-name select{height:44px!important;font-size:16px!important;padding:7px 9px!important}
 .pms-portal .pms-brandbar .pms-user{max-width:90px;font-size:13px}
 .pms-dashboard-heading{align-items:stretch}.pms-dashboard-heading label{width:100%}.pms-dashboard-heading input{width:100%}
 .pms-dashboard-home .pms-department-launcher{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .pms-dashboard-home .pms-department-launcher>a{padding:12px!important;min-height:88px!important;font-size:14px!important}
}
@media print{.hotel-bulk-panel,.bo-list-head,.pms-dashboard-heading label,.hp-setup-menu{display:none!important}}
:where(.hotel-workspace-theme,.hp-staff-portal) .ho-attribute-section:has([data-attribute-bulk]:not([open])) .check-column{display:none!important}
:where(.hotel-workspace-theme,.hp-staff-portal) [data-attribute-bulk]>summary{min-height:44px;box-sizing:border-box;cursor:pointer;padding:10px 12px;border:1px solid var(--hp-w-input-edge,#ccd8dc);border-radius:6px}
:where(.hotel-workspace-theme,.hp-staff-portal) [data-attribute-bulk]>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px}

:where(.hotel-workspace-theme,.hp-staff-portal) .bo-history-filter{grid-column:1/-1;order:3;font-weight:400!important}
:where(.hotel-workspace-theme,.hp-staff-portal) .bo-history-filter input[type=checkbox]{width:20px!important;height:20px!important;min-height:20px!important;vertical-align:middle;margin-right:6px!important;padding:0!important}

.hotel-workspace-theme:has(.pms-topbar) .bo-top{display:none!important}

@media(max-width:782px){
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-query{order:0}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-actions{order:1}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form>label:has([name=date_type]),:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form>label:has([name=source]){order:2}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form>label:has([name=date_from]),:where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-search-form>label:has([name=date_to]){order:3}
 :where(.hotel-workspace-theme,.hp-staff-portal) .hotel-res-more-filters{order:4}
}
