/* Existing compact launcher in a real reserved desktop rail; no scroll-dependent swaps. */
@media(min-width:761px){
 html:has(body[data-mgh-agent-shell]){scrollbar-gutter:stable}
 body[data-mgh-agent-shell]{box-sizing:border-box;padding-right:116px!important}
 body[data-mgh-agent-shell] .mgh-agent-launcher{right:10px!important;bottom:18px!important;width:96px;height:auto;min-height:100px;padding:8px 5px!important;justify-content:center;flex-direction:column;gap:5px;max-width:96px;border-radius:28px}
 body[data-mgh-agent-shell] .mgh-agent-launcher-label{display:block;text-align:center;font:700 12px/1.3 MGHPoppins,Poppins,sans-serif;color:#29383f;max-width:86px}
 body[data-mgh-agent-shell]:has(.accommodation-reference,[data-tenuta-final]) .mgh-agent-launcher{width:64px;height:64px;min-height:64px;max-width:64px;padding:7px!important;border-radius:50%;gap:0}
 body[data-mgh-agent-shell]:has(.accommodation-reference,[data-tenuta-final]) .mgh-agent-launcher-label{display:none}
 body[data-mgh-agent-shell] .site-header-current{width:auto!important}
}
body[data-mgh-agent-shell] .mgh-headset-avatar img{position:static;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain;object-position:center;left:auto;top:auto}
body[data-site-baseline] [data-agent-navigation]{background:none!important;color:#29383f!important;border:0;box-shadow:none}
body[data-site-baseline] .home-field-panel{display:flex;flex-direction:column;overflow:hidden!important;padding:12px!important;max-height:min(440px,70dvh)!important}
body[data-site-baseline] .home-field-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:0 0 8px;padding:0;background:#fff;font-size:14px}
body[data-site-baseline] .home-field-close{min-width:44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#f8e9ef;color:#29383f;font:26px/1 sans-serif;cursor:pointer}
body[data-site-baseline] .home-field-close[hidden]{display:none}
body[data-site-baseline] .home-field-options{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;padding:3px}
body[data-site-baseline] .home-field-done{flex:none;position:static!important;display:block;width:100%;margin:8px 0 0;min-height:44px;height:44px;padding:10px;border:0;border-radius:24px;background:#fcd05f;color:#29383f;font-weight:700;box-shadow:none!important}
body[data-site-baseline] .home-field-done[hidden]{display:none}
body[data-site-baseline] .home-field-close:focus-visible{outline:3px solid #356d92;outline-offset:2px}
body.home-approved-r3 .concept-countries{display:flex!important;flex-flow:row nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;gap:6px;width:100%;max-width:100%;box-sizing:border-box;margin-bottom:6px;scrollbar-width:thin}
body.home-approved-r3 .concept-countries>a{flex:0 0 auto;white-space:nowrap;box-sizing:border-box;min-height:44px;display:inline-flex;align-items:center;padding:7px 9px;font-size:12px}
body.home-approved-r3 .country-row-hint{font-size:12px;margin:0 0 28px;color:#586c65}
body .edition-zero-office{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);gap:32px;margin:24px 0;align-items:start}
body .zero-copy h2{font-size:28px;line-height:1.25;margin:0 0 16px}
body .zero-copy p{line-height:1.7}
body .zero-wishes{font-size:13px;margin:22px 0;padding:16px;background:#f2f7f4;border-radius:12px;overflow-wrap:anywhere}
body .zero-office{min-width:0;padding:20px;background:#fbedf2;border-radius:20px}
body .zero-office [data-vacation-office]{margin:0!important;padding:0!important;width:100%;max-width:none;display:block!important}
body .zero-office .vacation-office-intro{display:block!important;margin:0 0 16px!important;padding:0!important}
body .zero-office .vacation-office-intro :is(h1,h2){font-size:24px;line-height:1.25}
body .zero-office :is(.office-wall,.office-host,.home-trip-context,[data-member-profile]){display:none!important}
body .zero-office .office-room{display:block!important;height:auto!important;min-height:0!important}
body .zero-office .office-conversation{display:flex!important;flex-direction:column;min-height:0!important;height:440px!important;padding:16px!important;box-sizing:border-box}
body .zero-office .office-log{flex:1;min-height:80px!important;height:auto!important;overflow:auto}
body .zero-office .office-compose{flex:none}
body .zero-office .office-honesty{font-size:11px;margin:12px 0 0}
body:has([data-integrated-office]) .mgh-agent-launcher{display:none!important}
@media(max-width:760px){
 body .edition-zero-office{grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0}
 body .zero-copy h2{font-size:24px}
 body .zero-office{padding:14px}
 body .zero-office .office-conversation{padding:10px!important;height:420px!important}
 body:has(.home-search-field[open]) .visitor-toolbar{display:none!important}
 body[data-site-baseline] .home-field-panel{max-height:360px!important}
}
/* Use the available desktop width for the country row without widening the hero. */
@media(min-width:1001px){body.home-approved-r3 .concept-countries{width:calc(100vw - 144px);max-width:none;margin-left:calc((100% - (100vw - 144px))/2)}}
@media(max-width:760px){body.home-approved-r3:has(.home-search-field[open]) .visitor-toolbar[hidden]{display:none!important}}
body[data-mgh-agent-shell] .mgh-headset-avatar img{object-fit:cover;transform:scale(1.9);transform-origin:50% 20%}
@media(max-width:760px){body.home-approved-r3[data-site-baseline][data-mgh-agent-shell][data-app]:has(.home-search-field[open]) .visitor-toolbar[hidden]{display:none!important}}
/* Keep the outer search-dialog close control in its header at narrow widths. */
#visitor-search-dialog>.visitor-dialog-top{min-width:0;gap:12px}
#visitor-search-dialog>.visitor-dialog-top>h2{flex:1;min-width:0;overflow-wrap:anywhere}
#visitor-search-dialog>.visitor-dialog-top>[data-visitor-close]{flex:0 0 44px;width:44px;height:44px;padding:0}
@media(max-width:360px){
 #visitor-search-dialog>.visitor-dialog-top>h2{font-size:20px!important;overflow-wrap:normal;word-break:normal}
}
