/* 0.19.45: shared presentation refinements. No records, actions or permissions are removed.
   Keep brand palettes and OTA layouts; adapt the surrounding controls to the viewport. */
@media screen {
  .hp-staff-login-brand{display:grid;justify-items:center;gap:14px;text-align:center;margin-bottom:28px}
  .hp-staff-login-brand img{display:block;object-fit:contain;width:auto;max-width:min(220px,100%);height:auto;max-height:90px}
  .hp-staff-login-brand p{margin:0;font-size:18px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
  .hp-staff-brand-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--hp-site-light,#eaf2fc);color:var(--hp-site-primary,#006ce4)}
  .hp-staff-brand-symbol svg{width:26px;height:26px}
  body .hp-portal-login.hp-staff-login{max-width:460px;padding:clamp(22px,4vw,40px);border-radius:20px;box-shadow:0 18px 60px #0002;transform:none;backdrop-filter:none}
  body .hp-staff-login:before{display:none}
  body .hp-staff-login .hp-login-copy{margin:0 0 28px;text-align:center}
  body .hp-staff-login .hp-login-copy h1{font-size:28px;letter-spacing:-.02em;line-height:1.2;margin:0}
  .hp-staff-login .hp-login-form{gap:20px}
  .hp-staff-login :is(input[type=text],input[type=password]){min-height:48px;font-size:16px;border-radius:10px}
  .hp-staff-login .hp-login-options{gap:8px 14px;flex-wrap:wrap;font-size:13px}
  .hp-staff-login .hp-login-options :is(a,label){min-height:44px;display:inline-flex;align-items:center}
  .hp-staff-login .hp-portal-primary{min-height:48px;border-radius:10px;box-shadow:none}
  .hp-staff-auth{width:min(520px,100%);margin:auto}
  .hp-staff-auth>.hp-staff-login-brand{background:var(--hp-site-paper,#fff);color:var(--hp-site-ink,#192c40);border-radius:16px;padding:22px;margin-bottom:12px}
  .hotel-platform-portal-shell .hp-portal-stage{min-height:100svh}
  :is(.hp-staff-portal,.hotel-admin,.hotel-ops,.hpms,.bo,.hpw,.hotel-app,.hotel-listings,.hotel-property-detail){min-width:0;overflow-wrap:anywhere}
  :is(.hp-staff-portal,.hotel-admin,.hotel-app,.hotel-listings) :is(button,.button,summary){touch-action:manipulation}
  :is(.hp-staff-portal,.hotel-admin,.hotel-ops,.hpms,.bo,.hpw,.hotel-app) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
  .hp-staff-portal .hp-login-brand{min-width:0}
  .hp-staff-portal .hp-login-brand>div{min-width:0}
  .hp-staff-portal .hp-top-actions{flex-wrap:wrap;flex-shrink:0}
  .hp-staff-portal :is(.hp-report-card,.hp-portal-metric,.hp-portal-panel){min-width:0}
  .hp-staff-portal .hp-section-title{flex-wrap:wrap}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-nav{scrollbar-width:thin;overscroll-behavior:contain}
  .hp-staff-portal .hp-workspace-group a{line-height:1.45;overflow-wrap:anywhere}
  .hp-staff-portal :is(.hp-portal-metric strong,.ho-simple-amounts dd){font-variant-numeric:tabular-nums}
  :is(.hotel-table-wrap,.bo-table-wrap,.ho-scroll,.hpms-scroll,.hp-portal-table){max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  :is(.hotel-app,.hotel-listings,.hotel-property-detail) :is(h1,h2,h3,p,a){overflow-wrap:anywhere}
  .hotel-app :is(.hotel-panel,.hotel-result,.hotel-results-main,.hotel-results-sidebar){min-width:0}
  .hotel-listings .hp-catalog-info,.hotel-listings .hp-catalog-side{min-width:0}
  .hotel-listings .hp-catalog-title{line-height:1.3}
  .hotel-listings .hotel-view-switch{flex-shrink:0}
}
@media screen and (min-width:1200px){
  .hotel-platform-portal-shell .hp-portal-stage:has(.hp-staff-portal){width:calc(100% - 48px);max-width:1920px;padding:20px 0 32px}
  .hotel-platform-portal-shell .hp-staff-portal{padding:20px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-nav{top:20px;max-height:calc(100dvh - 40px)}
  .hp-staff-portal .hp-workspace-group a{padding:10px 12px}
  .hp-staff-portal .hp-workspace-title{padding:16px 20px}
  .hotel-workspace-theme :is(.hotel-admin-form,.bo-card,.ho-panel){border-radius:12px}
}
@media screen and (max-width:900px){
  .hotel-platform-portal-shell .hp-staff-portal{padding:12px;border-radius:12px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-layout{grid-template-columns:minmax(0,1fr)}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-nav{position:static;margin:0;max-height:55dvh}
  .hp-staff-portal .hp-workspace-property{flex-wrap:wrap;padding-inline:4px}
  .hp-staff-portal .hp-workspace-property select{min-width:0;flex:1}
}
@media screen and (max-width:600px){
  .hotel-platform-portal-shell .hp-portal-stage{padding: max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .hotel-platform-portal-shell .hp-portal-stage:has(.hp-staff-portal){width:100%;padding:0!important}
  .hotel-platform-portal-shell .hp-staff-portal{padding:8px max(8px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-radius:0;min-height:100svh}
  .hotel-platform-portal-shell .hp-staff-portal .hp-portal-topbar{margin:0 0 12px;padding:12px;gap:10px;border-radius:12px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-login-brand{width:100%;gap:10px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-login-brand p{font-size:16px;line-height:1.4}
  .hotel-platform-portal-shell .hp-staff-portal .hp-top-actions{margin:0;width:100%;gap:6px;justify-content:flex-start}
  .hotel-platform-portal-shell .hp-staff-portal .hp-top-actions :is(a,button){min-height:44px;padding:10px 12px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;flex:1;white-space:normal;text-align:center;border-radius:8px}
  .hotel-platform-portal-shell .hp-staff-portal .hp-top-actions form{max-width:none;flex:1 1 100%;width:100%}
  .hotel-platform-portal-shell .hp-staff-portal .hp-top-actions select{width:100%;font-size:16px;min-height:44px}
  .hp-staff-portal .hp-workspace-toggle:not(.js-ready){display:none!important}
  .hotel-platform-portal-shell .hp-staff-portal .hp-workspace-title{padding:12px;gap:10px;align-items:center}
  .hp-staff-portal .hp-workspace-title a{min-height:44px;display:inline-flex;align-items:center}
  .hp-staff-portal .hp-workspace-group a{min-height:46px;font-size:14px}
  .hp-staff-portal .hp-app-welcome{padding:12px 0}
  .hp-staff-portal .hp-app-welcome h1{font-size:26px;letter-spacing:-.02em}
  .hp-staff-portal .hp-app-departments{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hp-staff-portal .hp-app-departments .hp-report-card{padding:14px 12px;min-height:124px;gap:8px}
  .hp-staff-portal .hp-app-departments .hp-report-card strong{font-size:14px}
  .hp-staff-portal .hp-app-departments .hp-report-card small{display:none}
  .hp-staff-portal .hp-app-departments .hp-report-card>span:last-child{font-size:11px}
  .hotel-workspace-theme :is(.hotel-admin,.bo,.hpms){padding:12px!important}
  .hotel-workspace-theme :is(.hotel-admin,.bo,.hpms,.hotel-ops) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}
  .hotel-workspace-theme :is(.hotel-admin,.bo,.hpms,.hotel-ops) :is(.button,summary){min-height:44px}
  .hotel-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:44px}
  .hotel-app :is(button,.hotel-button){min-height:44px}
  .hotel-app dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 20px);overflow:auto;overscroll-behavior:contain}
  .hotel-listings .hotel-listings-heading{flex-wrap:wrap!important;gap:12px!important}
  .hotel-listings .hotel-view-switch a{min-height:44px;display:inline-flex;align-items:center}
  .hotel-listings .hp-catalog-cta{min-height:44px}
}
@media screen and (prefers-reduced-motion:reduce){
  :is(.hp-staff-portal,.hp-portal-login,.hotel-app,.hotel-listings) *, :is(.hp-staff-portal,.hp-portal-login,.hotel-app,.hotel-listings) *:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media screen {
  .hotel-app .hotel-payment-help{border-top:1px solid #d9e2eb;padding-top:12px;margin-top:14px}
  .hotel-app .hotel-payment-help>summary{cursor:pointer;color:var(--hotel-primary,#006ce4);font-size:14px;min-height:44px;align-content:center}
  .hotel-app .hotel-payment-help .hotel-actions{margin-top:12px}
  .hotel-app .hotel-checkout-note{display:block;color:#526477;font-size:13px;margin-top:14px;line-height:1.5}
  .hotel-app [data-paypal-card-retry]{margin:12px 0}
  .hotel-app [data-paypal-card-status]{font-size:14px;line-height:1.5}
  .hotel-app .hotel-special-requests{display:grid;gap:7px;margin:20px 0}
  .hotel-app .hotel-special-requests textarea{width:100%;resize:vertical;min-height:110px;max-width:100%;font:inherit;padding:12px;border:1px solid #bac7d3;border-radius:8px;background:#fff;color:#192c40}
  .hotel-app .hotel-special-requests small{font-size:13px;color:#526477}
}
@media screen {
  .hp-portal-login .hp-login-form .hotel-password-wrap{display:flex;align-items:stretch;gap:6px;margin:0;font-weight:400}
  .hp-portal-login .hotel-password-wrap input{flex:1 1 0;min-width:0;width:0}
  .hp-portal-login .hotel-password-wrap .hotel-password-toggle{flex:0 0 auto;min-height:48px;margin:0}
  .hp-staff-login .hp-login-form input[type=checkbox]{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:0}
}
@media screen and (max-width:600px){
  .hp-staff-portal .hp-portal-table table{min-width:560px;table-layout:auto}
  .hp-staff-portal .hp-portal-table th{white-space:nowrap}
}
