.insert-content-dialog { width: min(650px, calc(100vw - 2rem)); }
.insert-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.insert-check input { accent-color: var(--ribbon-accent); }
.insert-shapes-section { border-bottom: 1px solid var(--ribbon-rule); padding-bottom: 8px; }
.insert-shapes-section h3 { margin: 0 0 6px; font-size: .82rem; }
.insert-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.insert-shape-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 68px; }
.insert-shape-icon { display: grid; place-items: center; width: 29px; height: 21px; background: var(--ribbon-accent); }
.insert-image-placeholder {
  display: grid; place-items: center; border: 1px dashed currentColor; color: #59636d;
  background: #dfe3e8; font-size: 2cqw; font-weight: 600; cursor: pointer;
}
.insert-shape-caption { display: grid; place-items: center; text-align: center; white-space: pre-wrap; font-size: 2.4cqw; }
.insert-wordart-preview {
  display: grid; place-items: center; padding: 20px; min-height: 90px; overflow-wrap: anywhere;
  text-align: center; border: 1px solid var(--ribbon-rule); font-family: "Arial Black", Arial, sans-serif;
  font-size: 2.4rem; font-weight: 900;
}
.insert-slide-preview {
  aspect-ratio: var(--insert-preview-ratio, 1.7778); display: block; width: 100%; position: relative;
  overflow: hidden; border: 1px solid var(--ribbon-rule); container-type: inline-size; pointer-events: none;
}
.insert-text-armed { cursor: crosshair; }
.insert-text-armed .slide-element { pointer-events: none; }
.insert-text-ghost {
  position: absolute; z-index: 7; pointer-events: none;
  background: #f5660025; border: 1px dashed var(--ribbon-accent);
}
