/* The mobile header and booking strip share the existing Mutuk colours. */
.header-install,.booking-summary{display:none}
.quick-editor-open{overflow:hidden}
.quick-editor{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overscroll-behavior:contain}
.quick-editor-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line)}
.quick-editor-heading h2{font-size:22px;letter-spacing:-.035em;color:var(--navy)}
.quick-editor-close{font-size:29px;line-height:1;border-radius:4px}
.quick-editor .quick-form{position:static;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:0;padding:20px 16px;gap:16px 12px;border:0;border-radius:0;box-shadow:none}
.quick-editor .quick-heading{display:none}
.quick-editor .quick-period{padding:0;border:0}
.quick-editor .quick-form>.button{grid-column:1/-1}
.quick-editor .quick-period legend,.quick-editor .quick-form label>span{font-size:11px}
.quick-editor .quick-form>label{padding-left:0;border:0}
.quick-editor .quick-form .quick-period input[type="time"]{font-size:16px}

@media(max-width:740px){
  .header .nav{height:64px;gap:8px}
  .header .brand{min-width:0;gap:6px;flex-shrink:1}
  .header .brand img{width:32px;height:32px;flex-shrink:0}
  .header .brand .brand-wordmark{width:clamp(118px,36vw,154px);height:auto;flex-shrink:1;min-width:0}
  .header .header-install{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:88px;min-height:44px;padding:5px 6px;border:1px solid var(--blue);border-radius:4px;background:var(--blue);color:white;text-align:center;font-size:11px;font-weight:600;line-height:1.25;margin-left:auto}
  .header .header-install:hover{background:#00649f}
  .header .header-install[aria-disabled="true"]{opacity:.65;cursor:wait}
  .header .menu-toggle{flex-shrink:0;padding:0;min-width:44px;min-height:44px}
  .header .nav-links{top:100%;max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain}
  .header.is-compact .nav{height:52px}
  .header.is-compact .brand img{width:28px;height:28px}
  .header.is-compact .brand-tagline{display:none}
  .header.is-compact .nav-links{max-height:calc(100dvh - 52px)}

  .sticky-booking.is-pinned{z-index:4}
  .sticky-booking.is-pinned>.quick-form{display:none}
  .sticky-booking.is-pinned>.catalog-rental-help{visibility:hidden}
  .sticky-booking.is-pinned .booking-summary{position:fixed;top:var(--booking-top);left:0;display:flex;align-items:center;gap:10px;width:100%;min-height:60px;padding:8px max(16px,calc((100vw - 700px)/2));border-bottom:1px solid #c7e2ef;background:#eaf6fe;box-shadow:0 5px 18px #073b6410;color:var(--navy)}
  .booking-summary-icon{display:flex;align-items:center;flex-shrink:0}
  .booking-summary-icon svg{width:20px;height:20px}
  .booking-summary-rows{min-width:0;flex:0 1 auto;display:grid;grid-template-columns:6ch max-content max-content;column-gap:6px;align-items:center;font-size:13px;line-height:20px;white-space:nowrap;font-variant-numeric:tabular-nums}
  .booking-summary-row{display:contents}
  .booking-summary-row>span:first-child{position:relative;padding-right:9px}
  .booking-summary-row>span:first-child::after{content:':';position:absolute;right:0}
  .booking-summary-date{overflow:hidden;text-overflow:ellipsis}
  .booking-summary-time{text-align:left}
  .booking-summary-time::before{content:'·';margin-right:6px}
  .booking-summary .booking-modify{min-height:44px;padding:8px 12px;flex-shrink:0;margin-left:auto;font-size:12px;line-height:1.3;gap:0}
  .quick-editor .quick-period-inputs{grid-template-columns:minmax(0,1fr);gap:8px}
  .quick-editor .quick-period .date-field input{min-height:48px}
}
@media(max-width:360px){
  .sticky-booking>.quick-form .quick-period,.quick-editor .quick-period,.quick-editor .quick-form>label{grid-column:1/-1}
  .header .nav{gap:6px}
  .header .brand img{width:28px;height:28px}
  .header .brand .brand-wordmark{width:118px}
  .header .header-install{width:76px;font-size:10px}
  .booking-summary-rows{font-size:12px;column-gap:5px}
  .booking-summary .booking-modify{padding-inline:10px;font-size:11px}
}
