.preview-column {
  position: static;
  align-self: start;
  min-width: 0;
}
.preview-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.preview-toolbar { min-height: 46px; margin-bottom: 18px; padding: 0; align-items: center; }
.preview-eyebrow { margin-bottom: 6px; }
#preview-title {
  font-family: var(--font-app-bold);
  font-weight: 700;
  font-synthesis: weight;
}
.preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: #667b87;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
#zoomLabel { min-width: 45px; text-align: center; font-weight: 400; }
.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 0 1px;
  border: 1px solid #cfe0ea;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-600);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.icon-button:hover { background: var(--brand-050); border-color: #bcd3e1; }
.icon-button:disabled { cursor: default; opacity: .42; transform: none; box-shadow: none; }
.icon-button > span { font-family: var(--font-bri-medium); font-size: 18px; font-style: normal; font-weight: 400; line-height: 1; }

.canvas-stage {
  min-height: 280px;
  max-height: none;
  flex: 0 0 auto;
  padding: 24px 28px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  overscroll-behavior: auto;
  touch-action: pan-y pinch-zoom;
  border: 1px solid rgba(15,120,200,.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(45deg,rgba(15,120,200,.022) 25%,transparent 25%) 0 0/22px 22px,
    linear-gradient(-45deg,rgba(15,120,200,.022) 25%,transparent 25%) 0 11px/22px 22px,
    #edf4f7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.canvas-surface {
  width: min(100%, 420px);
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  margin: 0 auto;
}
#receiptCanvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: var(--shadow-canvas);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}
.preview-caption { margin: 11px 10px 0; color: #7b8d97; font-size: 10.6px; line-height: 1.5; text-align: center; }
.footer {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #84949d;
  font-size: 10.5px;
}
