/* rz-viewswitch 20261116b (Tim, 16 Nov 2026: "3d/360 have a visual transparency to show the real room, so it makes it clear the diff";
   "360 toggle good, update on all"). Upgrades #roomStage .rs-toggle and the phone copy .p3m-tabs: each option carries a small
   picture (our 3D map / the real room) and a second line, the option not showing sits as dimmed glass, and on desktop hovering
   it lets the other view show through the stage. Colours follow the page's own text colour (dark and white themes), spacing is
   logical (right-to-left pages). Switched on per site by window.RZ_VIEWSWITCH before the script; no config = no change.
   Source: ~/rize-fix/tools/viewswitch/ (README there). */
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs{display:flex;border-radius:18px!important;padding:5px!important;gap:5px!important;background:color-mix(in srgb,currentColor 6%,transparent)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
#roomStage .rs-toggle.rzvs{display:inline-flex}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button{min-height:48px!important;padding:0!important;padding-inline:5px 16px!important;border-radius:13px!important;gap:11px;display:inline-flex!important;align-items:center;justify-content:flex-start!important;
  text-transform:none!important;letter-spacing:0!important;text-indent:0!important;text-align:start;opacity:1!important;line-height:1;transition:background .25s,color .25s}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="false"]{background:color-mix(in srgb,currentColor 5%,transparent)!important}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-im{flex:none;width:58px;height:38px;border-radius:9px;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 24%,transparent);transition:opacity .25s,filter .25s}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="false"] .rzvs-im{opacity:.5;filter:saturate(.75)}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx{display:flex;flex-direction:column;gap:4px;min-width:0}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx b{font-weight:600;font-size:13px;white-space:nowrap}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx span{font-size:11px;font-weight:500;opacity:.62;white-space:nowrap}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="false"] .rzvs-tx b{font-weight:500}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="true"]:focus-visible{outline-color:color-mix(in srgb,currentColor 0%,#8ab4ff)}
@media(hover:hover){:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="false"]:hover{background:color-mix(in srgb,currentColor 11%,transparent)!important}
  :is(#roomStage .rs-toggle,.p3m-tabs).rzvs button[aria-selected="false"]:hover .rzvs-im{opacity:1;filter:none}}
/* the see-through layer over the stage: the other view's still, as glass on hover, solid for a moment when switching */
.rzvs-ghost{position:fixed;z-index:40;pointer-events:none;overflow:hidden;opacity:0;transition:opacity .28s ease;background-size:cover;background-position:center}
.rzvs-ghost.peek{opacity:.42}
.rzvs-ghost.cut{opacity:1;transition-duration:.16s}
.rzvs-ghost.out{opacity:0;transition-duration:.6s}
.rzvs-ghost i{position:absolute;inset-inline-start:14px;bottom:12px;font-style:normal;font-family:inherit;font-weight:500;font-size:12px;line-height:1;letter-spacing:.02em;color:#f3f2ef;background:rgba(10,10,12,.62);padding:7px 10px;border-radius:999px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.p3m-tabs.rzvs{height:auto!important;min-height:0!important}.p3m-tabs.rzvs button{flex:1 1 0;height:auto!important;min-width:0}
@media(max-width:820px){:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button{padding-inline:5px 10px!important;gap:9px}
  :is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-im{width:50px;height:38px}
  :is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx b{font-size:12.5px}:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx span{font-size:10.5px}
  :is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx b,:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-tx span{overflow:hidden;text-overflow:ellipsis}}
@media(max-width:360px){:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-im{width:40px}}
@media(prefers-reduced-motion:reduce){.rzvs-ghost,:is(#roomStage .rs-toggle,.p3m-tabs).rzvs button,:is(#roomStage .rs-toggle,.p3m-tabs).rzvs .rzvs-im{transition:none!important}}
