/* Scoped to the optional survey preview; no default landing-page overrides. */
.system-teaser{display:none}
.survey-study .orbit-choices{position:absolute;inset:auto 8px 8px;z-index:5;max-height:calc(100% - 16px);overflow:auto;background:#0b131bf5;border:1px solid #b69c6f77;border-radius:3px;padding:8px;cursor:default;touch-action:pan-y;box-shadow:0 8px 30px #0008}
.orbit-choices-header{display:flex;align-items:center;justify-content:space-between;padding-left:8px;color:#bca77e;font:9px var(--mono)}
.orbit-choices button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:8px;background:transparent;border:0;border-top:1px solid #a7b7b41c;text-align:left;color:#d1d9d5;font:10px/1.5 var(--mono)}
.orbit-choices button:hover,.orbit-choices button:focus-visible{background:#c8ab7b17}
.orbit-choices button span:last-child{color:#8b999a;font-size:8px}
.orbit-choices-header button{width:44px;border:0;justify-content:center;font-size:18px}
.survey-study-links{position:absolute;right:var(--edge);bottom:9px;display:flex;gap:18px;font:7px/1.5 var(--mono);color:#9aa9aa99;z-index:3}
.survey-study-links a:hover{color:#d4ddd5}
.survey-body-canvas{display:block;position:absolute;inset:0}
.target .bubble-canvas{position:absolute;inset:4px;width:auto;height:auto;transform:none;border:0;border-radius:50%;pointer-events:none}
.bubble-canvas canvas{pointer-events:none!important}
.detail-canvas{display:none;touch-action:pan-y}
.survey-study:not([data-render-ready="true"]) .survey-body-canvas canvas{visibility:hidden}
/* survey-3d.mjs sets data-rendering; until it has (or if it never loads), the illustration shows. */
.survey-study[data-rendering]:not([data-rendering="original"]) #target-portrait{visibility:hidden}
.survey-study[data-rendering="3d"][data-render-ready="true"][data-render-location="bubble"] #inspect-target.image-missing{opacity:1}
.survey-study[data-rendering]:not([data-rendering="original"]) #body-image{visibility:hidden}
.survey-study[data-rendering="3d"][data-render-location="detail"] .detail-canvas{display:block}
.survey-study[data-rendering="3d"][data-render-ready="true"][data-render-location="detail"] #image-state{display:none}
.survey-study[data-rendering="original"] .survey-body-canvas{display:none}
.survey-study[data-rendering="3d"] .body-image-wrap{background:transparent;border-radius:4px;width:min(300px,100%);overflow:hidden}
.detail-canvas canvas:focus-visible{outline:1px solid #c3a66a;outline-offset:-4px;border-radius:4px}
.survey-render-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 3px;grid-column:1/-1}
.survey-render-controls button{background:transparent;border:0;min-height:44px;min-width:44px;padding:8px 9px;font:8px var(--mono);color:#9caeb0}
.survey-render-switch{display:flex;border:1px solid #82999c35;border-radius:3px}
.survey-render-switch [aria-pressed="true"]{background:#c4a47517;color:#dfc69b}
.survey-render-controls button:disabled{opacity:.35}
.system-dialog p.survey-render-hint,.system-dialog p.survey-render-fallback{grid-column:1/-1;font:7px/1.7 var(--mono);color:#788d92;margin:5px 0 23px;text-align:center}
.system-dialog p.survey-render-fallback{color:#c7ac7f}
@media(max-width:560px){
  .survey-study .catalog-tabs{border:0;margin:6px 0 0}
  .survey-study .catalog-tabs button{flex:none;text-align:left;padding:12px 0;border:0;color:#c8ac7a}
  .survey-study .system-dialog[data-view="map"] .catalog-tabs{display:none}
  .survey-study .system-dialog[data-map-visited="false"] .catalog-tabs{display:none}
  .survey-study .system-teaser{display:flex;flex-direction:column;gap:10px;width:100%;min-height:72px;padding:13px 14px;margin:0 0 22px;border:1px solid #c8ac7a45;border-radius:3px;background:linear-gradient(110deg,#c8ac7a0b,transparent);color:#dfc69b;text-align:left;cursor:pointer}
  .survey-study .system-teaser:hover{border-color:#c8ac7a99;background-color:#c8ac7a0b}
  .system-teaser-title,.system-teaser-preview{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;font:10px/1.5 var(--mono)}
  .system-teaser-title>span{transition:transform .25s}
  .system-teaser:hover .system-teaser-title>span{transform:translateX(3px)}
  .system-teaser-preview{color:#8f9b9e;font-size:8px}
  #system-teaser-worlds{display:flex;align-items:center;gap:7px;height:22px}
  #system-teaser-worlds>span{width:var(--teaser-diameter);height:var(--teaser-diameter);min-width:2px;min-height:2px;flex:none;border-radius:50%;background:var(--body-color);box-shadow:inset -2px -1px 3px #0008}
  @media(prefers-reduced-motion:reduce){.system-teaser-title>span{transition:none}}
  .survey-study-links{font-size:6px;gap:12px;bottom:8px}
  .survey-study .body-panel{display:flex;flex-direction:column;align-items:stretch}
  .survey-study .body-image-wrap{width:min(255px,100%);height:auto;aspect-ratio:1;margin:0 auto 8px;align-self:center;flex:none}
  .survey-study[data-rendering="3d"] .body-image-wrap{width:min(285px,100%)}
  .survey-study .body-panel h3{font-size:34px}
  .survey-study .system-dialog .body-description{margin-top:15px}
  .survey-study .system-dialog .body-designation{margin-bottom:0}
  .survey-render-controls{gap:9px}
  .survey-render-controls button{min-height:44px}
}

.survey-render-controls{flex-wrap:wrap;row-gap:6px}
.survey-study .system-dialog p.survey-render-hint{font-size:9px;line-height:1.8;margin:12px 0 22px}
@media(max-width:560px){.survey-render-controls button{font-size:10px}.survey-study .system-dialog p.survey-render-hint{font-size:10px}}
