/* Simplified viewer for the site popup (html.is-popup): the 3D stage, the part list and the basic tools only. */
html.is-popup, html.is-popup body { height: 100%; background: #fff; }
html.is-popup body { overflow: hidden; }
html.is-popup .explorer { display: flex; flex-direction: column; height: 100vh; max-width: none; border: 0; border-radius: 0; }
html.is-popup :is(.topbar, .experience-bar, .guide-panel, footer, .model-note, .presets, .axis, .live-pill, .sidebar-heading .eyebrow, .sidebar-heading > p, .part small, .part-arrow, #auto, #fullscreen, .tools > span) { display: none !important; }
html.is-popup .workspace { flex: 1 1 auto; min-height: 0; grid-template-columns: minmax(0, 1fr) 248px; }
html.is-popup .stage { min-height: 0; }
html.is-popup .stage-top { left: 24px; top: 20px; }
html.is-popup .view-label { font-size: 15px; font-weight: 700; color: #14263a; }
html.is-popup .sidebar { padding: 24px 18px; overflow-y: auto; }
html.is-popup .sidebar-heading h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #14263a; letter-spacing: -.02em; }
html.is-popup .parts { gap: 6px; }
html.is-popup .part { min-height: 46px; padding: 10px 12px; border: 1px solid #e2e8ee; border-radius: 10px; color: #3f5163; }
html.is-popup .part strong { font-size: 14px; font-weight: 600; }
html.is-popup .part-number { font-size: 12px; color: #176db5; }
html.is-popup .part.active, html.is-popup .part[aria-pressed="true"] { border-color: #176db5; background: #eef5fc; color: #14263a; }
html.is-popup .tools button { font-size: 20px; }
@media (max-width: 700px) {
  html.is-popup .workspace { display: flex; flex-direction: column; }
  html.is-popup .stage { flex: 1 1 auto; height: auto; min-height: 300px; }
  html.is-popup .sidebar { flex: none; max-height: 40vh; border-left: 0; border-top: 1px solid #e0e6eb; }
  html.is-popup .parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
