.office-model-grid,
.office-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.office-external-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.office-external-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.office-external-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.office-external-card figcaption { padding: 14px; margin: 0; }
.office-external-card button { max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--green); font: inherit; cursor: pointer; }
.office-external-note { font-size: 12px; color: var(--muted); }
.office-external-slot iframe { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
@media (max-width: 700px) { .office-external-grid { grid-template-columns: 1fr; } .office-external-slot iframe { height: 460px; } }

.office-model-card,
.office-video-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.office-model-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9ede5;
}

.office-model-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.office-model-card figcaption,
.office-video-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
}

.office-model-card figcaption strong,
.office-video-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.office-model-card figcaption span,
.office-video-card figcaption span {
  display: block;
  line-height: 1.55;
}

.office-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.office-video-card-wide {
  grid-column: 1 / -1;
}

.office-video-sync {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.office-video-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.office-video-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: var(--white);
}

.office-video-play {
  width: 38px;
  height: 34px;
  padding: 0;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  cursor: pointer;
}

.office-video-progress {
  width: 100%;
  accent-color: var(--green);
}

.office-video-time {
  color: var(--muted);
  font: 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
}

.office-model-note {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .office-model-grid,
  .office-video-grid {
    grid-template-columns: 1fr;
  }

  .office-video-card-wide {
    grid-column: auto;
  }

  .office-video-sync {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .office-video-sync figcaption {
    padding: 8px 6px;
  }

  .office-video-sync figcaption strong {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .office-video-sync figcaption span {
    display: none;
  }
}
