/* Shared map presentation, scoped to the inline company experience. */
.company-experience .workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.company-experience .map-panel,
.company-experience #details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 18px;
  background: #fff;
}

.company-experience .scene-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.company-experience .scene-help {
  margin: 0;
  color: #6a7687;
  font-size: 12px;
  line-height: 1.7;
}

.company-experience .zoom-controls {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
}

.company-experience .zoom-controls button,
.company-experience #room-picker button {
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  background: #fff;
  color: #34445a;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.company-experience .zoom-controls button:hover,
.company-experience #room-picker button:hover {
  border-color: #7956db;
  background: #f1ecfc;
}

.company-experience .photo-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d4d4d4;
  touch-action: none;
  cursor: grab;
}

.company-experience .photo-viewport:active {
  cursor: grabbing;
}

.company-experience #photo-world {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.company-experience #photo-world > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.company-experience .photo-animate #photo-world {
  transition: transform .7s cubic-bezier(.22, .75, .25, 1);
}

.company-experience .photo-point {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ed5434;
  color: #fff;
  box-shadow: 0 2px 8px #17232b40;
  transform: translate(-50%, -50%) scale(var(--inverse-scale, 1));
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  touch-action: none;
}

.company-experience .photo-point b {
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.company-experience .photo-point:hover,
.company-experience .photo-point[aria-pressed="true"] {
  background: #b9361e;
  box-shadow: 0 0 0 4px #ffffff60, 0 2px 8px #17232b40;
}

.company-experience .photo-point:focus-visible,
.company-experience .zoom-controls button:focus-visible,
.company-experience #room-picker button:focus-visible,
.company-experience .photo-viewport:focus-visible {
  outline: 3px solid #7454df;
  outline-offset: 4px;
}

.company-experience #room-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px 18px;
  border-top: 1px solid #edf0f4;
}

.company-experience #room-picker button {
  display: flex;
  align-items: center;
  gap: 7px;
}

.company-experience #room-picker button b {
  color: #9a7364;
  font-size: 11px;
}

.company-experience #room-picker button[aria-pressed="true"] {
  border-color: #ed5434;
  background: #fff1ec;
  color: #a23d22;
}

.company-experience .map-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 18px 17px;
  color: #87919e;
  font-size: 11px;
  line-height: 1.6;
}

.company-experience #details {
  padding: 26px;
  scroll-margin-top: 110px;
}

.company-experience .detail-number {
  display: inline-flex;
  padding: 12px 17px;
  border-radius: 12px;
  background: #fff0e9;
  color: #d95233;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}

.company-experience .detail-kicker {
  margin-top: 25px;
  color: #8b94a3;
  font-size: 10px;
  letter-spacing: 1.6px;
}

.company-experience #details h2 {
  margin: 10px 0 14px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.5px;
}

.company-experience .detail-description {
  margin: 0 0 18px;
  color: #536274;
  font-size: 15px;
  line-height: 1.8;
}

.company-experience .feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.company-experience .feature-list li {
  padding: 13px 0;
  border-top: 1px solid #edf0f4;
  font-size: 13px;
  line-height: 1.6;
}

.company-experience .feature-list li::before {
  margin-right: 10px;
  color: #4a9c86;
  content: '✓';
}

@media (max-width: 1050px) {
  .company-experience .workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-experience #details {
    max-width: none;
  }
}

@media (max-width: 650px) {
  .company-experience .scene-toolbar {
    flex-wrap: wrap;
    padding: 12px;
  }

  .company-experience .zoom-controls {
    margin-left: auto;
  }

  .company-experience #room-picker {
    gap: 6px;
    padding: 12px;
  }

  .company-experience #room-picker button {
    padding: 9px 10px;
    font-size: 11px;
  }

  .company-experience .map-footer {
    padding: 0 12px 14px;
  }

  .company-experience #details {
    padding: 23px;
    scroll-margin-top: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-experience .photo-animate #photo-world {
    transition: none;
  }
}
