.tool-layout,
footer {
  max-width: none;
}

.mode-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  align-items: center;
  gap: 24px;
}

.mode-panel p {
  margin: 0;
}

.mode-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 7px;
  border: 1px solid #263244;
  border-radius: 16px;
  background: #020617;
}

button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #0284c7;
  border-radius: 11px;
  background: #075985;
  color: #e0f2fe;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

button:hover,
button:focus-visible {
  border-color: #38bdf8;
  background: #0369a1;
  outline: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary-button {
  border-color: #475569;
  background: #1e293b;
  color: #cbd5e1;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: #64748b;
  background: #334155;
}

.mode-button {
  display: grid;
  min-height: 68px;
  gap: 4px;
  border-color: transparent;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
}

.mode-button span {
  font-size: 14px;
}

.mode-button small {
  color: #7f90a8;
  font-size: 10px;
}

.mode-button:hover,
.mode-button:focus-visible {
  border-color: #334155;
  background: #111827;
}

.mode-button.active {
  border-color: #0e7490;
  background: #082f49;
  color: #a5f3fc;
  box-shadow: inset 3px 0 0 #38bdf8;
}

.mode-button.active small {
  color: #bae6fd;
}

.workspace-view {
  display: grid;
  gap: 18px;
}

.designer-toolbar,
.section-heading,
.label-settings,
.toolbar-actions,
.code-actions,
.code-editor-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.designer-toolbar,
.section-heading {
  justify-content: space-between;
}

.label-settings {
  flex-wrap: wrap;
}

.label-settings label,
.object-properties label {
  display: grid;
  gap: 6px;
  min-width: 145px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 900;
}

.label-settings label > span,
.object-properties label > span {
  color: #93c5fd;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #334155;
  border-radius: 11px;
  outline: none;
  background: #020617;
  color: #f8fafc;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color-scheme: dark;
}

input,
select {
  min-height: 42px;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.designer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(500px, 1.35fr) minmax(245px, 0.54fr);
  align-items: start;
  gap: 18px;
}

.object-palette,
.designer-side-column {
  position: sticky;
  top: 12px;
}

.designer-side-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.object-palette > p {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 12px;
}

.palette-list {
  display: grid;
  gap: 8px;
}

.palette-object {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 9px 11px;
  border-color: #2a3a50;
  background: #080f1d;
  color: #e2e8f0;
  text-align: left;
}

.palette-object:hover,
.palette-object:focus-visible {
  border-color: #0e7490;
  background: #082f49;
}

.palette-object > span:last-child {
  min-width: 0;
}

.palette-object strong,
.palette-object small {
  display: block;
}

.palette-object strong {
  font-size: 12px;
}

.palette-object small {
  margin-top: 4px;
  color: #7f90a8;
  font-size: 9px;
}

.object-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #164e63;
  border-radius: 9px;
  background-color: #020617;
  color: #67e8f9;
}

.text-icon {
  font-size: 22px;
  font-weight: 950;
}

