/* Shared chrome and viewport sizing for the desktop/mobile review. */
html body .site-header[data-theme]{--nav-ink:var(--brand-plum);--nav-muted:color-mix(in srgb,var(--brand-plum) 40%,var(--brand-white));--nav-border:var(--ds-glass-light-border);background:var(--brand-white)!important;color:var(--brand-plum)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
html body .site-header .v4-brand img{filter:none!important;}
html body .site-header :is(.v44-mobile-research,.editorial-furniture-nav){background:var(--brand-white)!important;color:var(--brand-plum)!important;}
html body .site-header .v44-mobile-research button{color:var(--nav-muted)!important;}
html body .site-header .v44-mobile-research button.is-passed{color:var(--brand-plum)!important;}
html body .site-header .v44-mobile-research button.is-current{color:var(--brand-primary)!important;}
.site-header .timeline-segments{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0;}
.timeline-segments line{stroke:var(--nav-muted);stroke-width:1.5;}
.timeline-segments line.is-passed{stroke:var(--brand-plum);}
.timeline-segments line.is-current{stroke:var(--brand-primary);}
html body .site-header .v4-nav-node{border-right:0!important;}
html body #chatbot-section{background:var(--brand-white)!important;padding:0!important;}
html body #chatbot-section-slot{box-sizing:border-box;height:100dvh!important;padding:var(--ds-editorial-top) var(--ds-editorial-side) var(--ds-editorial-bottom)!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel[data-glass]{height:100%!important;min-height:0!important;max-width:none!important;margin:0!important;background:var(--brand-white)!important;color:var(--brand-plum)!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel :is(.chatbot-header,#chatbot-form,.chatbot-footer){padding-inline:0!important;border:0!important;background:transparent!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-messages{max-width:none!important;padding:clamp(12px,2vh,24px) 0!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) .chatbot-message{background:transparent!important;color:var(--brand-plum)!important;padding:0!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) .chatbot-message.user{background:color-mix(in srgb,var(--brand-primary) 15%,var(--brand-white))!important;padding:12px 16px!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) .chatbot-message small,html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel .chatbot-disclaimer{color:color-mix(in srgb,var(--brand-plum) 65%,var(--brand-white))!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel button{color:var(--brand-plum)!important;border:0!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel .chatbot-actions button,html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-form>button{background:var(--brand-primary)!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-input{background:color-mix(in srgb,var(--brand-plum) 6%,var(--brand-white))!important;color:var(--brand-plum)!important;border:0!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-input::placeholder{color:color-mix(in srgb,var(--brand-plum) 60%,var(--brand-white))!important;}
html body :is(#mondo #byat,#palazzo-butera) .byat-panel{padding:0!important;}
html body :is(.exterior-panel,.butera-panel) .photo-gallery{padding:0!important;gap:0!important;}
html body :is(.exterior-panel,.butera-panel) .photo-stage{border-radius:0!important;}
html body :is(.exterior-panel,.butera-panel):not(.plan-editorial):not(.elevation-editorial) .photo-slide{width:100%!important;height:100%!important;object-fit:cover!important;padding:0!important;}
@media(min-width:901px){
 html body .site-header[data-theme]{left:var(--ds-editorial-side)!important;right:var(--ds-editorial-side)!important;width:auto!important;}
 html body #chatbot-dock[data-mode=compact],html body #chatbot-dock[data-mode=popup]{right:var(--ds-editorial-side)!important;left:auto!important;}
 html body :is(#mondo #byat,#palazzo-butera) .byat-copy{padding:var(--ds-editorial-padding)!important;}
 html body :is(#mondo #byat,#palazzo-butera) .byat-panel{column-gap:0!important;}
 html body #byat .editorial-thumbnails{padding:12px;}
}
@media(max-width:900px){
 :root{--review-gap:clamp(8px,1.6dvh,16px);--review-top:calc(var(--ds-mobile-header-height) + var(--review-gap) + env(safe-area-inset-top));--review-bottom:calc(78px + env(safe-area-inset-bottom));}
 html body :is(#citta,#palazzo-butera){--panel-top:var(--review-top)!important;--panel-bottom:var(--review-bottom)!important;--mobile-panel-height:calc(100dvh - var(--panel-top) - var(--panel-bottom))!important;}
 html body :is(#citta,#palazzo-butera) .urban-pin{height:100dvh!important;min-height:0!important;padding:var(--panel-top) 0 var(--panel-bottom)!important;gap:0!important;--board-height:var(--mobile-panel-height)!important;}
 html body #citta .board-window,html body #palazzo-butera .butera-window{height:var(--mobile-panel-height)!important;max-height:none!important;flex:0 0 var(--mobile-panel-height)!important;}
 html body #citta :is(.board-track,.project-intro,.project-outro,.project-board){height:var(--mobile-panel-height)!important;max-height:none!important;min-height:0!important;}
 html body #citta :is(.project-intro,.project-outro){overflow:visible!important;}
 html body #palazzo-butera .byat-panel{overflow:hidden!important;gap:0!important;}
 html body :is(.exterior-panel,.butera-panel) .byat-copy{padding:clamp(10px,2.7vw,18px)!important;gap:clamp(5px,1dvh,10px)!important;}
 html body #palazzo-butera .byat-copy :is(h2,h3){font-size:clamp(21px,5.6vw,34px)!important;line-height:1.05!important;margin:0 0 .35em!important;}
 html body #palazzo-butera .byat-copy p{font-size:clamp(12px,3.2vw,16px)!important;line-height:1.38!important;margin:.45em 0!important;}
 html body #palazzo-butera .byat-copy .project-meta{font-size:clamp(10px,2.5vw,13px)!important;}
 html body :is(.exterior-panel,.butera-panel) .photo-gallery{flex:1 1 0!important;min-height:0!important;}
 html body :is(#mondo .exterior-panel,#palazzo-butera .butera-panel) .photo-stage{min-height:0!important;}
 html body #chatbot-section-slot{padding:var(--review-top) var(--page-margin) var(--review-bottom)!important;height:100dvh!important;}
 html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) .chatbot-header{padding-top:0!important;padding-bottom:12px!important;}
 html.chat-keyboard-open body #chatbot-section-slot{height:var(--chat-inline-height)!important;padding-top:8px!important;padding-bottom:8px!important;}
}
@media(max-width:900px) and (max-height:600px) and (orientation:landscape){
 html body #palazzo-butera .byat-panel{display:grid!important;grid-template-columns:1fr 1fr!important;}
 html body #palazzo-butera .byat-copy{overflow-y:auto!important;}
 html body #citta .project-intro{width:calc(100vw - 2 * var(--page-margin))!important;}
}
/* Playback and scrolling occupy a single morphing island. */
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center){transition:width .42s cubic-bezier(.2,.8,.2,1),max-width .42s cubic-bezier(.2,.8,.2,1),border-radius .42s,background .3s!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center)[data-mode=earth]>:not(#earth-autoplay-control),html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center)[data-mode=hold]>:not(#hold-animation){display:none!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center)[data-mode=carousel]>:not(.island-dots){display:none!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center)[data-mode=scroll]>.island-dots{display:none!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center) :is(#earth-autoplay-control,#hold-animation):not([hidden]){position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:7px 12px!important;border:0!important;border-radius:inherit!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;color:var(--brand-plum)!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center) :is(#earth-autoplay-control,#hold-animation)>span{display:block!important;font:500 13px/1.2 var(--brand-font)!important;}
html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center) #earth-autoplay-control>svg{display:block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;color:var(--brand-primary)!important;animation:none!important;}
html body .dynamic-island[data-mode=scroll] #page-scroll-indicator{visibility:visible!important;}
html body .dynamic-island :is(#earth-autoplay-control,#hold-animation)[hidden]{display:none!important;}
html body #mondo .journey-note.project-note{padding-right:58px!important;transition:height .35s,padding .35s!important;}
html body #mondo .journey-note.project-note .v4-note-minimize{display:grid!important;place-items:center;position:absolute;top:8px;right:8px;width:36px;height:36px;border:1px solid var(--brand-border);border-radius:50%;background:transparent;color:var(--brand-white);font:400 24px/1 var(--brand-font);cursor:pointer;}
html body #mondo .journey-note.project-note.v4-note-compact{width:var(--note-width)!important;max-width:var(--note-width)!important;min-width:0!important;min-height:54px!important;max-height:none!important;padding:10px 58px 10px 18px!important;border-radius:var(--brand-radius)!important;}
html body #mondo .journey-note.project-note.v4-note-compact>p{display:none!important;}
html body #mondo .journey-note.project-note .v4-note-mini{border:0!important;background:transparent!important;color:var(--brand-white)!important;font:500 clamp(14px,1.5vw,20px)/1.3 var(--brand-font)!important;text-align:left;min-height:34px;padding:0!important;}
html body #mondo .journey-note.project-note.v4-note-compact .v4-note-mini{display:flex!important;align-items:center;justify-content:flex-start!important;}
html body #mondo .journey-note.project-note .v4-note-mini[hidden]{display:none!important;}
html body #chatbot-dock[data-mode=popup] #chatbot-panel{height:auto!important;min-height:0!important;max-height:calc(100dvh - 150px)!important;border-radius:var(--brand-radius)!important;padding:20px!important;box-shadow:0 12px 48px #210e1626!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel :is(.chatbot-header,.chatbot-header strong,.chatbot-message,.chatbot-media-message,.chatbot-footer){color:var(--brand-plum)!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel .chatbot-message :is(p,a,strong){color:inherit!important;}
html body :is(#chatbot-section,#chatbot-dock[data-mode=popup]) #chatbot-panel #chatbot-input{background:color-mix(in srgb,var(--brand-plum) 6%,var(--brand-white))!important;}
html body #mondo #byat .exterior-panel:first-child{background:var(--glass-light-surface)!important;border-color:var(--ds-glass-light-border)!important;backdrop-filter:blur(var(--ds-glass-light-blur))!important;}
html body #mondo #byat .byat-copy :is(h2,.byat-panel-subtitle){opacity:1!important;}
html body #mondo #byat .byat-copy .bayt-accent{color:var(--brand-primary)!important;opacity:1!important;}
html body :is(#byat,#casa) :is(.is-editorial-active,.elevation-description.is-active,.interior-description-label){color:var(--brand-primary)!important;opacity:1!important;}
html body :is(#byat,#casa) :is(.is-editorial-active,.elevation-description,.interior-description-label) strong{font-weight:700!important;}
html body #palazzo-butera .byat-panel>.byat-copy{padding:clamp(12px,2vw,28px)!important;box-sizing:border-box!important;}
@media(min-width:901px){
 html body #mondo #byat .plan-editorial .photo-stage :is(.photo-slide,.plan-comparison>img){object-fit:cover!important;}
 html body #casa:not(.is-minimized) .byat-window{top:var(--ds-editorial-top)!important;width:100%!important;height:calc(100dvh - var(--ds-editorial-top) - var(--ds-editorial-bottom))!important;max-height:none!important;padding:0 var(--ds-editorial-side)!important;box-sizing:border-box!important;}
 html body #casa:not(.is-minimized) .byat-track{width:100%!important;height:100%!important;padding:0!important;}
 html body #casa:not(.is-minimized) #interni{display:grid!important;grid-template-columns:minmax(0,var(--ds-editorial-copy-width)) minmax(0,1fr)!important;gap:0!important;width:100%!important;height:100%!important;max-height:none!important;padding:0!important;overflow:hidden!important;}
 html body #interni .byat-copy{padding:var(--ds-editorial-padding)!important;width:auto!important;height:100%!important;box-sizing:border-box;overflow:auto!important;}
 html body #interni .photo-gallery{height:100%!important;width:100%!important;min-width:0;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;}
 html body #interni .photo-stage{flex:1!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;}
 html body #interni .photo-slide{object-fit:cover!important;width:100%!important;height:100%!important;}
 html body #interni .photo-dots{position:absolute!important;bottom:8px!important;right:12px!important;}
}
@media(max-width:900px){
 html body #v4-mobile-dock .v4-dock-center:is([data-mode=earth],[data-mode=hold]){width:clamp(116px,40vw,205px)!important;min-width:0!important;max-width:calc(100vw - 154px)!important;background:var(--brand-white)!important;border-radius:28px!important;}
 html body #v4-mobile-dock .v4-dock-center :is(#earth-autoplay-control,#hold-animation)>span{font-size:clamp(10px,2.6vw,13px)!important;}
 html body #v4-mobile-dock .v4-dock-center #earth-autoplay-control>svg{flex-basis:20px!important;width:20px!important;height:20px!important;}
 html body #palazzo-butera .byat-panel>.photo-gallery{flex:1 1 0!important;min-height:0!important;height:0!important;}
 html body #palazzo-butera .byat-panel .photo-stage{height:100%!important;min-height:0!important;}
 html body #citta .board-window{padding-left:var(--page-margin)!important;scroll-padding-left:var(--page-margin);}
}
@media(prefers-reduced-motion:reduce){html body :is(.dynamic-island,#v4-mobile-dock .v4-dock-center,#mondo .journey-note.project-note){transition:none!important;}}
html body .plan-comparison .comparison-expand{position:absolute;right:12px;top:12px;z-index:8;padding:10px 14px;min-height:44px;border:0;border-radius:22px;background:var(--brand-white);color:var(--brand-plum);cursor:pointer;}
html body .portfolio-lightbox .viewer-comparison-overlay{pointer-events:none;z-index:1;}
html body .portfolio-lightbox .viewer-comparison-overlay[hidden],html body .portfolio-lightbox .viewer-comparison-control[hidden]{display:none!important;}
html body .portfolio-lightbox footer:has(.viewer-comparison-control:not([hidden])){height:84px!important;flex-direction:column;gap:8px;padding:8px 16px;}
.viewer-comparison-control{display:flex;gap:14px;align-items:center;width:min(560px,85vw);color:var(--brand-white);}
.viewer-comparison-control input{flex:1;min-width:0;accent-color:var(--brand-primary);height:30px;}
html body .portfolio-lightbox .v42-viewer-arrow{z-index:3!important;}
html body #arredi .furniture-card .furniture-photo-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:44px;height:44px;border:0;border-radius:50%;background:var(--brand-white);color:var(--brand-plum);font:400 30px/1 var(--brand-font);cursor:pointer;}
html body #arredi .furniture-card.is-expanded .furniture-photo-arrow{display:grid;place-items:center;}
.furniture-photo-arrow.prev{left:12px;}.furniture-photo-arrow.next{right:12px;}
html body #arredi .furniture-details{transition:opacity .35s ease,translate .45s cubic-bezier(.2,.8,.2,1);}
html body #arredi .furniture-card:not(.is-expanded) .furniture-details{opacity:0;translate:-24px 0;pointer-events:none;}
html body #arredi .furniture-card.is-expanded .furniture-details{opacity:1;translate:0;}
@media(min-width:901px){
 html body #arredi .gallery-track>.furniture-card{transition:width .45s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1)!important;grid-template-columns:minmax(0,1fr) 0!important;}
 html body #arredi .gallery-track>.furniture-card.is-expanded{grid-template-columns:minmax(0,1fr) minmax(300px,var(--ds-furniture-copy-width))!important;}
 html body #arredi .gallery-track>.furniture-card:hover{transform:scale(1)!important;}
 html body #arredi .furniture-details{min-width:0!important;}
}
@media(prefers-reduced-motion:reduce){html body #arredi .gallery-track>.furniture-card,html body #arredi .furniture-details{transition:none!important;}}
html body .site-header[data-theme] .v4-header .v4-brand img{filter:none!important;opacity:1!important;visibility:visible!important;}
html body #chatbot-section #chatbot-panel #chatbot-messages,html body #chatbot-dock[data-mode=popup] #chatbot-panel #chatbot-messages{padding:16px 0!important;margin:0!important;max-width:none!important;}
html body #chatbot-section #chatbot-panel .chatbot-message,html body #chatbot-dock[data-mode=popup] #chatbot-panel .chatbot-message{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;margin-left:0!important;}
html body #chatbot-section #chatbot-panel .chatbot-message.user,html body #chatbot-dock[data-mode=popup] #chatbot-panel .chatbot-message.user{padding:12px 16px!important;background:color-mix(in srgb,var(--brand-primary) 15%,var(--brand-white))!important;margin-left:auto!important;}
html body #mondo #byat .exterior-panel:first-child .byat-copy,html body #mondo #byat .exterior-panel:first-child .byat-copy :is(p,blockquote){color:var(--brand-plum)!important;opacity:1!important;}
html body #mondo #byat .exterior-panel:first-child .byat-copy :is(h2,.bayt-accent){color:var(--brand-primary)!important;}
@media(min-width:901px){html body #casa:not(.is-minimized) .byat-pin>.byat-window{position:absolute!important;top:var(--ds-editorial-top)!important;bottom:var(--ds-editorial-bottom)!important;height:auto!important;min-height:0!important;}}
@media(max-width:900px){
 html body #mondo #byat .exterior-panel:first-child .byat-copy{padding:clamp(12px,3vw,20px)!important;}
 html body #mondo #byat .exterior-panel:first-child .photo-gallery{height:0!important;min-height:0!important;flex:1 1 0!important;}
 html body #mondo #byat .exterior-panel:first-child .photo-stage{height:100%!important;min-height:0!important;}
 html body #v4-mobile-dock .v4-dock-center #earth-autoplay-control>span{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;}
}
html body #chatbot-dock[data-mode=popup] #chatbot-panel[data-glass]{height:min(620px,calc(100dvh - 150px))!important;min-height:0!important;border-radius:var(--brand-radius)!important;}
html body #chatbot-dock[data-mode=popup] #chatbot-panel .chatbot-body{flex:1 1 0!important;min-height:0!important;}
html body .site-header .v43-research-capsule{border-bottom:0!important;}
html body .site-header .v43-research-capsule::after{display:none!important;}
html body #mondo .journey-note.project-note{pointer-events:auto!important;z-index:10!important;}
html body #mondo .journey-note.project-note :is(.v4-note-minimize,.v4-note-mini){pointer-events:auto!important;}
@media(min-width:901px){html body #citta .board-window{padding-inline:var(--ds-editorial-side)!important;}}
@media(max-width:900px){html body #citta .board-window{padding-inline:0!important;}}
/* Align editorial content with the original vertical page guides. */
@media(min-width:901px){
 html body{--page-margin:var(--ds-editorial-side);--content-left:var(--ds-editorial-side);--header-inset:var(--ds-editorial-side);--gutter:var(--ds-editorial-side);}
 html body #mondo #byat .plan-editorial .photo-stage :is(.photo-slide,.plan-comparison>img){object-fit:contain!important;}
 html body #byat .plan-editorial .editorial-thumbnails{padding:4px!important;gap:10px!important;}
 html body #byat .plan-editorial .editorial-thumbnails button{flex:0 1 110px!important;}
 html body #byat .plan-editorial .editorial-thumbnails img{height:clamp(32px,4vh,48px)!important;}
 html body #byat .plan-editorial .editorial-thumbnails span{padding-top:3px!important;}
 html body #palazzo-butera .butera-track>.letter-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
}
html body :is(#byat .exterior-panel:first-child,#interni) .photo-gallery{position:relative!important;}
html body :is(#byat .exterior-panel:first-child,#interni) .photo-dots{display:flex!important;position:absolute!important;left:50%!important;right:auto!important;bottom:14px!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 32px)!important;z-index:9!important;gap:6px!important;padding:6px 10px!important;margin:0!important;border-radius:30px!important;background:color-mix(in srgb,var(--brand-plum) 70%,transparent)!important;}
html body :is(#byat .exterior-panel:first-child,#interni) .photo-dots button{display:block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border:7px solid transparent!important;background:var(--brand-white)!important;background-clip:content-box!important;border-radius:50%!important;padding:0!important;opacity:.75!important;}
html body :is(#byat .exterior-panel:first-child,#interni) .photo-dots button[aria-pressed=true]{background-color:var(--brand-primary)!important;opacity:1!important;}
html body #palazzo-butera .letter-panel>.byat-copy{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;overflow:hidden!important;gap:8px!important;min-height:0!important;}
html body #palazzo-butera .letter-panel h2{font-size:clamp(22px,2.5vw,40px)!important;margin:0!important;}
html body #palazzo-butera .letter-panel .render-kicker{margin:0!important;}
html body #palazzo-butera .letter-preview{position:relative!important;display:block!important;flex:1 1 0!important;min-height:0!important;width:100%!important;height:0!important;padding:0!important;border:0!important;background:transparent!important;cursor:zoom-in;}
html body #palazzo-butera .letter-preview img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;}
html body #palazzo-butera .letter-preview span{position:absolute;bottom:8px;right:8px;padding:8px 12px;border-radius:20px;background:var(--brand-white);color:var(--brand-plum);}
html body #palazzo-butera .letter-project-photo{grid-column:2;grid-row:1;display:block;width:100%;height:100%;min-height:0;object-fit:contain;}
html body #chatbot-panel #chatbot-form #chatbot-input{color:var(--brand-plum)!important;-webkit-text-fill-color:var(--brand-plum)!important;caret-color:var(--brand-plum)!important;}
html body #chatbot-panel #chatbot-form #chatbot-input::placeholder{color:color-mix(in srgb,var(--brand-plum) 60%,var(--brand-white))!important;-webkit-text-fill-color:currentColor!important;}
@media(max-width:900px){
 html body #palazzo-butera .butera-track>.letter-panel{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;}
 html body #palazzo-butera .letter-panel h2{font-size:clamp(18px,4vw,28px)!important;}
 html body #palazzo-butera .letter-panel .render-kicker{font-size:10px!important;}
 html body #casa:not(.is-minimized) .byat-window{padding-inline:var(--page-margin)!important;box-sizing:border-box!important;}
}
/* Preserve the uploaded 4:3 frame and the original plan proportions. */
html body #palazzo-butera .butera-panel:first-child .photo-slide:first-child{object-fit:contain!important;}
html body #mondo #byat .plan-editorial .photo-stage :is(.photo-slide,.plan-comparison>img){object-fit:contain!important;}
@media(max-width:900px){
 html body #palazzo-butera .letter-panel>.byat-copy{height:100%!important;max-height:none!important;align-self:stretch!important;}
 html body #palazzo-butera .letter-panel .letter-preview{flex:1 1 auto!important;height:100%!important;}
 html body #casa:not(.is-minimized) .byat-window{width:100%!important;left:0!important;margin:0!important;}
 html body #casa:not(.is-minimized) .byat-track{padding:0!important;width:100%!important;}
 html body #casa:not(.is-minimized) #interni{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;}
}
