/* VectorLabel Print Server page (/vectorlabel/print-server): the 3D view of the case, the live screen in a bezel,
   the setup steps, the screen gallery and the specifications. On top of cas.css and vl-home.css. */

/* The 3D view (site/viewer/): the still render shows until the model has loaded, then the canvas takes its place. */
.ps-viewer{position:relative;margin:0;justify-self:center;width:100%;max-width:560px}
.ps-viewer img{display:block;width:100%;height:auto}
.ps-viewer .ps-stage{position:absolute;inset:0;cursor:grab;touch-action:pan-y}
.ps-viewer .ps-stage:active{cursor:grabbing}
.ps-viewer .ps-stage canvas{display:block;width:100%;height:100%}
.ps-viewer.is-3d img{visibility:hidden}

/* The live screen: a 640 x 360 page scaled to the column, in a dark bezel like the box's. */
.ps-device{margin:28px auto 0;max-width:760px}
.ps-bezel{padding:14px;border-radius:18px;background:#0b0d12;
  box-shadow:0 30px 70px -34px rgba(16,22,40,.45),0 0 0 1px rgba(255,255,255,.04) inset}
/* The screen itself: exactly 16:9 inside an even border, with the 640 x 360 page scaled to fill it. */
.ps-glass{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:4px;background:#000}
.ps-glass .ps-live{position:absolute;top:0;left:0;width:640px;height:360px;border:0;transform-origin:0 0}
.ps-device figcaption{margin-top:12px;text-align:center;font-size:14px;color:var(--muted)}

/* Setup steps and the gallery: screenshots in a thin frame. */
.ps-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ps-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ps-steps figure,.ps-gallery figure{margin:0}
.ps-steps img,.ps-gallery img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}
.ps-steps figcaption,.ps-gallery figcaption{margin-top:10px;font-size:14.5px;line-height:1.5}
.ps-gallery figcaption{color:var(--muted);text-align:center}
.ps-note{margin-top:18px;font-size:14px}

/* Specifications. */
.ps-specs-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:center}
.ps-specs{width:100%;border-collapse:collapse;font-size:15px}
.ps-specs th,.ps-specs td{padding:11px 4px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.ps-specs th{width:42%;font-weight:600;color:var(--muted)}
.ps-specs tr:last-child th,.ps-specs tr:last-child td{border-bottom:0}
.ps-back{margin:0}
.ps-back img{display:block;width:100%;height:auto}

@media (max-width:860px){
  .ps-steps{grid-template-columns:minmax(0,1fr)}
  .ps-specs-grid{grid-template-columns:minmax(0,1fr)}
  .ps-back{max-width:360px;justify-self:center}
}
@media (max-width:560px){
  .ps-gallery{grid-template-columns:minmax(0,1fr)}
  .ps-bezel{padding:8px;border-radius:12px}
}
