.xyz3d-app {
  --xyz-bg: #07101d;
  --xyz-panel: #0b1625;
  --xyz-panel-2: #101d2d;
  --xyz-border: rgba(160, 197, 223, 0.16);
  --xyz-border-strong: rgba(83, 205, 246, 0.42);
  --xyz-text: #eef8ff;
  --xyz-muted: #8ca2b6;
  --xyz-cyan: #54d6ff;
  --xyz-blue: #2b81ff;
  --xyz-green: #55e0b4;
  --xyz-orange: #ffb454;
  --xyz-red: #ff6672;
  --xyz-shadow: 0 28px 80px rgba(2, 8, 18, 0.34);
  color: var(--xyz-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  isolation: isolate;
  margin: 30px auto;
  max-width: 1460px;
}

.xyz3d-app *,
.xyz3d-app *::before,
.xyz3d-app *::after {
  box-sizing: border-box;
}

.xyz3d-app button,
.xyz3d-app input,
.xyz3d-app select,
.xyz3d-app textarea {
  font: inherit;
}

.xyz3d-app button {
  cursor: pointer;
}

.xyz3d-app button:focus-visible,
.xyz3d-app input:focus-visible,
.xyz3d-app select:focus-visible,
.xyz3d-app textarea:focus-visible,
.xyz3d-dropzone:focus-visible {
  outline: 2px solid var(--xyz-cyan);
  outline-offset: 2px;
}

.xyz3d-shell {
  background:
    radial-gradient(circle at 82% -10%, rgba(36, 130, 255, 0.24), transparent 33%),
    radial-gradient(circle at 5% 25%, rgba(61, 216, 255, 0.09), transparent 25%),
    var(--xyz-bg);
  border: 1px solid rgba(151, 195, 225, 0.2);
  border-radius: 26px;
  box-shadow: var(--xyz-shadow);
  min-height: 820px;
  overflow: hidden;
}

.xyz3d-header {
  align-items: center;
  border-bottom: 1px solid var(--xyz-border);
  display: flex;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 30px;
}

.xyz3d-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.xyz3d-brandmark {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 8px);
  height: 23px;
  transform: rotate(45deg);
  width: 23px;
}

.xyz3d-brandmark i {
  background: linear-gradient(135deg, var(--xyz-cyan), var(--xyz-blue));
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(84, 214, 255, 0.38);
  display: block;
}

.xyz3d-brandmark i:nth-child(3) {
  grid-column: 2;
}

.xyz3d-brand strong,
.xyz3d-brand small {
  display: block;
}

.xyz3d-brand strong {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.xyz3d-brand small {
  color: var(--xyz-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-top: 1px;
  text-transform: uppercase;
}

.xyz3d-secure {
  align-items: center;
  color: #a5b8c9;
  display: flex;
  font-size: 14px;
  gap: 8px;
}

.xyz3d-secure span {
  background: var(--xyz-green);
  border-radius: 100%;
  box-shadow: 0 0 0 5px rgba(85, 224, 180, 0.1);
  height: 7px;
  width: 7px;
}

.xyz3d-services {
  border-bottom: 1px solid var(--xyz-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 0 30px;
}

.xyz3d-services button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--xyz-muted);
  display: flex;
  flex-direction: column;
  min-height: 74px;
  padding: 18px 18px 14px;
  text-align: left;
  transition: 160ms ease;
}

.xyz3d-services button:hover {
  background: rgba(82, 201, 248, 0.04);
  color: var(--xyz-text);
}

.xyz3d-services button.active {
  background: linear-gradient(180deg, transparent, rgba(84, 214, 255, 0.08));
  border-bottom-color: var(--xyz-cyan);
  color: var(--xyz-text);
}

.xyz3d-services span {
  font-size: 16px;
  font-weight: 720;
}

.xyz3d-services small {
  color: var(--xyz-muted);
  font-size: 13px;
  margin-top: 2px;
}

.xyz3d-intro {
  align-items: flex-start;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 30px;
}

.xyz3d-eyebrow {
  color: var(--xyz-cyan);
  display: block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.xyz3d-intro h2 {
  color: var(--xyz-text);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  max-width: 790px;
}

.xyz3d-intro p {
  color: var(--xyz-muted);
  font-size: 16px;
  margin: 10px 0 0;
  max-width: 760px;
}

.xyz3d-format-badge {
  background: linear-gradient(135deg, rgba(84, 214, 255, 0.14), rgba(43, 129, 255, 0.08));
  border: 1px solid rgba(84, 214, 255, 0.25);
  border-radius: 11px;
  color: var(--xyz-cyan);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 9px 12px;
}

.xyz3d-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(420px, 0.82fr);
  min-height: var(--xyz-viewer-height-desktop, 720px);
  overflow: visible;
}

.xyz3d-stage {
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    rgba(3, 10, 19, 0.24);
  background-size: 32px 32px;
  border-right: 1px solid var(--xyz-border);
  height: var(--xyz-viewer-height-desktop, 720px);
  min-height: var(--xyz-viewer-height-desktop, 720px);
  overflow: hidden;
  position: relative;
}

.xyz3d-upload-view {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 0;
  padding: 40px;
}

.xyz3d-dropzone {
  align-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 214, 255, 0.1), transparent 52%),
    rgba(10, 25, 40, 0.66);
  border: 1px dashed rgba(95, 202, 243, 0.46);
  border-radius: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  min-height: 350px;
  padding: 50px;
  text-align: center;
  transition: 180ms ease;
  width: 100%;
}

.xyz3d-dropzone:hover,
.xyz3d-dropzone.is-dragging {
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 214, 255, 0.18), transparent 60%),
    rgba(12, 30, 48, 0.9);
  border-color: var(--xyz-cyan);
  box-shadow: inset 0 0 0 1px rgba(84, 214, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.xyz3d-dropzone input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.xyz3d-upload-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(84, 214, 255, 0.18), rgba(43, 129, 255, 0.08));
  border: 1px solid rgba(84, 214, 255, 0.34);
  border-radius: 18px;
  display: flex;
  height: 68px;
  justify-content: center;
  margin-bottom: 24px;
  width: 68px;
}

.xyz3d-upload-icon svg {
  fill: none;
  height: 30px;
  stroke: var(--xyz-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 30px;
}

.xyz3d-dropzone strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.xyz3d-dropzone > span:not(.xyz3d-upload-icon) {
  color: var(--xyz-muted);
  font-size: 13px;
  margin-top: 4px;
}

.xyz3d-dropzone small {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--xyz-border);
  border-radius: 999px;
  color: #a8bdcf;
  font-size: 11px;
  margin-top: 24px;
  padding: 7px 12px;
}

.xyz3d-scan-start {
  background: linear-gradient(135deg, var(--xyz-cyan), #368bff);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(43, 129, 255, 0.2);
  color: #02101c;
  font-weight: 800;
  min-width: 260px;
  padding: 15px 22px;
}

.xyz3d-viewer-wrap {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.xyz3d-viewer {
  grid-row: 1;
  height: auto;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.xyz3d-viewer canvas {
  display: block;
  height: 100%;
  width: 100%;
}

.xyz3d-viewer canvas.xyz3d-selecting-face {
  cursor: crosshair;
}

.xyz3d-viewer-info {
  background: rgba(5, 14, 25, 0.98);
  border-top: 1px solid var(--xyz-border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  grid-row: 2;
  padding: 7px 10px 9px;
  position: static;
  z-index: 4;
}

.xyz3d-viewer-toolbar {
  display: flex;
  gap: 4px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow-x: auto;
  position: absolute;
  scrollbar-width: none;
  top: 10px;
  width: min(560px, calc(100% - 20px));
  z-index: 4;
}

.xyz3d-viewer-toolbar::-webkit-scrollbar {
  display: none;
}

.xyz3d-viewer-toolbar button {
  align-items: center;
  background: rgba(7, 17, 29, 0.84);
  border: 1px solid var(--xyz-border);
  border-radius: 8px;
  color: var(--xyz-text);
  display: flex;
  height: 34px;
  justify-content: center;
  flex: 1 0 42px;
  max-width: 58px;
  min-width: 42px;
  padding: 0;
  transition: 150ms ease;
  width: auto;
}

.xyz3d-viewer-toolbar button:hover,
.xyz3d-viewer-toolbar button[aria-pressed="true"] {
  background: rgba(64, 183, 233, 0.17);
  border-color: var(--xyz-border-strong);
}

.xyz3d-viewer-toolbar .xyz3d-remove-model {
  border-color: rgba(255, 105, 120, 0.34);
  color: #ff9ca7;
}

.xyz3d-viewer-toolbar svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 16px;
}

.xyz3d-light-panel {
  background: rgba(7, 17, 29, 0.97);
  border: 1px solid var(--xyz-border-strong);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
  color: var(--xyz-text);
  left: 10px;
  padding: 12px;
  position: absolute;
  top: 52px;
  width: min(320px, calc(100% - 20px));
  z-index: 7;
}

.xyz3d-light-panel[hidden] {
  display: none !important;
}

.xyz3d-light-panel-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.xyz3d-light-panel-header strong {
  font-size: 13px;
}

.xyz3d-light-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--xyz-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 28px;
}

.xyz3d-light-close:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--xyz-text);
}

.xyz3d-light-panel label {
  color: #b8c8d4;
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}

.xyz3d-light-panel label span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.xyz3d-light-panel label b {
  color: var(--xyz-cyan);
  font-variant-numeric: tabular-nums;
}

.xyz3d-light-panel input[type="range"] {
  accent-color: var(--xyz-cyan);
  cursor: ew-resize;
  margin: 0;
  width: 100%;
}

.xyz3d-light-reset {
  background: rgba(85, 214, 255, 0.08);
  border: 1px solid rgba(85, 214, 255, 0.22);
  border-radius: 8px;
  color: #bcecff;
  cursor: pointer;
  font-size: 11px;
  padding: 7px 10px;
  width: 100%;
}

.xyz3d-light-reset:hover {
  background: rgba(85, 214, 255, 0.14);
}

.xyz3d-viewer-legend {
  background: rgba(6, 15, 26, 0.82);
  border: 1px solid var(--xyz-border);
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  justify-content: center;
  padding: 5px 7px;
  position: static;
  width: 100%;
}

.xyz3d-viewer-legend span {
  align-items: center;
  color: #b7c7d4;
  display: flex;
  font-size: 10px;
  gap: 5px;
}

.xyz3d-viewer-legend i {
  border-radius: 100%;
  height: 7px;
  width: 7px;
}

