/* One active PMS workspace, with the existing appearance variables. */
.pms-topbar,.pms-brandbar,.pms-department-launcher{box-sizing:border-box;font-family:inherit}
.pms-topbar{display:flex;align-items:center;gap:6px;position:sticky;top:32px;z-index:500;background:var(--hp-w-dark,#15334f);color:#fff;padding:7px 10px;margin:0 0 12px;border-radius:8px;min-width:0;max-width:100%}
.pms-topbar a,.pms-topbar summary{color:inherit;text-decoration:none;font-weight:600;font-size:13px;cursor:pointer;line-height:1.3}
.pms-topbar summary{list-style:none}.pms-topbar summary::-webkit-details-marker{display:none}
.pms-home{display:flex;padding:6px;flex:none}.pms-topbar .hp-department-icon{width:22px;height:22px;display:inline-flex;background:none!important;box-shadow:none!important}.pms-topbar .hp-department-icon svg{width:100%;height:100%}
.pms-department-select{min-width:0;max-width:220px;flex:none}.pms-department-select select{max-width:100%;height:34px;min-height:34px;background:#fff;color:#17324b;border:1px solid #c9d5e0;border-radius:5px;font-size:13px;font-weight:600}
.pms-mobile-menu{margin:0!important;min-width:0;flex:1;border:0!important;padding:0!important;background:transparent!important}.pms-mobile-menu>summary{display:none}
.pms-task-menu{display:flex;align-items:center;gap:3px;flex-wrap:wrap;min-width:0}.pms-direct,.pms-menu-group>summary{display:block;padding:9px 8px;border-radius:5px}
.pms-menu-group{position:relative;margin:0!important;padding:0!important;border:0!important;background:none!important;color:inherit!important}.pms-menu-group>summary:after{content:'⌄';margin-left:5px}.pms-menu-group[open]>summary,.pms-topbar a:hover,.pms-topbar [aria-current=page]{background:#fff;color:var(--hp-w-primary,#075aab)}
.pms-menu-group>div{position:absolute;top:100%;left:0;min-width:200px;max-width:min(330px,90vw);max-height:65vh;overflow-y:auto;background:var(--hp-w-dark,#15334f);padding:5px;border:1px solid #ffffff35;border-radius:6px;box-shadow:0 6px 18px #10253d30;z-index:600}.pms-menu-group a{display:block;padding:10px;border-radius:4px;white-space:normal}
.pms-search{margin:0!important;flex:none;position:relative}.pms-search>summary{display:flex;padding:7px}.pms-search>div{position:absolute;right:0;top:100%;width:min(360px,88vw);padding:8px;background:#fff;color:#17324b;box-shadow:0 6px 20px #10253d22;border:1px solid #c9d5e0;border-radius:6px}.pms-search input{width:100%;font-size:16px;min-height:40px}.pms-search .hotel-global-search{width:100%!important;margin:0!important;padding:0!important}
.pms-brandbar{display:flex;align-items:center;gap:9px;min-height:46px;padding:6px 12px;background:var(--hp-w-dark,#15334f);color:#fff}.pms-brandbar img{width:32px;height:32px;object-fit:contain;background:#fff;border-radius:4px}.pms-brandbar strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pms-brandbar .pms-user{margin-left:auto;font-size:12px}.pms-brandbar a{color:inherit;font-size:13px;white-space:nowrap}
.pms-portal{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.pms-portal .pms-topbar{top:0;border-radius:0;margin:0}.pms-active-workspace{display:block!important;width:100%!important;min-width:0!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}.pms-active-workspace iframe{display:block;width:100%!important;border:0!important;min-height:65vh;background:transparent}
.pms-department-launcher{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px;max-width:1100px;margin:20px auto;padding:12px}.pms-department-launcher>a{display:flex;align-items:center;gap:12px;min-height:72px;padding:16px;border:1px solid #d4e0e9;border-radius:9px;background:#fff;color:#17334f;text-decoration:none;font-size:15px;font-weight:650;box-shadow:0 2px 5px #10253d08}.pms-department-launcher>a:hover,.pms-department-launcher>a:focus-visible{border-color:var(--hp-w-primary,#075aab);outline:2px solid var(--hp-w-primary,#075aab);outline-offset:2px}.pms-department-launcher .hp-department-icon{width:28px;height:28px;flex:none;display:flex;box-shadow:none!important;background:none!important;color:var(--hp-w-primary,#075aab)}.pms-department-launcher svg{width:100%;height:100%}
.hotel-workspace-theme #adminmenumain,.hotel-workspace-theme #wpfooter{display:none}.hotel-workspace-theme #wpcontent{margin-left:0!important;padding:12px!important}.hotel-workspace-theme #wpbody-content{padding-bottom:16px}.hotel-workspace-theme .wrap.hotel-admin,.hotel-workspace-theme .hotel-ops,.hotel-workspace-theme .wrap.bo{max-width:none!important;width:auto!important;margin:0!important}
.hotel-workspace-theme .hotel-admin>h1:first-child{font-size:20px;margin:8px 0}.pms-workspace-title h1{font-size:20px;margin:5px 0 12px}.hotel-workspace-theme .ho-heading p:not(.ho-warning):not([role=alert]),.hotel-workspace-theme .ho-eyebrow,.hotel-workspace-theme .bo-kicker,.hotel-workspace-theme .bo-top>div>p,.hotel-workspace-theme .bo-card>p.bo-muted,.hotel-workspace-theme .ho-panel>p.ho-muted,.hotel-workspace-theme .hp-editor-back,.hotel-workspace-theme .hotel-listing-editor-steps,.hotel-workspace-theme .hotel-listing-editor-head p{display:none}
.hotel-workspace-theme .bo-shell{display:block!important}.hotel-workspace-theme .bo-nav{display:none!important}.hotel-workspace-theme .bo-top h1{font-size:20px}.hotel-workspace-theme .bo-top{margin-bottom:10px;padding:4px 0}.hotel-workspace-theme .ho-panel,.hotel-workspace-theme .hotel-admin-form,.hotel-workspace-theme .bo-card{padding:14px;margin:10px 0}.hotel-workspace-theme .hp-department-report-bar{display:none!important}
.pms-operating-date{font-size:12px;margin:2px 0 8px}.pms-operating-date.ho-warning{padding:6px 10px}.pms-rack-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.pms-rack-toolbar label{font-size:12px;display:flex;align-items:center;gap:5px}.pms-rack-toolbar input,.pms-rack-toolbar select{min-height:36px;max-width:100%;font-size:14px}.pms-rack-toolbar [type=search]{width:210px}.pms-rack-count{margin-left:auto;font-size:12px}.pms-room-workspace .ho-room-rack{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:9px}.pms-room-workspace .ho-rack-room{padding:12px;min-height:105px}.pms-room-workspace .ho-rack-summary{display:none}.pms-room-workspace .ho-rack-legend{padding:7px 0;gap:12px}.pms-room-workspace .ho-rack-legend small{display:none}.pms-room-workspace .ho-rack-number{font-size:21px}.pms-room-workspace .ho-rack-floor-head{margin:5px 0}
.pms-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}.pms-settings-grid label{display:flex;flex-direction:column;gap:5px}.pms-settings-grid input,.pms-settings-grid select{width:100%;min-height:38px}.pms-subnav{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}.pms-subnav a{padding:7px 10px;border:1px solid #cad8e5;border-radius:5px;text-decoration:none}.pms-subnav [aria-current]{background:var(--hp-w-primary,#075aab);color:#fff}.pms-table{width:100%;border-collapse:collapse}.pms-table th,.pms-table td{padding:9px;text-align:left;border-bottom:1px solid #dce5ee}.pms-table th{background:#eff5fa}.pms-table-wrap{overflow:auto;max-width:100%}.pms-compact-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.pms-compact-summary>div{padding:10px;background:#edf4fb;border-radius:6px;min-width:0}.pms-compact-summary dt{font-size:12px}.pms-compact-summary dd{margin:4px 0 0;font-size:18px;font-weight:750;white-space:nowrap}.pms-folio-actions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.pms-folio-posting[hidden],.pms-folio-payment[hidden]{display:none!important}
@media(max-width:1100px){.pms-topbar a,.pms-topbar summary{font-size:12px}.pms-direct,.pms-menu-group>summary{padding:9px 6px}.pms-department-select{max-width:175px}}
@media(max-width:782px){.pms-topbar{top:46px;gap:6px;padding:6px 8px}.pms-department-select{flex:1;max-width:none}.pms-department-select select{width:100%;font-size:14px;height:40px}.pms-mobile-menu{flex:none}.pms-mobile-menu>summary{display:block;padding:11px 13px;border:1px solid #ffffff55;border-radius:5px}.pms-task-menu{display:none;position:absolute;top:100%;left:0;right:0;background:var(--hp-w-dark,#15334f);padding:8px;max-height:70dvh;overflow-y:auto;border-top:1px solid #ffffff40}.pms-mobile-menu[open]>.pms-task-menu{display:block}.pms-direct,.pms-menu-group>summary{padding:13px 10px;font-size:14px}.pms-menu-group>div{position:static;box-shadow:none;max-height:none;max-width:none;border:0;padding-left:13px}.pms-menu-group a{font-size:14px;padding:12px}.pms-topbar .pms-search>summary{padding:9px}.pms-brandbar{padding:6px 9px}.pms-brandbar .pms-user{display:none}.pms-brandbar>a{margin-left:auto}.pms-portal .pms-topbar{top:0}.pms-department-launcher{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px;margin:8px auto}.pms-department-launcher>a{padding:12px;min-height:76px;gap:8px;font-size:13px}.pms-department-launcher .hp-department-icon{width:23px;height:23px}.hotel-workspace-theme #wpcontent{padding:8px!important}.pms-room-workspace .ho-room-rack{grid-template-columns:repeat(2,minmax(0,1fr))}.pms-rack-toolbar [type=search]{width:100%;flex:1}.pms-rack-toolbar label{font-size:11px;min-width:0}.pms-rack-count{display:none}.pms-compact-summary>div{padding:8px}.pms-compact-summary dd{font-size:14px}.pms-table th,.pms-table td{padding:7px;font-size:12px}}
@media print{.pms-topbar,.pms-brandbar{display:none!important}}

.hotel-workspace-theme .bo-card-head p,.hotel-workspace-theme .ho-subpanel>p.ho-muted:not([data-manual-price-formula]),.hotel-workspace-theme .bo-main>p.description{display:none}.hotel-workspace-theme .bo-payment-lines .bo-line-table th:nth-child(5),.hotel-workspace-theme .bo-payment-lines .bo-line-table td:nth-child(5){display:none}.pms-folio-table [data-charge-status=void]{text-decoration:line-through;opacity:.6}.pms-check{flex-direction:row!important;align-items:center}.pms-check input{width:auto!important;min-height:0!important}
.pms-data-links{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.pms-workspace-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}.pms-workspace-filter label{display:flex;flex-direction:column;gap:5px}.pms-workspace-filter select,.pms-workspace-filter input{min-height:40px}.pms-launcher-brand{padding:10px 14px!important;min-height:0!important}.pms-launcher-brand img,.pms-launcher-brand .hp-portal-logo{width:36px!important;height:36px!important}.pms-launcher-brand p{font-size:16px!important}.pms-launcher-brand .hp-login-brand{gap:8px!important}.pms-launcher-brand .hp-top-actions{gap:12px!important}.pms-workspace h1{font-size:22px;margin:8px 0 14px}.pms-workspace h2{font-size:18px}.pms-workspace .notice p{display:block!important}.hotel-res-search-heading,.hp-booking-scope-note{display:none}.hotel-ops>.ho-heading p:not(.ho-eyebrow){display:none}.bo-kicker{display:none}@media(max-width:600px){.pms-data-links>.button{flex:1 1 140px;text-align:center;white-space:normal;min-height:44px}.pms-launcher-brand .hp-top-actions{font-size:12px}.pms-launcher-brand small{display:none}.pms-workspace-filter{align-items:stretch}.pms-workspace-filter label{flex:1}.pms-settings-grid fieldset{min-width:0}.pms-settings-grid select{max-width:100%}}

@media(max-width:782px){.pms-mobile-menu>summary{min-height:44px;display:flex;align-items:center;justify-content:center}.pms-home,.pms-search>summary{min-width:38px;min-height:44px;align-items:center}}
/* One property switcher, placed before the operational navigation. */
.pms-property-name{display:block;flex:0 1 210px;margin:0;min-width:0;max-width:100%}.pms-property-name label{display:block;margin:0}.pms-property-name select{box-sizing:border-box;width:100%;height:40px;min-height:40px;margin:0;padding:6px 30px 6px 12px;background-color:#fff;color:#173247;border:1px solid #bacbda;border-radius:6px;font-size:15px;font-weight:650;line-height:1.3;cursor:pointer}.pms-property-name select:focus{outline:2px solid #80bfff;outline-offset:2px}.pms-launcher-page>.pms-property-name{width:240px;margin:0 0 10px}.pms-brandbar .pms-property-name{flex-basis:240px}.pms-launcher-brand .pms-property-name{width:240px}.hotel-workspace-theme .pms-topbar{color:#fff}.hotel-workspace-theme .pms-topbar .pms-home,.hotel-workspace-theme .pms-topbar .pms-search>summary{color:#fff}.hotel-ops [hidden]{display:none!important}.hotel-ops .ho-entry-price>.ho-muted{display:none}.hotel-ops dialog::backdrop{background:#10243580}.hotel-ops dialog{z-index:10010}.hotel-ops .pms-folio-table [data-charge-status=void] small{display:block;text-decoration:none}.ho-rack-floor:first-child{margin-top:8px}
@media(max-width:1180px) and (min-width:783px){.pms-topbar{flex-wrap:wrap}.pms-topbar>.pms-property-name{flex-basis:200px}.pms-topbar .pms-task-menu{flex-wrap:wrap}.pms-topbar .pms-mobile-menu{min-width:0;flex:1 1 380px}}
@media(max-width:782px){.pms-topbar{flex-wrap:wrap}.pms-topbar>.pms-property-name{flex:1 0 100%;width:100%;order:-1}.pms-property-name select{font-size:16px;min-height:44px;height:44px}.pms-topbar>.pms-department-select{min-width:0}.pms-topbar>.pms-search{margin-left:0}.pms-brandbar{flex-wrap:wrap}.pms-brandbar .pms-property-name{flex:1;min-width:150px}.pms-launcher-brand .hp-login-brand{min-width:0;flex:1}.pms-launcher-brand .hp-login-brand>div{min-width:0;width:100%}.pms-launcher-brand .pms-property-name{width:100%}.pms-launcher-brand .hp-top-actions{width:100%;justify-content:flex-end}.pms-compact-summary dd{white-space:normal;overflow-wrap:normal;word-break:normal}.hotel-ops dialog .ho-sidebar-summary{position:static}.pms-folio-table td:last-child>button{margin:2px}}

.hp-activity-settings label{display:flex;align-items:center;gap:9px;min-height:44px}.hp-activity-settings input[type=checkbox]{flex:none}
/* Keep the work surface readable while retaining the selected brand colours. */
.hotel-workspace-theme .wrap.hotel-admin.pms-native-workspace{background:var(--hp-w-canvas,#f5f7fa);color:var(--hp-w-ink,#192c40);padding:12px;border:1px solid var(--hp-w-line,#d5dfe8);border-radius:8px;min-width:0}.hotel-workspace-theme .pms-native-workspace>.hotel-ops{color:var(--hp-w-ink,#192c40)}.pms-native-workspace input,.pms-native-workspace select{font-weight:400}.hotel-ops .pms-rack-toolbar{position:relative;align-items:center}.hotel-ops .pms-rack-toolbar label{display:flex;flex-direction:row;align-items:center;gap:6px;flex:none;min-width:0;font-size:12px}.hotel-ops .pms-rack-toolbar select{width:180px;min-height:40px}.hotel-ops .pms-rack-toolbar input[type=date]{width:165px;min-height:40px}.hotel-ops .pms-rack-toolbar input[type=search]{width:230px;flex:1 1 180px;min-height:40px}.hotel-ops .pms-rack-toolbar button{width:42px;min-width:42px;min-height:40px;flex:none}.hotel-ops .pms-folio-table td:nth-child(n+3):not(:last-child){white-space:nowrap;overflow-wrap:normal;word-break:normal}.pms-topbar .pms-home .hp-department-icon{color:#fff!important}
@media(max-width:782px){.hotel-workspace-theme .wrap.hotel-admin.pms-native-workspace{padding:10px}.hotel-ops .pms-rack-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end}.hotel-ops .pms-rack-toolbar label{flex-direction:column;align-items:stretch;gap:3px}.hotel-ops .pms-rack-toolbar select,.hotel-ops .pms-rack-toolbar input[type=date]{width:100%;font-size:16px;height:44px}.hotel-ops .pms-rack-toolbar input[type=search]{grid-column:1/-1;width:calc(100% - 52px);height:44px;font-size:16px}.hotel-ops .pms-rack-toolbar button{position:absolute;right:0;bottom:0;width:44px;min-height:44px}.hotel-ops .pms-rack-toolbar .pms-rack-count{display:none}}

.pms-topbar .pms-search .hp-department-icon{color:#fff!important}
.ho-posted-charges{min-width:0}.ho-posted-charges>.ho-heading{margin-bottom:8px}.ho-posted-charges h3{margin:0!important}.ho-posted-charges-table{width:100%}.ho-posted-charges-table th,.ho-posted-charges-table td{padding:8px}.ho-posted-charges-table td:nth-child(n+3){white-space:nowrap;overflow-wrap:normal;word-break:normal}.ho-posted-charges-table [data-charge-status=void]{text-decoration:line-through;opacity:.65}
@media(max-width:600px){.hotel-ops .ho-posted-charges-table{display:block;border:0}.hotel-ops .ho-posted-charges-table thead{display:none}.hotel-ops .ho-posted-charges-table tbody{display:grid;gap:8px}.hotel-ops .ho-posted-charges-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--hp-w-line,#d5dfe8);border-radius:7px;background:var(--hp-w-canvas,#f5f7fa)}.hotel-ops .ho-posted-charges-table td{display:block;min-width:0;padding:0!important;border:0!important;font-size:12px;text-align:left}.hotel-ops .ho-posted-charges-table td:before{content:attr(data-label);display:block;font-size:11px;color:var(--hp-w-muted,#526477);font-weight:500;margin-bottom:3px}.hotel-ops .ho-posted-charges-table td:nth-child(1){grid-column:1/3;grid-row:1;font-size:12px}.hotel-ops .ho-posted-charges-table td:nth-child(1):before,.hotel-ops .ho-posted-charges-table td:nth-child(2):before{display:none}.hotel-ops .ho-posted-charges-table td:nth-child(2){grid-column:1/-1;grid-row:2;font-size:14px;font-weight:650}.hotel-ops .ho-posted-charges-table td:nth-child(3){grid-column:3;grid-row:1;text-align:right}.hotel-ops .ho-posted-charges-table td:nth-child(3):before{content:'Qty';display:inline;margin-right:5px}.hotel-ops .ho-posted-charges-table td:nth-child(n+4){grid-row:3}.hotel-ops .ho-posted-charges-table td:nth-child(6){font-weight:750}}
@media(max-width:600px){.hotel-ops .ho-scroll>.ho-posted-charges-table{width:100%;max-width:100%;min-width:0}}
@media(max-width:360px){.hotel-ops .ho-posted-charges-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-ops .ho-posted-charges-table td:nth-child(1){grid-column:1;grid-row:1}.hotel-ops .ho-posted-charges-table td:nth-child(3){grid-column:2;grid-row:1}.hotel-ops .ho-posted-charges-table td:nth-child(4){grid-column:1;grid-row:3}.hotel-ops .ho-posted-charges-table td:nth-child(5){grid-column:2;grid-row:3}.hotel-ops .ho-posted-charges-table td:nth-child(6){grid-column:1/-1;grid-row:4;display:flex;justify-content:space-between;align-items:center}.hotel-ops .ho-posted-charges-table td:nth-child(6):before{margin:0}}

/* One compact command menu per financial record. */
.pms-row-menu{position:relative;display:inline-block;vertical-align:top;font-size:14px}
.pms-row-menu>summary{cursor:pointer;padding:8px 10px;min-height:40px;box-sizing:border-box;color:var(--ho-link,#075785);font-weight:600}
.pms-row-menu>div{display:flex;flex-direction:column;align-items:stretch;min-width:168px;max-width:min(260px,80vw);padding:5px;background:#fff;color:#172b38;border:1px solid #c7d2dc;border-radius:4px;box-shadow:0 4px 12px #102f4620}
.pms-row-menu button,.pms-row-menu a.button,.pms-row-menu a,.pms-row-menu button.ho-primary{background:transparent!important;color:#173e59!important;border:0!important;box-shadow:none!important;text-align:left;text-decoration:none;border-radius:0!important;font:inherit!important;font-weight:400!important;min-height:40px;height:auto;line-height:1.3;padding:9px 10px!important;margin:0;white-space:normal;display:block;cursor:pointer}
.pms-row-menu button:hover,.pms-row-menu a:hover,.pms-row-menu button:focus-visible,.pms-row-menu a:focus-visible{background:#eaf3fa!important;outline:2px solid transparent}
.pms-row-menu form{display:block!important;margin:0!important}.pms-row-menu[open]{z-index:20}.pms-row-menu:not([open])>div{display:none}
@media(max-width:600px){.pms-row-menu{font-size:15px}.pms-row-menu button,.pms-row-menu a{min-height:44px}.pms-row-menu>div{max-width:72vw}}

/* v69: one flat navigation level and readable report / invoice workspaces. */
.pms-report-workspace{max-width:100%;min-width:0}.pms-report-workspace .hp-department-report-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;align-items:end}.pms-report-workspace label,.pms-police-report label{min-width:0}.pms-report-workspace input,.pms-report-workspace select,.pms-police-report input,.pms-police-report select{box-sizing:border-box;max-width:100%;width:100%;min-height:44px}.pms-report-workspace button,.pms-police-report .pms-rack-toolbar button{min-width:120px;min-height:44px;white-space:normal;word-break:normal;overflow-wrap:normal}.pms-police-report .pms-rack-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;align-items:end}.pms-invoice-register{width:100%;min-width:0}.pms-invoice-register table{width:100%;min-width:0!important;table-layout:auto}.pms-invoice-register td{vertical-align:top;word-break:normal;overflow-wrap:anywhere}.pms-invoice-register .pms-row-menu{max-width:100%}.pms-invoice-number-form{display:grid;gap:12px;max-width:620px;margin:0 0 20px}.pms-invoice-number-form label{display:grid;gap:6px}.pms-invoice-number-form input{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:600px){.pms-report-workspace .hp-department-report-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pms-report-workspace [data-department-report-search],.pms-report-workspace select{font-size:16px}.pms-report-workspace .hp-department-report-fields>label:first-child,.pms-report-workspace .hp-department-report-choice{grid-column:1/-1}.pms-report-workspace button{width:100%;min-width:0}.pms-police-report .pms-rack-toolbar{grid-template-columns:1fr}.pms-police-report .pms-rack-toolbar button{width:100%}.pms-invoice-register thead{display:none}.pms-invoice-register table,.pms-invoice-register tbody,.pms-invoice-register tr{display:block;width:100%;box-sizing:border-box}.pms-invoice-register tr{border:1px solid #d4dee8;border-radius:10px;margin:0 0 12px;padding:8px;background:#fff}.pms-invoice-register td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;width:100%;box-sizing:border-box;border:0!important;padding:8px!important}.pms-invoice-register td:before{content:attr(data-label);font-weight:600}.pms-invoice-register td[colspan]{display:block}.pms-invoice-register td[colspan]:before{display:none}.pms-invoice-register .pms-row-menu>div{position:static;min-width:0;width:100%;box-sizing:border-box}.pms-invoice-register .pms-row-menu a{white-space:normal;word-break:normal;overflow-wrap:normal}.pms-mobile-menu .pms-menu-tasks{max-width:100%}}
/* Compact desktop/mobile navigation: the flat task list is a popover, never header rows. */
.pms-topbar{flex-wrap:nowrap;min-height:60px;align-items:center}
.pms-topbar .pms-mobile-menu{flex:0 0 auto;position:static;overflow:visible}
.pms-topbar .pms-mobile-menu>summary{display:flex!important;align-items:center;justify-content:center;min-width:78px;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #ffffff66;border-radius:6px;white-space:nowrap;font-size:14px}
.pms-topbar .pms-mobile-menu>summary:after{content:'⌄';margin-left:8px}
.pms-topbar .pms-task-menu{display:none!important;position:absolute;top:calc(100% + 7px);right:0;left:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:4px;width:min(760px,calc(100vw - 32px));max-height:min(68dvh,600px);overflow:auto;padding:12px;box-sizing:border-box;background:var(--hp-w-panel,#fff);color:var(--hp-w-panel-ink,#192c40);border:1px solid #bbcbd9;border-radius:8px;box-shadow:0 8px 24px #0003;z-index:900}
.pms-topbar .pms-mobile-menu[open]>.pms-task-menu{display:grid!important}
.pms-topbar .pms-menu-search{grid-column:1/-1;display:grid;gap:5px;margin:0 0 5px;min-width:0;font-size:13px;color:inherit}
.pms-topbar .pms-menu-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;background:#fff!important;color:#192c40!important;font-size:16px;border:1px solid #a8bacb;border-radius:5px}
.pms-topbar .pms-task-menu>.pms-direct{display:flex;align-items:center;min-width:0;min-height:44px;padding:10px;color:inherit!important;background:transparent;font-size:14px;font-weight:500;line-height:1.4;overflow-wrap:normal;white-space:normal;text-align:left}
.pms-topbar .pms-task-menu>.pms-direct:hover,.pms-topbar .pms-task-menu>.pms-direct:focus-visible,.pms-topbar .pms-task-menu>[aria-current=page]{background:var(--hp-w-light,#edf3fa)!important;color:#192c40!important}
.pms-topbar .pms-task-menu>[hidden]{display:none!important}
.pms-topbar .pms-property-name{max-width:210px;min-width:120px;flex:0 1 210px;margin:0}
.pms-topbar .pms-department-select{flex:0 1 240px;max-width:240px;min-width:110px}
.pms-topbar .pms-search{margin-left:auto}
@media(max-width:1000px) and (min-width:783px){.pms-topbar .pms-property-name{max-width:180px}.pms-topbar .pms-task-menu{right:0;grid-template-columns:repeat(2,minmax(0,1fr));width:min(620px,calc(100vw - 32px))}}
@media(max-width:782px){.pms-topbar{display:grid;grid-template-columns:32px minmax(0,1fr) 78px 40px;gap:6px;align-items:center}.pms-topbar .pms-property-name{grid-column:1/-1;width:100%;max-width:none;min-width:0}.pms-topbar .pms-property-name select{width:100%;min-height:44px}.pms-topbar .pms-department-select{max-width:none;min-width:0;width:100%}.pms-topbar .pms-mobile-menu{position:static}.pms-topbar .pms-task-menu{top:100%;left:0;right:0;width:100%;max-height:65dvh;grid-template-columns:1fr;padding:10px}.pms-topbar .pms-task-menu>.pms-direct{font-size:16px;min-height:46px}.pms-topbar .pms-search{margin:0}.pms-topbar .pms-mobile-menu>summary{font-size:14px;padding:9px;min-width:0}.pms-topbar .pms-home{padding:4px}.pms-topbar .pms-home .hp-department-icon{width:22px;height:22px}}

/* The shared top navigation owns property switching and department return links. */
.hotel-workspace-theme .hpms-property,.hotel-workspace-theme .hpms-back-nav,.hotel-workspace-theme .hpms-eyebrow,.hotel-workspace-theme .hpms-header>div>p{display:none!important}
.hotel-workspace-theme .hpms-header{padding:0;margin:0 0 10px}.hotel-workspace-theme .hpms-header h1{font-size:22px;margin:0 0 10px}
html.hotel-workspace-embedded .pms-topbar,html.hotel-workspace-embedded .pms-brandbar{display:none!important}

/* Keep the staff working area at the screen edges; login pages are unaffected. */
.hotel-platform-portal-shell .hp-portal-stage:has(.pms-portal){width:100%!important;max-width:none!important;padding:0!important;display:block;align-items:start}
.pms-portal{border-radius:0!important}
.pms-portal .pms-brandbar{padding:4px 8px;gap:8px;min-width:0}
.pms-portal .pms-topbar{padding:4px 8px}
.pms-portal .pms-brandbar .pms-property-name{flex:1 1 180px;max-width:240px;margin:0;min-width:0}
.pms-portal .pms-brandbar .pms-user{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1100px){
 .pms-portal{display:grid!important;grid-template-columns:minmax(320px,460px) minmax(0,1fr);align-items:stretch}
 .pms-portal>.pms-brandbar{grid-column:1;grid-row:1}
 .pms-portal>.pms-topbar{grid-column:2;grid-row:1;min-width:0}
 .pms-portal>.pms-active-workspace,.pms-portal>.hp-workspace-frame{grid-column:1/-1}
}
@media(max-width:1099px){.pms-portal .pms-brandbar .pms-property-name select{height:44px;min-height:44px}.pms-portal .pms-brandbar img{width:28px;height:28px}}
.hotel-workspace-theme #wpcontent{padding:8px!important}
