/* The guided visit lives in the same canvas as the detailed editor. */
html.visiting,html.visiting body{overflow:hidden}
.three-wrap [hidden]{display:none!important}
.three-mount canvas{touch-action:none}
.editor.simple-mode:not(.inspector-open) .right-panel{visibility:hidden}
.project-preparation{color:#435b62!important;font-size:1.02rem!important;line-height:1.6!important;margin:10px 0 24px!important}
.saved-projects{display:grid;gap:8px;max-height:48vh;overflow:auto;margin:16px 0}
.saved-projects button{text-align:left}
.saved-projects small{display:block;font-size:.78rem;margin-top:3px;color:#5b6b6a}
.three-wrap.clinic-scene{isolation:isolate;color:#1f393c}
.clinic-scene .three-toolbar{left:16px;right:16px;top:16px;z-index:12}
.clinic-scene .three-toolbar .small,.clinic-visit button,.clinic-visit select,.edit-clinic,.walk-pad button{font:650 .85rem/1.2 Inter,system-ui,sans-serif;letter-spacing:.004em;min-height:40px}
.clinic-scene.presentation-mode .three-toolbar{left:auto;right:20px;top:20px}
.clinic-scene.presentation-mode .render-presets,.clinic-scene.presentation-mode .camera-presets,.clinic-scene.presentation-mode .exit-focus{display:none}
.clinic-scene .visit-heading{display:none;position:absolute;z-index:10;left:clamp(18px,3vw,50px);top:clamp(18px,3.8vh,42px);pointer-events:none;color:white;text-shadow:0 1px 16px #0008}
.clinic-scene.presentation-mode:before{content:"";pointer-events:none;position:absolute;inset:0 0 auto;height:155px;background:linear-gradient(180deg,#18201d8c,transparent);z-index:7}
.clinic-scene.presentation-mode .visit-heading{display:grid;gap:7px}
.visit-heading span{font:750 .74rem/1.25 Inter,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.18em}
.visit-heading strong{font:500 clamp(1.34rem,2.4vw,2.3rem)/1.08 Georgia,serif;letter-spacing:-.025em}
.clinic-visit{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:13;display:flex;gap:6px;align-items:center;max-width:calc(100% - 20px);padding:6px 7px 6px 16px;border-radius:15px;background:#fffef9f5;border:1px solid #dddcd3;box-shadow:0 3px 22px #1e2f2c29}
.clinic-visit label{font-size:.75rem;font-weight:600;color:#53625d;white-space:nowrap}
.clinic-visit select{color:#243f3b;min-width:140px;border:0;background-color:transparent;border-radius:6px;padding:0 6px;cursor:pointer}
.clinic-visit button,.edit-clinic{padding:8px 15px;background:#183c3b;border:1px solid #31514e;color:white;border-radius:10px;cursor:pointer;white-space:nowrap}
.edit-clinic{display:none;position:absolute;z-index:14;right:clamp(16px,3vw,48px);top:clamp(16px,3.8vh,40px);border-color:#e8e9dfc9;background:#fffdf4ed;color:#23403b;box-shadow:0 4px 16px #11252026}
.clinic-scene.presentation-mode .edit-clinic{display:block}
.clinic-scene .zone-nav,.clinic-scene .room-badge,.clinic-scene .three-cursor-label,.clinic-scene .walk-hint{display:none}
.walk-pad{position:absolute;z-index:12;bottom:20px;right:18px;display:flex;gap:5px}
.walk-pad button{border:1px solid #dde4df;border-radius:10px;padding:7px 11px;background:#fffcf4ee;color:#26403c;touch-action:none;user-select:none}
.clinic-scene.guided-stop .walk-pad{display:none}
.clinic-scene:not(.presentation-mode) .walk-pad{bottom:78px;right:12px}
#threeLoading{display:flex;flex-direction:column;justify-content:center;gap:8px}
@media(min-width:851px){
  .editor{height:calc(100dvh - 74px);min-height:540px}
  .workspace-toolbar{gap:6px}
  .workspace-toolbar .tool-help{min-width:0}
  .workspace-actions{flex-shrink:1;flex-wrap:wrap;justify-content:end}
}
@media(max-width:850px){
  .editor .workspace{width:100%;min-width:0}
  .workspace-canvas{min-height:320px}
  .clinic-scene .three-toolbar{top:7px;left:7px;right:7px;gap:4px}
  .clinic-scene .three-toolbar .small{min-height:34px;font-size:.75rem;padding:4px 7px}
  .clinic-visit{bottom:max(12px,env(safe-area-inset-bottom));padding-left:9px}
  .clinic-visit label{display:none}
  .clinic-visit select{min-width:125px}
  .clinic-scene .walk-pad{bottom:74px;right:12px}
  .visit-heading strong{max-width:calc(100vw - 175px);font-size:1.32rem}
  .edit-clinic{padding:8px 12px}
}
@media(max-width:540px){
  .hero .hero-actions{display:grid;gap:8px;align-items:stretch}
  .hero-actions button{width:100%}
  .editor .workspace-toolbar{padding:7px 8px}
  .clinic-visit{border-radius:12px}
  .clinic-visit select,.clinic-visit button{font-size:.81rem}
  #zoneNav{max-width:calc(100% - 12px)}
  .walk-pad{bottom:110px}
}

.offer-examples{display:block;margin:13px 0 7px;color:#4a6469;font-size:.8rem;font-weight:700}

.clinic-scene:not(.presentation-mode) #clinicOrbit{display:none}
@media(max-width:540px){.clinic-visit{flex-wrap:wrap;justify-content:center;width:max-content}.clinic-visit button{padding:6px 8px}}
