.schock-measure {
  box-sizing: border-box; width: min(720px, calc(100% - 24px)); max-height: 90vh;
  max-height: 90dvh; border: 1px solid #ccd8e8; border-radius: 16px;
  padding: clamp(14px, 4vw, 24px); color: #1d1d1b; background: #fff;
  font: 16px/1.4 Barlow, system-ui, sans-serif; overscroll-behavior: contain;
}
.schock-measure::backdrop { background: #102445aa; }
.schock-measure header, .schock-measure .measure-actions { display: flex; align-items: center; gap: 8px; }
.schock-measure header { justify-content: space-between; position: sticky; top: 0; z-index: 1; background: white; }
.schock-measure .measure-actions { flex-wrap: wrap; }
.schock-measure h2, .schock-measure h3 { margin: 0; color: #17428c; }
.schock-measure p { margin: 9px 0; }
.schock-measure [data-reference-card] { color: #17428c; font-weight: 700; }
.schock-measure .measure-card-placement { display: block; width: min(100%, 320px); height: auto; }
.schock-measure [data-privacy], .schock-measure [data-hint] { font-size: .9em; color: #52606d; }
.schock-measure [data-step] { font-weight: 700; color: #17428c; }
.schock-measure button {
  border: 1px solid #b8cbe5; border-radius: 9px; min-height: 44px; padding: 6px 12px;
  color: #17428c; background: #f4f8ff; font: inherit; font-weight: 650; cursor: pointer;
}
.schock-measure button:disabled { opacity: .55; cursor: default; }
.schock-measure .measure-primary { color: white; background: #17428c; margin-top: 8px; }
.schock-measure [data-close] { font-size: 1.3em; min-width: 44px; }
.schock-measure label { display: flex; align-items: center; gap: 6px; }
.schock-measure .measure-viewport { margin: 10px 0; max-height: 48vh; overflow: auto; background: #edf1f7; }
.schock-measure .measure-stage { position: relative; width: 100%; }
.schock-measure img { display: block; width: 100%; height: auto; cursor: crosshair; touch-action: manipulation; }
.schock-measure .measure-point {
  position: absolute; pointer-events: none; transform: translate(-50%, -50%);
  width: 18px; height: 18px; border: 2px solid white; border-radius: 50%; text-align: center;
  background: #17428c; color: white; font: 700 12px/18px system-ui, sans-serif;
  box-shadow: 0 0 0 1px #1d1d1b;
}
.schock-measure .measure-point:nth-of-type(n+5) { background: #a24e00; }

.schock-photo-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.schock-photo-outline[hidden] { display: none; }

.schock-measure .measure-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; }
.schock-measure .measure-legend[hidden] { display: none; }
.schock-measure [data-card-key] { color: #17428c; }
.schock-measure [data-slide-key] { color: #395e00; }

.schock-measure .measure-guide { margin: 10px 0; padding-left: 1.45em; }
.schock-measure .measure-guide li + li { margin-top: .35em; }
.schock-measure .measure-guide li::marker { color: #17428c; font-weight: 700; }
.schock-measure .measure-light { padding: 9px 12px; border-left: 3px solid #f39200; background: #fff6e8; }
.schock-measure .measure-light p { margin: .25em 0 0; font-size: .9em; }
.schock-measure [data-photo] button { width: 100%; }
.schock-measure [data-status]:empty { display: none; }

.schock-measure [data-desktop] { color: #52606d; font-size: .9em; }
