.cell3d-section figure{margin:1.5rem 0 0}.cell3d-stage{position:relative;background:#edf0f2;min-height:250px}.cell3d-stage [data-cell3d-fallback] img{display:block;width:100%;height:auto}.cell3d-stage [data-cell3d-fallback] button{position:absolute;left:1rem;bottom:1rem}.cell3d-stage [data-cell3d-view]{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden}.cell3d-stage canvas{display:block;width:100%;height:100%;touch-action:none}.cell3d-tooltip{position:absolute;pointer-events:none;background:#1e2d48;color:#fff;padding:4px 8px;border-radius:3px;font-size:13px;max-width:90%;line-height:1.3}.cell3d-buttons{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.cell3d-buttons button{min-height:40px;background:#f4f5f6;color:#1e2d48;border:1px solid #aeb6c1;padding:6px 12px}.cell3d-buttons button[aria-pressed=true]{background:#ff8000;border-color:#ff8000;color:#1e2d48}.cell3d-buttons button:focus-visible{outline:3px solid #1e2d48;outline-offset:3px}.cell3d-panel{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;min-height:9.5rem;margin-top:1rem;padding:1rem;background:#f4f5f6}.cell3d-panel h3,.cell3d-panel h4{margin:0 0 .5rem}.cell3d-panel p{margin:0}.cell3d-panel-head{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.cell3d-badge{border-radius:4px;padding:3px 8px;font-size:13px}.cell3d-badge.ours{background:#ff8000;color:#1e2d48}.cell3d-badge.external{background:transparent;color:var(--gray);border:1px dashed var(--gray)}.cell3d-section figcaption{margin-top:.5rem}.cell3d-section [role=status]:empty{display:none}@media(max-width:700px){.cell3d-stage [data-cell3d-view]{aspect-ratio:4/3}.cell3d-panel{grid-template-columns:1fr;gap:16px}.cell3d-stage [data-cell3d-fallback] button{position:static;margin:.5rem}}

.cell3d-overview.button.secondary{position:absolute;top:12px;left:12px;z-index:2;min-height:36px;padding:6px 11px;background:rgba(255,255,255,.9)}.cell3d-overview.button.secondary:hover{background:#fff}.cell3d-tooltip{z-index:3}

.cell3d-hint{grid-column:1 / -1;text-wrap:balance}

@media(max-width:640px){
  [data-cell3d-many] .cell3d-buttons{flex-wrap:nowrap;max-width:100%;overflow-x:auto;overflow-y:hidden;gap:.5rem;padding:.5rem .5rem .75rem;scroll-padding-inline:1rem}
  [data-cell3d-many] .cell3d-buttons button{flex:0 0 auto;white-space:nowrap}
  [data-cell3d-many] .cell3d-buttons::after{content:"";flex:0 0 1rem}
}
