
#roadster-viewer:empty { display:none }
#r07-3d-fallback[hidden] { display:none !important }
.r07-viewer {
  --r07-border:#e6d8cb;
  --r07-paper:#fffaf6;
  --r07-ink:#181211;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(198px,218px);
  overflow:hidden;
  border:1px solid var(--r07-border);
  border-radius:12px;
  min-width:0;
  background:#fff;
}
.r07-stage { min-width:0; position:relative; isolation:isolate; background:#f9f5f0; overflow:hidden }
.r07-stage canvas { display:block; width:100%; height:clamp(340px,47vw,535px); cursor:grab; touch-action:none }
.r07-stage canvas.r07-dragging { cursor:grabbing }
.r07-stage canvas:focus-visible { outline:3px solid #09803c; outline-offset:-4px }
.r07-toolbar {
  position:absolute; z-index:1; top:12px; inset-inline:12px; display:flex; flex-wrap:wrap;
  align-items:center; justify-content:space-between; gap:8px; pointer-events:none;
}
.r07-toolbar>* { pointer-events:auto }
.r07-mode,.r07-camera { display:flex; flex-wrap:wrap; gap:4px }
.r07-viewer button {
  appearance:none; border:1px solid #e1cfc1; background:#fff; color:var(--r07-ink);
  border-radius:8px; padding:6px 9px; min-height:36px; font:inherit; font-size:13px;
  line-height:1.15; font-weight:760; cursor:pointer;
}
.r07-viewer button:hover { background:#fbefe7 }
.r07-viewer button:focus-visible { outline:2px solid #08713a; outline-offset:2px }
.r07-viewer button[aria-pressed="true"] { background:#eaf6eb; border-color:#7eb28c; color:#114020 }
.r07-viewer button:disabled { cursor:default; opacity:.48 }
.r07-toolbar .r07-zoom { width:36px; padding:4px; font-size:19px }
.r07-stage-info {
  position:absolute; bottom:12px; left:12px; max-width:calc(100% - 24px); z-index:1;
  pointer-events:none; font-size:12px; font-weight:740; line-height:1.35; color:#342821;
  padding:6px 9px; border:1px solid #ebded3; border-radius:7px; background:#fffcf9ed;
}
.r07-stage-info:empty { display:none }
.r07-sidebar { background:#fffaf6; border-inline-start:1px solid var(--r07-border); padding:13px; min-width:0 }
.r07-sidebar h3 { margin:0 0 8px; font-size:14px; letter-spacing:0 }
.r07-list { display:grid; gap:5px }
.r07-viewer .r07-system {
  padding:6px 8px; min-height:33px; font-size:12px; width:100%; text-align:start;
  display:grid; grid-template-columns:12px minmax(0,1fr); align-items:center; gap:7px;
}
.r07-dot { width:11px; height:11px; border-radius:50%; border:1px solid #24150f37; background:var(--r07-color) }
.r07-isolate-row { margin-top:9px; display:grid; gap:5px }
.r07-viewer .r07-isolate { width:100%; text-align:start }
.r07-help { margin:10px 1px 0; color:#645449; font-size:13px; line-height:1.45 }
.r07-notice { color:#5c473a; font-size:13px }
.r07-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
@media(max-width:870px) {
  .r07-viewer { grid-template-columns:minmax(0,1fr) }
  .r07-sidebar { border-inline-start:0; border-top:1px solid var(--r07-border) }
  .r07-list { grid-template-columns:repeat(3,minmax(0,1fr)) }
  .r07-stage canvas { height:clamp(305px,65vw,460px) }
  .r07-isolate-row { justify-content:start }
}
@media(max-width:510px) {
  .r07-list { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .r07-sidebar { padding:11px }
  .r07-toolbar { inset-inline:8px; top:8px; gap:6px }
  .r07-viewer button { font-size:12px; min-height:38px; padding:6px 7px }
  .r07-toolbar .r07-zoom { width:32px }
  .r07-stage-info { bottom:8px; left:8px }
}
body.film .r07-viewer { grid-template-columns:minmax(0,1fr) 202px }
body.film .r07-stage canvas { height:420px }
body.film .r07-sidebar { border-inline-start:1px solid var(--r07-border); border-top:0 }
body.film .r07-list { grid-template-columns:1fr }
body.film .r07-help { display:none }
@media print {
  .r07-viewer,.r07-help,.r07-notice { display:none !important }
  #r07-3d-fallback[hidden] { display:block !important }
}
