#home-labels-view {
  width: 100%; max-width: 48rem; height: min(68rem, var(--app-sheet-height));
  @media (width >= 680px) and (height >= 620px) {
    &:not([hidden]) { border-radius: var(--sheet-border-radius); --viewkit-sheet-offset-y: var(--viewkit-sheet-centered-offset-y); }
  }
  .step-layout { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1.6rem; padding: 1.6rem; overflow: hidden; }
  .step-content { min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 1.6rem; }
  .step-layout > .actions { grid-row: 2; }
  .actions button { width: 100%; }
  .actions .print { background: var(--color-blue); color: white; }
  .instruction-group { display: grid; gap: 0.8rem; }
  .instruction-group > :is(h2, ul) { margin: 0; }
  h2 { font-size: 1.8rem; font-weight: 600; }
  p, li { line-height: 1.4; }
  .instructions { padding: 0; list-style: none; display: grid; gap: 1.2rem; }
  .instructions li { position: relative; padding-left: 2rem; }
  .instructions li::before { content: ""; position: absolute; left: 0.6rem; top: 50%; translate: 0 -50%; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; }
  strong { font-weight: 600; }
  header > span, .message { color: var(--color-gray); font-size: 1.3rem; }
  .preview-stage[hidden] { display: none; }
  .preview-stage { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) 2.4rem; }
  .page-carousel { position: relative; min-height: 0; container-type: size; }
  .message { position: absolute; inset: 0; display: grid; place-content: center; padding: 1.6rem; text-align: center; background: var(--viewkit-light-background); }
  .message:empty { display: none; }
  .pages { --page-width: min(calc(100cqw - 6.4rem), calc(100cqh * 210 / 297)); position: absolute; inset: 0; display: flex; gap: 1.6rem; padding-inline: calc((100cqw - var(--page-width)) / 2); box-sizing: border-box; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pages::-webkit-scrollbar { display: none; }
  .page-slot { flex: 0 0 var(--page-width); height: 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; container-type: size; }
  .page-dots { display: flex; align-items: center; justify-content: center; gap: 0.6rem; overflow: hidden; }
  .page-dots:not(:has(> :nth-child(2))) { visibility: hidden; }
  .page-dots span { flex: 0 0 0.7rem; height: 0.7rem; border-radius: 50%; background: #d4d4d4; }
  .page-dots span[aria-current="true"] { background: #777; }
  .page { position: relative; width: min(100cqw, calc(100cqh * 210 / 297)); height: min(100cqh, calc(100cqw * 297 / 210)); background: white; outline: 1px solid var(--toolbar-border-color); outline-offset: -1px; }
  .label-sheet { position: absolute; top: 2.693603%; left: 5.238095%; width: 89.52381%; height: 90.909091%; display: block; }
  > .print-slides { padding: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); overflow: hidden; }
  .print-slides > section { grid-area: 1 / 1; min-height: 0; min-width: 0; }
}

#home-labels-print > [purpose="overlay"] { margin-bottom: 6.8rem; }

#home-labels-print > .step-layout { padding-inline: 0; gap: 0.8rem; }
#home-labels-print > .step-layout > .actions { margin-inline: 1.6rem; }
