.interior-debug-panel {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 1200;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(120, 200, 255, 0.35);
  background: rgba(12, 18, 28, 0.94);
  color: #d8e8f8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  transform: translateX(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.interior-debug-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.id-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(120, 200, 255, 0.2);
}

.id-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.id-close {
  border: none;
  background: transparent;
  color: #9ab8d8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.id-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.id-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.id-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.id-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8aa8c8;
}

.id-hint {
  font-size: 10px;
  color: #6a88a8;
}

.id-btn {
  border: 1px solid rgba(120, 200, 255, 0.35);
  background: rgba(40, 70, 110, 0.5);
  color: #d8e8f8;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.id-btn.is-on {
  border-color: rgba(120, 255, 180, 0.55);
  background: rgba(40, 110, 70, 0.55);
}

.id-range {
  width: 100%;
}

.id-value {
  font-size: 11px;
  color: #9ab8d8;
}

.id-layers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.id-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
}

.id-readout,
.id-map-info {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(120, 200, 255, 0.15);
  min-height: 48px;
}
