.st-wordmark{color:var(--ink);text-decoration:none;display:inline-flex;align-items:center}
.st-wordmark:hover{color:var(--accent)}
.st-top-links{display:flex;align-items:center;gap:24px}
.st-settings-link{color:var(--accent);font-size:14px;font-weight:650;text-decoration:none;padding:8px 13px;border:1px solid var(--line);border-radius:9px}
.st-settings-link:hover{background:#e5eee8}
.st-app h1,.st-app h2{overflow-wrap:anywhere}
.st-app .st-marker,.st-app .st-result-frame .st-overlay .st-own-region{width:38px;height:38px;border:3px solid #fff;background:transparent;border-radius:50%;box-shadow:0 0 0 3px #087f70,0 2px 12px #0008;transform:translate(-50%,-50%);pointer-events:none;z-index:3}
.st-app .st-marker:after,.st-app .st-result-frame .st-overlay .st-own-region:after{content:"";position:absolute;width:5px;height:5px;inset:auto;left:50%;top:50%;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #087f70;transform:translate(-50%,-50%)}
.st-app .st-marker[hidden]{display:none!important}
.st-media-stage{scroll-margin-top:16px}
.st-app .st-dialog{width:100%;padding:22px;background:#fff;border:1px solid #b6d4ca;border-radius:16px;box-shadow:0 12px 36px #123f3512}
.st-app .st-dialog h2{font-size:clamp(23px,2vw,29px);margin:10px 0 12px}
.st-dialog p{margin:8px 0 14px}
.st-dialog textarea{min-height:78px;max-height:160px}
.st-dialog label{font-size:14px;margin:16px 0 8px}
.st-dialog-actions{margin-top:16px;gap:8px}
.st-dialog-actions .st-button{font-size:14px;min-height:43px;padding:10px 14px}
.st-dialog .st-status{margin-bottom:0;min-height:0}
.st-dialog .st-status:empty{display:none}
.st-video-start{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:4;white-space:nowrap}
.st-app .st-result-frame{display:block;width:fit-content;max-width:100%;overflow:hidden;border-radius:14px}
.st-result-frame img,.st-result-frame video{width:auto;height:auto;max-width:100%;max-height:65svh}
.st-heat-legend,.sn-heat-legend{width:min(100%,280px);margin:18px 0 12px;font-size:12px;line-height:1.4;color:var(--muted)}
.st-heat-legend-labels,.sn-heat-legend-labels{display:flex;justify-content:space-between;margin-bottom:5px}
.st-heat-legend-ramp,.sn-heat-legend-ramp{height:9px;border-radius:9px;background:linear-gradient(90deg,#2ad653 0%,#ffe52d 50%,#ef3021 100%)}
.st-result-count{font-weight:650;color:var(--ink)!important;margin:10px 0 0}
.st-result-controls{align-items:center}
.st-time-mode{display:inline-flex;align-items:center;gap:8px}
.st-time-mode select{padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:14px}
.st-app a:focus-visible,.st-app select:focus-visible,.st-dialog :focus-visible{outline:3px solid #46a99d;outline-offset:3px}
.sn-brand{color:var(--ink);text-decoration:none}
.sn-brand:hover{color:var(--accent)}
@media(max-width:800px){
  .st-study.is-confirming .st-scene-details{order:0}
  .st-study.is-confirming .st-stage-grid{gap:14px}
  .st-study.is-confirming .st-media-stage img,.st-study.is-confirming .st-media-stage video{max-height:43svh}
  .st-app .st-dialog{padding:18px}
  .st-app .st-dialog h2{font-size:23px}
  .st-dialog label{margin-top:12px}
  .st-dialog textarea{min-height:64px}
  .st-top-links{gap:10px}
  .st-result-frame img,.st-result-frame video{max-height:56svh}
}