.barcode-icon {
  background-image: repeating-linear-gradient(90deg, #e2e8f0 0 2px, transparent 2px 5px, #e2e8f0 5px 6px, transparent 6px 9px);
  background-position: center;
  background-size: 26px 23px;
  background-repeat: no-repeat;
}

.qr-icon {
  background-image:
    linear-gradient(90deg, #e2e8f0 50%, transparent 50%),
    linear-gradient(#e2e8f0 50%, transparent 50%);
  background-position: center;
  background-size: 7px 7px;
}

.box-icon::before {
  width: 24px;
  height: 20px;
  border: 3px solid #e2e8f0;
  content: "";
}

.line-icon::before {
  width: 27px;
  height: 3px;
  border-radius: 99px;
  background: #e2e8f0;
  content: "";
}

.palette-tip,
.preview-note {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #164e63;
  border-radius: 12px;
  background: rgba(8, 47, 73, 0.28);
}

.palette-tip strong,
.preview-note strong {
  color: #7dd3fc;
  font-size: 10px;
  text-transform: uppercase;
}

.palette-tip span,
.preview-note span {
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.45;
}

.canvas-panel {
  display: grid;
  gap: 14px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.canvas-scale,
.preview-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #075985;
  border-radius: 999px;
  background: #082f49;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.label-canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 610px;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #263244;
  border-radius: 16px;
  background:
    linear-gradient(45deg, #0b1220 25%, transparent 25%),
    linear-gradient(-45deg, #0b1220 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0b1220 75%),
    linear-gradient(-45deg, transparent 75%, #0b1220 75%),
    #080f1d;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.label-canvas-stage {
  --canvas-ruler-size: 22px;
  display: grid;
  grid-template-columns: var(--canvas-ruler-size) auto;
  grid-template-rows: var(--canvas-ruler-size) auto;
  flex: 0 0 auto;
  align-items: start;
  max-width: 100%;
}

.canvas-ruler-corner,
.canvas-ruler {
  border-color: #334155;
  background: #0f172a;
  color: #7dd3fc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  user-select: none;
}

.canvas-ruler-corner {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #334155;
  border-bottom: 1px solid #334155;
  text-transform: uppercase;
}

.canvas-ruler {
  position: relative;
  overflow: hidden;
}

.horizontal-ruler {
  grid-column: 2;
  grid-row: 1;
  height: var(--canvas-ruler-size);
  border-bottom: 1px solid #334155;
}

.vertical-ruler {
  grid-column: 1;
  grid-row: 2;
  width: var(--canvas-ruler-size);
  border-right: 1px solid #334155;
}

.ruler-tick {
  position: absolute;
  background: #64748b;
  pointer-events: none;
}

.horizontal-ruler .ruler-tick {
  bottom: 0;
  width: 1px;
  height: 5px;
}

.vertical-ruler .ruler-tick {
  right: 0;
  width: 5px;
  height: 1px;
}

.horizontal-ruler .ruler-tick.half-inch {
  height: 8px;
}

.vertical-ruler .ruler-tick.half-inch {
  width: 8px;
}

.horizontal-ruler .ruler-tick.whole-inch {
  height: 11px;
  background: #38bdf8;
}

.vertical-ruler .ruler-tick.whole-inch {
  width: 11px;
  background: #38bdf8;
}

.ruler-label {
  position: absolute;
  color: #bae6fd;
  pointer-events: none;
}

.horizontal-ruler .ruler-label {
  top: 2px;
  transform: translateX(-50%);
}

.vertical-ruler .ruler-label {
  left: 3px;
  transform: translateY(-50%);
}

.horizontal-ruler .ruler-label.first-label {
  transform: none;
}

.horizontal-ruler .ruler-label.last-label {
  transform: translateX(-100%);
}

.vertical-ruler .ruler-label.first-label {
  transform: none;
}

.vertical-ruler .ruler-label.last-label {
  transform: translateY(-100%);
}

.label-canvas {
  --dot-scale: 0.7;
  grid-column: 2;
  grid-row: 2;
  position: relative;
  flex: 0 0 auto;
  width: 568px;
  height: 852px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background:
    linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    #fff;
  background-size: 10px 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  color: #000;
  touch-action: none;
}

.label-canvas.drag-over {
  outline: 4px solid rgba(14, 165, 233, 0.55);
  outline-offset: 3px;
}

.label-object {
  position: absolute;
  display: flex;
  align-items: flex-start;
  min-width: 2px;
  min-height: 2px;
  user-select: none;
  cursor: grab;
  touch-action: none;
}

.label-object:active {
  cursor: grabbing;
}

.label-object.selected {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
}

.label-object.text,
.label-object.details {
  overflow: hidden;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.05;
  white-space: pre-wrap;
}

.label-object.text {
  font-weight: 700;
}

.label-object.details {
  font-weight: 500;
  line-height: 1.25;
}

.label-object.barcode {
  --barcode-text-height: 14px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: #fff;
  background-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% calc(100% - var(--barcode-text-height));
  color: #000;
  font: 700 9px Arial, sans-serif;
}

.label-object.barcode .barcode-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--barcode-text-height);
  padding: 0 4px;
  overflow: hidden;
  background: #fff;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.label-object.qr {
  align-items: center;
  justify-content: center;
  background: #fff;
}

.qr-preview-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  image-rendering: pixelated;
}

.label-object.box {
  border: 3px solid #000;
}

.label-object.line {
  background: #000;
}

.resize-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 3px;
  background: #0284c7;
  cursor: nwse-resize;
}

.label-object.selected .resize-handle {
  display: block;
}

.canvas-help {
  min-height: 18px;
  margin: 0;
  color: #64748b;
  font-size: 11px;
  text-align: center;
}

.properties-panel {
  display: grid;
  gap: 12px;
}

.properties-panel:focus {
  outline: none;
}

.properties-empty {
  padding: 18px;
  border: 1px dashed #475569;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.object-properties {
  display: grid;
  gap: 14px;
}

.selected-type-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #164e63;
  border-radius: 11px;
  background: #082f49;
}

.selected-type-row > span {
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 900;
}

.danger-text-button {
  min-height: 30px;
  padding: 4px 8px;
  border-color: #991b1b;
  background: #450a0a;
  color: #fca5a5;
  font-size: 9px;
}

.danger-text-button:hover,
.danger-text-button:focus-visible {
  border-color: #ef4444;
  background: #7f1d1d;
}

.content-property {
  min-width: 0 !important;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.property-grid label {
  min-width: 0;
}

.full-button {
  width: 100%;
}

.object-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.object-action-row button {
  min-height: 38px;
  padding: 8px 10px;
}

.formatting-property {
  display: grid;
  gap: 7px;
  padding: 11px;
  border: 1px solid #263244;
  border-radius: 11px;
  background: #080f1d;
}

.property-label {
  margin-top: 3px;
  color: #93c5fd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-label:first-child {
  margin-top: 0;
}

.format-button-grid {
  display: grid;
  gap: 6px;
}

.format-button-grid.two-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.format-button-grid.three-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-button-grid.four-buttons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.format-button {
  min-height: 36px;
  min-width: 0;
  padding: 7px 6px;
  border-color: #334155;
  border-radius: 8px;
  background: #111827;
  color: #cbd5e1;
  font-size: 10px;
}

.format-button:hover,
.format-button:focus-visible {
  border-color: #0e7490;
  background: #082f49;
}

.format-button.active,
.format-button[aria-pressed="true"] {
  border-color: #38bdf8;
  background: #0c4a6e;
  color: #e0f2fe;
  box-shadow: inset 0 -2px 0 #38bdf8;
}

.bold-format {
  font-weight: 950;
}

.italic-format {
  font-style: italic;
}

.underline-format {
  text-decoration: underline;
}

.rotate-object-button span {
  display: inline-block;
  margin-right: 6px;
  font-size: 17px;
  line-height: 0;
  vertical-align: -1px;
}

.elements-panel {
  display: grid;
  gap: 12px;
}

.elements-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.elements-heading h2 {
  margin-bottom: 0;
}

.elements-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #0e7490;
  border-radius: 999px;
  background: #082f49;
  color: #a5f3fc;
  font-size: 11px;
  font-weight: 900;
}

.elements-panel > p {
  margin: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
}

.elements-empty {
  padding: 14px;
  border: 1px dashed #475569;
  border-radius: 11px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.elements-list {
  display: grid;
  gap: 8px;
}

.element-row {
  display: grid;
  grid-template-columns: 16px 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border-color: #2a3a50;
  background: #080f1d;
  color: #e2e8f0;
  text-align: left;
}

.element-row.dragging {
  border-color: #38bdf8;
  opacity: 0.58;
}

.element-row.drag-before {
  box-shadow: 0 -3px 0 #38bdf8 !important;
}

.element-row.drag-after {
  box-shadow: 0 3px 0 #38bdf8 !important;
}

.element-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 16px;
  color: #64748b;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -4px;
  cursor: grab;
  touch-action: none;
}

.element-row:hover .element-drag-handle,
.element-row:focus-visible .element-drag-handle,
.element-row.selected .element-drag-handle {
  color: #7dd3fc;
}

.element-drag-handle:active {
  cursor: grabbing;
}

.element-row:hover,
.element-row:focus-visible {
  border-color: #0e7490;
  background: #082f49;
}

.element-row.selected {
  border-color: #38bdf8;
  background: #0c4a6e;
  box-shadow: inset 3px 0 0 #38bdf8;
}

.element-row-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #164e63;
  border-radius: 9px;
  background: #020617;
  color: #67e8f9;
  font-size: 10px;
  font-weight: 900;
}