.xyz3d-viewer-legend .safe { background: #55c7f3; }
.xyz3d-viewer-legend .transition { background: var(--xyz-orange); }
.xyz3d-viewer-legend .support { background: #65deb9; }

.xyz3d-support-summary {
  background: rgba(6, 15, 26, 0.88);
  border: 1px solid rgba(85, 224, 180, 0.3);
  border-radius: 10px;
  color: #9ff0d4;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 650;
  max-width: none;
  padding: 6px 8px;
  position: static;
  text-align: center;
  width: 100%;
}

.xyz3d-support-summary.ok {
  background: rgba(85, 224, 180, 0.09);
}

.xyz3d-model-chip {
  align-items: center;
  background: rgba(6, 15, 26, 0.86);
  border: 1px solid var(--xyz-border);
  border-radius: 10px;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: none;
  padding: 6px 8px;
  position: static;
  width: 100%;
}

.xyz3d-file-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(84, 214, 255, 0.18), rgba(43, 129, 255, 0.12));
  border: 1px solid rgba(84, 214, 255, 0.24);
  border-radius: 9px;
  color: var(--xyz-cyan);
  display: flex;
  font-size: 12px;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.xyz3d-model-chip strong,
.xyz3d-model-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyz3d-model-chip strong {
  font-size: 13px;
}

.xyz3d-model-chip small {
  color: var(--xyz-muted);
  font-size: 11px;
  margin-top: 1px;
}

.xyz3d-replace,
.xyz3d-place-bed,
.xyz3d-remove-model {
  background: transparent;
  border: 1px solid var(--xyz-border);
  border-radius: 9px;
  color: #c6d9e8;
  font-size: 13px;
  padding: 8px 11px;
}

.xyz3d-viewer-toolbar .xyz3d-replace,
.xyz3d-viewer-toolbar .xyz3d-place-bed,
.xyz3d-viewer-toolbar .xyz3d-remove-model {
  font-size: inherit;
  height: 34px;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.xyz3d-remove-model {
  border-color: rgba(255, 105, 120, 0.28);
  color: #ff9ca7;
}

.xyz3d-replace:hover,
.xyz3d-place-bed:hover,
.xyz3d-remove-model:hover {
  border-color: var(--xyz-border-strong);
  color: #fff;
}

.xyz3d-progress {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 40px;
  text-align: center;
}

.xyz3d-progress > span {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  height: 5px;
  margin-bottom: 22px;
  max-width: 360px;
  overflow: hidden;
  width: 70%;
}

.xyz3d-progress i {
  background: linear-gradient(90deg, var(--xyz-cyan), var(--xyz-blue));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 220ms ease;
  width: 10%;
}

.xyz3d-progress strong {
  font-size: 18px;
}

.xyz3d-progress small {
  color: var(--xyz-muted);
  margin-top: 6px;
}

.xyz3d-panel {
  background: linear-gradient(180deg, rgba(14, 28, 44, 0.92), rgba(8, 18, 31, 0.96));
  display: flex;
  flex-direction: column;
  min-height: var(--xyz-viewer-height-desktop, 720px);
  overflow: visible;
}

.xyz3d-panel-tabs {
  border-bottom: 1px solid var(--xyz-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.xyz3d-panel-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--xyz-muted);
  font-size: 14px;
  font-weight: 720;
  padding: 15px 12px 13px;
}

.xyz3d-panel-tabs button.active {
  border-color: var(--xyz-cyan);
  color: var(--xyz-text);
}

.xyz3d-panel-body {
  flex: 0 0 auto;
  overflow: visible;
  padding: 6px 22px 20px;
}

.xyz3d-setting-section {
  border-bottom: 1px solid var(--xyz-border);
  padding: 18px 0;
}

.xyz3d-setting-section:last-child {
  border-bottom: 0;
}

.xyz3d-section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
}

.xyz3d-section-title span {
  font-size: 14px;
  font-weight: 750;
}

.xyz3d-section-title small {
  color: var(--xyz-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.xyz3d-field-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: 1fr 1fr;
}

.xyz3d-field-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.xyz3d-field-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.xyz3d-field {
  display: block;
  min-width: 0;
}

.xyz3d-field > span:first-child,
.xyz3d-textarea > span {
  color: #9fb2c2;
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.xyz3d-field select,
.xyz3d-input-wrap,
.xyz3d-textarea textarea {
  background: rgba(2, 9, 17, 0.42);
  border: 1px solid var(--xyz-border);
  border-radius: 9px;
  color: var(--xyz-text);
  min-height: 44px;
  width: 100%;
}

.xyz3d-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7e95a8 50%),
    linear-gradient(135deg, #7e95a8 50%, transparent 50%);
  background-position:
    calc(100% - 15px) 16px,
    calc(100% - 11px) 16px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  padding: 0 26px 0 10px;
}

.xyz3d-field select option {
  background: #0d1927;
}

.xyz3d-input-wrap {
  align-items: center;
  display: flex;
  overflow: hidden;
}

.xyz3d-input-wrap input {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: var(--xyz-text);
  min-width: 0;
  outline: 0;
  padding: 8px 4px 8px 10px;
  width: 100%;
}

.xyz3d-input-wrap input::-webkit-inner-spin-button,
.xyz3d-input-wrap input::-webkit-outer-spin-button {
  margin: 0;
  opacity: 0.3;
}

.xyz3d-input-wrap i {
  color: var(--xyz-muted);
  font-size: 11px;
  font-style: normal;
  padding-right: 8px;
}

.xyz3d-range {
  display: block;
  margin-top: 14px;
}

.xyz3d-range > span {
  align-items: center;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
}

.xyz3d-range b {
  font-weight: 600;
}

.xyz3d-range output {
  color: var(--xyz-cyan);
  font-size: 13px;
}

.xyz3d-range input {
  accent-color: var(--xyz-cyan);
  cursor: pointer;
  margin: 7px 0 0;
  width: 100%;
}

.xyz3d-toggle-row {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 120px;
  margin-top: 14px;
}

.xyz3d-switch {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 9px;
  min-height: 38px;
}

.xyz3d-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.xyz3d-switch > i {
  background: #26384a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  flex: 0 0 auto;
  height: 21px;
  position: relative;
  transition: 160ms ease;
  width: 36px;
}

.xyz3d-switch > i::after {
  background: white;
  border-radius: 50%;
  content: "";
  height: 15px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: 160ms ease;
  width: 15px;
}

.xyz3d-switch input:checked + i {
  background: linear-gradient(90deg, var(--xyz-cyan), var(--xyz-blue));
}

.xyz3d-switch input:checked + i::after {
  transform: translateX(15px);
}

.xyz3d-switch > span {
  font-size: 13px;
}

.xyz3d-switch > span b,
.xyz3d-switch > span small {
  display: block;
}

.xyz3d-switch > span small {
  color: var(--xyz-muted);
  font-size: 11px;
  margin-top: 1px;
}

.xyz3d-switch-line {
  margin-top: 15px;
}

.xyz3d-segmented {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 13px;
}

.xyz3d-segmented button {
  background: rgba(3, 11, 20, 0.38);
  border: 1px solid var(--xyz-border);
  border-radius: 10px;
  color: #b8c9d7;
  padding: 10px;
  text-align: left;
}

.xyz3d-segmented button.active {
  background: rgba(67, 188, 238, 0.1);
  border-color: var(--xyz-border-strong);
  color: var(--xyz-text);
}

.xyz3d-segmented b,
.xyz3d-segmented small {
  display: block;
}

.xyz3d-segmented b {
  font-size: 13px;
}

.xyz3d-segmented small {
  color: var(--xyz-muted);
  font-size: 11px;
  margin-top: 2px;
}

.xyz3d-info-card {
  background: rgba(84, 214, 255, 0.055);
  border: 1px solid rgba(84, 214, 255, 0.14);
  border-radius: 10px;
  color: #98afc1;
  font-size: 11px;
  line-height: 1.55;
  margin-top: 14px;
  padding: 10px;
}

.xyz3d-support-explainer {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.xyz3d-support-explainer b {
  color: var(--xyz-text);
  font-size: 13px;
}

.xyz3d-support-explainer span,
.xyz3d-support-explainer small {
  display: block;
}

.xyz3d-support-explainer small {
  color: #7fcff0;
  font-size: 11px;
}

.xyz3d-support-controls {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.xyz3d-support-controls .xyz3d-field > span:first-child {
  color: #b9d1e1;
}

.xyz3d-overhang-map {
  background: rgba(3, 11, 20, 0.42);
  border: 1px solid var(--xyz-border-strong);
  border-radius: 9px;
  color: #c8e5f2;
  min-height: 44px;
  padding: 0 13px;
  white-space: nowrap;
}

.xyz3d-overhang-map:hover,
.xyz3d-overhang-map.active {
  background: rgba(84, 214, 255, 0.12);
  border-color: var(--xyz-cyan);
  color: var(--xyz-text);
}

.xyz3d-textarea {
  display: block;
  margin-top: 14px;
}

.xyz3d-check-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr 1fr;
  margin-top: 13px;
}

.xyz3d-check-grid label {
  align-items: center;
  color: #a4b6c6;
  display: flex;
  font-size: 12px;
  gap: 6px;
}

.xyz3d-check-grid input {
  accent-color: var(--xyz-cyan);
  margin: 0;
}

.xyz3d-textarea textarea {
  display: block;
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
}

.xyz3d-quantity-line {
  display: grid;
  gap: 12px;
}

.xyz3d-quantity-control {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.xyz3d-quantity-control > span b,
.xyz3d-quantity-control > span small {
  display: block;
}

.xyz3d-quantity-control > span b {
  font-size: 14px;
}

.xyz3d-quantity-control > span small {
  color: var(--xyz-muted);
  font-size: 11px;
}

.xyz3d-quantity-line .xyz3d-field {
  width: 90px;
}

.xyz3d-production-estimate {
  background: rgba(84, 214, 255, 0.07);
  border: 1px solid rgba(84, 214, 255, 0.22);
  border-radius: 10px;
  display: grid;
  gap: 3px;
  padding: 10px 11px;
}

.xyz3d-production-estimate span {
  color: var(--xyz-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xyz3d-production-estimate strong {
  color: #dcefff;
  font-size: 13px;
}

.xyz3d-production-estimate.ready strong {
  color: #8fe8ca;
}

.xyz3d-production-estimate small {
  color: #8fa5b7;
  font-size: 10px;
  line-height: 1.45;
}

.xyz3d-analysis-status {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--xyz-border);
  border-radius: 11px;
  margin: 15px 0;
  padding: 11px;
}

.xyz3d-analysis-status span {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 650;
  gap: 7px;
}

.xyz3d-analysis-status i {
  background: #687f92;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.xyz3d-analysis-status.ok i { background: var(--xyz-green); }
.xyz3d-analysis-status.warn i { background: var(--xyz-red); }

.xyz3d-analysis-status small {
  color: var(--xyz-muted);
  display: block;
  font-size: 11px;
  margin: 4px 0 0 14px;
}

.xyz3d-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.xyz3d-metrics > div {
  background: rgba(3, 10, 18, 0.3);
  border: 1px solid var(--xyz-border);
  border-radius: 9px;
  min-width: 0;
  padding: 9px;
}

.xyz3d-metrics span,
.xyz3d-metrics strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyz3d-metrics span {
  color: var(--xyz-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.xyz3d-metrics strong {
  font-size: 13px;
  margin-top: 3px;
}

.xyz3d-analysis-list {
  border-top: 1px solid var(--xyz-border);
  margin-top: 15px;
}

.xyz3d-analysis-list > div {
  align-items: center;
  border-bottom: 1px solid var(--xyz-border);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 10px 1px;
}

.xyz3d-analysis-list span {
  color: var(--xyz-muted);
}

.xyz3d-analysis-list b {
  color: #c8d9e6;
  font-weight: 620;
  text-transform: capitalize;
}

.xyz3d-analysis-note {
  color: #778fa2;
  font-size: 11px;
  line-height: 1.55;
  margin: 14px 0 0;
}

.xyz3d-quote {
  background: rgba(3, 10, 18, 0.55);
  border-top: 1px solid var(--xyz-border);
  padding: 17px 22px 20px;
}

.xyz3d-customer-contact {
  display: grid;
  gap: 9px;
  margin-bottom: 11px;
}

.xyz3d-customer-contact label > span,
.xyz3d-account-contact > span {
  color: #91a7ba;
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.xyz3d-customer-contact input,
.xyz3d-customer-contact textarea {
  background: rgba(4, 13, 23, 0.68);
  border: 1px solid var(--xyz-border);
  border-radius: 8px;
  color: var(--xyz-text);
  font-size: 13px;
  outline: 0;
  padding: 8px 10px;
  resize: vertical;
  width: 100%;
}

.xyz3d-customer-contact input:focus,
.xyz3d-customer-contact textarea:focus {
  border-color: var(--xyz-cyan);
}

.xyz3d-account-contact {
  background: rgba(85, 224, 180, 0.06);
  border: 1px solid rgba(85, 224, 180, 0.14);
  border-radius: 8px;
  padding: 7px 9px;
}

.xyz3d-account-contact strong {
  color: #a8ecd5;
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xyz3d-cart-reservation-note {
  background: rgba(85, 214, 255, 0.07);
  border: 1px solid rgba(85, 214, 255, 0.18);
  border-radius: 8px;
  color: #a8dff3;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
  padding: 8px 10px;
}

.xyz3d-custom-goods-notice {
  background: rgba(255, 184, 92, 0.07);
  border: 1px solid rgba(255, 184, 92, 0.22);
  border-radius: 8px;
  color: #e8cda7;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 10px;
  overflow: hidden;
}

.xyz3d-custom-goods-notice[hidden] {
  display: none !important;
}

.xyz3d-custom-goods-notice summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 9px 11px;
  user-select: none;
}

.xyz3d-custom-goods-notice summary::-webkit-details-marker {
  display: none;
}

.xyz3d-custom-goods-notice summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 7px;
  margin-left: 12px;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
  width: 7px;
}

.xyz3d-custom-goods-notice[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.xyz3d-custom-goods-notice summary span {
  display: grid;
  gap: 1px;
}

.xyz3d-custom-goods-notice summary strong {
  color: #ffd59b;
  font-size: 12px;
}

.xyz3d-custom-goods-notice summary small {
  color: #c8aa84;
  font-size: 10px;
}

.xyz3d-custom-goods-content {
  border-top: 1px solid rgba(255, 184, 92, 0.16);
  padding: 9px 11px 10px;
}

.xyz3d-custom-goods-content p {
  margin: 0 0 9px;
}

.xyz3d-custom-goods-consent,
.xyz3d-terms-consent,
.xyz3d-service-start-consent {
  align-items: flex-start;
  color: #b8c8d4;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.45;
  margin: 0 0 11px;
}

.xyz3d-custom-goods-consent input,
.xyz3d-terms-consent input,
.xyz3d-service-start-consent input {
  accent-color: var(--xyz-cyan);
  flex: 0 0 auto;
  height: 28px;
  margin: 1px 0 0;
  width: 17px;
}

.xyz3d-custom-goods-consent {
  align-items: flex-start;
  color: #efd6b3;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.45;
  margin: 0;
}

.xyz3d-terms-consent a {
  color: var(--xyz-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.xyz3d-recaptcha {
  margin: 0 0 11px;
  min-height: 78px;
  overflow: hidden;
}

.xyz3d-quote > div:first-child {
  align-items: end;
  display: grid;
  gap: 1px 14px;
  grid-template-columns: 1fr auto;
  margin-bottom: 13px;
}

.xyz3d-quote span {
  color: var(--xyz-muted);
  font-size: 12px;
  grid-column: 1;
}

.xyz3d-price {
  font-size: 27px;
  font-weight: 760;
  grid-column: 2;
  grid-row: 1 / span 2;
  letter-spacing: -0.04em;
}

.xyz3d-price-note {
  color: #788fa2;
  font-size: 11px;
  grid-column: 1;
}

.xyz3d-primary,
.xyz3d-secondary {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 780;
  min-height: 42px;
  padding: 9px 13px;
  transition: 150ms ease;
  width: 100%;
}

.xyz3d-primary {
  background: linear-gradient(135deg, var(--xyz-cyan), #3d88ff);
  border: 0;
  box-shadow: 0 10px 26px rgba(43, 129, 255, 0.16);
  color: #02111d;
}

.xyz3d-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.xyz3d-primary:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.38;
}

.xyz3d-secondary {
  background: transparent;
  border: 1px solid var(--xyz-border-strong);
  color: var(--xyz-cyan);
  margin-top: 0;
}

.xyz3d-message {
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.45;
  margin-top: 9px;
  padding: 8px 9px;
}

.xyz3d-message.info {
  background: rgba(84, 214, 255, 0.07);
  color: #9dccde;
}

.xyz3d-message.success {
  background: rgba(85, 224, 180, 0.08);
  color: #8de7ca;
}

.xyz3d-message.error {
  background: rgba(255, 102, 114, 0.09);
  color: #ff9ca4;
}

@media (max-width: 1100px) {
  .xyz3d-workspace {
    grid-template-columns: minmax(0, 1fr) 400px;
  }

  .xyz3d-field-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .xyz3d-shell {
    border-radius: 18px;
  }

  .xyz3d-workspace {
    display: block;
    height: auto;
    overflow: visible;
  }

  .xyz3d-stage {
    border-bottom: 1px solid var(--xyz-border);
    border-right: 0;
    height: var(--xyz-viewer-height-tablet, 520px);
    min-height: var(--xyz-viewer-height-tablet, 520px);
  }

  .xyz3d-upload-view,
  .xyz3d-viewer-wrap,
  .xyz3d-viewer,
  .xyz3d-progress {
    min-height: 0;
  }

  .xyz3d-panel {
    height: auto;
    min-height: 0;
  }

  .xyz3d-panel-body {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .xyz3d-app {
    margin: 14px auto;
  }

  .xyz3d-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .xyz3d-secure {
    display: none;
  }

  .xyz3d-services {
    overflow-x: auto;
    padding: 0 8px;
  }

  .xyz3d-services button {
    min-width: 112px;
    padding: 14px 12px 11px;
  }

  .xyz3d-intro {
    gap: 14px;
    padding: 22px 16px;
  }

  .xyz3d-intro h2 {
    font-size: 27px;
  }

  .xyz3d-format-badge {
    display: none;
  }

  .xyz3d-stage {
    height: var(--xyz-viewer-height-mobile, 500px);
    min-height: var(--xyz-viewer-height-mobile, 500px);
  }

  .xyz3d-panel {
    height: auto;
  }

  .xyz3d-upload-view {
    padding: 18px;
  }

  .xyz3d-dropzone {
    min-height: 310px;
    padding: 28px 18px;
  }

  .xyz3d-panel-body,
  .xyz3d-quote {
    padding-left: 16px;
    padding-right: 16px;
  }

  .xyz3d-field-grid,
  .xyz3d-field-grid-4,
  .xyz3d-field-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .xyz3d-segmented {
    grid-template-columns: 1fr;
  }

  .xyz3d-metrics {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 360px) {
  .xyz3d-recaptcha > div {
    transform: scale(0.88);
    transform-origin: left top;
  }

  .xyz3d-recaptcha {
    min-height: 69px;
  }
}

.xyz3d-app [hidden] {
  display: none !important;
}


.xyz3d-service-unavailable {
  box-sizing: border-box;
  padding: 18px 20px;
  border: 1px solid rgba(85, 214, 255, 0.28);
  border-radius: 10px;
  background: #071523;
  color: #eef7ff;
  font: 600 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Photo 3D / photogrammetry request */
.xyz3d-photo-upload {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  max-width: 940px;
  width: 100%;
}

.xyz3d-photo-guide,
.xyz3d-photo-dropzone,
.xyz3d-photo-selection {
  background: linear-gradient(155deg, rgba(15, 35, 54, 0.96), rgba(7, 18, 31, 0.94));
  border: 1px solid var(--xyz-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.xyz3d-photo-guide {
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.xyz3d-photo-guide::before {
  background:
    radial-gradient(circle at center, rgba(84, 214, 255, 0.12), transparent 48%),
    linear-gradient(rgba(84, 214, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 214, 255, 0.055) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  content: "";
  inset: 0;
  position: absolute;
}

.xyz3d-photo-object {
  align-items: center;
  background: linear-gradient(180deg, rgba(198, 208, 232, 0.86), rgba(98, 110, 142, 0.82));
  border: 1px solid rgba(220, 230, 255, 0.82);
  border-radius: 12px 12px 18px 18px / 12px 12px 20px 20px;
  box-shadow:
    0 28px 70px rgba(20, 137, 220, 0.18),
    inset 8px 8px 18px rgba(255, 255, 255, 0.16),
    inset -10px -12px 18px rgba(2, 28, 62, 0.22);
  display: flex;
  height: 108px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 82px;
  z-index: 3;
}

.xyz3d-photo-object strong {
  color: #d68b27;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 0 0 #000, 1px 1px 0 #231100;
  z-index: 2;
}

.xyz3d-photo-object .xyz3d-body-head {
  background: linear-gradient(180deg, rgba(132, 140, 162, 0.96), rgba(72, 82, 108, 0.95));
  border: 1px solid rgba(214, 225, 255, 0.62);
  border-radius: 8px;
  height: 34px;
  left: 50%;
  position: absolute;
  top: -34px;
  transform: translateX(-50%);
  width: 32px;
}

.xyz3d-photo-object i,
.xyz3d-photo-object b,
.xyz3d-photo-object u,
.xyz3d-photo-object em {
  position: absolute;
}

.xyz3d-photo-object i,
.xyz3d-photo-object b {
  background: linear-gradient(180deg, rgba(154, 164, 190, 0.92), rgba(88, 98, 126, 0.92));
  border: 1px solid rgba(215, 226, 255, 0.6);
  height: 14px;
  top: 28px;
  width: 54px;
}

.xyz3d-photo-object i {
  border-radius: 10px 4px 10px 10px;
  left: -35px;
  transform: rotate(22deg);
  transform-origin: right center;
}

.xyz3d-photo-object b {
  border-radius: 4px 10px 10px 10px;
  right: -35px;
  transform: rotate(-22deg);
  transform-origin: left center;
}

.xyz3d-photo-object u,
.xyz3d-photo-object em {
  background: linear-gradient(180deg, rgba(132, 140, 162, 0.98), rgba(83, 90, 114, 0.98));
  border: 1px solid rgba(214, 225, 255, 0.62);
  bottom: -64px;
  height: 72px;
  text-decoration: none;
  width: 18px;
}

.xyz3d-photo-object u {
  border-radius: 0 0 6px 6px;
  left: 20px;
  transform: rotate(28deg);
  transform-origin: top center;
}

.xyz3d-photo-object em {
  border-radius: 0 0 6px 6px;
  right: 20px;
  transform: rotate(-28deg);
  transform-origin: top center;
}

.xyz3d-camera-ring {
  height: 1px;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 1px;
  z-index: 4;
}

.xyz3d-camera-ring::after {
  border: 1px solid rgba(84, 214, 255, 0.19);
  border-radius: 50%;
  content: "";
  height: 112px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  width: 330px;
}

.xyz3d-camera-ring.upper {
  top: 30%;
}

.xyz3d-camera-ring.lower {
  top: 60%;
}

.xyz3d-camera-ring.upper::after,
.xyz3d-camera-ring.lower::after {
  width: 282px;
}

.xyz3d-camera-ring button {
  --photo-radius: 164px;
  align-items: center;
  animation: none;
  appearance: none;
  background: rgba(4, 17, 29, 0.88);
  border: 1.5px solid rgba(84, 214, 255, 0.78);
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(84, 214, 255, 0.24);
  cursor: pointer;
  display: flex;
  height: 17px;
  justify-content: center;
  left: -8px;
  padding: 0;
  position: absolute;
  top: -14px;
  transform: rotate(var(--photo-angle)) translateX(var(--photo-radius)) rotate(calc(-1 * var(--photo-angle)));
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
  width: 16px;

  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;}

.xyz3d-camera-ring button::before {
  border: 1px solid rgba(84, 214, 255, 0.5);
  border-radius: 2px;
  content: "";
  height: 18px;
  width: 8px;
}

.xyz3d-camera-ring button:hover,
.xyz3d-camera-ring button.is-active {
  background: rgba(84, 214, 255, 0.25);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(84, 214, 255, 0.14), 0 0 24px rgba(84, 214, 255, 0.7);
  z-index: 5;
}

.xyz3d-camera-ring button.is-complete {
  background: rgba(46, 214, 132, 0.28);
  border-color: #62efaa;
  box-shadow: 0 0 18px rgba(46, 214, 132, 0.45);
}

.xyz3d-camera-ring button.is-complete::before {
  border-color: #b8ffdd;
}

@keyframes xyz3d-photo-frame-float {
  0%, 100% { margin-top: -2px; }
  50% { margin-top: 3px; }
}

.xyz3d-camera-ring.upper button,
.xyz3d-camera-ring.lower button {
  --photo-radius: 140px;
}

.xyz3d-photo-guide-copy {
  bottom: 19px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  left: 22px;
  position: absolute;
  right: 22px;
  z-index: 5;
}

.xyz3d-photo-guide-copy strong {
  color: var(--xyz-text);
  font-size: 14px;
}

.xyz3d-photo-guide-copy span {
  color: var(--xyz-muted);
  font-size: 12px;
  line-height: 1.45;
}

.xyz3d-photo-dropzone {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding: 28px 24px;
  text-align: center;
  transition: 170ms ease;
}

.xyz3d-photo-dropzone:hover,
.xyz3d-photo-dropzone.is-dragging {
  border-color: var(--xyz-cyan);
  box-shadow: inset 0 0 0 1px rgba(84, 214, 255, 0.08), 0 22px 54px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.xyz3d-photo-dropzone input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.xyz3d-photo-dropzone strong {
  font-size: 18px;
  margin-top: 2px;
}

.xyz3d-photo-dropzone > span:not(.xyz3d-upload-icon) {
  color: var(--xyz-muted);
  font-size: 13px;
  margin-top: 5px;
}

.xyz3d-photo-dropzone small {
  color: #a9bfd1;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 18px;
}

.xyz3d-photo-selection {
  grid-column: 1 / -1;
  padding: 16px;
}

.xyz3d-photo-selection > div:first-child {
  align-items: center;
  display: flex;
  gap: 10px;
}

.xyz3d-photo-selection > div:first-child span {
  color: var(--xyz-muted);
  font-size: 12px;
}

.xyz3d-photo-clear {
  background: transparent;
  border: 1px solid rgba(255, 102, 114, 0.36);
  border-radius: 8px;
  color: #ff9aa4;
  float: right;
  font-size: 12px;
  margin-top: -27px;
  padding: 6px 10px;
}

.xyz3d-photo-previews {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(12, minmax(42px, 1fr));
  margin-top: 14px;
}

.xyz3d-photo-previews figure {
  aspect-ratio: 1;
  border: 1px solid var(--xyz-border);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.xyz3d-photo-previews img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xyz3d-photo-previews figcaption {
  background: rgba(1, 9, 17, 0.76);
  border-radius: 4px;
  bottom: 3px;
  color: #dff7ff;
  font-size: 9px;
  line-height: 1;
  padding: 3px 4px;
  position: absolute;
  right: 3px;
}

.xyz3d-photo-more {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(84, 214, 255, 0.08);
  border: 1px solid rgba(84, 214, 255, 0.25);
  border-radius: 8px;
  color: var(--xyz-cyan);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  padding: 4px;
  text-align: center;
}

.xyz3d-photo-rights-consent {
  align-items: flex-start;
  background: rgba(84, 214, 255, 0.06);
  border: 1px solid rgba(84, 214, 255, 0.2);
  border-radius: 11px;
  color: #c4d8e8;
  display: flex;
  font-size: 12px;
  gap: 10px;
  line-height: 1.48;
  padding: 12px 13px;
}

.xyz3d-photo-rights-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

@media (max-width: 1180px) {
  .xyz3d-photo-upload {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .xyz3d-photo-guide,
  .xyz3d-photo-dropzone {
    min-height: 300px;
  }

  .xyz3d-photo-guide-copy {
    bottom: 14px;
  }

  .xyz3d-photo-previews {
    grid-template-columns: repeat(8, minmax(42px, 1fr));
  }
}

@media (max-width: 620px) {
  .xyz3d-photo-upload {
    gap: 12px;
  }

  .xyz3d-photo-guide {
    min-height: 280px;
  }

  .xyz3d-photo-dropzone {
    min-height: 230px;
    padding: 22px 16px;
  }

  .xyz3d-photo-object {
    height: 92px;
    width: 72px;
  }

  .xyz3d-photo-object strong { font-size: 12px; }
  .xyz3d-photo-object .xyz3d-body-head { height: 28px; top: -28px; width: 28px; }
  .xyz3d-photo-object i,
  .xyz3d-photo-object b { width: 46px; }
  .xyz3d-photo-object u,
  .xyz3d-photo-object em { bottom: -54px; height: 62px; }

  .xyz3d-camera-ring button {
    --photo-radius: 118px;
  }

  .xyz3d-camera-ring.upper button,
  .xyz3d-camera-ring.lower button {
    --photo-radius: 101px;
  }

  .xyz3d-camera-ring::after {
    width: 238px;
  }

  .xyz3d-camera-ring.upper::after,
  .xyz3d-camera-ring.lower::after {
    width: 204px;
  }

  .xyz3d-photo-previews {
    grid-template-columns: repeat(4, minmax(42px, 1fr));
  }
}

.xyz3d-photo-service-shell .xyz3d-photo-workspace .xyz3d-stage {
  overflow: auto;
}

.xyz3d-photo-service-shell .xyz3d-upload-view {
  align-items: flex-start;
  min-height: 100%;
}

.xyz3d-photo-service-shell .xyz3d-panel-tabs button:last-child {
  cursor: default;
  opacity: 0.45;
}

.xyz3d-photo-service-shell .xyz3d-field > input,
.xyz3d-photo-service-shell .xyz3d-input-suffix {
  background: rgba(2, 9, 17, 0.42);
  border: 1px solid var(--xyz-border);
  border-radius: 9px;
  color: var(--xyz-text);
  min-height: 44px;
  width: 100%;
}

.xyz3d-photo-service-shell .xyz3d-field > input {
  padding: 0 10px;
}

.xyz3d-photo-service-shell .xyz3d-input-suffix {
  align-items: center;
  display: flex;
  overflow: hidden;
}

.xyz3d-photo-service-shell .xyz3d-input-suffix input {
  background: transparent;
  border: 0;
  color: var(--xyz-text);
  min-width: 0;
  outline: 0;
  padding: 0 10px;
  width: 100%;
}

.xyz3d-photo-service-shell .xyz3d-input-suffix small {
  color: var(--xyz-muted);
  padding-right: 10px;
}

.xyz3d-photo-quality-note {
  background: rgba(255, 180, 84, 0.06);
  border: 1px solid rgba(255, 180, 84, 0.18);
  border-radius: 10px;
  color: #d8c09e;
  margin: 0 22px 16px;
  padding: 12px 13px;
}

.xyz3d-photo-quality-note strong {
  color: #ffd196;
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.xyz3d-photo-quality-note p {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.xyz3d-photo-service-shell [data-photo-price] {
  font-size: 27px;
  font-weight: 760;
  grid-column: 2;
  grid-row: 1 / span 2;
  letter-spacing: -0.04em;
}

.xyz3d-photo-service-shell [data-photo-price-note] {
  color: #788fa2;
  font-size: 11px;
  grid-column: 1;
}

.xyz3d-photo-progress {
  margin-top: 11px;
}

.xyz3d-photo-progress > span {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.xyz3d-photo-progress i {
  background: linear-gradient(90deg, var(--xyz-cyan), var(--xyz-blue));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 160ms linear;
  width: 0;
}

.xyz3d-photo-progress small {
  color: var(--xyz-muted);
  display: block;
  font-size: 11px;
  margin-top: 7px;
}

.xyz3d-photo-service-nav button[data-photo-back] {
  border-right: 1px solid var(--xyz-border);
}

@media (max-width: 760px) {
  .xyz3d-photo-service-shell .xyz3d-upload-view {
    padding: 18px;
  }

  .xyz3d-photo-quality-note {
    margin-left: 16px;
    margin-right: 16px;
  }
}


/* Guided mobile photo capture route */
.xyz3d-photo-route-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 7;
}

.xyz3d-photo-route-head span {
  color: var(--xyz-cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.xyz3d-photo-route-head strong {
  background: rgba(1, 10, 18, 0.7);
  border: 1px solid rgba(84, 214, 255, 0.22);
  border-radius: 999px;
  color: #dff8ff;
  font-size: 10px;
  padding: 5px 9px;
}

.xyz3d-photo-guide.is-disabled {
  opacity: 0.5;
}

.xyz3d-photo-guide.is-disabled [data-photo-slot] {
  pointer-events: none;
}

.xyz3d-photo-object {
  animation: xyz3d-photo-object-float 5.8s ease-in-out infinite;
  isolation: isolate;
  transform-style: preserve-3d;
}

.xyz3d-photo-object::before,
.xyz3d-photo-object::after,
.xyz3d-photo-object i,
.xyz3d-photo-object b {
  content: "";
  position: absolute;
}

.xyz3d-photo-object::before {
  background: linear-gradient(140deg, rgba(214, 250, 255, 0.9), rgba(42, 138, 220, 0.72));
  border-radius: 48% 52% 42% 42%;
  height: 46px;
  left: 33px;
  top: -23px;
  width: 46px;
  z-index: -1;
}

.xyz3d-photo-object::after {
  background: linear-gradient(90deg, rgba(9, 55, 96, 0.72), rgba(125, 226, 255, 0.5));
  border-radius: 50%;
  bottom: -13px;
  filter: blur(7px);
  height: 18px;
  left: 10px;
  opacity: 0.62;
  width: 92px;
  z-index: -2;
}

.xyz3d-photo-object i {
  background: linear-gradient(160deg, rgba(168, 239, 255, 0.75), rgba(23, 93, 170, 0.5));
  border-radius: 55% 20% 55% 20%;
  height: 78px;
  left: -17px;
  top: 25px;
  transform: rotate(20deg);
  width: 36px;
}

.xyz3d-photo-object b {
  background: linear-gradient(200deg, rgba(168, 239, 255, 0.7), rgba(23, 93, 170, 0.45));
  border-radius: 20% 55% 20% 55%;
  height: 76px;
  right: -15px;
  top: 25px;
  transform: rotate(-18deg);
  width: 34px;
}

@keyframes xyz3d-photo-object-float {
  0%, 100% { margin-top: -2px; }
  50% { margin-top: 5px; }
}

.xyz3d-photo-guide-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 9px;
}

.xyz3d-photo-guide-actions button {
  background: linear-gradient(135deg, var(--xyz-cyan), #2e7cff);
  border: 0;
  border-radius: 9px;
  color: #02111e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  padding: 9px 12px;

  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;}

.xyz3d-photo-guide-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.xyz3d-photo-guide-actions small {
  color: #8ea8bc;
  font-size: 9px;
}

html.xyz3d-camera-open,
html.xyz3d-camera-open body {
  height: 100%;
  overflow: hidden !important;
}

.xyz3d-camera-capture[hidden] {
  display: none !important;
}

.xyz3d-camera-capture {
  background: #000;
  height: 100dvh;
  inset: 0;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 2147483000;
}

.xyz3d-camera-capture video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xyz3d-camera-vignette {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.62) 100%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.xyz3d-camera-close {
  align-items: center;
  appearance: none;
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: max(16px, env(safe-area-inset-right));
  top: max(16px, env(safe-area-inset-top));
  width: 42px;
  z-index: 6;
}

.xyz3d-camera-topbar {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent);
  color: #fff;
  left: 0;
  padding: max(20px, env(safe-area-inset-top)) 74px 50px 20px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

.xyz3d-camera-topbar span,
.xyz3d-camera-topbar strong {
  display: block;
}

.xyz3d-camera-topbar span {
  color: #9cecff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xyz3d-camera-topbar strong {
  font-size: clamp(16px, 4vw, 22px);
  margin-top: 4px;
}

.xyz3d-camera-target {
  border: 1px dashed rgba(255, 255, 255, 0.62);
  border-radius: 20% 20% 14% 14%;
  height: min(56vh, 540px);
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(62vw, 410px);
  z-index: 3;
}

.xyz3d-camera-target.upper {
  top: 54%;
  transform: translate(-50%, -50%) perspective(700px) rotateX(-8deg);
}

.xyz3d-camera-target.lower {
  top: 43%;
  transform: translate(-50%, -50%) perspective(700px) rotateX(8deg);
}

.xyz3d-camera-target > i {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  height: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
}

.xyz3d-camera-target .corner {
  border-color: #67e6ff;
  border-style: solid;
  height: 28px;
  position: absolute;
  width: 28px;
}

.xyz3d-camera-target .tl { border-width: 3px 0 0 3px; left: -1px; top: -2px; }
.xyz3d-camera-target .tr { border-width: 3px 3px 0 0; right: -2px; top: -2px; }
.xyz3d-camera-target .bl { border-width: 0 0 3px 3px; bottom: -2px; left: -1px; }
.xyz3d-camera-target .br { border-width: 0 3px 3px 0; bottom: -2px; right: -2px; }


.xyz3d-camera-ghost-object {
  align-items: center;
  background: linear-gradient(150deg, rgba(141, 224, 255, 0.28), rgba(58, 128, 255, 0.18));
  border: 1px solid rgba(172, 236, 255, 0.5);
  border-radius: 12px 12px 18px 18px / 12px 12px 20px 20px;
  box-shadow: inset 10px 14px 26px rgba(255, 255, 255, 0.12), inset -12px -16px 26px rgba(5, 22, 48, 0.2), 0 0 30px rgba(84, 214, 255, 0.12);
  display: flex;
  height: 42%;
  justify-content: center;
  left: 50%;
  opacity: 0.55;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 30%;
}

.xyz3d-camera-ghost-object .xyz3d-body-head,
.xyz3d-camera-ghost-object::after,
.xyz3d-camera-ghost-object i,
.xyz3d-camera-ghost-object b,
.xyz3d-camera-ghost-object u,
.xyz3d-camera-ghost-object em {
  content: "";
  position: absolute;
}

.xyz3d-camera-ghost-object .xyz3d-body-head {
  background: linear-gradient(180deg, rgba(219, 248, 255, 0.26), rgba(75, 145, 255, 0.18));
  border: 1px solid rgba(214, 240, 255, 0.28);
  border-radius: 8px;
  height: 20%;
  left: 34%;
  top: -15%;
  width: 32%;
}

.xyz3d-camera-ghost-object::after {
  background: linear-gradient(90deg, rgba(8, 49, 95, 0.3), rgba(125, 226, 255, 0.24));
  border-radius: 50%;
  bottom: -6%;
  filter: blur(6px);
  height: 10%;
  left: 8%;
  opacity: 0.55;
  width: 84%;
}

.xyz3d-camera-ghost-object i {
  background: linear-gradient(165deg, rgba(180, 239, 255, 0.28), rgba(23, 93, 170, 0.18));
  border: 1px solid rgba(214, 240, 255, 0.18);
  border-radius: 10px 4px 10px 10px;
  height: 10%;
  left: -28%;
  top: 30%;
  transform: rotate(22deg);
  width: 42%;
}

.xyz3d-camera-ghost-object b {
  background: linear-gradient(200deg, rgba(180, 239, 255, 0.28), rgba(23, 93, 170, 0.18));
  border: 1px solid rgba(214, 240, 255, 0.18);
  border-radius: 4px 10px 10px 10px;
  height: 10%;
  right: -28%;
  top: 30%;
  transform: rotate(-22deg);
  width: 42%;
}

.xyz3d-camera-ghost-object u {
  background: linear-gradient(180deg, rgba(160, 237, 255, 0.18), rgba(23, 93, 170, 0.06));
  border: 1px solid rgba(214, 240, 255, 0.18);
  border-radius: 0 0 6px 6px;
  bottom: -30%;
  height: 38%;
  left: 25%;
  transform: rotate(26deg);
  width: 14%;
}

.xyz3d-camera-ghost-object em {
  background: linear-gradient(180deg, rgba(160, 237, 255, 0.18), rgba(23, 93, 170, 0.06));
  border: 1px solid rgba(214, 240, 255, 0.18);
  border-radius: 0 0 6px 6px;
  bottom: -30%;
  height: 38%;
  right: 25%;
  transform: rotate(-26deg);
  width: 14%;
}

.xyz3d-camera-ghost-object strong {
  color: rgba(214, 151, 57, 0.96);
  font-size: clamp(12px, 2.2vw, 18px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-shadow: 0 0 18px rgba(84, 214, 255, 0.32);
}


.xyz3d-camera-mini {
  display: grid;
  gap: 8px;
  left: 14px;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 58px);
  width: min(168px, 32vw);
  z-index: 9;
}

.xyz3d-camera-mini-viewer {
  background: rgba(6, 19, 33, 0.72);
  border: 1px solid rgba(118, 211, 255, 0.22);
  border-radius: 14px;
  height: 132px;
  overflow: hidden;
}

.xyz3d-route-viewer.is-camera-mini {
  border-radius: 14px;
  height: 132px !important;
  min-height: 132px;
}

.xyz3d-camera-mini-shot {
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
}

.xyz3d-camera-mini-shot span {
  color: rgba(255,255,255,0.82);
  display: block;
  font-size: 10px;
  margin-bottom: 5px;
}

.xyz3d-camera-mini-shot img {
  border-radius: 8px;
  display: block;
  height: 74px;
  object-fit: cover;
  width: 100%;
}

.xyz3d-camera-position-map {
  --capture-angle: 0deg;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  height: 86px;
  left: max(16px, env(safe-area-inset-left));
  position: absolute;
  top: max(86px, calc(env(safe-area-inset-top) + 72px));
  width: 86px;
  z-index: 5;
}

.xyz3d-camera-position-map::before {
  border: 1px solid rgba(103, 230, 255, 0.44);
  border-radius: 50%;
  content: "";
  inset: 13px;
  position: absolute;
}

.xyz3d-camera-position-map .object {
  background: #dffbff;
  border-radius: 35%;
  height: 18px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
}

.xyz3d-camera-position-map i {
  background: #67e6ff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px #67e6ff;
  height: 11px;
  left: calc(50% - 5.5px);
  position: absolute;
  top: calc(50% - 5.5px);
  transform: rotate(var(--capture-angle)) translateX(32px);
  width: 11px;
}

.xyz3d-camera-position-map[data-ring="upper"] i { box-shadow: 0 0 12px #ffd16a; background: #ffd16a; }
.xyz3d-camera-position-map[data-ring="lower"] i { box-shadow: 0 0 12px #bb8cff; background: #bb8cff; }

.xyz3d-camera-guidance {
  align-items: center;
  bottom: calc(max(110px, env(safe-area-inset-bottom) + 96px));
  color: #fff;
  display: flex;
  flex-direction: column;
  left: 18px;
  position: absolute;
  right: 18px;
  text-align: center;
  z-index: 5;
}

.xyz3d-camera-guidance strong {
  background: rgba(0, 0, 0, 0.52);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
  max-width: 520px;
  padding: 7px 11px;
}

.xyz3d-camera-guidance > span {
  --level-offset: 0%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  position: relative;
  width: 120px;
}

.xyz3d-camera-guidance > span::after {
  background: rgba(255, 255, 255, 0.24);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  width: 1px;
}

.xyz3d-camera-guidance > span i {
  background: #67e6ff;
  border-radius: 50%;
  height: 8px;
  left: calc(50% + var(--level-offset));
  position: absolute;
  transform: translateX(-50%);
  transition: left 100ms linear;
  width: 8px;
}

.xyz3d-camera-guidance small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  margin-top: 4px;
}


.xyz3d-camera-guidance .xyz3d-camera-pitch {
  --pitch-offset: 0%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: block;
  height: 92px;
  margin-top: 0;
  overflow: visible;
  position: relative;
  width: 8px;
}

.xyz3d-camera-guidance .xyz3d-camera-pitch::after {
  background: rgba(255, 255, 255, 0.24);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
}

.xyz3d-camera-guidance .xyz3d-camera-pitch i {
  background: #ffd16a;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 209, 106, 0.72);
  height: 10px;
  left: -1px;
  position: absolute;
  top: calc(50% + var(--pitch-offset));
  transform: translateY(-50%);
  transition: top 100ms linear;
  width: 10px;
  z-index: 2;
}

.xyz3d-camera-controls {
  align-items: center;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  left: 0;
  padding: 28px max(18px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  position: absolute;
  right: 0;
  z-index: 6;
}

.xyz3d-camera-controls button {
  appearance: none;
  cursor: pointer;

  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;}

.xyz3d-camera-skip,
.xyz3d-camera-finish {
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  justify-self: center;
  padding: 9px 14px;
}

.xyz3d-camera-shutter {
  align-items: center;
  background: transparent;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  height: 76px;
  justify-content: center;
  justify-self: center;
  padding: 0;
  width: 76px;
}

.xyz3d-camera-shutter i {
  background: #fff;
  border-radius: 50%;
  display: block;
  height: 58px;
  transition: transform 90ms ease;
  width: 58px;
}

.xyz3d-camera-shutter:active i { transform: scale(0.88); }

.xyz3d-camera-flash {
  background: #fff;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: 20;
}

.xyz3d-camera-flash.is-active {
  animation: xyz3d-camera-flash 280ms ease-out;
}

@keyframes xyz3d-camera-flash {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}

@media (max-width: 620px) {
  .xyz3d-photo-route-head { left: 12px; right: 12px; top: 12px; }
  .xyz3d-photo-guide-actions { align-items: flex-start; flex-direction: column; gap: 5px; }
  .xyz3d-camera-target { height: min(54vh, 470px); width: 76vw; }
  .xyz3d-camera-guidance { bottom: calc(max(108px, env(safe-area-inset-bottom) + 94px)); }
  
.xyz3d-camera-mini {
  display: grid;
  gap: 8px;
  left: 14px;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 58px);
  width: min(168px, 32vw);
  z-index: 9;
}

.xyz3d-camera-mini-viewer {
  background: rgba(6, 19, 33, 0.72);
  border: 1px solid rgba(118, 211, 255, 0.22);
  border-radius: 14px;
  height: 132px;
  overflow: hidden;
}

.xyz3d-route-viewer.is-camera-mini {
  border-radius: 14px;
  height: 132px !important;
  min-height: 132px;
}

.xyz3d-camera-mini-shot {
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
}

.xyz3d-camera-mini-shot span {
  color: rgba(255,255,255,0.82);
  display: block;
  font-size: 10px;
  margin-bottom: 5px;
}

.xyz3d-camera-mini-shot img {
  border-radius: 8px;
  display: block;
  height: 74px;
  object-fit: cover;
  width: 100%;
}

.xyz3d-camera-position-map { height: 72px; width: 72px; }
  .xyz3d-camera-position-map i { transform: rotate(var(--capture-angle)) translateX(26px); }
}

/* Real STEP guide and spatial photo-position cloud */
.xyz3d-photo-route-viewer,
.xyz3d-photo-route-fallback {
  inset: 0;
  position: absolute;
}

.xyz3d-photo-route-viewer {
  cursor: grab;
  z-index: 1;
}

.xyz3d-photo-route-viewer:active {
  cursor: grabbing;
}

.xyz3d-photo-route-viewer canvas {
  display: block;
  height: 100% !important;
  outline: 0;
  touch-action: none;
  width: 100% !important;
}

.xyz3d-photo-route-viewer::after {
  background: linear-gradient(180deg, rgba(4, 14, 25, 0.1), transparent 35%, rgba(4, 14, 25, 0.76) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.xyz3d-photo-route-status {
  background: rgba(1, 10, 18, 0.78);
  border: 1px solid rgba(84, 214, 255, 0.28);
  border-radius: 999px;
  color: #c9f6ff;
  font-size: 11px;
  left: 50%;
  padding: 7px 12px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}

.xyz3d-photo-route-fallback {
  z-index: 2;
}

.xyz3d-photo-guide.is-disabled .xyz3d-photo-route-viewer {
  opacity: 0.48;
  pointer-events: none;
}

@media (max-width: 620px) {
  .xyz3d-photo-route-viewer::after {
    background: linear-gradient(180deg, rgba(4, 14, 25, 0.05), transparent 28%, rgba(4, 14, 25, 0.82) 100%);
  }
}

.xyz3d-camera-ghost-object { display:none !important; }

.xyz3d-camera-controls button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.xyz3d-camera-close,
.xyz3d-camera-controls,
.xyz3d-camera-controls button {
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.xyz3d-camera-controls { z-index: 30; }
.xyz3d-camera-close { z-index: 31; }

@media (max-width: 640px) {
  .xyz3d-camera-mini { width: min(136px, 34vw); }
  .xyz3d-camera-mini-viewer,
  .xyz3d-route-viewer.is-camera-mini { height: 108px !important; min-height: 108px; }
  .xyz3d-camera-mini-shot img { height: 56px; }
}

.xyz3d-camera-mini-pins {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.xyz3d-camera-mini-pin {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 6px;
  display: block;
  height: 20px;
  overflow: hidden;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
}

.xyz3d-camera-mini-pin.is-active {
  box-shadow: 0 0 0 1px rgba(255,241,138,0.65), 0 0 14px rgba(255,241,138,0.55);
}

.xyz3d-camera-mini-pin img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xyz3d-camera-guidance > span + small {
  top: -136px;
}

.xyz3d-camera-guidance .xyz3d-camera-pitch + small {
  top: -28px;
}

.xyz3d-route-viewer.is-camera-mini { background: transparent !important; }


/* 0.17.4 photogrammetry UI refinements */
.xyz3d-photo-route-viewer { background: transparent !important; overflow: hidden; }
.xyz3d-photo-route-viewer::after { background: linear-gradient(180deg, rgba(4,14,25,0.02), transparent 42%, rgba(4,14,25,0.18) 100%); }
.xyz3d-photo-route-overlay {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}
.xyz3d-photo-route-ringlabels {
  color: rgba(214,241,255,0.82);
  font-size: 11px;
  font-weight: 800;
  inset: 0;
  letter-spacing: .04em;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  z-index: 4;
}
.xyz3d-photo-route-ringlabels span { left: 16px; position: absolute; }
.xyz3d-photo-route-ringlabels .upper { top: 58px; }
.xyz3d-photo-route-ringlabels .middle { top: calc(50% - 8px); }
.xyz3d-photo-route-ringlabels .lower { bottom: 44px; }
.xyz3d-route-pin {
  align-items: center;
  background: rgba(6,20,34,.28);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: #fff;
  display: flex;
  height: 18px;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 14px;
}
.xyz3d-route-pin b { font-size: 9px; font-weight: 800; line-height: 1; }
.xyz3d-route-pin.is-active { box-shadow: 0 0 0 1px rgba(255,241,138,.72), 0 0 14px rgba(255,241,138,.45); }
.xyz3d-route-pin.is-complete { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.32); width: 16px; }
.xyz3d-route-pin img { display:block; height:100%; object-fit:cover; width:100%; }
.xyz3d-photo-quicksetup {
  background: rgba(4,18,31,.55);
  border: 1px solid rgba(116,211,255,.18);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
}
.xyz3d-photo-quicksetup-head { align-items: baseline; display:flex; justify-content:space-between; gap:12px; }
.xyz3d-photo-quicksetup-head strong { color:#fff; font-size:13px; }
.xyz3d-photo-quicksetup-head small { color:rgba(214,241,255,.72); font-size:11px; }
.xyz3d-photo-quicksetup-grid { display:grid; gap:8px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.xyz3d-photo-quicksetup-grid label,
.xyz3d-photo-quicksetup-row label { display:grid; gap:5px; }
.xyz3d-photo-quicksetup-grid span,
.xyz3d-photo-quicksetup-row span { color:rgba(214,241,255,.8); font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.xyz3d-photo-quicksetup input[type="number"] {
  background: rgba(2,10,18,.72);
  border: 1px solid rgba(118,211,255,.16);
  border-radius: 10px;
  color: #fff;
  min-width: 0;
  padding: 9px 10px;
}
.xyz3d-photo-quicksetup-row { align-items:end; display:grid; gap:10px; grid-template-columns: 1fr 1fr; }
.xyz3d-photo-quickcheck { align-items:center; display:flex !important; gap:8px; }
.xyz3d-photo-quickcheck span { font-size:12px; letter-spacing:0; text-transform:none; }
.xyz3d-photo-quickref { grid-template-columns: 1fr auto; }
.xyz3d-photo-quickref small { align-self:center; color:rgba(214,241,255,.72); font-size:11px; padding-bottom:10px; }
.xyz3d-photo-calcard {
  color:#7ed7ff; display:inline-flex; font-size:12px; font-weight:700; text-decoration:none;
}
.xyz3d-camera-guidance {
  bottom: calc(max(116px, env(safe-area-inset-bottom) + 102px));
  left: 0; right: 0; pointer-events:none; z-index:7;
}
.xyz3d-camera-guidance strong {
  margin: 0 auto; max-width: min(78vw, 420px);
}
.xyz3d-camera-guidance > span {
  left: 50%; position:absolute; top: -348px; transform: translateX(-50%); width: min(58vw, 330px);
}
.xyz3d-camera-guidance > span + small {
  left: 50%; position:absolute; top: -332px; transform: translateX(-50%); width: min(60vw, 340px);
}
.xyz3d-camera-guidance .xyz3d-camera-pitch {
  height: min(44vh, 280px); position:absolute; right: calc(50% - min(31vw,205px) + 12px); top: -304px; transform:none;
}
.xyz3d-camera-guidance .xyz3d-camera-pitch + small {
  position:absolute; right: calc(50% - min(31vw,205px) + 22px); top: -22px; transform: translateX(50%) rotate(0deg); width: 160px;
}
.xyz3d-camera-mini { top: calc(env(safe-area-inset-top) + 56px); z-index: 9; }
.xyz3d-camera-mini-viewer, .xyz3d-route-viewer.is-camera-mini { background: transparent !important; }
.xyz3d-camera-position-map { display:none; }
@media (max-width: 640px) {
  .xyz3d-photo-quicksetup-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .xyz3d-photo-quicksetup-row { grid-template-columns: 1fr; }
  .xyz3d-camera-guidance > span { top: -336px; width: min(66vw, 350px); }
  .xyz3d-camera-guidance > span + small { top: -320px; }
  .xyz3d-camera-guidance .xyz3d-camera-pitch { height: min(42vh, 250px); right: calc(50% - min(38vw,235px) + 14px); top: -296px; }
  .xyz3d-camera-guidance .xyz3d-camera-pitch + small { right: calc(50% - min(38vw,235px) + 24px); }
}


/* 0.17.4 guided capture alignment */
.xyz3d-photo-route-viewer,
.xyz3d-photo-route-viewer canvas,
.xyz3d-camera-mini-viewer,
.xyz3d-camera-mini-viewer canvas,
.xyz3d-route-viewer.is-camera-mini,
.xyz3d-route-viewer.is-camera-mini canvas {
  background: transparent !important;
}

.xyz3d-route-pin {
  height: 22px;
  width: 18px;
}
.xyz3d-route-pin b {
  font-size: 10px;
}
.xyz3d-route-pin.is-complete {
  width: 22px;
}

.xyz3d-camera-mini {
  background: transparent;
  left: 14px;
  top: calc(env(safe-area-inset-top) + 58px);
  width: min(172px, 34vw);
  z-index: 9;
}

.xyz3d-camera-mini-viewer,
.xyz3d-route-viewer.is-camera-mini {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  min-height: 148px;
}

.xyz3d-camera-mini-shot {
  background: rgba(0,0,0,.32);
  border-color: rgba(255,255,255,.16);
}

.xyz3d-camera-topbar {
  left: 18px;
  right: 74px;
  top: calc(env(safe-area-inset-top) + 10px);
}

.xyz3d-camera-topbar strong {
  max-width: calc(100vw - 110px);
}

.xyz3d-camera-guidance {
  bottom: calc(max(104px, env(safe-area-inset-bottom) + 88px));
  left: 0;
  pointer-events: none;
  right: 0;
  z-index: 8;
}

.xyz3d-camera-guidance strong {
  background: rgba(0,0,0,.54);
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  max-width: min(84vw, 520px);
  padding: 8px 12px;
}

/* horizontal level bar inside top of capture frame */
.xyz3d-camera-guidance > span {
  left: 50%;
  position: absolute;
  top: -350px;
  transform: translateX(-50%);
  width: min(72vw, 420px);
}
.xyz3d-camera-guidance > span + small {
  left: 50%;
  position: absolute;
  text-align: center;
  top: -334px;
  transform: translateX(-50%);
  width: min(72vw, 420px);
}

/* vertical aim bar inside right side of capture frame */
.xyz3d-camera-guidance .xyz3d-camera-pitch {
  height: min(50vh, 390px);
  position: absolute;
  right: calc(50% - min(36vw, 250px) + 12px);
  top: -304px;
  transform: none;
}
.xyz3d-camera-guidance .xyz3d-camera-pitch + small {
  position: absolute;
  right: calc(50% - min(36vw, 250px) + 26px);
  text-align: left;
  top: -6px;
  transform: none;
  width: 170px;
}

/* instruction between frame and shutter */
.xyz3d-camera-guidance strong {
  margin-top: 96px;
}

.xyz3d-camera-position-map {
  display: none;
}

.xyz3d-camera-vignette {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0 38%, rgba(0,0,0,0.08) 56%, rgba(0,0,0,0.22) 76%, rgba(0,0,0,0.38) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02) 18%, rgba(0,0,0,0.16) 100%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .xyz3d-camera-mini { width: min(150px, 36vw); }
  .xyz3d-camera-mini-viewer,
  .xyz3d-route-viewer.is-camera-mini { min-height: 122px; }
  .xyz3d-camera-guidance > span {
    top: -332px;
    width: min(78vw, 400px);
  }
  .xyz3d-camera-guidance > span + small {
    top: -316px;
    width: min(78vw, 400px);
  }
  .xyz3d-camera-guidance .xyz3d-camera-pitch {
    height: min(47vh, 338px);
    right: calc(50% - min(38vw, 230px) + 10px);
    top: -292px;
  }
  .xyz3d-camera-guidance .xyz3d-camera-pitch + small {
    right: calc(50% - min(38vw, 230px) + 22px);
  }
}

/* 0.17.6 photogrammetry workspace and guided capture */
.xyz3d-photo-service-shell .xyz3d-photo-upload {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: 1fr !important;
  max-width: none !important;
  width: 100% !important;
}

.xyz3d-photo-service-shell .xyz3d-photo-guide {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto;
  min-height: clamp(460px, 56vh, 690px) !important;
  overflow: hidden;
}

.xyz3d-photo-service-shell .xyz3d-photo-route-head {
  align-items: center;
  background: rgba(4, 17, 29, 0.88);
  border-bottom: 1px solid rgba(84, 214, 255, 0.14);
  display: flex;
  inset: auto !important;
  justify-content: space-between;
  padding: 14px 18px;
  position: relative !important;
  z-index: 10;
}

.xyz3d-photo-route-head > div {
  display: grid;
  gap: 4px;
}

.xyz3d-photo-route-head small {
  color: rgba(214, 241, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.xyz3d-photo-service-shell .xyz3d-photo-route-viewer {
  background: transparent !important;
  inset: auto !important;
  min-height: 300px;
  overflow: hidden;
  position: relative !important;
}

.xyz3d-photo-service-shell .xyz3d-photo-route-viewer::after {
  background: radial-gradient(circle at center, transparent 40%, rgba(4, 14, 25, 0.12) 100%);
}

.xyz3d-photo-service-shell .xyz3d-photo-guide-copy {
  background: rgba(4, 17, 29, 0.9);
  border-top: 1px solid rgba(84, 214, 255, 0.14);
  bottom: auto !important;
  gap: 5px;
  inset: auto !important;
  padding: 13px 18px 15px;
  position: relative !important;
  z-index: 10;
}

.xyz3d-photo-service-shell .xyz3d-photo-dropzone {
  min-height: 150px !important;
  padding: 20px 24px !important;
}

.xyz3d-photo-service-shell .xyz3d-photo-dropzone small {
  margin-top: 8px;
}

.xyz3d-photo-route-overlay {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 8;
}

.xyz3d-route-pin {
  align-items: center;
  background: rgba(4, 17, 29, 0.42);
  border: 1px solid rgba(220, 245, 255, 0.42);
  border-radius: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 14px;
  min-width: 10px;
  overflow: hidden;
  position: absolute;
  transform-origin: center;
}

.xyz3d-route-pin b {
  font-size: clamp(7px, 0.8vw, 10px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.xyz3d-route-pin.is-active {
  border-color: #fff49a;
  box-shadow: 0 0 0 2px rgba(255, 244, 154, 0.26), 0 0 18px rgba(255, 230, 92, 0.52);
  z-index: 4;
}

.xyz3d-route-pin.is-complete {
  background: #07131f;
  border-color: rgba(111, 238, 172, 0.72);
}

.xyz3d-route-pin img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.xyz3d-scale-reference {
  background: rgba(4, 18, 31, 0.48);
  border: 1px solid rgba(84, 214, 255, 0.16);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
}

.xyz3d-scale-reference-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.xyz3d-scale-reference-head span {
  color: var(--xyz-cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.xyz3d-scale-marker-check {
  align-items: center;
  display: flex;
  gap: 8px;
}

.xyz3d-calibration-open {
  background: rgba(84, 214, 255, 0.1);
  border: 1px solid rgba(84, 214, 255, 0.32);
  border-radius: 9px;
  color: #89e2ff;
  cursor: pointer;
  font-weight: 750;
  min-height: 40px;
  padding: 9px 12px;
}

html.xyz3d-calibration-open,
html.xyz3d-calibration-open body {
  overflow: hidden !important;
}

.xyz3d-calibration-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2147483500;
}

.xyz3d-calibration-dialog {
  background: #071523;
  border: 1px solid rgba(84, 214, 255, 0.28);
  border-radius: 16px;
  color: #eef8ff;
  max-height: calc(100dvh - 40px);
  max-width: 620px;
  overflow: auto;
  padding: 22px;
  position: relative;
  width: 100%;
}

.xyz3d-calibration-dialog h3 {
  margin: 0 44px 8px 0;
}

.xyz3d-calibration-dialog p {
  color: #a9bfd1;
  line-height: 1.5;
}

.xyz3d-calibration-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  height: 40px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
}

.xyz3d-calibration-preview {
  background: #e6e6e6;
  border-radius: 12px;
  display: grid;
  margin: 16px 0;
  min-height: 300px;
  place-items: center;
  padding: 18px;
}

.xyz3d-calibration-preview img {
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  display: block;
  height: min(68vw, 360px);
  max-height: 360px;
  max-width: 360px;
  width: min(68vw, 360px);
}

.xyz3d-calibration-dialog label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.xyz3d-calibration-dialog select {
  background: #020a12;
  border: 1px solid rgba(84, 214, 255, 0.22);
  border-radius: 9px;
  color: #fff;
  min-height: 42px;
  padding: 8px 10px;
}

.xyz3d-camera-route-toggle {
  background: rgba(2, 10, 18, 0.72);
  border: 1px solid rgba(84, 214, 255, 0.35);
  border-radius: 999px;
  color: #aeefff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  left: 18px;
  min-height: 38px;
  padding: 8px 13px;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 64px);
  z-index: 34;
}

.xyz3d-camera-route-panel {
  background: rgba(1, 8, 14, 0.48);
  inset: 0;
  position: absolute;
  z-index: 40;
}

.xyz3d-camera-route-toolbar {
  align-items: center;
  background: rgba(1, 10, 18, 0.82);
  border-bottom: 1px solid rgba(84, 214, 255, 0.2);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: calc(env(safe-area-inset-top) + 12px) 18px 12px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.xyz3d-camera-route-toolbar strong {
  color: #eaf8ff;
}

.xyz3d-camera-route-toolbar button {
  background: rgba(84, 214, 255, 0.12);
  border: 1px solid rgba(84, 214, 255, 0.34);
  border-radius: 999px;
  color: #aeefff;
  cursor: pointer;
  min-height: 38px;
  padding: 8px 13px;
}

.xyz3d-camera-route-viewer,
.xyz3d-camera-route-viewer .xyz3d-photo-route-viewer,
.xyz3d-camera-route-viewer canvas {
  background: transparent !important;
  height: 100% !important;
  min-height: 100% !important;
  width: 100% !important;
}

.xyz3d-camera-capture.is-route-open .xyz3d-camera-target,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-guidance,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-controls,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-topbar,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-route-toggle {
  visibility: hidden;
}

.xyz3d-camera-target {
  bottom: calc(max(218px, env(safe-area-inset-bottom) + 205px)) !important;
  height: auto !important;
  left: 50%;
  max-height: none !important;
  top: calc(env(safe-area-inset-top) + 126px) !important;
  transform: translateX(-50%);
  width: min(78vw, 540px) !important;
}

.xyz3d-level-horizontal {
  left: 2mm;
  position: absolute;
  right: 2mm;
  top: 2mm;
}

.xyz3d-level-horizontal > span {
  --level-offset: 0%;
  background: rgba(255, 80, 80, 0.34);
  border: 1px solid rgba(255, 99, 99, 0.9);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 65, 65, 0.32);
  display: block;
  height: 9px;
  overflow: hidden;
  position: relative;
  transition: background 120ms linear, border-color 120ms linear, box-shadow 120ms linear;
  width: 100%;
}

.xyz3d-level-horizontal > span::after {
  background: rgba(255, 255, 255, 0.45);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  width: 1px;
}

.xyz3d-level-horizontal > span i {
  background: #ff5d5d;
  border: 1px solid #fff;
  border-radius: 50%;
  height: 11px;
  left: calc(50% + var(--level-offset));
  position: absolute;
  top: -2px;
  transform: translateX(-50%);
  transition: left 80ms linear, background 120ms linear;
  width: 11px;
  z-index: 2;
}

.xyz3d-level-horizontal small {
  color: #ff8e8e;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.xyz3d-level-vertical {
  bottom: 2mm;
  position: absolute;
  right: 2mm;
  top: 2mm;
  width: 34px;
}

.xyz3d-level-vertical > span {
  --pitch-offset: 0%;
  background: rgba(255, 80, 80, 0.34);
  border: 1px solid rgba(255, 99, 99, 0.9);
  border-radius: 999px;
  bottom: 0;
  box-shadow: 0 0 10px rgba(255, 65, 65, 0.32);
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  transition: background 120ms linear, border-color 120ms linear, box-shadow 120ms linear;
  width: 9px;
}

.xyz3d-level-vertical > span::after {
  background: rgba(255, 255, 255, 0.45);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
}

.xyz3d-level-vertical > span i {
  background: #ff5d5d;
  border: 1px solid #fff;
  border-radius: 50%;
  height: 11px;
  left: -2px;
  position: absolute;
  top: calc(50% + var(--pitch-offset));
  transform: translateY(-50%);
  transition: top 80ms linear, background 120ms linear;
  width: 11px;
  z-index: 2;
}

.xyz3d-level-vertical small {
  color: #ff8e8e;
  font-size: 11px;
  font-weight: 700;
  left: 50%;
  position: absolute;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
}

.xyz3d-level-horizontal > span.is-good,
.xyz3d-level-vertical > span.is-good {
  background: rgba(33, 220, 117, 0.42);
  border-color: #52f1a3;
  box-shadow: 0 0 14px rgba(55, 235, 142, 0.55);
}

.xyz3d-level-horizontal > span.is-good i,
.xyz3d-level-vertical > span.is-good i {
  background: #49ee9b;
}

.xyz3d-level-horizontal small.is-good,
.xyz3d-level-vertical small.is-good {
  color: #70ffb5;
}

.xyz3d-level-horizontal > span.is-bad,
.xyz3d-level-vertical > span.is-bad {
  background: rgba(255, 72, 72, 0.36);
  border-color: #ff6868;
}

.xyz3d-level-horizontal small.is-bad,
.xyz3d-level-vertical small.is-bad {
  color: #ff9b9b;
}

.xyz3d-camera-guidance {
  bottom: calc(max(114px, env(safe-area-inset-bottom) + 101px)) !important;
  left: 18px !important;
  pointer-events: none;
  position: absolute;
  right: 18px !important;
  text-align: center;
  z-index: 12;
}

.xyz3d-camera-guidance strong {
  background: rgba(0, 0, 0, 0.58);
  border-radius: 10px;
  display: inline-block;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 !important;
  max-width: min(88vw, 600px);
  padding: 8px 12px;
}

.xyz3d-camera-vignette {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.14);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0 43%, rgba(0,0,0,.25) 60%, #000 84%);
  mask-image: radial-gradient(ellipse at center, transparent 0 43%, rgba(0,0,0,.25) 60%, #000 84%);
}

@media (max-width: 720px) {
  .xyz3d-photo-service-shell .xyz3d-photo-guide {
    min-height: 500px !important;
  }

  .xyz3d-photo-service-shell .xyz3d-photo-route-viewer {
    min-height: 330px;
  }

  .xyz3d-camera-target {
    bottom: calc(max(222px, env(safe-area-inset-bottom) + 210px)) !important;
    top: calc(env(safe-area-inset-top) + 118px) !important;
    width: 82vw !important;
  }

  .xyz3d-camera-route-toggle {
    font-size: 11px;
    top: calc(env(safe-area-inset-top) + 70px);
  }

  .xyz3d-level-horizontal small,
  .xyz3d-level-vertical small {
    font-size: 10px;
  }
}

.xyz3d-calibration-modal[hidden],
.xyz3d-camera-route-panel[hidden] {
  display: none !important;
}

/* 0.17.7 guided-camera workflow */
.xyz3d-photo-service-shell .xyz3d-photo-upload {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
}

.xyz3d-photo-service-shell .xyz3d-photo-guide {
  min-height: 690px !important;
  width: 100% !important;
}

.xyz3d-panel-photo-files {
  display: grid;
  gap: 12px;
}

.xyz3d-photo-dropzone-panel {
  border-radius: 12px !important;
  min-height: 150px !important;
  padding: 18px 14px !important;
}

.xyz3d-photo-dropzone-panel .xyz3d-upload-icon {
  height: 40px;
  width: 40px;
}

.xyz3d-photo-dropzone-panel strong {
  font-size: 14px !important;
}

.xyz3d-photo-dropzone-panel > span:not(.xyz3d-upload-icon) {
  font-size: 11px !important;
}

.xyz3d-photo-dropzone-panel small {
  font-size: 9px !important;
  margin-top: 8px !important;
}

.xyz3d-photo-selection-panel {
  border-radius: 12px !important;
  grid-column: auto !important;
  padding: 12px !important;
}

.xyz3d-photo-selection-panel .xyz3d-photo-previews {
  grid-template-columns: repeat(4, minmax(42px, 1fr));
}

.xyz3d-route-number {
  align-items: center;
  background: rgba(2, 12, 22, 0.86);
  border: 1px solid rgba(220, 245, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  display: flex;
  height: 20px;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  z-index: 9;
}

.xyz3d-route-number b {
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.xyz3d-route-number.is-active {
  background: #fff1a2;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 241, 162, 0.22), 0 0 18px rgba(255, 225, 93, 0.62);
  color: #101820;
}

.xyz3d-camera-menu-toggle {
  align-items: center;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 46px;
  justify-content: center;
  left: 16px;
  padding: 0;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 14px);
  width: 46px;
  z-index: 64;
}

.xyz3d-camera-menu-toggle span {
  background: #fff;
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 21px;
}

.xyz3d-camera-settings[hidden] {
  display: none !important;
}

.xyz3d-camera-settings {
  background: rgba(3, 13, 23, 0.94);
  border: 1px solid rgba(84, 214, 255, 0.32);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  color: #eaf8ff;
  display: grid;
  gap: 12px;
  left: 16px;
  max-height: calc(100dvh - 92px);
  overflow: auto;
  padding: 16px;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 68px);
  width: min(340px, calc(100vw - 32px));
  z-index: 63;
}

.xyz3d-camera-settings > strong {
  color: #fff;
  font-size: 15px;
}

.xyz3d-camera-settings label {
  align-items: flex-start;
  color: #c8dce9;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.4;
}

.xyz3d-camera-settings input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 2px;
}

.xyz3d-camera-delay {
  align-items: center !important;
  display: grid !important;
  grid-template-columns: 1fr 72px auto;
}

.xyz3d-camera-delay input {
  background: #020a12;
  border: 1px solid rgba(84, 214, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  min-height: 36px;
  padding: 6px 8px;
  width: 100%;
}

.xyz3d-camera-delay small,
.xyz3d-auto-status {
  color: #8fb1c5;
  font-size: 10px;
}

.xyz3d-auto-status {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.xyz3d-camera-route-toggle {
  align-items: center !important;
  border-radius: 12px !important;
  display: flex !important;
  font-size: 13px !important;
  height: 42px !important;
  justify-content: center !important;
  left: auto !important;
  min-height: 42px !important;
  padding: 0 !important;
  right: 18px !important;
  top: calc(env(safe-area-inset-top) + 70px) !important;
  width: 48px !important;
  z-index: 64 !important;
}

.xyz3d-camera-route-toggle[aria-pressed="true"] {
  background: rgba(84, 214, 255, 0.28);
  border-color: #83e4ff;
  color: #fff;
}

.xyz3d-camera-close {
  z-index: 65 !important;
}

.xyz3d-camera-route-panel {
  background: transparent !important;
  z-index: 40 !important;
}

.xyz3d-camera-route-toolbar {
  display: none !important;
}

.xyz3d-camera-capture.is-route-open .xyz3d-camera-route-toggle,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-close,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-menu-toggle,
.xyz3d-camera-capture.is-route-open .xyz3d-camera-settings {
  visibility: visible !important;
}

.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-target,
.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-guidance,
.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-controls,
.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-topbar {
  visibility: visible !important;
  z-index: 54 !important;
}

.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-target,
.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-guidance,
.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-controls,
.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-topbar {
  visibility: hidden !important;
}

.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-controls {
  z-index: 58 !important;
}

.xyz3d-level-horizontal,
.xyz3d-level-vertical {
  border-radius: 12px;
  transition: background 120ms linear, box-shadow 120ms linear;
}

.xyz3d-level-horizontal.is-good,
.xyz3d-level-vertical.is-good {
  background: rgba(38, 232, 133, 0.08);
  box-shadow: 0 0 18px rgba(60, 243, 153, 0.36);
}

.xyz3d-level-horizontal.is-bad,
.xyz3d-level-vertical.is-bad {
  background: rgba(255, 72, 72, 0.045);
  box-shadow: 0 0 14px rgba(255, 72, 72, 0.2);
}

.xyz3d-camera-capture.is-level-ready .xyz3d-camera-target {
  border-color: rgba(88, 255, 171, 0.9);
  box-shadow: 0 0 0 1px rgba(88, 255, 171, 0.18), inset 0 0 32px rgba(45, 230, 139, 0.06);
}

.xyz3d-camera-capture.is-auto-ready .xyz3d-camera-shutter {
  box-shadow: 0 0 0 5px rgba(67, 238, 151, 0.22), 0 0 28px rgba(67, 238, 151, 0.5);
}

@media (max-width: 720px) {
  .xyz3d-photo-service-shell .xyz3d-photo-guide {
    min-height: 520px !important;
  }

  .xyz3d-photo-selection-panel .xyz3d-photo-previews {
    grid-template-columns: repeat(3, minmax(42px, 1fr));
  }

  .xyz3d-camera-menu-toggle {
    height: 42px;
    width: 42px;
  }

  .xyz3d-camera-route-toggle {
    right: 16px !important;
    top: calc(env(safe-area-inset-top) + 66px) !important;
  }
}

.xyz3d-camera-topbar {
  left: 76px !important;
  right: 82px !important;
}

@media (max-width: 520px) {
  .xyz3d-camera-topbar {
    left: 68px !important;
    right: 76px !important;
  }
}


/* 0.17.8 layout and guided camera corrections */
.xyz3d-panel-photo-files {
  box-sizing: border-box;
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
  position: relative;
}

.xyz3d-panel-photo-files .xyz3d-section-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
}

.xyz3d-panel-photo-files .xyz3d-section-heading strong,
.xyz3d-panel-photo-files .xyz3d-section-heading span {
  line-height: 1.3;
}

.xyz3d-panel-section.xyz3d-photo-quality-note {
  clear: both;
  display: block;
  margin: 18px 0 20px !important;
  padding: 13px 14px !important;
  position: relative;
  z-index: 1;
}

.xyz3d-photo-dropzone-panel {
  margin-bottom: 0 !important;
}

.xyz3d-route-button-settings {
  border: 1px solid rgba(126, 215, 255, 0.16);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 0;
  padding: 11px 10px 10px;
}

.xyz3d-route-button-settings legend {
  color: #9fe6ff;
  font-size: 11px;
  font-weight: 800;
  padding: 0 5px;
}

.xyz3d-route-button-settings label {
  align-items: center !important;
  font-size: 11px !important;
  gap: 7px !important;
}

.xyz3d-camera-menu-toggle[hidden],
.xyz3d-camera-close[hidden],
.xyz3d-camera-route-toggle[hidden],
.xyz3d-camera-skip[hidden],
.xyz3d-camera-shutter[hidden],
.xyz3d-camera-finish[hidden] {
  display: none !important;
}

/* The capture frame remains centered for every ring. */
.xyz3d-camera-target,
.xyz3d-camera-target.upper,
.xyz3d-camera-target.lower {
  border-radius: 26px !important;
  bottom: auto !important;
  height: min(58dvh, 640px) !important;
  left: 50% !important;
  max-height: calc(100dvh - 300px) !important;
  top: 50dvh !important;
  transform: translate(-50%, -50%) !important;
  width: min(82vw, 540px) !important;
  z-index: 54 !important;
}

.xyz3d-camera-target .corner {
  border-radius: 3px;
}

/* Horizontal level: full width, two millimetres below the frame edge. */
.xyz3d-level-horizontal {
  left: 2mm !important;
  right: 2mm !important;
  top: 2mm !important;
  z-index: 24 !important;
}

.xyz3d-level-horizontal > span {
  display: block !important;
  height: 10px !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
}

.xyz3d-level-horizontal small {
  display: block !important;
  font-size: 10px !important;
  margin-top: 4px !important;
  text-align: center !important;
  visibility: visible !important;
}

/* Vertical level: full height, two millimetres inside the right edge. */
.xyz3d-level-vertical {
  bottom: 2mm !important;
  right: 2mm !important;
  top: 2mm !important;
  width: 34px !important;
  z-index: 24 !important;
}

.xyz3d-level-vertical > span {
  bottom: 0 !important;
  display: block !important;
  top: 0 !important;
  visibility: visible !important;
}

/* Compact position card at the top. */
.xyz3d-camera-topbar {
  background: rgba(2, 10, 18, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  left: 76px !important;
  padding: 8px 12px !important;
  right: 82px !important;
  top: calc(env(safe-area-inset-top) + 14px) !important;
  width: auto !important;
  z-index: 60 !important;
}

.xyz3d-camera-topbar span {
  font-size: 9px !important;
  letter-spacing: 0.07em !important;
  line-height: 1.2 !important;
}

.xyz3d-camera-topbar strong {
  font-size: clamp(13px, 3.3vw, 17px) !important;
  line-height: 1.25 !important;
  margin-top: 2px !important;
}

.xyz3d-camera-guidance {
  bottom: calc(max(112px, env(safe-area-inset-bottom) + 98px)) !important;
  z-index: 56 !important;
}

.xyz3d-camera-guidance strong {
  border-radius: 12px !important;
  font-size: 12px !important;
  max-width: min(88vw, 560px) !important;
  padding: 7px 11px !important;
}

@media (max-width: 720px) {
  .xyz3d-route-button-settings {
    grid-template-columns: 1fr 1fr;
  }

  .xyz3d-camera-target,
  .xyz3d-camera-target.upper,
  .xyz3d-camera-target.lower {
    height: min(55dvh, 610px) !important;
    max-height: calc(100dvh - 292px) !important;
    top: 50dvh !important;
    width: 82vw !important;
  }

  .xyz3d-camera-topbar {
    left: 68px !important;
    right: 76px !important;
  }
}

@media (max-height: 760px) {
  .xyz3d-camera-target,
  .xyz3d-camera-target.upper,
  .xyz3d-camera-target.lower {
    height: min(50dvh, 430px) !important;
    max-height: calc(100dvh - 250px) !important;
  }
}

/* 0.17.8: 3D mode guide visibility is independent from individual buttons. */
.xyz3d-camera-capture.is-route-open .xyz3d-camera-controls {
  visibility: visible !important;
  z-index: 58 !important;
}

.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-target,
.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-guidance,
.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-topbar {
  visibility: hidden !important;
}

.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-target,
.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-guidance,
.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-topbar {
  visibility: visible !important;
}


/* 0.17.9 photo list header and route-frame correction */
.xyz3d-photo-selection-panel {
  align-items: start;
  display: grid !important;
  gap: 10px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.xyz3d-photo-selection-panel > div:first-child {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  grid-column: 1;
  min-width: 0;
}

.xyz3d-photo-selection-panel > div:first-child strong,
.xyz3d-photo-selection-panel > div:first-child span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.xyz3d-photo-selection-panel .xyz3d-photo-clear {
  align-self: start;
  float: none !important;
  grid-column: 2;
  margin: 0 !important;
  max-width: 150px;
  white-space: normal;
}

.xyz3d-photo-selection-panel .xyz3d-photo-previews {
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 520px) {
  .xyz3d-photo-selection-panel {
    grid-template-columns: 1fr;
  }
  .xyz3d-photo-selection-panel .xyz3d-photo-clear {
    grid-column: 1;
    justify-self: start;
  }
}

/* 0.18.0 captured-photo review, deletion and on-device quality check */
html.xyz3d-photo-review-open,
html.xyz3d-photo-review-open body {
  overflow: hidden !important;
}

.xyz3d-photo-review-modal[hidden] {
  display: none !important;
}

.xyz3d-photo-review-modal {
  align-items: center;
  background: rgba(0, 4, 9, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  position: fixed;
  z-index: 2147483600;
}

.xyz3d-photo-review-dialog {
  background: #06131f;
  border: 1px solid rgba(84, 214, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
  color: #eef9ff;
  display: grid;
  grid-template-rows: auto minmax(200px, 1fr) auto auto;
  max-height: calc(100dvh - 24px);
  max-width: 980px;
  overflow: hidden;
  width: 100%;
}

.xyz3d-photo-review-dialog > header {
  align-items: center;
  border-bottom: 1px solid rgba(84, 214, 255, 0.15);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 15px 13px 18px;
}

.xyz3d-photo-review-dialog > header > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.xyz3d-photo-review-dialog > header span {
  color: #71dcff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xyz3d-photo-review-dialog > header strong {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyz3d-photo-review-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 24px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.xyz3d-photo-review-stage {
  align-items: center;
  background: #01070c;
  display: flex;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.xyz3d-photo-review-stage img {
  display: block;
  height: 100%;
  max-height: min(62dvh, 700px);
  object-fit: contain;
  width: 100%;
}

.xyz3d-photo-review-status {
  background: rgba(5, 20, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  left: 12px;
  padding: 7px 11px;
  position: absolute;
}

.xyz3d-photo-review-status.is-good { border-color: rgba(84, 233, 154, 0.7); color: #7ff0b0; }
.xyz3d-photo-review-status.is-warning { border-color: rgba(255, 182, 92, 0.75); color: #ffc477; }
.xyz3d-photo-review-status.is-unchecked,
.xyz3d-photo-review-status.is-checking { color: #afe9ff; }

.xyz3d-photo-review-details {
  display: grid;
  gap: 12px;
  max-height: 240px;
  overflow: auto;
  padding: 14px 18px;
}

.xyz3d-photo-review-details > div:first-child {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.xyz3d-photo-review-details > div:first-child span,
.xyz3d-photo-review-quality > div span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #bfd0dd;
  display: grid;
  font-size: 11px;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 9px 10px;
}

.xyz3d-photo-review-details span strong,
.xyz3d-photo-review-quality span strong {
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.xyz3d-photo-review-quality {
  display: grid;
  gap: 9px;
}

.xyz3d-photo-review-quality > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xyz3d-photo-review-quality > div span.is-good { border-color: rgba(84, 233, 154, 0.34); color: #87efb5; }
.xyz3d-photo-review-quality > div span.is-warning { border-color: rgba(255, 182, 92, 0.45); color: #ffc783; }
.xyz3d-photo-review-quality p { color: #afc3d2; font-size: 12px; line-height: 1.45; margin: 0; }
.xyz3d-photo-review-quality p.is-good-message { color: #83e9ad; }
.xyz3d-photo-review-quality ul { color: #ffd094; display: grid; font-size: 12px; gap: 4px; margin: 0; padding-left: 18px; }

.xyz3d-photo-review-dialog > footer {
  align-items: center;
  border-top: 1px solid rgba(84, 214, 255, 0.15);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto auto 1fr;
  padding: 12px 14px;
}

.xyz3d-photo-review-dialog > footer button {
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 13px;
}

.xyz3d-photo-review-nav {
  background: rgba(84, 214, 255, 0.08);
  border: 1px solid rgba(84, 214, 255, 0.24);
  color: #9ae6ff;
}

.xyz3d-photo-review-nav:last-child { justify-self: end; }
.xyz3d-photo-review-nav:disabled { cursor: default; opacity: 0.35; }

.xyz3d-photo-review-retake {
  background: rgba(84, 214, 255, 0.16);
  border: 1px solid rgba(84, 214, 255, 0.45);
  color: #d6f7ff;
}

.xyz3d-photo-review-delete {
  background: rgba(255, 92, 107, 0.08);
  border: 1px solid rgba(255, 92, 107, 0.42);
  color: #ffabb3;
}

.xyz3d-photo-review-delete.is-armed {
  background: #a91f31;
  border-color: #ff8491;
  color: #fff;
}

.xyz3d-photo-route-metrics {
  align-items: flex-end;
  display: grid;
  gap: 3px;
  text-align: right;
}

.xyz3d-photo-route-metrics small {
  color: #7decae;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.xyz3d-photo-route-metrics small.has-warning { color: #ffc273; }

.xyz3d-route-pin,
.xyz3d-route-number {
  appearance: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.xyz3d-route-pin > i {
  align-items: center;
  background: rgba(7, 19, 31, 0.92);
  border-radius: 999px;
  bottom: 2px;
  color: #69efaa;
  display: flex;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  height: 12px;
  justify-content: center;
  position: absolute;
  right: 2px;
  transform: rotate(var(--xyz-route-counter-rotation, 0deg));
  width: 12px;
}

.xyz3d-route-pin.has-warning {
  border-color: #ffb45d !important;
  box-shadow: 0 0 0 1px rgba(255, 180, 93, 0.2), 0 0 14px rgba(255, 147, 46, 0.38);
}

.xyz3d-route-pin.has-warning > i { color: #ffc06d; }

.xyz3d-photo-previews .xyz3d-photo-preview-button {
  appearance: none;
  aspect-ratio: 1;
  background: #07131f;
  border: 1px solid var(--xyz-border);
  border-radius: 8px;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.xyz3d-photo-previews .xyz3d-photo-preview-button:hover,
.xyz3d-photo-previews .xyz3d-photo-preview-button:focus-visible {
  border-color: rgba(84, 214, 255, 0.72);
  outline: none;
}

.xyz3d-photo-preview-button img { display: block; height: 100%; object-fit: cover; width: 100%; }
.xyz3d-photo-preview-button span {
  background: rgba(1, 9, 17, 0.82);
  bottom: 3px;
  color: #e5f7ff;
  font-size: 8px;
  left: 3px;
  max-width: calc(100% - 6px);
  overflow: hidden;
  padding: 3px 4px;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xyz3d-photo-preview-button > i {
  align-items: center;
  background: #b95a17;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  height: 17px;
  justify-content: center;
  position: absolute;
  right: 3px;
  top: 3px;
  width: 17px;
}
.xyz3d-photo-preview-button.has-warning { border-color: rgba(255, 178, 89, 0.72); }

@media (max-width: 720px) {
  .xyz3d-photo-review-modal { padding: 0; }
  .xyz3d-photo-review-dialog { border-radius: 0; height: 100dvh; max-height: 100dvh; }
  .xyz3d-photo-review-details > div:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xyz3d-photo-review-dialog > footer { grid-template-columns: 1fr 1fr; }
  .xyz3d-photo-review-nav:last-child { justify-self: stretch; }
  .xyz3d-photo-review-dialog > footer button { width: 100%; }
}

@media (max-height: 700px) {
  .xyz3d-photo-review-stage { min-height: 180px; }
  .xyz3d-photo-review-stage img { max-height: 48dvh; }
  .xyz3d-photo-review-details { max-height: 170px; }
}

/* 0.18.1 visual-viewport centring and panorama-style orbit tracking */
.xyz3d-camera-target,
.xyz3d-camera-target.upper,
.xyz3d-camera-target.lower {
  bottom: auto !important;
  height: var(--xyz3d-camera-frame-height, min(54%, 640px)) !important;
  max-height: calc(var(--xyz3d-camera-visible-height, 100dvh) - 300px) !important;
  top: var(--xyz3d-camera-center-y, 50%) !important;
  transform: translate(-50%, -50%) !important;
}

.xyz3d-camera-orbit {
  background: rgba(2, 10, 18, 0.76);
  border: 1px solid rgba(117, 218, 255, 0.24);
  border-radius: 13px;
  box-sizing: border-box;
  color: #fff;
  left: 50%;
  max-width: min(78vw, 430px);
  padding: 8px 10px 9px;
  pointer-events: none;
  position: absolute;
  top: calc(env(safe-area-inset-top) + 94px);
  transform: translateX(-50%);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  width: min(78vw, 430px);
  z-index: 59;
}

.xyz3d-camera-orbit > div:first-child {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
}

.xyz3d-camera-orbit > div:first-child span {
  color: #8fdff9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.xyz3d-camera-orbit > div:first-child strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyz3d-camera-orbit-track {
  --orbit-progress: 0%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
  position: relative;
}

.xyz3d-camera-orbit-track > i {
  background: linear-gradient(90deg, #4ecfff, #6bffa7);
  border-radius: inherit;
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
  transition: width 100ms linear, background 150ms ease;
  width: var(--orbit-progress);
}

.xyz3d-camera-orbit-track > b {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 7px rgba(255,255,255,.65);
  height: 12px;
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
}

.xyz3d-camera-orbit > small {
  color: rgba(220, 241, 250, .78);
  display: block;
  font-size: 8px;
  line-height: 1.3;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyz3d-camera-orbit.is-good {
  background: rgba(5, 39, 27, .78);
  border-color: rgba(83, 245, 157, .75);
  box-shadow: 0 0 18px rgba(53, 225, 137, .22);
}

.xyz3d-camera-orbit.is-good > div:first-child span,
.xyz3d-camera-orbit.is-good > small { color: #91f5bd; }

.xyz3d-camera-orbit.is-wrong {
  background: rgba(49, 12, 15, .8);
  border-color: rgba(255, 99, 106, .72);
}

.xyz3d-camera-orbit.is-wrong .xyz3d-camera-orbit-track > i {
  background: linear-gradient(90deg, #ff6969, #ffb45e);
}

.xyz3d-camera-orbit.is-disabled { opacity: .68; }

.xyz3d-camera-capture.is-capture-ready .xyz3d-camera-target {
  border-color: rgba(86, 255, 172, .96) !important;
  box-shadow: 0 0 0 1px rgba(86,255,172,.2), inset 0 0 34px rgba(50,230,140,.08), 0 0 22px rgba(50,230,140,.16);
}

.xyz3d-camera-capture.is-route-open:not(.route-show-overlay) .xyz3d-camera-orbit {
  visibility: hidden !important;
}

.xyz3d-camera-capture.is-route-open.route-show-overlay .xyz3d-camera-orbit {
  visibility: visible !important;
  z-index: 57 !important;
}

.xyz3d-camera-settings select {
  background: rgba(2, 10, 18, .86);
  border: 1px solid rgba(118,211,255,.22);
  border-radius: 8px;
  color: #fff;
  min-height: 34px;
  padding: 6px 8px;
}

@media (max-width: 720px) {
  .xyz3d-camera-orbit {
    max-width: calc(100vw - 132px);
    top: calc(env(safe-area-inset-top) + 92px);
    width: calc(100vw - 132px);
  }

  .xyz3d-camera-orbit > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .xyz3d-camera-orbit > div:first-child strong {
    font-size: 10px;
    text-align: left;
    width: 100%;
  }
}

@media (max-height: 760px) {
  .xyz3d-camera-orbit {
    padding-bottom: 7px;
    padding-top: 7px;
    top: calc(env(safe-area-inset-top) + 82px);
  }
  .xyz3d-camera-orbit > small { display: none; }
}

/* 0.18.3 local capture project, reconstruction and true 3D photo planes */
.xyz3d-photo-local-status {
  color: #8fb6ca !important;
  font-size: 8px !important;
  font-weight: 650 !important;
}

.xyz3d-photo-local-status.is-saving { color: #ffd37a !important; }
.xyz3d-photo-local-status.is-saved { color: #78efad !important; }
.xyz3d-photo-local-status.is-error { color: #ff8e9a !important; }

.xyz3d-route-number.is-complete {
  background: rgba(11, 65, 48, 0.94);
  border-color: rgba(103, 244, 172, 0.95);
  box-shadow: 0 0 0 2px rgba(84, 233, 154, 0.18), 0 0 12px rgba(84, 233, 154, 0.38);
  color: #baffd7;
  pointer-events: auto;
}

.xyz3d-route-number.is-complete.has-warning {
  background: rgba(83, 48, 12, 0.96);
  border-color: #ffc06d;
  box-shadow: 0 0 0 2px rgba(255, 180, 93, 0.18), 0 0 13px rgba(255, 147, 46, 0.42);
  color: #ffe0ad;
}

.xyz3d-photo-route-overlay .xyz3d-route-pin.is-perspective {
  backface-visibility: hidden;
  border-radius: 3px;
  min-height: 0;
  min-width: 0;
  transform-origin: 0 0;
  will-change: transform;
  z-index: 7;
}

.xyz3d-photo-route-overlay .xyz3d-route-pin.is-perspective img {
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  width: 100%;
}

.xyz3d-photo-route-overlay .xyz3d-route-pin.is-perspective.is-active {
  border-width: 2px;
  z-index: 8;
}


/* 0.18.3 Local Project Manager and sparse reconstruction */
.xyz3d-local-project,
.xyz3d-reconstruction-panel {
  margin-top: 18px;
  border: 1px solid rgba(122, 160, 220, .24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 28, 43, .96), rgba(11, 17, 28, .96));
  padding: 18px;
  color: #eaf2ff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}
.xyz3d-local-project-head,
.xyz3d-reconstruction-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.xyz3d-local-project-head div,
.xyz3d-reconstruction-head div { display: grid; gap: 4px; }
.xyz3d-local-project-head span,
.xyz3d-reconstruction-head span { color: #75d7ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.xyz3d-local-project-head strong,
.xyz3d-reconstruction-head strong { font-size: 18px; }
.xyz3d-local-project-head small,
.xyz3d-reconstruction-head small { max-width: 420px; color: #9eabc1; text-align: right; line-height: 1.45; }
.xyz3d-local-project-metrics,
.xyz3d-reconstruction-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.xyz3d-reconstruction-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xyz3d-local-project-metrics div,
.xyz3d-reconstruction-metrics div {
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .07);
  display: grid;
  gap: 5px;
}
.xyz3d-local-project-metrics span,
.xyz3d-reconstruction-metrics span { color: #93a2ba; font-size: 11px; }
.xyz3d-local-project-metrics strong,
.xyz3d-reconstruction-metrics strong { overflow-wrap: anywhere; font-size: 16px; color: #fff; }
.xyz3d-local-project-settings,
.xyz3d-reconstruction-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.xyz3d-local-project-settings label,
.xyz3d-reconstruction-controls label { display: grid; gap: 7px; color: #cbd7e9; font-size: 12px; }
.xyz3d-local-project-settings input[type="number"] { width: 100%; border: 1px solid rgba(255,255,255,.14); background: #101827; color: #fff; border-radius: 10px; padding: 10px 12px; }
.xyz3d-local-project-settings small { color: #8492a8; }
.xyz3d-local-project-check { grid-template-columns: auto 1fr; align-content: center; align-items: center; }
.xyz3d-local-project-check input { width: 18px; height: 18px; }
.xyz3d-local-project-actions,
.xyz3d-reconstruction-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.xyz3d-local-project-actions button,
.xyz3d-reconstruction-actions button {
  border: 1px solid rgba(100, 205, 255, .28);
  background: rgba(54, 131, 178, .15);
  color: #dff5ff;
  border-radius: 10px;
  padding: 10px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.xyz3d-local-project-actions button:hover,
.xyz3d-reconstruction-actions button:hover { background: rgba(71, 167, 222, .24); }
.xyz3d-local-project-actions button:disabled,
.xyz3d-reconstruction-actions button:disabled { opacity: .42; cursor: not-allowed; }
.xyz3d-local-project-actions .is-danger { border-color: rgba(255, 110, 110, .35); background: rgba(155, 45, 55, .18); color: #ffd5d8; }
.xyz3d-reconstruction-status { margin-top: 13px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.045); color: #c3d0e2; line-height: 1.45; }
.xyz3d-reconstruction-status[data-state="complete"] { color: #7ff0b4; }
.xyz3d-reconstruction-status[data-state="error"] { color: #ff9b9b; }
.xyz3d-reconstruction-status[data-state="paused"] { color: #ffd27f; }
.xyz3d-reconstruction-progress { margin-top: 10px; }
.xyz3d-reconstruction-progress span { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.xyz3d-reconstruction-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #4ac8ff, #67e4a4); transition: width .2s ease; }
.xyz3d-reconstruction-warnings { margin: 12px 0 0; padding-left: 20px; color: #aebbd0; font-size: 12px; line-height: 1.5; }
.xyz3d-photo-route-overlay .xyz3d-route-pin.is-perspective { display: none !important; }
@media (max-width: 780px) {
  .xyz3d-local-project-head,
  .xyz3d-reconstruction-head { display: grid; }
  .xyz3d-local-project-head small,
  .xyz3d-reconstruction-head small { text-align: left; }
  .xyz3d-local-project-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xyz3d-reconstruction-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xyz3d-local-project-settings,
  .xyz3d-reconstruction-controls { grid-template-columns: 1fr; }
}

/* 0.18.5: the photo viewer keeps its own configured height, while the
   Photograph the object content area grows naturally for Local Project and
   Sparse Reconstruction controls. No nested scrollbar is used. */
.xyz3d-photo-service-shell .xyz3d-photo-workspace .xyz3d-stage {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.xyz3d-photo-service-shell .xyz3d-upload-view {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.xyz3d-photo-service-shell .xyz3d-photo-upload {
  overflow: visible !important;
}

@media (min-width: 1181px) {
  .xyz3d-photo-service-shell .xyz3d-photo-guide {
    height: var(--xyz-photo-viewer-height-desktop, 690px) !important;
    min-height: var(--xyz-photo-viewer-height-desktop, 690px) !important;
  }

  .xyz3d-photo-service-shell .xyz3d-photo-workspace {
    min-height: calc(var(--xyz-photo-viewer-height-desktop, 690px) + 80px);
  }
}

/* 0.18.8 capture modes, Dome Full Object Pass A/B workflow */
.xyz3d-capture-mode-panel {
  margin-bottom: 18px;
  border: 1px solid rgba(84, 214, 255, .2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 25, 40, .96), rgba(7, 17, 29, .96));
  padding: 17px;
  color: #eaf7ff;
}

.xyz3d-capture-mode-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.xyz3d-capture-mode-head > div {
  display: grid;
  gap: 4px;
}

.xyz3d-capture-mode-head span {
  color: #55d6ff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.xyz3d-capture-mode-head strong {
  font-size: 17px;
  line-height: 1.3;
}

.xyz3d-capture-mode-head small {
  max-width: 350px;
  color: #90a9bb;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.xyz3d-capture-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.xyz3d-capture-mode-grid button {
  min-width: 0;
  min-height: 94px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  color: #dcebf5;
  text-align: left;
  cursor: pointer;
}

.xyz3d-capture-mode-grid button strong {
  font-size: 14px;
  color: #fff;
}

.xyz3d-capture-mode-grid button span {
  min-height: 30px;
  color: #94a9b9;
  font-size: 11px;
  line-height: 1.35;
}

.xyz3d-capture-mode-grid button small {
  color: #6f8a9d;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

.xyz3d-capture-mode-grid button.is-active {
  border-color: rgba(84, 214, 255, .72);
  background: rgba(33, 145, 202, .16);
  box-shadow: inset 0 0 0 1px rgba(84,214,255,.12), 0 0 22px rgba(52,181,236,.09);
}

.xyz3d-capture-mode-grid button.is-active small {
  color: #75e6ff;
}

.xyz3d-capture-mode-grid button[aria-disabled="true"] {
  opacity: .62;
  cursor: not-allowed;
}

.xyz3d-around-route-options,
.xyz3d-dome-route-options {
  display: grid;
  grid-template-columns: minmax(230px, .75fr) minmax(280px, 1.25fr);
  gap: 12px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.xyz3d-around-route-options[hidden],
.xyz3d-dome-route-options[hidden] {
  display: none !important;
}

.xyz3d-around-route-options label,
.xyz3d-dome-route-options label,
.xyz3d-route-preset-summary {
  display: grid;
  gap: 6px;
}

.xyz3d-around-route-options label > span,
.xyz3d-dome-route-options label > span {
  color: #a8bdcb;
  font-size: 11px;
  font-weight: 750;
}

.xyz3d-around-route-options select,
.xyz3d-dome-route-options select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(84,214,255,.22);
  border-radius: 10px;
  background: #071522;
  color: #fff;
  padding: 9px 11px;
}

.xyz3d-route-preset-summary {
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}

.xyz3d-route-preset-summary strong {
  font-size: 13px;
}

.xyz3d-route-preset-summary span {
  color: #90a9bb;
  font-size: 11px;
  line-height: 1.4;
}

.xyz3d-route-preset-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 189, 91, .28);
  border-radius: 10px;
  background: rgba(145, 87, 14, .14);
  color: #ffdca1;
  font-size: 11px;
  line-height: 1.45;
}

.xyz3d-route-preset-warning[hidden] {
  display: none !important;
}

.xyz3d-camera-rings {
  position: absolute;
  inset: 0;
}

.xyz3d-camera-ring.is-dynamic {
  top: var(--route-ring-top, 45%);
  transform: translate(-50%, -50%) scale(var(--route-ring-scale, 1));
}

.xyz3d-camera-ring.is-dynamic::after {
  width: 300px;
}

.xyz3d-camera-ring.is-dynamic button {
  --photo-radius: var(--route-ring-radius, 150px);
}

@media (max-width: 900px) {
  .xyz3d-capture-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .xyz3d-around-route-options,
.xyz3d-dome-route-options {
    grid-template-columns: 1fr;
  }
  .xyz3d-route-preset-warning {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .xyz3d-capture-mode-head {
    display: grid;
  }
  .xyz3d-capture-mode-head small {
    text-align: left;
  }
  .xyz3d-capture-mode-grid {
    grid-template-columns: 1fr;
  }
  .xyz3d-capture-mode-grid button {
    min-height: 78px;
  }
}


/* 0.18.8 Dome Full Object two-pass workflow */
.xyz3d-dome-pass-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(104, 200, 255, 0.28);
  border-radius: 14px;
  background: rgba(6, 17, 31, 0.72);
}
.xyz3d-dome-pass-panel[hidden] { display: none !important; }
.xyz3d-dome-pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.xyz3d-dome-pass-head > div { display: grid; gap: 3px; }
.xyz3d-dome-pass-head span { font-size: 10px; letter-spacing: .13em; color: #78cfff; }
.xyz3d-dome-pass-head strong { font-size: 15px; color: #fff; }
.xyz3d-dome-pass-head small {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(84, 233, 154, .12);
  color: #8ff0bd;
  font-weight: 700;
}
.xyz3d-dome-pass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xyz3d-dome-pass-grid button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: #dce9f7;
  text-align: left;
}
.xyz3d-dome-pass-grid button strong { color: #fff; }
.xyz3d-dome-pass-grid button span { font-size: 12px; color: #9bb0c7; }
.xyz3d-dome-pass-grid button small { font-size: 11px; color: #75d8ff; }
.xyz3d-dome-pass-grid button.is-active { border-color: #57c8ff; box-shadow: 0 0 0 1px rgba(87,200,255,.25) inset; background: rgba(87,200,255,.10); }
.xyz3d-dome-pass-grid button.is-complete small { color: #70e7a8; }
.xyz3d-dome-pass-grid button:disabled { opacity: .45; cursor: not-allowed; }
.xyz3d-dome-flip-instruction {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(255, 202, 99, .38);
  border-radius: 12px;
  background: rgba(255, 190, 70, .08);
}
.xyz3d-dome-flip-instruction[hidden] { display: none !important; }
.xyz3d-dome-flip-instruction strong { color: #ffd27a; }
.xyz3d-dome-flip-instruction ol { margin: 0; padding-left: 20px; color: #d8e2ed; font-size: 12px; line-height: 1.55; }
.xyz3d-dome-flip-instruction button {
  justify-self: start;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: #66d69b;
  color: #07150e;
  font-weight: 800;
}
.xyz3d-dome-pass-note { margin: 0; color: #899fb5; font-size: 11px; line-height: 1.45; }
@media (max-width: 680px) {
  .xyz3d-dome-pass-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .xyz3d-dome-pass-grid { grid-template-columns: 1fr; }
}

/* 0.18.11 Dome Full Object manual 3D control-point alignment */
.xyz3d-manual-alignment {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(98, 212, 255, .28);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(15, 37, 55, .9), rgba(12, 23, 38, .96));
}
.xyz3d-manual-alignment[hidden] { display: none !important; }
.xyz3d-manual-alignment-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.xyz3d-manual-alignment-head div { display: grid; gap: 4px; }
.xyz3d-manual-alignment-head span {
  color: #72ddff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}
.xyz3d-manual-alignment-head strong { color: #f1f7ff; font-size: 15px; }
.xyz3d-manual-alignment-head small { color: #a8b8cc; text-align: right; line-height: 1.4; }
.xyz3d-manual-alignment > p {
  margin: 0 0 12px;
  color: #b8c5d8;
  font-size: 12px;
  line-height: 1.55;
}
.xyz3d-manual-alignment-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}
.xyz3d-manual-alignment-metrics div {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}
.xyz3d-manual-alignment-metrics span { color: #8fa1ba; font-size: 10px; }
.xyz3d-manual-alignment-metrics strong { color: #fff; font-size: 13px; overflow-wrap: anywhere; }
.xyz3d-manual-pair-list {
  display: grid;
  gap: 7px;
  max-height: 190px;
  margin: 0 0 12px;
  padding: 0;
  overflow: auto;
  list-style: none;
}
.xyz3d-manual-pair-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  color: #c9d6e7;
  font-size: 11px;
}
.xyz3d-manual-pair-list li.is-pending { border: 1px dashed rgba(255, 185, 72, .5); color: #ffe2aa; }
.xyz3d-manual-pair-list li span { color: #7fdfff; font-weight: 800; }
.xyz3d-manual-pair-list li strong { overflow-wrap: anywhere; }
.xyz3d-manual-pair-list li small { color: #91a1b8; text-align: right; }
.xyz3d-manual-alignment-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.xyz3d-manual-alignment-actions button {
  border: 1px solid rgba(100, 205, 255, .28);
  background: rgba(54, 131, 178, .16);
  color: #e3f7ff;
  border-radius: 10px;
  padding: 9px 11px;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  cursor: pointer;
}
.xyz3d-manual-alignment-actions button:hover { background: rgba(71, 167, 222, .26); }
.xyz3d-manual-alignment-actions button:disabled { opacity: .4; cursor: not-allowed; }
.xyz3d-manual-alignment-note {
  display: block;
  margin-top: 10px;
  color: #8798af;
  font-size: 10px;
  line-height: 1.5;
}
.xyz3d-photo-service-shell.is-manual-aligning .xyz3d-photo-route-viewer canvas { touch-action: none; cursor: crosshair; }
@media (max-width: 780px) {
  .xyz3d-manual-alignment-head { display: grid; }
  .xyz3d-manual-alignment-head small { text-align: left; }
  .xyz3d-manual-alignment-metrics { grid-template-columns: 1fr; }
  .xyz3d-manual-pair-list li { grid-template-columns: 1fr; }
  .xyz3d-manual-pair-list li small { text-align: left; }
}

/* 0.18.11 Dome walk-around / turntable capture foundation */
.xyz3d-dome-motion-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(84,214,255,.16);
  border-radius: 12px;
  background: rgba(4,20,33,.68);
}
.xyz3d-dome-motion-options > span {
  color: #a8bdcb;
  font-size: 11px;
  font-weight: 800;
}
.xyz3d-dome-motion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.xyz3d-dome-motion-grid button {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(255,255,255,.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.xyz3d-dome-motion-grid button strong { font-size: 13px; }
.xyz3d-dome-motion-grid button small { color: #91a7b8; font-size: 10px; line-height: 1.4; }
.xyz3d-dome-motion-grid button.is-active {
  border-color: rgba(84,214,255,.7);
  background: rgba(33,145,202,.14);
  box-shadow: inset 0 0 0 1px rgba(84,214,255,.12);
}
.xyz3d-dome-marker-setting {
  display: grid;
  grid-template-columns: minmax(150px,.45fr) minmax(220px,1fr);
  align-items: center;
  gap: 10px;
}
.xyz3d-dome-marker-setting select:disabled { opacity: .5; cursor: not-allowed; }
.xyz3d-dome-motion-note {
  margin: 0;
  color: #8fa8bb;
  font-size: 11px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .xyz3d-dome-motion-grid { grid-template-columns: 1fr; }
  .xyz3d-dome-marker-setting { grid-template-columns: 1fr; }
}

/* 0.18.16 exact-size vector PDF print workflow, tracker status and capture overlays */
.xyz3d-turntable-tracking-options {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(160px, .7fr) minmax(240px, 1.3fr) auto;
  align-items: end;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(98, 209, 255, .2);
  border-radius: 12px;
  background: rgba(6, 20, 34, .46);
}
.xyz3d-turntable-tracking-options[hidden] { display: none !important; }
.xyz3d-turntable-tracking-options label { display: grid; gap: 5px; margin: 0; }
.xyz3d-turntable-tracking-options label > span { color: #a9c7dc; font-size: 10px; font-weight: 750; }
.xyz3d-turntable-tracking-options label:first-child { grid-template-columns: 1fr auto auto; align-items: center; }
.xyz3d-turntable-tracking-options label:first-child > span { grid-column: 1 / -1; }
.xyz3d-turntable-tracking-options input[type="number"] {
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(107, 216, 255, .23);
  border-radius: 9px;
  background: #020a12;
  color: #fff;
}
.xyz3d-turntable-tracking-options small { color: #829bb0; font-size: 10px; }
.xyz3d-turntable-lock-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 38px;
}
.xyz3d-turntable-lock-check span { font-size: 11px !important; color: #d6e6f3 !important; }
.xyz3d-turntable-tracking-options button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(98, 209, 255, .36);
  border-radius: 9px;
  background: rgba(54, 168, 224, .13);
  color: #9ee7ff;
  font-weight: 800;
  cursor: pointer;
}
.xyz3d-turntable-tracking-options button:hover { background: rgba(54, 168, 224, .22); color: #fff; }

.xyz3d-calibration-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 48px 16px 0;
}
.xyz3d-calibration-tabs button {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(112, 214, 255, .22);
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  color: #a8bed1;
  font-weight: 800;
  cursor: pointer;
}
.xyz3d-calibration-tabs button.is-active {
  border-color: #66d9ff;
  background: rgba(70, 192, 241, .16);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(102,217,255,.18) inset;
}
.xyz3d-calibration-modal[data-card-type="turntable"] .xyz3d-calibration-preview img {
  width: min(68vw, 360px);
  height: min(68vw, 360px);
  object-fit: contain;
}
.xyz3d-turntable-print-note {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 205, 104, .28);
  border-radius: 10px;
  background: rgba(255, 188, 74, .07);
}
.xyz3d-turntable-print-note[hidden] { display: none !important; }
.xyz3d-turntable-print-note strong { color: #ffd990; font-size: 12px; }
.xyz3d-turntable-print-note span { color: #bdcad6; font-size: 11px; line-height: 1.45; }
.xyz3d-calibration-dialog .xyz3d-calibration-print-button,
.xyz3d-calibration-dialog .xyz3d-calibration-print-button:visited,
.xyz3d-calibration-dialog .xyz3d-calibration-print-button:hover,
.xyz3d-calibration-dialog .xyz3d-calibration-print-button:focus {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: linear-gradient(135deg, #55dafb, #377dff) !important;
  border: 0 !important;
  color: #02111d !important;
  -webkit-text-fill-color: #02111d !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  cursor: pointer !important;
}

.xyz3d-camera-overlay-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 9px;
  margin: 3px 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.xyz3d-camera-overlay-settings legend {
  padding: 0 5px;
  color: #8fcfe9;
  font-size: 10px;
  font-weight: 850;
}
.xyz3d-camera-overlay-settings label { align-items: center !important; gap: 7px !important; font-size: 11px !important; }

/* The instruction has its own visibility switch and always sits below the actual capture frame. */
.xyz3d-camera-guidance {
  top: var(--xyz3d-camera-instruction-top, calc(50% + 250px)) !important;
  bottom: auto !important;
  left: 18px !important;
  right: 18px !important;
  transform: none !important;
  z-index: 56 !important;
}
.xyz3d-camera-guidance strong {
  margin: 0 auto !important;
  max-height: 86px;
  overflow: auto;
}
.xyz3d-camera-guidance[hidden],
.xyz3d-camera-orbit[hidden],
.xyz3d-turntable-marker-lock[hidden],
.xyz3d-turntable-marker-lock.is-user-hidden { display: none !important; }

.xyz3d-camera-capture.hide-capture-frame .xyz3d-camera-target {
  border-color: transparent !important;
  box-shadow: none !important;
}
.xyz3d-camera-capture.hide-capture-frame .xyz3d-camera-target > i,
.xyz3d-camera-capture.hide-capture-frame .xyz3d-camera-target .corner { display: none !important; }
.xyz3d-camera-capture.hide-horizontal-level .xyz3d-level-horizontal { display: none !important; }
.xyz3d-camera-capture.hide-vertical-level .xyz3d-level-vertical { display: none !important; }

.xyz3d-turntable-marker-lock {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 164px);
  left: 50%;
  transform: translateX(-50%);
  width: min(78vw, 430px);
  padding: 8px 10px;
  border: 1px solid rgba(255, 191, 83, .45);
  border-radius: 12px;
  background: rgba(38, 25, 7, .82);
  color: #fff;
  pointer-events: none;
  z-index: 59;
}
.xyz3d-turntable-marker-lock > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.xyz3d-turntable-marker-lock span { color: #ffd27c; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.xyz3d-turntable-marker-lock strong { font-size: 10px; text-align: right; }
.xyz3d-turntable-marker-lock small { display: block; margin-top: 4px; color: #d2c2a7; font-size: 8px; }
.xyz3d-turntable-marker-lock.is-locked {
  border-color: rgba(83, 245, 157, .78);
  background: rgba(5, 43, 28, .86);
  box-shadow: 0 0 18px rgba(53,225,137,.2);
}
.xyz3d-turntable-marker-lock.is-locked span,
.xyz3d-turntable-marker-lock.is-locked small { color: #91f5bd; }

@media (max-width: 760px) {
  .xyz3d-turntable-tracking-options { grid-template-columns: 1fr; }
  .xyz3d-calibration-tabs { margin-right: 42px; }
  .xyz3d-camera-overlay-settings { grid-template-columns: 1fr 1fr; }
  .xyz3d-turntable-marker-lock { top: calc(env(safe-area-inset-top) + 158px); width: calc(100vw - 36px); }
}

.xyz3d-vector-pdf-note {
  display: block;
  color: #9fc1d8;
  font-size: 12px;
  line-height: 1.45;
}
.xyz3d-calibration-pdf-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.xyz3d-calibration-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(68, 194, 255, .5);
  border-radius: 10px;
  background: rgba(16, 45, 67, .9);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}
.xyz3d-calibration-download-button:hover,
.xyz3d-calibration-download-button:focus {
  background: rgba(35, 112, 159, .95);
  color: #fff !important;
}
.xyz3d-calibration-download-button[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
}
@media (max-width: 620px) {
  .xyz3d-calibration-pdf-actions { grid-template-columns: 1fr; }
}

/* 0.18.16 single-disc Hybrid ArUco tracker */
.xyz3d-turntable-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xyz3d-turntable-card-actions > button {
  flex: 1 1 220px;
}
.xyz3d-marker-zero-camera {
  margin-top: 7px;
  width: 100%;
  min-height: 30px;
  border: 1px solid rgba(145,245,189,.52);
  border-radius: 8px;
  background: rgba(4,30,22,.88);
  color: #dfffee;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
}
.xyz3d-marker-zero-camera:disabled {
  opacity: .45;
  cursor: not-allowed;
}


/* 0.18.20 global photo controls, route-display semantics and under-frame ArUco tracker */
.xyz3d-camera-route-toggle {
  width: 60px !important;
  padding: 0 5px !important;
  font-size: 10px !important;
  line-height: 1 !important;
}
.xyz3d-camera-capture.is-aruco-tracking .xyz3d-camera-orbit { display: none !important; }
.xyz3d-turntable-marker-lock {
  top: var(--xyz3d-camera-tracker-top, calc(50% + 250px)) !important;
  bottom: auto !important;
  width: min(88vw, 480px) !important;
  max-height: 88px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 8px 11px 9px !important;
  transform: translateX(-50%) !important;
  pointer-events: auto !important;
  z-index: 57 !important;
}
.xyz3d-turntable-marker-lock > div { align-items: center; }
.xyz3d-turntable-marker-lock strong { font-size: 10px; line-height: 1.25; }
.xyz3d-turntable-marker-lock small { font-size: 8px; line-height: 1.3; white-space: normal; }
.xyz3d-marker-zero-camera {
  margin-top: 5px !important;
  min-height: 27px !important;
  pointer-events: auto !important;
}
.xyz3d-camera-guidance { z-index: 56 !important; }
.xyz3d-route-button-settings legend,
.xyz3d-camera-overlay-settings legend { text-transform: none; }
@media (max-height: 760px) {
  .xyz3d-turntable-marker-lock { max-height: 74px; padding: 6px 9px !important; }
  .xyz3d-turntable-marker-lock small { display: none; }
  .xyz3d-marker-zero-camera { min-height: 24px !important; margin-top: 3px !important; }
}


/* 0.18.41 reconstruction diagnostics: six compact pipeline counters. */
.xyz3d-reconstruction-metrics strong { font-variant-numeric: tabular-nums; }


/* 0.18.41 metric ArUco camera guidance. */
.xyz3d-metric-perimeter{position:absolute;inset:max(3px,env(safe-area-inset-top,3px)) max(3px,env(safe-area-inset-right,3px)) max(3px,env(safe-area-inset-bottom,3px)) max(3px,env(safe-area-inset-left,3px));z-index:24;pointer-events:none;border:3px solid rgba(255,70,70,.72);border-radius:22px;box-shadow:inset 0 0 22px rgba(255,50,50,.18),0 0 16px rgba(255,50,50,.35);transition:border-color .18s,box-shadow .18s}
.xyz3d-metric-perimeter.is-yellow{border-color:#ffc83d;box-shadow:inset 0 0 24px rgba(255,190,40,.16),0 0 18px rgba(255,190,40,.4)}
.xyz3d-metric-perimeter.is-green{border-color:#39f28b;box-shadow:inset 0 0 28px rgba(35,240,125,.18),0 0 22px rgba(35,240,125,.48)}
.xyz3d-metric-perimeter i{position:absolute;background:currentColor;opacity:.95}.xyz3d-metric-perimeter .top,.xyz3d-metric-perimeter .bottom{left:8%;right:8%;height:2px}.xyz3d-metric-perimeter .top{top:0}.xyz3d-metric-perimeter .bottom{bottom:0}.xyz3d-metric-perimeter .left,.xyz3d-metric-perimeter .right{top:8%;bottom:8%;width:2px}.xyz3d-metric-perimeter .left{left:0}.xyz3d-metric-perimeter .right{right:0}
.xyz3d-object-scan-target{position:absolute;z-index:23;pointer-events:none;border:2px dashed rgba(255,203,64,.9);border-radius:50%;transform:translateZ(0);box-shadow:0 0 18px rgba(255,195,50,.28),inset 0 0 18px rgba(255,195,50,.1)}
.xyz3d-object-scan-target.is-good{border-color:#41f197;box-shadow:0 0 18px rgba(45,240,140,.42),inset 0 0 18px rgba(45,240,140,.12)}
.xyz3d-object-scan-target span{position:absolute;left:50%;top:50%;width:26px;height:26px;transform:translate(-50%,-50%);border:1px solid currentColor;border-radius:50%}.xyz3d-object-scan-target span:before,.xyz3d-object-scan-target span:after{content:"";position:absolute;background:currentColor}.xyz3d-object-scan-target span:before{width:36px;height:1px;left:-5px;top:12px}.xyz3d-object-scan-target span:after{width:1px;height:36px;left:12px;top:-5px}
.xyz3d-object-scan-target strong{position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);white-space:nowrap;padding:3px 8px;border-radius:999px;background:rgba(5,12,18,.78);font-size:10px;letter-spacing:.08em;color:#fff}
.xyz3d-metric-pose-readout{margin-top:6px;padding:5px 8px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(0,0,0,.2);font-size:11px;color:#d9efff}
.xyz3d-turntable-metric-tolerances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.xyz3d-turntable-metric-tolerances label{display:grid;grid-template-columns:1fr auto;gap:3px}.xyz3d-turntable-metric-tolerances label span{grid-column:1/-1}.xyz3d-turntable-metric-tolerances input{min-width:0;width:100%}
@media(max-width:680px){.xyz3d-turntable-metric-tolerances{grid-template-columns:1fr}.xyz3d-metric-perimeter{border-radius:14px}.xyz3d-metric-pose-readout{font-size:10px}}

.xyz3d-marker-camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:6px}.xyz3d-marker-camera-actions button{min-height:36px}.xyz3d-marker-pose-reset{border:1px solid rgba(255,200,75,.45);background:rgba(80,50,5,.25);color:#ffe7a2;border-radius:9px;font-weight:700}
.xyz3d-turntable-board-size{display:grid;grid-template-columns:1fr;gap:4px}.xyz3d-turntable-board-size select{width:100%}


/* 0.18.41 consolidated turntable guidance. */
.xyz3d-turntable-card-actions{display:block}
.xyz3d-turntable-card-actions>button{width:auto;min-width:220px;max-width:100%;display:inline-flex;align-items:center;justify-content:center;text-align:center;border:1px solid rgba(84,214,255,.28);background:rgba(8,26,42,.92);color:#d9f4ff;font-weight:800;border-radius:10px;padding:12px 14px;min-height:46px}
.xyz3d-turntable-card-actions>button:hover,.xyz3d-turntable-card-actions>button:focus{background:rgba(14,40,62,.98)}
.xyz3d-turntable-marker-lock{top:auto!important;bottom:calc(max(118px,env(safe-area-inset-bottom) + 106px))!important;width:min(92vw,520px)!important;max-height:none!important;overflow:visible!important;padding:8px 12px 9px!important;z-index:58!important}
.xyz3d-turntable-marker-lock>div{align-items:flex-start;gap:10px}
.xyz3d-turntable-marker-lock strong{font-size:11px;line-height:1.3}
.xyz3d-turntable-marker-lock small{font-size:9px;line-height:1.45;display:block!important}
.xyz3d-turntable-marker-lock .xyz3d-marker-camera-actions{display:none!important}
.xyz3d-camera-capture.is-aruco-tracking .xyz3d-camera-guidance{top:auto!important;bottom:calc(max(54px,env(safe-area-inset-bottom) + 42px))!important}
.xyz3d-metric-pose-readout{line-height:1.4}
.xyz3d-object-scan-target strong{display:none}
@media(max-height:760px){.xyz3d-turntable-marker-lock{bottom:calc(max(108px,env(safe-area-inset-bottom) + 96px))!important}.xyz3d-camera-capture.is-aruco-tracking .xyz3d-camera-guidance{bottom:calc(max(48px,env(safe-area-inset-bottom) + 36px))!important}}

/* 0.18.41 consolidated customer order options. */
.xyz3d-customer-options-section{display:block;visibility:visible;opacity:1;background:linear-gradient(145deg,rgba(19,55,77,.48),rgba(9,28,43,.42));border:1px solid rgba(84,214,255,.22);border-radius:12px;margin-top:14px;padding:14px}
.xyz3d-customer-options-grid{display:grid;gap:14px}
.xyz3d-priority-control{align-items:center;display:grid;gap:12px;grid-template-columns:minmax(180px,1fr) minmax(180px,260px);background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:11px 12px}
.xyz3d-priority-control>span{display:grid;gap:3px}.xyz3d-priority-control>span small{color:var(--xyz-muted);font-size:11px}.xyz3d-priority-control .xyz3d-field{margin:0}.xyz3d-priority-control select{min-height:44px;font-weight:800}
.xyz3d-postprocess-card{background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:11px 12px}
.xyz3d-postprocess-grid{display:grid;gap:9px;grid-template-columns:1fr}
.xyz3d-postprocess-option{align-items:center;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:10px;box-sizing:border-box;min-height:58px;padding:9px 10px}
.xyz3d-postprocess-option span{display:grid;gap:2px;font-weight:750}.xyz3d-postprocess-option small{color:var(--xyz-muted);font-size:10px}.xyz3d-postprocess-card>small{color:var(--xyz-muted);display:block;font-size:10px;line-height:1.45;margin-top:9px}
.xyz3d-support-explainer{display:none!important}
.xyz3d-viewer-toolbar button[aria-pressed="false"]{background:rgba(3,16,29,.72);border-color:rgba(125,202,235,.22);color:#c7deea;box-shadow:none}
@media(max-width:680px){.xyz3d-customer-options-section{padding:11px}.xyz3d-priority-control{grid-template-columns:1fr}}
