/* D-164: accepted guest request composition; the calendar and server rules remain shared. */
html:has(#guest-mobile-dialog[open]),body:has(#guest-mobile-dialog[open]){overflow:hidden;overscroll-behavior:none}
.gm-modal .gm-scroll{padding:0;margin:0;max-width:none}.gm-modal #gm-title:focus{outline:none}.gm-modal[data-request-step="3"] .gm-summary{display:none}.gm-modal[data-request-step="2"] .gm-footer-actions,.gm-modal[data-request-step="3"] .gm-footer-actions{margin-left:auto}.gm-review-trip .gm-trip-dates time{font:400 16px/1.4 Arial,sans-serif}.gm-review-trip .gm-trip-label{font-size:11px}
.gm-modal .gm-trip-summary{position:relative}.gm-modal .gm-trip-summary .gm-trip-dates{width:calc(100% - 90px);padding:0}.gm-modal .gm-trip-summary .gm-trip-meta{position:absolute;right:12px;top:50%;transform:translateY(-50%);margin:0;max-width:80px;text-align:right;line-height:1.5}
.gm-modal .gm-calendar-info .gm-view-house{display:inline-flex;align-items:center;order:3;min-height:44px;padding:8px 0;margin:0;font-size:12px;align-self:flex-start}
.gm-modal .gm-steps button[aria-current=step]{opacity:1}
.gm-modal{width:min(1040px,calc(100vw - 64px));height:auto;max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden;margin:auto;border-radius:18px}
.gm-panel{height:auto;max-height:none;display:grid;grid-template-rows:auto auto auto;overflow:visible}
.gm-header{padding:18px 28px 0}.gm-head{padding:0;align-items:center;gap:12px}.gm-head>div{flex:1;min-width:0}.gm-head h2{font:400 32px/1.12 Georgia,serif;margin:7px 0 0}.gm-eyebrow{font:10px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#58645e;margin:0}.gm-step-count{font-size:12px;color:#58645e;white-space:nowrap}.gm-close{flex-shrink:0;align-self:flex-start}
.gm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.gm-steps button{display:flex;align-items:center;gap:8px;text-align:left;padding:0 0 10px;border:0;border-bottom:2px solid #dfcfba;background:none;color:#58645e;font-size:13px;min-height:44px}.gm-steps i{font:normal 11px Arial;display:grid;place-items:center;width:22px;height:22px;border:1px solid #dfcfba;border-radius:50%}.gm-steps button[aria-current=step]{color:#073e32;border-color:#073e32;font-weight:600}.gm-steps button[aria-current=step] i{background:#073e32;border-color:#073e32;color:white}.gm-steps button.completed i{background:#edf3e9;border-color:#073e32;color:#073e32}
.gm-scroll{min-height:0;overflow:visible}.gm-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;padding:12px 28px 18px}.gm-content{min-width:0}.gm-calendar,.gm-request,.gm-result{overflow:visible;min-height:0;padding:0;margin:0}.gm-error{margin:14px 28px 0}.gm-retry{margin:10px 28px 0}
.gm-days button{min-height:47px}.gm-days b{font-size:14px}.gm-days small{font-size:11px}.gm-weekdays span{font-size:11px}.gm-month-nav strong{font:400 23px Georgia,serif}.gm-unit{text-align:right;margin:0 0 8px;font:12px Arial,sans-serif;color:#58645e}.gm-calendar-info{display:flex;gap:22px;flex-wrap:wrap;margin:8px 0}.gm-calendar-info>details{max-width:100%}.gm-calendar-info summary{font-size:12px;min-height:44px;padding:12px 0;cursor:pointer}.gm-rules,.gm-legend{font:13px/1.5 Arial,sans-serif}.gm-rules{margin:0 0 10px}.gm-legend{margin:0 0 8px}.gm-trip-summary{background:#f0f3e9;border-radius:8px;padding:10px 14px;margin-top:6px}.gm-trip-summary:empty{display:none}.gm-trip-summary .gm-trip-dates{margin:0;gap:18px}.gm-trip-summary .gm-trip-label{font-size:10px}.gm-trip-summary time{font-size:14px;font-weight:400}.gm-trip-summary .gm-trip-meta{margin:5px 0 0;font-size:11px}.gm-selected-houses{font-size:13px;line-height:1.5;margin:0 0 12px;padding:9px 12px;background:#f0f3e9;border-radius:8px}
.gm-guests{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;font-size:14px}.gm-guests input{font:16px Arial,sans-serif;max-width:160px;min-width:0;min-height:46px;padding:10px 12px;background:#fffefa;border:1px solid #dfcfba;border-radius:7px}
.gm-aside{background:#f0f3e9;border:1px solid #dde4d4;border-radius:12px;padding:22px;height:max-content;position:static;min-width:0}.gm-aside h3{font:400 30px/1.2 Georgia,serif;margin:10px 0}.gm-aside .gm-trip-dates{gap:12px;margin:0}.gm-aside .gm-trip-label{font-size:11px}.gm-aside .gm-trip-dates time{font-size:16px;font-weight:400}.gm-aside .gm-trip-meta{font-size:12px;color:#58645e}.gm-aside-note{font-size:12px;line-height:1.6;color:#58645e;margin:18px 0 0}
.gm-price{margin-top:18px}.gm-price-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font:13px/1.45 Arial,sans-serif;margin:8px 0}.gm-price-line>span{min-width:0;overflow-wrap:anywhere}.gm-price-line strong{font-weight:400;white-space:nowrap;flex-shrink:0}.gm-price-line.surcharge{color:#9a3926}.gm-price-reason{font:12px/1.5 Arial,sans-serif;color:#58645e;margin:6px 0}.gm-price-total{padding-top:12px;border-top:1px solid #dfcfba;margin-top:14px}.gm-price-total strong{font-size:22px;font-weight:600}.gm-price-gift{font-size:13px;color:#073e32;margin:8px 0}
.gm-footer{position:static;display:flex;align-items:center;gap:16px;padding:16px 28px;background:#fffdf7;border-top:1px solid #dfcfba}.gm-footer>div{flex:initial}.gm-footer-total{flex:1!important;min-width:0}.gm-total-label{font-size:11px;color:#58645e}.gm-footer .gm-total,.gm-modal:has(.gm-calendar:not([hidden])) .gm-footer .gm-total{font:600 24px/1.2 Arial,sans-serif!important;margin-top:3px}.gm-footer .gm-range{font:12px/1.4 Arial,sans-serif}.gm-footer-actions{display:flex;align-items:center;gap:12px;flex-shrink:0!important}.gm-footer .gm-primary{font:400 14px/1.4 Arial,sans-serif!important;min-height:48px;padding:12px 20px;border-radius:7px;white-space:normal}.gm-footer .gm-send{width:auto;margin:0}.gm-back{border:1px solid #dfcfba;border-radius:7px;background:none;padding:10px 16px;min-height:48px;color:#102b29}.gm-footer-price{display:none}
.gm-summary{display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #dfcfba;border-radius:0;padding:0 0 12px;margin:0 0 18px;font-size:12px}.gm-summary strong{font:600 14px Arial,sans-serif}.gm-summary span{color:#58645e}.gm-summary button{margin-left:auto;font-size:12px;min-height:44px}.gm-contact-intro{font-size:15px;line-height:1.5;margin:0 0 20px;max-width:350px}.gm-request label{font-size:13px;color:#102b29;margin:16px 0 0}.gm-request input,.gm-request select,.gm-request textarea{font:16px Arial,sans-serif;min-height:48px;margin-top:6px;padding:10px 12px}.gm-request label small{font-size:11px;font-weight:400;color:#58645e;margin-left:4px}.gm-contact-help{font:12px/1.5 Arial,sans-serif;color:#58645e;margin:6px 0 0}.gm-contact-drafts{margin-top:10px}.gm-contact-drafts summary{font-size:12px}.gm-contact-drafts button{font-size:13px}
.gm-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.gm-review-heading h3{font:400 23px Georgia,serif;margin:0}.gm-text-button{border:0;background:none;color:#9a3926;text-decoration:underline;text-underline-offset:3px;padding:8px 0;min-height:44px;font-size:12px!important}.gm-review-trip>strong{display:block;font-size:17px;font-weight:400;margin-bottom:8px}.gm-review-trip .gm-trip-dates{margin:0}.gm-review-trip .gm-trip-meta{font-size:12px}.gm-review-contacts{display:grid;gap:6px;font:14px/1.5 Arial,sans-serif;overflow-wrap:anywhere}.gm-review-contacts>strong{font-weight:400}.gm-review-contacts small{font-size:12px;color:#58645e}.gm-review-heading:not(:first-child){margin-top:22px;border-top:1px solid #dfcfba;padding-top:10px}.gm-review-price{display:none}.gm-wishes{margin:18px 0 10px}.gm-wishes summary{font-size:13px;min-height:44px;padding:12px 0;cursor:pointer}.gm-wishes summary span{font-size:11px;color:#58645e;margin-left:5px}.gm-request-note{font:12px/1.5 Arial,sans-serif;color:#58645e;margin:14px 0 0;max-width:360px}.gm-sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.gm-modal[data-request-step="2"] .gm-footer-total,.gm-modal[data-request-step="3"] .gm-footer-total{display:none}.gm-modal[data-mode="result"] .gm-workspace{display:block}
@media(max-width:760px){.gm-modal{inset:0;width:100%;max-width:none;height:auto;max-height:100dvh;margin:auto 0;border:0;border-radius:0}.gm-panel{max-height:none}.gm-header{padding:12px 16px 0}.gm-head{padding:0}.gm-head h2{font-size:29px}.gm-eyebrow{font-size:9px}.gm-close{margin-right:-8px}.gm-steps{margin-top:12px;gap:10px}.gm-steps button{font-size:12px;gap:6px;padding-bottom:8px}.gm-steps i{width:20px;height:20px;font-size:10px}.gm-workspace{display:block;padding:8px 16px 12px}.gm-aside{display:none!important}.gm-error{margin:12px 16px 0}.gm-retry{margin-inline:16px}.gm-days button{min-height:44px}.gm-days b{font-size:14px}.gm-days small{font-size:11px}.gm-month-nav strong{font-size:21px}.gm-calendar-info{gap:18px;margin:2px 0}.gm-calendar-info summary{font-size:11px}.gm-unit{font-size:11px}.gm-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:10px 12px;flex-wrap:wrap}.gm-footer-price:not([hidden]){display:block;flex-basis:100%!important;border-bottom:1px solid #dfcfba;margin:0;padding-bottom:8px}.gm-footer-price .gm-price-line{margin:2px 0}.gm-footer-price .gm-price-reason,.gm-footer-price .gm-price-total{display:none}.gm-footer-price .gm-price-gift{font-size:12px;margin:2px 0}.gm-footer .gm-total,.gm-modal:has(.gm-calendar:not([hidden])) .gm-footer .gm-total{font-size:21px!important}.gm-footer .gm-primary{font-size:13px!important;padding:11px 14px}.gm-footer-actions{gap:8px}.gm-footer .gm-range{font-size:11px}.gm-modal[data-request-step="1"] .gm-range{display:none}.gm-modal[data-request-step="2"] .gm-footer-actions,.gm-modal[data-request-step="3"] .gm-footer-actions{width:100%;flex:1}.gm-modal[data-request-step="2"] .gm-primary,.gm-modal[data-request-step="3"] .gm-primary{flex:1}.gm-back{font-size:12px;padding:10px}.gm-contact-intro{font-size:14px;margin-bottom:17px}.gm-request label{margin-top:14px}.gm-review-price{display:block;border-top:1px solid #dfcfba;padding-top:12px}.gm-review-heading h3{font-size:22px}.gm-wishes{margin-top:10px}.gm-trip-summary{padding:10px 12px}.gm-trip-summary time{font-size:14px}}
@media(max-width:350px){.gm-header{padding-left:12px;padding-right:12px}.gm-head h2{font-size:27px}.gm-workspace{padding:8px 6px 12px}.gm-request,.gm-result{padding:0 6px}.gm-footer{padding-left:12px;padding-right:12px}.gm-footer .gm-primary{font-size:12px!important;padding:11px 10px}.gm-footer .gm-total,.gm-modal:has(.gm-calendar:not([hidden])) .gm-footer .gm-total{font-size:19px!important}.gm-guests{padding-inline:6px}.gm-guests input{max-width:145px}}

/* The normal steps fit their contents, without a nested scrolling region. */
.gm-modal{height:fit-content;min-height:0}
.gm-modal:has(.gm-calendar:not([hidden])) .gm-head{padding:0}
.gm-modal .gm-guests input{width:160px;flex-shrink:0;appearance:textfield;-moz-appearance:textfield}
.gm-modal .gm-guests input::-webkit-inner-spin-button,.gm-modal .gm-guests input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.gm-modal .gm-house-picker{margin-top:0}
.gm-modal .gm-month-nav{min-height:44px}
.gm-modal .gm-unit{margin-bottom:0}
.gm-modal .gm-calendar-info{margin:0}
.gm-modal .gm-guests{margin-top:8px}
@media(min-width:761px){.gm-modal[data-request-step="1"] .gm-trip-summary{display:none}.gm-modal .gm-workspace{align-items:start}}
@media(max-width:760px){.gm-modal .gm-head .gm-eyebrow{display:none}.gm-modal .gm-trip-summary{margin-top:0;padding:6px 12px}.gm-modal .gm-steps{margin-top:8px}.gm-modal .gm-contact-intro{margin-bottom:10px}.gm-modal .gm-request label{margin-top:10px}.gm-modal .gm-summary{margin-bottom:10px;padding-bottom:6px}.gm-modal .gm-review-heading:not(:first-child){margin-top:10px}.gm-modal .gm-wishes{margin-top:4px}.gm-modal .gm-request-note{margin-top:6px}}