.element-row-copy {
  min-width: 0;
}

.element-row-copy strong,
.element-row-copy small {
  display: block;
}

.element-row-copy strong {
  color: #e2e8f0;
  font-size: 11px;
}

.element-row-copy small {
  margin-top: 4px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.generated-code-panel {
  display: grid;
  gap: 14px;
}

.code-actions,
.code-editor-actions {
  flex-wrap: wrap;
}

.zpl-output,
.zpl-editor {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  white-space: pre;
}

.zpl-output {
  min-height: 360px;
  overflow: auto;
  color: #bae6fd;
  scrollbar-color: #38bdf8 #0f172a;
  scrollbar-width: auto;
}

.zpl-output::-webkit-scrollbar {
  width: 14px;
  height: 18px;
}

.zpl-output::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #0f172a;
}

.zpl-output::-webkit-scrollbar-thumb {
  border: 4px solid #0f172a;
  border-radius: 999px;
  background: #38bdf8;
}

.zpl-output::-webkit-scrollbar-thumb:hover {
  background: #67e8f9;
}

.zpl-output::-webkit-scrollbar-corner {
  background: #0f172a;
}

.code-workspace-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: 18px;
}

.code-editor-panel,
.preview-panel {
  display: grid;
  gap: 16px;
}

.code-preview-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #263244;
  border-radius: 13px;
  background: #0b1220;
}

