/* Scoped to the optional calendar on the professional valuation page. */
html.valuation-calendar-open{overflow:hidden}
#valuation-calendar-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 48px));height:min(700px,calc(100vh - 32px));height:min(700px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:0;color:#101e2b;background:#fff;overflow:visible}
/* Translucency still works in browsers without backdrop-filter. */
#valuation-calendar-dialog::backdrop{background:rgb(16 30 43 / 32%);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
#valuation-calendar-dialog .valuation-calendar-shell{position:relative;width:100%;height:100%;background:#fff}
/* The close control is an overlay, not a row: it adds no height to the calendar. */
#valuation-calendar-dialog .valuation-calendar-close{position:absolute;z-index:1;top:8px;right:8px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgb(255 255 255 / 55%);border-radius:50%;background:#fff;color:#101e2b;font:inherit;cursor:pointer;box-shadow:0 2px 12px #101e2b15}
#valuation-calendar-dialog .valuation-calendar-close span{font-size:1.8rem;line-height:1}
#valuation-calendar-dialog .valuation-calendar-close:hover{background:#fff}
#valuation-calendar-dialog button:focus-visible{outline:3px solid #101e2b;outline-offset:3px}
/* Solid white reading surface behind Google; no changes inside its document. */
#valuation-calendar-dialog .valuation-calendar-frame{width:100%;height:100%;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 16px 60px #101e2b35}
#valuation-calendar-dialog iframe{display:block;width:100%;height:100%;border:0;background:#fff}
/* Use the available side margin on desktop without adding a row or resizing. */
@media(min-width:1120px){
 #valuation-calendar-dialog .valuation-calendar-close{top:0;right:-52px}
}
@media(max-width:600px){
 #valuation-calendar-dialog{width:calc(100% - 16px);height:calc(100vh - 24px);height:calc(100dvh - 24px)}
 #valuation-calendar-dialog .valuation-calendar-frame{border-radius:10px}
}
