/* Approved Place control grammar, shared without changing the drawings or page composition. */
:root { --sable-control-ease:cubic-bezier(.45,0,.55,1); --sable-switch-ms:200ms; --sable-layer-duration:280ms; }
body .fbtn-prompt,
body.interiors-materials-page .material-study__controls .material-room__hint.fbtn-prompt,
body .material-palette .material-room__heading .fbtn-prompt.palette-prompt {
  font:400 12px/1.4 var(--sans,"DM Sable",Arial,sans-serif); letter-spacing:0; text-transform:none;
}
body .fbtn-prompt-scope--drawing.fbtn-prompt-scope--drawing { --prompt-tail:4.8px; }
body .homes-prompt.homes-prompt { font-size:12px; }

/* Room pins keep their hairline ink; only the gold backing changes strength. */
body [data-plan-viewer] .plan-room.mk .mk-back { fill-opacity:.22; transition:fill-opacity var(--mk-out,500ms) var(--sable-control-ease); }
body [data-plan-viewer] .plan-room.mk[aria-expanded="true"] .mk-back { fill-opacity:1; transition-duration:var(--mk-in,700ms); }
@media (min-width:961px) {
  body #plan-explorer[data-residence] .plan-explorer__heading h2 { margin:0; }
  body #plan-explorer[data-residence] .g01-fs-marker-controls { display:flex; flex:none; align-items:center; margin:0 32px; }
  body #plan-explorer[data-residence] .g01-fs-marker-controls > .fbtn-prompt { margin:0 32px 0 0; white-space:nowrap; }
  body #plan-explorer[data-residence] .g01-fs-marker-controls > .g01-ctl-label { opacity:1; }
}
@media (max-width:960px) {
  body #plan-explorer[data-residence] .g01-fs-marker-controls { display:none; }
}

/* Native binary setting, with the same track, thumb and hit area as the map. */
.sable-marker-switch { position:relative; display:inline-flex; flex:none; align-items:center; gap:12px; min-height:44px; margin:0 0 0 auto; padding:0; border:0; background:none; color:var(--bark,#332F24); cursor:pointer; -webkit-tap-highlight-color:transparent; }
.sable-marker-switch__label { font:1000 9px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.sable-marker-switch__hit { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; }
.sable-marker-switch__track { position:relative; display:block; width:36px; height:18px; border-radius:9px; box-shadow:inset 0 0 0 var(--hairline,.5px) currentColor; }
.sable-marker-switch[aria-checked="true"] .sable-marker-switch__track { background:color-mix(in srgb,var(--eucalypt,#85825D) 24%,var(--chalk,#F2EFE7)); }
.sable-marker-switch__thumb { position:absolute; top:3px; left:3px; width:12px; height:12px; border-radius:50%; background:currentColor; transform:translateX(0); transition:transform var(--sable-switch-ms) var(--sable-control-ease); }
.sable-marker-switch[aria-checked="true"] .sable-marker-switch__thumb { transform:translateX(18px); }
.sable-marker-switch:focus-visible { outline:1px solid var(--bark); outline-offset:3px; }
body .material-study__controls { align-items:center; }
body .fbtn-hideable { transition:opacity var(--sable-layer-duration) var(--sable-control-ease),visibility 0s linear 0s; }
body .fbtn-hideable[data-fbtn-hidden] { transition:opacity var(--sable-layer-duration) var(--sable-control-ease),visibility 0s linear var(--sable-layer-duration); }

@media (min-width:821px) {
  body .g01-marker-toggle[aria-checked] .g01-marker-toggle__thumb { transition:transform var(--sable-switch-ms) var(--sable-control-ease); }
  body .g01-home[data-residence] [data-plan-viewer] .plan-room,
  body #plan-explorer[data-residence] [data-plan-viewer] .plan-room { transition:opacity var(--sable-layer-duration) var(--sable-control-ease),visibility 0s linear 0s; }
  body .g01-home[data-residence] [data-plan-viewer][data-g01-markers="hidden"] .plan-room,
  body #plan-explorer[data-residence] [data-plan-viewer][data-g01-markers="hidden"] .plan-room { transition:opacity var(--sable-layer-duration) var(--sable-control-ease),visibility 0s linear var(--sable-layer-duration); }
  body .plan-views.plan-views--tabs.g01-switch[data-view] .g01-switch__frame { transition:transform var(--sable-switch-ms) var(--sable-control-ease); }
  body .plan-views.plan-views--tabs.g01-switch:not(.g01-markers) .plan-tab.plan-tab { min-height:34px; padding:10px 16px !important; font-size:10px; line-height:1.4; transition:opacity var(--sable-switch-ms) var(--sable-control-ease); }
  body #residence[data-residence] .g01-marker-controls > .fbtn-prompt { margin-right:32px; }
  body #residence[data-residence] [data-plan-viewer] .fbtn-prompt__ring { fill:none; }
}

/* Real bottom rules avoid the faint vertical seams of half-pixel inset shadows. */
body #residence[data-residence] .g01-information > section > ul > li,
body #residence[data-residence] table.g01-specifications :is(th,td) {
  background-image:none; box-shadow:none; border:0; border-bottom:var(--hairline,.5px) solid var(--rule,rgba(51,47,36,.2));
}
@media (prefers-reduced-motion:reduce) {
  body [data-plan-viewer] .plan-room.mk .mk-back { transition:none; }
  body .fbtn-hideable,body .fbtn-hideable[data-fbtn-hidden],
  body .g01-marker-toggle[aria-checked] .g01-marker-toggle__thumb,
  body .g01-home[data-residence] [data-plan-viewer] .plan-room,
  body #plan-explorer[data-residence] [data-plan-viewer] .plan-room,
  body .plan-views.plan-views--tabs.g01-switch[data-view] .g01-switch__frame,
  .sable-marker-switch__thumb { transition:none !important; }
}