.code-preview-settings label {
  display: grid;
  gap: 6px;
  color: #dbeafe;
  font-size: 11px;
  font-weight: 900;
}

.code-preview-settings label > span {
  color: #93c5fd;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zpl-editor {
  min-height: 615px;
  resize: vertical;
  line-height: 1.55;
}

.preview-status.loading {
  border-color: #92400e;
  background: #451a03;
  color: #fbbf24;
}

.preview-status.success {
  border-color: #166534;
  background: #052e16;
  color: #86efac;
}

.preview-status.fallback,
.preview-status.error {
  border-color: #9a3412;
  background: #431407;
  color: #fdba74;
}

.zpl-preview-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  padding: 24px;
  overflow: auto;
  border: 1px solid #263244;
  border-radius: 16px;
  background:
    linear-gradient(45deg, #0b1220 25%, transparent 25%),
    linear-gradient(-45deg, #0b1220 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0b1220 75%),
    linear-gradient(-45deg, transparent 75%, #0b1220 75%),
    #080f1d;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.preview-placeholder {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #94a3b8;
  text-align: center;
}

.preview-placeholder strong {
  color: #cbd5e1;
  font-size: 16px;
}

.preview-placeholder span {
  font-size: 11px;
}

#zplPreviewImage {
  display: block;
  max-width: 100%;
  max-height: 590px;
  border: 1px solid #cbd5e1;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
  image-rendering: pixelated;
}

.local-zpl-preview {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #000;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.local-preview-object {
  position: absolute;
  overflow: hidden;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  white-space: pre-wrap;
}

.local-preview-object.barcode {
  background-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 8px);
}

.local-preview-object.qr {
  background: #fff;
}

.local-preview-object.box {
  border-style: solid;
  border-color: #000;
}

.local-preview-object.line {
  background: #000;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .designer-grid {
    grid-template-columns: minmax(210px, 0.5fr) minmax(500px, 1.5fr);
  }

  .designer-side-column {
    position: static;
    grid-column: 1 / -1;
  }

  .object-properties {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr) auto;
    align-items: end;
  }

  .selected-type-row {
    grid-column: 1 / -1;
  }

  .code-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mode-panel,
  .designer-grid {
    grid-template-columns: 1fr;
  }

  .object-palette {
    position: static;
  }

  .palette-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .designer-toolbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .label-canvas-wrap {
    justify-content: center;
  }

  .object-properties {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .tool-header p {
    white-space: normal;
  }

  .mode-switcher,
  .palette-list,
  .code-preview-settings {
    grid-template-columns: 1fr;
  }

  .property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .property-grid input {
    min-height: 40px;
    padding: 8px 9px;
  }

  .label-settings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .label-settings label:first-child {
    grid-column: 1 / -1;
  }

  .label-settings label {
    min-width: 0;
  }

  .toolbar-actions,
  .code-actions,
  .code-editor-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .label-canvas-wrap,
  .zpl-preview-frame {
    min-height: 470px;
    padding: 14px;
  }

  .zpl-editor {
    min-height: 480px;
  }
}

@media (orientation: landscape) and (max-height: 620px) {
  .label-canvas-wrap {
    min-height: 340px;
    padding: 10px;
  }
}
