/* R21: full photograph, information alongside it, and a clear entrance to 3D. */
.mobile-property-overview{display:none}
.photo-stage .photo-stage-media{overflow:hidden;touch-action:pinch-zoom}
.photo-stage .photo-stage-media.photo-detail-mode{overflow:auto;touch-action:pan-x pan-y pinch-zoom}
.photo-stage .photo-stage-image{cursor:zoom-in}
.photo-stage .photo-image-frame{overflow:hidden}
.photo-stage .photo-stage-hint{display:block}
.photo-stage.photo-stage-r9{padding:65px 16px 12px;gap:10px}
.photo-stage .photo-stage-caption{align-items:center;gap:8px;flex-wrap:wrap}
.photo-stage .photo-image-controls{width:auto;flex-wrap:wrap;justify-content:flex-end}
.photo-stage .photo-image-controls button{min-height:36px;padding:7px 10px;font-size:11px}
.photo-stage .photo-room-thumbnail{min-height:34px;padding:7px 10px}
.photo-stage .photo-room-thumbnail span{font-size:11px}

@media(min-width:901px){
 .client-mode{--sidebar-width:316px}
 .client-mode .viewport{order:1}
 .client-mode .sidebar,.client-mode.perspective-mode .sidebar{
  order:2;position:relative;inset:auto;z-index:8;flex:0 0 var(--sidebar-width);
  width:var(--sidebar-width);transform:none;box-shadow:none;border-right:0;border-left:1px solid #dce3d3;
 }
 .client-mode .sidebar-mobile-head,.client-mode.perspective-mode .sidebar-mobile-head,
 .client-mode .sidebar-scrim,.client-mode.perspective-mode .sidebar-scrim:not([hidden]),
 .client-mode .mobile-controls,.client-mode.perspective-mode .mobile-controls{display:none}
 .client-mode .sidebar-intro{padding:22px 22px 16px}
 .client-mode .sidebar-intro h1{font-size:26px;margin:9px 0}
 .client-mode .sidebar-intro p{font-size:12px;line-height:1.6}
 .client-mode .property-facts{gap:12px;margin:17px 0}
 .client-mode .control-section{padding:16px 22px}
 .client-mode .property-highlights{margin-top:12px}
 .client-mode .room-grid{gap:7px}
 .client-mode .room-button{min-height:36px}
 .photo-view .scene-action{font-size:10px;padding:7px 9px}
 .photo-view .photo-mode-toggle{left:16px;top:13px}
 .photo-view .viewport-top{top:13px;right:64px}
 .photo-view .vertical-tools{top:15px;right:16px}
 .photo-view .scene-controls{gap:6px}
 .photo-mode-toggle button{padding:7px 10px}
}

@media(max-width:900px){
 .client-mode.perspective-mode .workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .client-mode.perspective-mode .mobile-property-overview{display:block;grid-row:1;grid-column:1;min-width:0;padding:10px 14px;background:#f7faef;border-bottom:1px solid #d8e2c8}
 .client-mode.perspective-mode .viewport{grid-row:2;grid-column:1}
 .mobile-property-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
 .mobile-property-heading span{font-size:10px;color:#647259}
 .mobile-property-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px 0;color:#66725a;font-size:10px}
 .mobile-property-facts b{color:#243616;font-weight:650}
 .mobile-property-overview .button{width:100%;min-height:35px;padding:7px 10px;font-size:12px}
 .photo-stage.photo-stage-r9{padding:63px 10px 8px;gap:7px}
 .photo-stage .photo-room-thumbnails{display:flex;flex-wrap:wrap;gap:4px}
 .photo-stage .photo-room-thumbnail{flex:0 1 auto;min-height:30px;padding:5px 8px}
 .photo-stage .photo-room-thumbnail span{white-space:nowrap;font-size:10px}
 .photo-view .photo-mode-toggle{top:10px;left:10px}
 .photo-view .viewport-top{top:10px;left:auto;right:59px}
 .photo-view .vertical-tools{top:12px;right:10px}
 .photo-stage .photo-stage-caption strong{font-size:14px}
 .photo-stage .photo-stage-hint{font-size:9px}
}

@media(max-width:650px){
 .photo-stage.photo-stage-r9{padding-top:91px;gap:6px}
 .photo-view .viewport-top{top:49px;left:8px;right:8px}
 .photo-view .scene-controls{justify-content:flex-start}
 .photo-stage .photo-room-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .photo-stage .photo-room-thumbnail{padding:4px 2px;min-height:30px}
 .photo-stage .photo-room-thumbnail span{white-space:normal;font-size:9px;line-height:1.2}
 .photo-stage .photo-stage-caption{gap:5px}
 .photo-stage .photo-image-controls{width:100%;justify-content:space-between;gap:4px}
 .photo-stage .photo-image-controls button{min-height:32px;font-size:10px;padding:6px 8px}
}

@media(max-height:600px) and (max-width:900px){
 .client-mode.perspective-mode .mobile-property-overview{padding:6px 12px;display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center}
 .mobile-property-heading span{display:none}
 .mobile-property-facts{padding:2px 0;grid-row:2}
 .mobile-property-overview .button{grid-column:2;grid-row:1/3;max-width:230px}
 .photo-stage .photo-room-thumbnails{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}
 .photo-stage .photo-room-thumbnail{flex:0 0 auto;min-height:28px}
 .photo-stage .photo-stage-caption{flex-wrap:nowrap}
 .photo-stage .photo-image-controls{width:auto}
 .photo-stage .photo-stage-hint{display:none}
}
