:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-muted: #eef2f6;
  --ink: #101828;
  --muted: #5b6778;
  --line: #d9e1ea;
  --brand: #1463ff;
  --brand-deep: #0b3ea8;
  --green: #1f9d55;
  --amber: #c58900;
  --accent: #ff9f1c;
  --danger: #c24141;
  --shadow: 0 12px 36px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  --wrap: min(1320px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  backdrop-filter: blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 800;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-size: 1.05rem;
}

.brand-lockup small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.text-link:hover {
  color: var(--brand-deep);
}

.admin-site-nav {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.admin-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.18s ease;
}

.admin-site-nav a.is-current {
  border-color: #c8dbff;
  background: linear-gradient(180deg, #f3f8ff, #e7f0ff);
  color: var(--brand-deep);
  font-weight: 800;
}

.admin-header-actions {
  margin-left: 0;
}

.admin-logout-form,
.account-logout-form {
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.button,
button.button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 0 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
  border-color: #b8c6d8;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.button.primary:hover {
  background: var(--brand-deep);
}

.button.secondary {
  background: #edf4ff;
  color: var(--brand-deep);
  border-color: #c8dbff;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfd8e3;
}

.button.danger {
  background: #fff5f5;
  color: var(--danger);
  border-color: #fecaca;
}

.button.danger:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.button.full-width {
  width: 100%;
}

.button.button-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.inline-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.checkout-mail-choice {
  margin: 0 0 12px;
}

.status-strip {
  border-bottom: 1px solid #f0d39f;
  background: #fff9ef;
}

.status-strip.inline {
  border: 1px solid #f0d39f;
  border-radius: 8px;
  margin: 24px 0;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  color: #7b5510;
}

.hero-band,
.section-band {
  padding: 48px 0;
}

.muted-band {
  background: #eef2f6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 64ch;
}

.lead.compact,
.section-copy {
  font-size: 1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.studio-actions {
  margin: 0;
  justify-content: flex-end;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.stats-grid div {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow);
}

.stats-grid dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-grid dd {
  margin: 6px 0 0;
  font-size: 1.6rem;
  font-weight: 800;
}

.hero-stage,
.stage-shell,
.summary-panel,
.form-shell,
.mini-panel,
.package-tile,
.template-tile,
.studio-main {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stage-shell {
  height: 100%;
  min-height: 460px;
  display: grid;
  grid-template-rows: 52px 1fr;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.stage-toolbar span {
  padding: 8px 12px;
  background: #f5f8fb;
  border-radius: 999px;
}

.stage-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.stage-column {
  display: grid;
  gap: 18px;
}

.mini-panel,
.summary-panel,
.form-shell {
  padding: 18px;
}

.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.compact-list li {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.preview-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.label-preview-card,
.live-label {
  --preview-bg: #0b1f44;
  --preview-fg: #ffffff;
  --preview-accent: #1677ff;
  background: var(--preview-bg);
  color: var(--preview-fg);
  min-height: 240px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.label-preview-head,
.live-label-head {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.label-preview-content,
.live-label-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 16px;
  padding: 18px 16px;
  align-items: center;
}

.label-preview-content strong,
.live-label-body strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.label-preview-content span,
.live-label-body span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
}

.label-preview-foot,
.live-label-foot {
  padding: 12px 16px;
  background: var(--preview-accent);
  color: #fff;
  font-weight: 700;
}

.fake-qr {
  width: 82px;
  height: 82px;
  background:
    linear-gradient(90deg, #111 0 18%, transparent 18% 24%, #111 24% 42%, transparent 42% 48%, #111 48% 100%),
    linear-gradient(#111 0 18%, transparent 18% 24%, #111 24% 42%, transparent 42% 48%, #111 48% 100%);
  background-size: 26px 26px;
  background-color: #fff;
  border: 6px solid #fff;
}

.fake-qr.large {
  width: 110px;
  height: 110px;
}

.money-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  background: #edf8f2;
  border: 1px solid #c9e9d5;
  color: #16663f;
  font-weight: 700;
}

.value-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-grid article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head.compact {
  align-items: start;
  margin-bottom: 14px;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
}

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

.template-tile {
  appearance: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 16px;
}

.template-tile.is-selected {
  border-color: #bcd0ff;
  box-shadow: 0 14px 40px rgba(20, 99, 255, 0.12);
}

.template-art {
  --bg: #0b1f44;
  --fg: #ffffff;
  --accent: #1677ff;
  background: var(--bg);
  color: var(--fg);
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.template-art-head,
.template-art-foot {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
}

.template-art-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.template-art-head small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.template-art-body {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
  isolation: isolate;
}

.template-art-body strong {
  font-size: 1.35rem;
  max-width: 12ch;
}

.template-art-body span {
  max-width: 28ch;
  position: relative;
  z-index: 1;
}

.template-art-orb {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06));
  transform: rotate(14deg);
  z-index: 0;
}

.template-art-lines {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.template-art-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.template-art-lines span:nth-child(1) {
  width: 42%;
}

.template-art-lines span:nth-child(2) {
  width: 78%;
}

.template-art-lines span:nth-child(3) {
  width: 56%;
}

.template-art-body-machine {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

.template-art-body-warehouse {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.12), transparent 40%),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.08) 0 12px, transparent 12px 24px);
}

.template-art-body-inspection {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 72%);
}

.template-art-body-cables {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px);
}

.template-art-foot {
  background: var(--accent);
  color: #fff;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.package-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-tile {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.package-tile.is-recommended,
.package-tile.is-match {
  border-color: #bed3ff;
  box-shadow: 0 14px 40px rgba(20, 99, 255, 0.12);
}

.package-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #edf4ff;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.package-price {
  font-size: 1.9rem;
}

.package-meta {
  color: var(--muted);
}

.quote-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  align-items: start;
}

.quote-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quote-points span {
  display: inline-flex;
  align-self: start;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.form-status.success {
  background: #edf8f2;
  border-color: #c9e9d5;
  color: #16663f;
}

.form-status.error {
  background: #fff1f1;
  border-color: #f0c8c8;
  color: #8f2626;
}

.quote-form,
.field-grid {
  display: grid;
  gap: 16px;
}

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

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

.quote-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form .full-span,
.field-grid .full-span {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #c5d0dc;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.studio-body {
  background: #eef2f6;
}

.studio-body-shop {
  background:
    radial-gradient(circle at top left, rgba(20, 99, 255, 0.09), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef3f8 48%, #f7f9fc 100%);
}

.studio-body-shop .site-header {
  background: rgba(248, 251, 255, 0.94);
}

.studio-wrap {
  padding: 18px 0 36px;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.studio-main {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(20, 99, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
}

.studio-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.studio-body-shop .studio-main,
.studio-body-shop .summary-panel {
  border-color: rgba(191, 203, 219, 0.9);
  box-shadow: 0 24px 64px rgba(15, 42, 81, 0.08);
}

.studio-body-shop .studio-head h1 {
  max-width: 10ch;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.studio-body-shop .studio-actions {
  justify-content: end;
}

.studio-body-shop .studio-head .section-copy {
  max-width: 54ch;
  margin-top: 8px;
}

.progress-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.progress-steps li {
  min-height: 48px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #f9fbfd, #f1f5f9);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--muted);
  border-radius: 999px;
}

.progress-steps li.is-active,
.progress-steps li.is-done {
  color: var(--brand-deep);
  background: linear-gradient(180deg, #f3f8ff, #e7f0ff);
  border-color: #c8dbff;
}

.wizard-screen {
  display: none;
}

.wizard-screen.is-active {
  display: block;
}

.selection-grid,
.media-grid,
.checklist {
  display: grid;
  gap: 14px;
}

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

.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.printer-step-shell {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.printer-step-fields {
  margin-bottom: 14px;
}

.printer-step-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.printer-step-brands {
  min-width: 0;
}

.printer-step-brands .selection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.printer-step-media-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  position: sticky;
  top: 96px;
}

.printer-step-media-panel h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
}

.printer-step-media-panel .section-copy {
  margin: 0;
  font-size: 0.92rem;
}

.printer-step-media-panel .media-grid {
  margin-top: 14px;
  grid-template-columns: 1fr;
}

.printer-step-summary {
  padding: 14px 16px;
  border-radius: 18px;
  background: #0f1d35;
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 4px;
}

.printer-selection-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.printer-step-summary strong,
.printer-step-summary span {
  display: block;
}

.printer-step-summary strong {
  color: #fff;
  font-size: 1rem;
}

.printer-capability-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.printer-capability-badge.ok {
  background: rgba(22, 163, 74, 0.16);
  color: #dcfce7;
  border: 1px solid rgba(187, 247, 208, 0.24);
}

.printer-capability-badge.warn {
  background: rgba(245, 158, 11, 0.18);
  color: #ffedd5;
  border: 1px solid rgba(253, 186, 116, 0.28);
}

.printer-capability-note {
  display: block;
  font-size: 0.83rem;
  line-height: 1.45;
}

.printer-capability-note.ok {
  color: rgba(220, 252, 231, 0.92);
}

.printer-capability-note.warn {
  color: rgba(255, 237, 213, 0.92);
}

.selection-card,
.media-card,
.check-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  min-height: 130px;
  border-radius: 18px;
}

.selection-card-brand {
  padding: 14px;
  gap: 10px;
  min-height: 0;
}

.selection-card-brand p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.selection-card:hover,
.media-card:hover {
  border-color: #b8c6d8;
}

.selection-card.is-selected,
.media-card.is-selected {
  border-color: #bcd0ff;
  background: #edf4ff;
}

.custom-format-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 36px rgba(15, 42, 81, 0.06);
}

.custom-format-card.is-active {
  border-color: #ff6600;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 72%);
}

.custom-format-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.custom-format-head h3 {
  margin: 0 0 6px;
}

.custom-format-head p,
.custom-format-summary {
  margin: 0;
  color: var(--muted);
}

.custom-format-fields {
  margin-top: 14px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.custom-format-summary {
  margin-top: 12px;
  font-weight: 800;
}

.format-review-card {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(22, 119, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(255, 255, 255, 0) 46%),
    #ffffff;
}

.format-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.format-review-head h3 {
  margin: 0 0 6px;
}

.format-review-head p {
  margin: 0;
  color: var(--muted);
}

.format-review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.format-review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.format-review-grid div {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #f8fbff;
}

.format-review-grid span,
.format-review-grid strong {
  display: block;
}

.format-review-grid span {
  color: var(--muted);
}

.format-review-grid strong {
  margin-top: 4px;
  color: var(--brand-deep);
}

.admin-advanced-media {
  margin-top: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(100, 116, 139, 0.1), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%);
}

.admin-advanced-media > summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--brand-deep);
  list-style: none;
}

.admin-advanced-media > summary::-webkit-details-marker {
  display: none;
}

.admin-advanced-media > summary span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-advanced-media[open] {
  padding-bottom: 16px;
}

.admin-advanced-media[open] > summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-advanced-media > .check-item,
.admin-advanced-media > .checklist {
  margin: 16px;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font-weight: 900;
}

.toggle-row input {
  width: auto;
  min-height: auto;
  margin: 0;
}

@media (max-width: 760px) {
  .custom-format-head {
    flex-direction: column;
  }

  .toggle-row {
    width: 100%;
    justify-content: center;
  }
}

.selection-card strong,
.media-card strong {
  font-size: 1rem;
}

.selection-card-brand {
  min-height: 124px;
  align-content: start;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.selection-card-brand .dimension-chip {
  margin-top: auto;
}

.printer-card-note {
  cursor: default;
  background: #f8fbff;
}

.selection-card p,
.media-card p,
.template-tile p,
.package-tile p,
.check-item p {
  margin: 0;
  color: var(--muted);
}

.account-project-card {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  align-items: center;
  cursor: default;
}

.account-project-copy {
  display: grid;
  gap: 10px;
}

.account-project-preview {
  display: flex;
  justify-content: flex-end;
}

.account-project-template-preview {
  width: min(220px, 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.account-project-preview-3d {
  width: min(220px, 100%);
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  color: #fff;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, #0b1f44, #f06423);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.account-project-preview-3d span,
.account-project-preview-3d small {
  font-weight: 800;
  opacity: 0.82;
}

.account-project-preview-3d strong {
  font-size: 1.2rem;
}

.draft-check-item {
  appearance: none;
  align-items: start;
  font: inherit;
  color: inherit;
}

.draft-check-item:hover {
  border-color: #b8c6d8;
}

.draft-check-item.is-active {
  border-color: #bcd0ff;
  background: #edf4ff;
}

.draft-check-meta {
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.dimension-chip {
  display: inline-flex;
  align-self: start;
  padding: 7px 10px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.wizard-message {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid #f0c8c8;
  background: #fff1f1;
  color: #8f2626;
}

.split-top {
  margin-top: 22px;
}

.top-space {
  margin-top: 18px;
}

.studio-side {
  display: grid;
  gap: 14px;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.preview-size-note {
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
}

.preview-size-note {
  display: grid;
  gap: 4px;
}

.preview-size-note strong {
  color: var(--brand-deep);
}

.preview-size-note span {
  font-size: 0.86rem;
}

.preview-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 232px;
  padding: 30px 18px 18px 42px;
  background:
    linear-gradient(180deg, #fdfefe, #f5f8fb),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(rgba(17, 24, 39, 0.04) 0 1px, transparent 1px 24px);
  border: 1px dashed #cfd8e3;
  border-radius: 18px;
  overflow: hidden;
}

.preview-canvas.is-waiting-for-choice .editor-canvas-preview {
  opacity: 0.08;
  filter: grayscale(1);
}

.preview-canvas.is-waiting-for-choice::after {
  content: "Kies eerst een printer en formaat";
  position: absolute;
  inset: 44px 18px 18px 42px;
  display: grid;
  place-items: center;
  border: 1px dashed #d8dee6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #65717d;
  font-weight: 900;
  text-align: center;
}

.canvas-ruler {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.canvas-ruler span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.canvas-ruler-x {
  top: 10px;
  left: 48px;
  right: 20px;
}

.canvas-ruler-y {
  top: 36px;
  bottom: 20px;
  left: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.live-label {
  width: min(100%, var(--live-width, 280px));
  min-height: 0;
  height: var(--live-height, 160px);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
}

.summary-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.summary-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 700;
}

.earnings-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #edf8f2;
  border: 1px solid #c9e9d5;
}

.earnings-card strong {
  font-size: 1.8rem;
}

.earnings-card span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #16663f;
}

.serial-preview {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 16px;
}

.serial-preview.compact {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.94rem;
}

.serial-preview.compact span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.serial-preview.compact strong {
  color: var(--brand-deep);
}

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

.scan-health-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
}

.scan-health-item strong {
  color: var(--ink);
}

.scan-health-item.ok {
  border-color: #bfe3cc;
  background: #eef9f2;
}

.scan-health-item.warn {
  border-color: #f0d39f;
  background: #fff8ea;
}

.scan-health-item.neutral {
  grid-column: 1 / -1;
}

.checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist.single-column {
  grid-template-columns: 1fr;
}

.account-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.check-item {
  min-height: 120px;
}

.check-item.ok {
  border-color: #c9e9d5;
  background: #edf8f2;
}

.check-item.warn {
  border-color: #f0d39f;
  background: #fff9ef;
}

.check-item strong {
  font-size: 1rem;
}

.checkout-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 16px;
}

.checkout-note.soft {
  background: linear-gradient(180deg, #fbfcfe, #f5f8fb);
}

.checkout-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #ffd4b5;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8f3 0%, #fff2e8 100%);
}

.checkout-cta-card strong,
.checkout-cta-card p {
  display: block;
}

.checkout-cta-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.live-label-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--headline-size, 0.92rem);
}

.live-label-head small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--meta-size, 0.8rem);
  font-weight: 800;
}

.live-label-body {
  grid-template-columns: minmax(0, 1fr) var(--qr-size, 84px);
  padding: 16px;
}

.live-label-body strong {
  font-size: var(--code-size, 1.9rem);
  margin-bottom: 8px;
}

.live-label-body span {
  font-size: var(--meta-size, 0.8rem);
}

.live-label .fake-qr.large {
  width: var(--qr-size, 84px);
  height: var(--qr-size, 84px);
  justify-self: end;
}

.live-label.is-compact .live-label-head,
.live-label.is-compact .live-label-foot {
  padding: 9px 11px;
}

.live-label.is-compact .live-label-body {
  gap: 10px;
  padding: 10px 11px;
}

.live-label.is-micro .live-label-body {
  grid-template-columns: 1fr;
}

.live-label.is-micro .fake-qr.large {
  justify-self: start;
}

.live-label.is-round {
  border-radius: 999px;
}

.editor-setup-shell {
  display: grid;
  gap: 12px;
}

.compact-field-grid {
  gap: 12px;
}

.editor-primary-fields {
  margin-bottom: 0;
}

.editor-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.editor-mini-grid label span {
  font-size: 0.84rem;
}

.editor-mini-grid input[type="color"] {
  min-height: 42px;
  padding: 4px;
}

.editor-advanced-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fc);
}

.editor-advanced-card summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--brand-deep);
}

.editor-advanced-card summary::-webkit-details-marker {
  display: none;
}

.editor-advanced-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.editor-shell {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.studio-workspace {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.studio-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fc);
}

.studio-workspace-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-workspace-tabs .button.is-active {
  background: #dceaff;
  border-color: #a9c7ff;
  color: var(--brand-deep);
}

.workspace-layout-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.workspace-layout-toggle input {
  width: auto;
  min-height: auto;
}

.workspace-panel {
  display: none;
}

.workspace-panel.is-active {
  display: block;
}

.studio-workspace[data-layout-mode="stacked"] .workspace-panel {
  display: block;
}

.print-layout-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fc);
}

.print-layout-card-primary {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-color: rgba(255, 102, 0, 0.42);
  background:
    radial-gradient(circle at top left, rgba(255, 102, 0, 0.16), transparent 34%),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 58%, #f5fbff 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.print-layout-card-primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #ff6600;
}

.print-layout-head strong {
  display: block;
  font-size: 1rem;
}

.print-layout-head p,
.sheet-layout-summary,
.inline-check span {
  margin: 6px 0 0;
  color: var(--muted);
}

.print-layout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

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

.print-layout-helper span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  line-height: 1.35;
}

.print-layout-helper strong {
  display: block;
  color: var(--brand-deep);
}

.print-layout-card-primary .print-layout-grid {
  grid-template-columns: minmax(180px, 1.1fr) minmax(190px, 1.1fr) minmax(130px, 0.8fr) minmax(150px, 0.9fr);
}

.print-layout-card-primary .sheet-layout-summary {
  padding: 12px 14px;
  border-color: rgba(255, 102, 0, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  font-weight: 800;
}

.export-type-grid {
  grid-template-columns: repeat(2, minmax(0, 220px));
}

.choice-pill,
.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.choice-pill input,
.inline-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.sheet-layout-summary {
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.sheet-layout-summary strong {
  display: block;
  color: var(--brand-deep);
}

.sheet-layout-summary p {
  margin: 4px 0 0;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.editor-tool-button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.editor-tool-button.danger {
  color: #9f1239;
}

.editor-toolbar-spacer {
  flex: 1 1 auto;
}

.editor-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1.35fr) 220px;
  gap: 14px;
  align-items: start;
}

.editor-panel,
.editor-stage-shell {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  min-width: 0;
}

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

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

.editor-panel-section h3 {
  margin: 0;
  font-size: 1rem;
}

.editor-meta-list,
.editor-layer-list,
.editor-warning-list {
  display: grid;
  gap: 10px;
}

.editor-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f8fb;
}

.editor-meta-list span,
.editor-layer-item small,
.editor-warning p,
.editor-empty-state {
  color: var(--muted);
}

.editor-stage-shell {
  padding: 14px;
}

.editor-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.editor-stage-head strong {
  font-size: 1rem;
}

.editor-stage-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.editor-stage-board {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 18px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fcfdff, #f1f5f9),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 24px);
  overflow: auto;
}

.editor-stage-fit,
.editor-preview-stage-fit {
  display: grid;
  place-items: center;
  min-width: 0;
}

.editor-canvas {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 0;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.18);
  background: var(--editor-bg, #0b1f44);
}

.editor-canvas.is-round {
  border-radius: 999px;
}

.editor-canvas.is-rounded-corners {
  border-radius: var(--label-corner-radius-px, 10px);
}

.editor-canvas-preview {
  pointer-events: none;
}

.editor-canvas.is-monochrome-preview,
.editor-canvas-preview.is-monochrome-preview {
  filter: grayscale(1) contrast(1.08) brightness(0.96);
}

.editor-element {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: move;
  overflow: hidden;
}

.editor-element.is-selected {
  outline: 2px solid #1d4ed8;
  outline-offset: 1px;
  overflow: visible;
}

.editor-canvas-preview .editor-element {
  overflow: hidden;
}

.editor-resize-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #dbeafe 100%);
  border: 2px solid #1d4ed8;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.24);
  cursor: nwse-resize;
  z-index: 3;
}

.editor-resize-handle::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: #1d4ed8;
}

.editor-text-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  white-space: pre;
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: clip;
}

.editor-shape-fill,
.editor-image-frame,
.editor-code-frame {
  width: 100%;
  height: 100%;
  display: flex;
}

.editor-shape-fill {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.editor-code-frame {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.editor-code-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.editor-code-frame-barcode {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.editor-code-image-barcode {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: fill;
  background: #fff;
  border-radius: 4px;
  box-shadow: none;
  padding: 2px 5px;
  box-sizing: border-box;
}

.editor-code-frame-qr {
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  align-self: center;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.editor-code-image-qr {
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
  padding: 0;
  box-sizing: border-box;
}

.editor-code-caption {
  font-size: 0.58rem;
  color: #334155;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.editor-code-caption-qr {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  pointer-events: none;
}

.editor-qr-grid {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #111 18%, transparent 18% 26%, #111 26% 42%, transparent 42% 50%, #111 50% 68%, transparent 68% 76%, #111 76%),
    linear-gradient(#111 18%, transparent 18% 26%, #111 26% 42%, transparent 42% 50%, #111 50% 68%, transparent 68% 76%, #111 76%);
  background-size: 14px 14px;
}

.editor-barcode-grid {
  width: 100%;
  height: calc(100% - 12px);
  background: repeating-linear-gradient(90deg, #111 0 3px, #fff 3px 5px, #111 5px 8px, #fff 8px 11px);
}

.editor-code-caption-barcode {
  position: absolute;
  left: 50%;
  top: calc(100% + 3px);
  width: max-content;
  max-width: 140%;
  transform: translateX(-50%);
  text-transform: uppercase;
}

.editor-image-frame {
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.36);
  overflow: hidden;
}

.editor-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editor-image-placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
}

.editor-layer-item {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.editor-layer-item.is-selected {
  background: #edf4ff;
  border-color: #bcd0ff;
}

.editor-layer-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
}

.editor-layer-main span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-layer-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

.editor-layer-move {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.editor-layer-move:hover {
  border-color: #9db8ff;
  background: #f5f8ff;
}

.editor-warning {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #ef4444;
  background: #fff7f7;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.16);
  color: #7f1d1d;
}

.editor-warning.ok {
  border-color: #c9e9d5;
  background: #edf8f2;
  box-shadow: none;
  color: #16663f;
}

.editor-warning strong,
.editor-warning p {
  margin: 0;
}

.editor-warning strong {
  font-size: 0.82rem;
  line-height: 1.18;
}

.editor-warning p {
  font-size: 0.76rem;
  line-height: 1.25;
  color: inherit;
}

.editor-empty-state {
  padding: 14px;
  border-radius: 14px;
  background: #f6f8fb;
}

.editor-inline-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.editor-panel-section label {
  min-width: 0;
}

.editor-panel-section label span,
.editor-quick-list span,
.editor-meta-list span {
  overflow-wrap: anywhere;
}

.editor-quick-list strong,
.editor-meta-list strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.editor-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.editor-advanced {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.editor-advanced summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
}

.editor-field-grid textarea {
  min-height: 72px;
  resize: vertical;
}

.editor-inline-toggle {
  align-self: end;
  min-height: 46px;
}

.editor-only-header,
.editor-series-dock {
  display: none;
}

.editor-quick-list {
  display: grid;
  gap: 10px;
}

.editor-quick-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f8fb;
}

.editor-quick-list span,
.editor-quick-template-note {
  color: var(--muted);
}

.editor-quick-fields {
  display: grid;
  gap: 10px;
}

.editor-quick-template-note {
  font-size: 0.88rem;
  font-weight: 700;
}

.editor-series-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  color: var(--brand-deep);
  font-weight: 800;
  white-space: nowrap;
}

.editor-series-pill.is-active {
  background: linear-gradient(180deg, #2e6dc6 0%, #27579a 100%);
  border-color: #27579a;
  color: #fff;
}

.editor-only-body .site-header,
.editor-only-body .studio-head,
.editor-only-body .progress-steps,
.editor-only-body .wizard-nav,
.editor-only-body .studio-side,
.editor-only-body .wizard-message,
.editor-only-body [data-step-screen="0"],
.editor-only-body [data-step-screen="1"],
.editor-only-body [data-step-screen="2"],
.editor-only-body [data-step-screen="4"],
.editor-only-body .section-head.compact,
.editor-only-body .editor-setup-shell,
.editor-only-body .studio-workspace-head,
.editor-only-body #workspace-panel-series {
  display: none !important;
}

.editor-only-body .studio-grid {
  grid-template-columns: 1fr;
}

.editor-only-body .studio-main {
  min-width: 0;
}

.editor-only-body .wizard-screen.is-active[data-step-screen="3"] {
  display: block;
}

.editor-only-body .studio-workspace {
  margin-top: 0;
}

.editor-only-body .editor-only-header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.editor-only-body .editor-only-brand,
.editor-only-body .editor-only-title,
.editor-only-body .editor-only-scale {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-deep);
  white-space: nowrap;
}

.editor-only-body .editor-only-series,
.editor-only-body .editor-series-dock {
  display: flex;
  gap: 12px;
  overflow: auto;
}

.editor-only-body .editor-series-dock {
  padding: 14px 18px 18px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.editor-only-body .editor-shell {
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  border-top: 0;
  border-bottom: 0;
  background: #fff;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 256px;
  gap: 14px;
  align-items: start;
}

.editor-only-body .editor-toolbar {
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 10px;
}

.editor-only-body .editor-toolbar-spacer {
  display: none;
}

.editor-only-body .editor-tool-button {
  width: 100%;
  min-height: 56px;
  justify-content: flex-start;
  padding: 12px 14px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(191, 203, 219, 0.8);
  font-size: 0.98rem;
}

.editor-only-body .editor-grid {
  grid-column: 2 / span 2;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 0;
}

.editor-only-body .editor-grid > .editor-panel:first-child {
  display: none;
}

.editor-only-body .editor-stage-shell,
.editor-only-body #editor-properties-panel {
  border-radius: 0;
}

.editor-only-body .editor-stage-shell {
  border-right: 0;
}

.editor-only-body .editor-stage-head {
  display: none;
}

.editor-only-body .editor-stage-board {
  min-height: 480px;
  border-radius: 0;
  background:
    linear-gradient(180deg, #f9fbfe, #eef3f8),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 26px);
}

.editor-only-body #editor-properties-panel {
  padding: 0;
}

.editor-only-body #editor-properties-panel .editor-panel-section {
  padding: 16px;
}

.editor-only-body #editor-properties-panel .editor-panel-section + .editor-panel-section {
  border-top: 1px solid rgba(191, 203, 219, 0.8);
}

.editor-upload {
  display: none;
}

.series-editor-shell {
  display: grid;
  gap: 12px;
}

.series-editor-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.series-browser,
.series-detail-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.series-browser {
  padding: 12px;
}

.series-browser-head,
.series-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.series-browser-head span,
.series-detail-head p,
.series-detail-note {
  color: var(--muted);
}

.series-detail-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.series-detail-head p {
  margin: 6px 0 0;
}

.series-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.series-editor-summary {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6f9fc;
  color: var(--muted);
}

.series-editor-list {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
}

.series-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.series-item.is-selected {
  border-color: #bcd0ff;
  background: #edf4ff;
}

.series-item-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.series-item-main strong,
.series-item-main p {
  margin: 0;
}

.series-item-main p {
  color: var(--muted);
}

.series-item-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.series-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3f8;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-preview-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-preview-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
  align-content: start;
}

.admin-preview-sidebar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.admin-preview-list {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding-right: 4px;
}

.admin-preview-card {
  display: grid;
  gap: 6px;
  width: 100%;
  text-align: left;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.admin-preview-card > strong {
  color: var(--brand-deep);
}

.admin-preview-card > span:not(.admin-template-card-preview),
.admin-preview-card > small {
  color: var(--muted);
}

.admin-preview-card.is-active {
  border-color: #a9c7ff;
  background: linear-gradient(180deg, #f4f8ff 0%, #eaf2ff 100%);
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.12);
}

.admin-template-card-preview {
  display: block;
  margin-bottom: 6px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 102, 0, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.admin-template-card-preview .home-template-preview {
  width: min(100%, calc(var(--sample-ratio, 2) * 118px));
  max-height: 118px;
  min-height: 0;
  margin: 0;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.admin-template-card-preview .home-template-text {
  padding: 0;
}

.admin-selected-template-preview {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 6% 12%, rgba(22, 119, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
}

.admin-selected-template-preview .home-template-preview {
  width: min(100%, 360px, calc(var(--sample-ratio, 2) * 190px));
  max-height: 190px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.admin-selected-template-preview p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.admin-preview-stage {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-preview-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f4f8fc);
}

.admin-preview-stage-head strong,
.admin-preview-stage-head span {
  display: block;
}

.admin-preview-stage-head span {
  margin-top: 3px;
  color: var(--muted);
}

.admin-preview-iframe-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.admin-preview-iframe {
  width: 100%;
  min-height: 1040px;
  border: 0;
  display: block;
  background: #f5f8fc;
}

.admin-template-shell {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-template-sidebar,
.admin-template-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-template-sidebar {
  position: sticky;
  top: 92px;
  align-content: start;
}

.admin-template-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.admin-template-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-template-panel-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-template-filter-form,
.admin-template-create-form,
.admin-template-edit-form {
  gap: 12px;
}

.admin-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-template-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-template-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.admin-template-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f5f8fb;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-template-chip.ok {
  border-color: #c9e9d5;
  background: #edf8f2;
  color: #16663f;
}

.admin-template-chip.warn {
  border-color: #f0d39f;
  background: #fff9ef;
  color: #8a5a00;
}

.admin-template-chip.neutral {
  border-color: #d9e1ea;
  background: #f5f8fb;
  color: #4b5563;
}

.admin-template-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.admin-template-toolbar strong,
.admin-template-toolbar span {
  display: block;
}

.admin-template-toolbar span {
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .hero-grid,
  .quote-grid,
  .studio-grid,
  .value-grid,
  .admin-preview-workbench,
  .admin-template-shell {
    grid-template-columns: 1fr;
  }

  .admin-preview-stage {
    order: 1;
  }

  .admin-preview-sidebar {
    order: 2;
  }

  .admin-template-sidebar {
    position: static;
    top: auto;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-row {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 840px) {
  .wrap {
    width: min(calc(100vw - 24px), 1320px);
  }

  .stats-grid,
  .template-grid,
  .selection-grid,
  .media-grid,
  .package-grid,
  .package-grid.compact,
  .field-grid.two,
  .field-grid.four,
  .editor-mini-grid,
  .print-layout-grid,
  .quote-form,
  .checklist,
  .summary-list div,
  .progress-steps {
    grid-template-columns: 1fr;
  }

  .print-layout-card-primary .print-layout-grid,
  .print-layout-helper,
  .format-review-grid {
    grid-template-columns: 1fr;
  }

  .account-project-card {
    grid-template-columns: 1fr;
  }

  .account-project-preview {
    justify-content: flex-start;
  }

  .format-review-head {
    flex-direction: column;
  }

  .format-review-actions {
    width: 100%;
  }

  .format-review-actions .button {
    flex: 1;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }

  .stage-body,
  .label-preview-content,
  .live-label-body,
  .editor-grid,
  .series-editor-grid,
  .studio-head,
  .section-head,
  .wizard-nav,
  .summary-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .stage-body {
    padding: 14px;
  }

  .progress-steps li {
    justify-content: start;
    min-height: 48px;
  }

  .preview-canvas {
    padding: 44px 18px 18px 44px;
  }

  .editor-stage-board {
    min-height: 360px;
    padding: 20px 12px;
  }

  .studio-workspace-head {
    align-items: stretch;
  }

  .printer-step-shell {
    padding: 16px;
  }

  .printer-step-layout {
    grid-template-columns: 1fr;
  }

  .printer-step-brands .selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .printer-step-media-panel {
    position: static;
    top: auto;
    padding: 16px;
  }

  .admin-preview-sidebar {
    position: static;
    top: auto;
  }

  .admin-preview-list {
    max-height: none;
    overflow: visible;
  }

  .admin-preview-iframe {
    min-height: 980px;
  }

  .admin-template-toolbar,
  .admin-template-actions,
  .admin-template-panel-head {
    display: grid;
  }

  .editor-only-body .editor-only-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .editor-only-body .editor-shell,
  .editor-only-body .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-only-body .editor-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(191, 203, 219, 0.8);
    padding-bottom: 12px;
  }

  .editor-only-body .editor-tool-button {
    width: auto;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .editor-only-body .editor-grid {
    gap: 14px;
  }

  .editor-only-body .editor-stage-shell {
    border-right: 1px solid var(--line);
  }

  .studio-body-shop .studio-head h1 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

.home-body {
  background:
    radial-gradient(circle at top left, rgba(20, 99, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 159, 28, 0.16), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #eef3f8 48%, #f7f9fc 100%);
}

.home-body .site-header {
  background: rgba(248, 251, 255, 0.92);
  border-bottom-color: rgba(183, 198, 217, 0.75);
}

.home-shell {
  padding-bottom: 72px;
}

.home-hero {
  padding: 40px 0 28px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 30px;
  align-items: stretch;
}

.home-hero-copy,
.home-console,
.home-application-card,
.home-step-card,
.home-credit-panel,
.home-story-card {
  border: 1px solid rgba(184, 198, 216, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 42, 81, 0.08);
}

.home-hero-copy {
  padding: 34px;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 159, 28, 0.14);
  color: #915300;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-hero-copy h1 {
  margin: 18px 0 14px;
  max-width: 14ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-lead,
.home-section-copy {
  color: #455468;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.home-value-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.home-value-chips span,
.home-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #17408f;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.home-stats-grid div {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid rgba(191, 203, 219, 0.9);
}

.home-stats-grid dt {
  color: #5a687a;
  font-size: 0.88rem;
}

.home-stats-grid dd {
  margin: 8px 0 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-console {
  overflow: hidden;
  background: linear-gradient(180deg, #fdfefe 0%, #f0f5fb 100%);
}

.home-console-top {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(191, 203, 219, 0.9);
  background: rgba(244, 248, 252, 0.95);
}

.home-console-top span,
.home-console-list li,
.home-console-tags li {
  border-radius: 999px;
}

.home-console-top span {
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(191, 203, 219, 0.8);
  color: #4d5d72;
  font-size: 0.88rem;
  font-weight: 700;
}

.home-console-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

.home-console-sidebar {
  display: grid;
  gap: 16px;
}

.home-console-panel {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(191, 203, 219, 0.9);
}

.home-console-panel h2,
.home-credit-panel h2,
.home-story-card h2,
.home-section h2 {
  margin-bottom: 10px;
}

.home-console-list,
.home-console-tags,
.home-check-list,
.home-brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-console-list {
  display: grid;
  gap: 10px;
}

.home-console-list li {
  padding: 12px 14px;
  background: #f4f8fc;
  border: 1px solid rgba(191, 203, 219, 0.7);
  font-weight: 700;
  color: #47566a;
}

.home-console-list li.is-active {
  background: linear-gradient(135deg, #145cff 0%, #0c3fa4 100%);
  border-color: transparent;
  color: #fff;
}

.home-console-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-console-tags li {
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(191, 203, 219, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
}

.home-console-preview {
  display: grid;
  gap: 18px;
  align-content: center;
}

.home-console-card {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(155deg, #0f1d35 0%, #183b78 56%, #1b6eff 100%);
  color: #fff;
  box-shadow: 0 26px 60px rgba(11, 31, 68, 0.28);
}

.home-console-card-head,
.home-console-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.88rem;
}

.home-console-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 16px;
  padding: 22px 18px;
  align-items: center;
}

.home-console-card-body strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.home-console-card-body span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
}

.home-console-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-console-meta div {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(191, 203, 219, 0.9);
}

.home-console-meta span {
  display: block;
  margin-bottom: 6px;
  color: #5b687a;
  font-size: 0.86rem;
}

.home-brand-strip {
  padding: 10px 0 20px;
}

.home-brand-strip p {
  margin-bottom: 14px;
  color: #59687b;
  font-weight: 700;
}

.home-brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-brand-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 203, 219, 0.8);
  color: #314055;
  font-weight: 700;
}

.home-section {
  padding: 34px 0;
}

.home-section-soft {
  background: linear-gradient(180deg, rgba(237, 243, 249, 0.74) 0%, rgba(245, 248, 252, 0.98) 100%);
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-application-card {
  padding: 18px;
}

.home-application-preview {
  min-height: 122px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #eff4fb 100%);
  border: 1px solid rgba(191, 203, 219, 0.9);
  margin-bottom: 16px;
}

.home-application-preview strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}

.home-application-preview span {
  display: block;
  margin-top: 10px;
  color: #556479;
}

.home-process-grid,
.home-duo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 24px;
  align-items: start;
}

.home-step-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.home-step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.home-step-card span:first-child {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff9f1c 0%, #f97316 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.home-step-card strong,
.home-credit-table strong {
  display: block;
}

.home-step-card p {
  margin: 6px 0 0;
  color: #57667a;
}

.home-credit-panel,
.home-story-card {
  padding: 24px;
}

.home-credit-price {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f1d35 0%, #173e7b 100%);
  color: #fff;
  margin: 20px 0;
}

.home-credit-price strong,
.home-credit-price span {
  display: block;
}

.home-credit-price strong {
  font-size: 1.4rem;
}

.home-credit-price span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.84);
}

.home-credit-table {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.home-credit-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7faff;
  border: 1px solid rgba(191, 203, 219, 0.85);
}

.home-credit-table span,
.home-credit-table small {
  color: #546376;
}

.home-check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.home-check-list li {
  padding-left: 18px;
  position: relative;
  color: #465468;
}

.home-check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  left: 0;
  top: 0.62em;
  border-radius: 999px;
  background: #1f9d55;
}

.home-quote-copy {
  padding: 12px 0;
}

@media (max-width: 1180px) {
  .home-hero-grid,
  .home-process-grid,
  .home-duo-grid,
  .home-application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-console-body {
    grid-template-columns: 1fr;
  }

  .home-console-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .home-hero-grid,
  .home-process-grid,
  .home-duo-grid,
  .home-application-grid,
  .home-stats-grid,
  .home-console-meta {
    grid-template-columns: 1fr;
  }

  .home-section-head,
  .home-console-card-head,
  .home-console-card-foot,
  .home-credit-table div {
    grid-template-columns: 1fr;
    display: grid;
  }

  .home-hero-copy,
  .home-credit-panel,
  .home-story-card {
    padding: 22px;
  }

  .home-kicker {
    line-height: 1.3;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .home-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .home-console-card-body {
    grid-template-columns: 1fr;
  }

  .home-console-sidebar {
    grid-template-columns: 1fr;
  }
}

.home-body-v2 {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #f2f5fa 100%);
}

.home-body-v2 .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.button.button-warm,
.button-warm {
  background: linear-gradient(135deg, #ff8a1f 0%, #f96a00 100%);
  border-color: #f96a00;
  color: #fff;
}

.button.button-warm:hover,
.button-warm:hover {
  background: linear-gradient(135deg, #f97913 0%, #de5d00 100%);
}

.home-v2-shell {
  padding-bottom: 54px;
}

.home-v2-hero {
  padding: 26px 0 18px;
}

.home-v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(620px, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.home-v2-copy,
.home-v2-editor,
.home-v2-label-card,
.home-v2-panel,
.home-v2-bottom-grid div {
  border: 1px solid rgba(199, 208, 220, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(19, 33, 68, 0.07);
}

.home-v2-copy {
  padding: 28px 28px 24px;
}

.home-v2-eyebrow {
  margin: 0 0 12px;
  color: #f05c00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.96rem;
  font-weight: 800;
}

.home-v2-copy h1 {
  margin: 0 0 14px;
  color: #0f2142;
  font-size: clamp(3rem, 4.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-v2-lead {
  max-width: 56ch;
  color: #48586d;
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-v2-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.home-v2-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-v2-trust div {
  display: grid;
  gap: 4px;
  color: #5d6b7d;
}

.home-v2-trust strong {
  color: #112342;
  font-size: 0.95rem;
}

.home-v2-editor {
  padding: 0;
  overflow: hidden;
}

.home-v2-editor-top {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(199, 208, 220, 0.86);
}

.home-v2-logo-mini {
  color: #0f2142;
  font-size: 0.86rem;
  font-weight: 800;
}

.home-v2-editor-body {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 188px;
  gap: 0;
  min-height: 392px;
}

.home-v2-editor-tools,
.home-v2-editor-settings {
  padding: 16px 14px;
  background: #fbfcfe;
}

.home-v2-editor-tools {
  display: grid;
  gap: 12px;
  border-right: 1px solid rgba(199, 208, 220, 0.86);
}

.home-v2-editor-tools span {
  color: #46556a;
  font-size: 0.9rem;
}

.home-v2-editor-stage {
  padding: 22px 18px;
  background:
    linear-gradient(180deg, rgba(243, 246, 251, 0.98) 0%, rgba(238, 243, 249, 0.98) 100%);
  position: relative;
}

.home-v2-label-art {
  max-width: 430px;
  margin: 18px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0d2242 0%, #173a76 100%);
  color: #fff;
  box-shadow: 0 20px 42px rgba(16, 31, 62, 0.24);
  position: relative;
}

.home-v2-label-art-head {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.home-v2-label-art-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  gap: 18px;
  padding: 20px 18px 18px;
}

.home-v2-label-main strong {
  display: block;
  font-size: 3.15rem;
  letter-spacing: -0.05em;
}

.home-v2-barcode {
  height: 38px;
  margin: 12px 0 8px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, #111 0 3px, #fff 3px 6px, #111 6px 7px, #fff 7px 11px);
}

.home-v2-label-main span,
.home-v2-label-main small,
.home-v2-label-side small {
  display: block;
}

.home-v2-label-main small {
  margin-top: 12px;
  font-size: 0.95rem;
}

.home-v2-label-side {
  border-radius: 14px;
  background: linear-gradient(180deg, #ff8a1f 0%, #f96a00 100%);
  padding: 14px 12px;
  text-align: center;
}

.home-v2-label-side strong {
  font-size: 0.94rem;
}

.home-v2-label-side span {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
}

.home-v2-label-qr {
  width: 64px;
  height: 64px;
  position: absolute;
  right: 18px;
  bottom: 18px;
  background:
    linear-gradient(90deg, #fff 0 8px, transparent 8px 16px),
    linear-gradient(#fff 0 8px, transparent 8px 16px),
    repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 12px),
    repeating-linear-gradient(#111 0 6px, #fff 6px 12px);
  border: 6px solid #fff;
}

.home-v2-editor-settings {
  display: grid;
  gap: 14px;
  border-left: 1px solid rgba(199, 208, 220, 0.86);
}

.home-v2-editor-settings label {
  gap: 4px;
}

.home-v2-editor-settings span {
  color: #6a7787;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-v2-editor-settings strong {
  color: #162645;
  font-size: 0.94rem;
}

.home-v2-editor-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(199, 208, 220, 0.86);
}

.home-v2-thumb {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(199, 208, 220, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #102142;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-v2-thumb-warehouse,
.home-v2-label-preview-warehouse {
  background: linear-gradient(135deg, #1054a6 0%, #2f7ded 100%);
  color: #fff;
}

.home-v2-thumb-machine,
.home-v2-label-preview-machine {
  background: linear-gradient(135deg, #d8dce2 0%, #8f97a3 100%);
}

.home-v2-thumb-shelf,
.home-v2-label-preview-shelf {
  background: linear-gradient(135deg, #eef2f8 0%, #cfd8e6 100%);
}

.home-v2-thumb-tool,
.home-v2-label-preview-tool {
  background: linear-gradient(135deg, #2d4d7c 0%, #6d89b6 100%);
  color: #fff;
}

.home-v2-thumb-qr,
.home-v2-label-preview-qr {
  background: linear-gradient(135deg, #ffffff 0%, #eceff5 100%);
}

.home-v2-thumb-barcode,
.home-v2-label-preview-barcode {
  background: linear-gradient(135deg, #ffffff 0%, #dfe4ec 100%);
}

.home-v2-thumb-inspection,
.home-v2-label-preview-inspection {
  background: linear-gradient(135deg, #2f8d47 0%, #53b36b 100%);
  color: #fff;
}

.home-v2-thumb-cable,
.home-v2-label-preview-cable {
  background: linear-gradient(135deg, #ffd336 0%, #f7b500 100%);
}

.home-v2-label-strip {
  padding: 14px 0 16px;
}

.home-v2-label-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.home-v2-label-card {
  padding: 12px;
}

.home-v2-label-preview {
  min-height: 92px;
  border-radius: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.home-v2-label-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.home-v2-label-card p {
  margin: 0;
  color: #667486;
  font-size: 0.88rem;
}

.home-v2-info {
  padding: 10px 0 18px;
}

.home-v2-info-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr;
  gap: 18px;
}

.home-v2-panel {
  padding: 20px;
}

.home-v2-panel h2 {
  margin-bottom: 8px;
}

.home-v2-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.home-v2-steps div,
.home-v2-metrics div {
  padding: 14px;
  border-radius: 16px;
  background: #f7f9fc;
  border: 1px solid rgba(199, 208, 220, 0.78);
  text-align: center;
}

.home-v2-steps strong {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #102142;
  color: #fff;
  margin-bottom: 10px;
}

.home-v2-steps span,
.home-v2-steps small,
.home-v2-metrics strong,
.home-v2-metrics span {
  display: block;
}

.home-v2-price {
  display: block;
  margin: 16px 0;
  color: #102142;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.home-v2-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.home-v2-checks li {
  padding-left: 18px;
  position: relative;
  color: #546377;
}

.home-v2-checks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1f9d55;
  position: absolute;
  left: 0;
  top: 0.64em;
}

.home-v2-credit-stack {
  display: grid;
  gap: 10px;
}

.home-v2-credit-stack div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #15305f 0%, #244a86 100%);
  color: #fff;
}

.home-v2-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.home-v2-metrics strong {
  color: #102142;
  font-size: 1.4rem;
}

.home-v2-metrics span {
  color: #647285;
  font-size: 0.88rem;
}

.home-v2-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #17305b;
  font-weight: 800;
}

.home-v2-bottom {
  padding: 0 0 22px;
}

.home-v2-bottom-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-v2-bottom-grid div {
  padding: 16px;
  text-align: center;
}

.home-v2-bottom-grid strong,
.home-v2-bottom-grid span {
  display: block;
}

.home-v2-bottom-grid span {
  margin-top: 6px;
  color: #627084;
  font-size: 0.88rem;
}

.home-v2-cta {
  padding: 4px 0 24px;
}

.home-v2-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid rgba(199, 208, 220, 0.86);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.98) 100%);
  box-shadow: 0 18px 48px rgba(19, 33, 68, 0.07);
}

.home-v2-cta-card h2 {
  margin-bottom: 10px;
}

.home-v2-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: end;
}

@media (max-width: 1280px) {
  .home-v2-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-label-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-v2-info-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-bottom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v2-cta-card {
    grid-template-columns: 1fr;
  }

  .home-v2-cta-actions {
    justify-content: start;
  }
}

@media (max-width: 840px) {
  .home-v2-copy {
    padding: 22px;
  }

  .home-v2-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .home-v2-trust,
  .home-v2-editor-body,
  .home-v2-editor-thumbs,
  .home-v2-label-grid,
  .home-v2-steps,
  .home-v2-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-v2-editor-top {
    grid-template-columns: 1fr;
  }

  .home-v2-editor-stage {
    padding: 16px;
  }

  .home-v2-label-art-body {
    grid-template-columns: 1fr;
  }
}

/* Compact scale pass: websitebreed compacter en professioneler op 100% zoom */
:root {
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
  --wrap: min(1200px, calc(100vw - 28px));
  --section-space: clamp(22px, 2.5vw, 34px);
  --panel-pad: clamp(12px, 1.15vw, 16px);
  --card-pad: clamp(11px, 1vw, 14px);
  --field-height: 36px;
  --button-height: 38px;
}

html {
  font-size: 14.5px;
}

body {
  font-size: 1rem;
  line-height: 1.45;
}

.header-row {
  gap: 16px;
  min-height: 64px;
}

.brand-lockup {
  gap: 12px;
  min-width: 248px;
}

.brand-mark {
  width: 40px;
  height: 40px;
}

.brand-lockup strong {
  font-size: 0.98rem;
}

.brand-lockup small {
  font-size: 0.83rem;
}

.site-nav {
  gap: 16px;
  font-size: 0.89rem;
}

.header-actions {
  gap: 10px;
}

.button,
button.button {
  min-height: var(--button-height);
  padding: 0 13px;
  font-size: 0.9rem;
}

.status-row {
  gap: 12px;
  padding: 12px 16px;
}

.hero-band,
.section-band {
  padding: var(--section-space) 0;
}

h1 {
  font-size: clamp(1.86rem, 3.15vw, 3.1rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.18rem, 1.65vw, 1.56rem);
  margin-bottom: 8px;
}

h3 {
  font-size: 0.97rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 0.97rem;
  max-width: 56ch;
}

.lead.compact,
.section-copy {
  font-size: 0.92rem;
}

.hero-grid,
.value-grid,
.quote-grid,
.template-grid,
.package-grid,
.home-v2-hero-grid,
.home-v2-info-grid {
  gap: 14px;
}

.hero-actions {
  gap: 9px;
  margin: 16px 0 20px;
}

.stats-grid {
  gap: 12px;
}

.stats-grid div,
.value-grid article,
.package-tile,
.template-tile,
.mini-panel,
.summary-panel,
.form-shell,
.home-v2-panel,
.home-v2-label-card,
.home-v2-bottom-grid div,
.home-v2-cta-card {
  padding: var(--card-pad);
}

.stats-grid dd {
  font-size: 1.34rem;
}

.stage-shell,
.summary-panel,
.form-shell,
.mini-panel,
.package-tile,
.template-tile,
.studio-main,
.printer-step-shell,
.printer-step-media-panel,
.selection-card,
.media-card,
.check-item,
.editor-panel,
.editor-stage-shell,
.home-v2-panel,
.home-v2-label-card,
.home-v2-cta-card,
.admin-preview-card,
.admin-preview-stage-head,
.admin-preview-iframe-shell {
  border-radius: 18px;
}

.stage-shell {
  min-height: 388px;
  grid-template-rows: 42px 1fr;
}

.stage-toolbar {
  gap: 10px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.stage-toolbar span {
  padding: 7px 10px;
}

.stage-body {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  padding: var(--panel-pad);
}

.stage-column,
.compact-list,
.home-v2-credit-stack,
.home-v2-editor-thumbs {
  gap: 12px;
}

.compact-list li,
.quote-points span,
.form-status,
.serial-preview,
.earnings-card,
.sheet-layout-summary,
.scan-health-item,
.editor-meta-list div {
  padding: 10px 12px;
}

.preview-stage {
  gap: 14px;
}

.label-preview-card,
.live-label {
  min-height: 194px;
}

.label-preview-head,
.live-label-head,
.label-preview-foot,
.live-label-foot {
  padding: 10px 14px;
}

.label-preview-content,
.live-label-body {
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 12px;
  padding: 12px;
}

.label-preview-content strong,
.live-label-body strong {
  font-size: 1.56rem;
  margin-bottom: 8px;
}

.quote-form,
.field-grid {
  gap: 12px;
}

label {
  gap: 6px;
}

label span {
  font-size: 0.88rem;
}

input,
select,
textarea {
  min-height: var(--field-height);
  padding: 8px 11px;
  font-size: 0.95rem;
}

textarea {
  min-height: 96px;
}

.studio-wrap {
  padding: 12px 0 24px;
}

.studio-grid {
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 16px;
}

.studio-main {
  padding: 14px;
}

.studio-head {
  gap: 12px;
  margin-bottom: 12px;
}

.studio-body-shop .studio-head h1 {
  font-size: clamp(1.64rem, 2.7vw, 2.4rem);
}

.progress-steps {
  margin-bottom: 14px;
  gap: 8px;
}

.progress-steps li {
  min-height: 38px;
  padding: 5px 9px;
  font-size: 0.75rem;
}

.selection-grid,
.media-grid,
.checklist,
.print-layout-grid,
.editor-layer-list,
.editor-warning-list,
.editor-meta-list {
  gap: 12px;
}

.media-grid {
  margin-top: 12px;
}

.printer-step-shell,
.printer-step-media-panel,
.printer-step-summary {
  padding: 12px;
}

.printer-step-shell {
  margin-bottom: 12px;
}

.printer-step-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(244px, 0.7fr);
  gap: 12px;
}

.printer-step-brands .selection-grid {
  gap: 10px;
}

.printer-step-media-panel {
  top: 84px;
}

.selection-card,
.media-card,
.check-item {
  padding: 12px;
  gap: 8px;
  min-height: 98px;
}

.selection-card-brand {
  padding: 12px;
  min-height: 92px;
}

.selection-card-brand p {
  font-size: 0.8rem;
}

.selection-card strong,
.media-card strong,
.print-layout-head strong,
.printer-step-media-panel h3,
.printer-step-summary strong {
  font-size: 0.96rem;
}

.dimension-chip,
.badge,
.money-chip {
  padding: 5px 9px;
  font-size: 0.8rem;
}

.wizard-nav {
  margin-top: 12px;
}

.summary-list {
  gap: 10px;
}

.summary-list div {
  grid-template-columns: 108px 1fr;
  gap: 8px;
}

.live-label {
  width: min(100%, var(--live-width, 256px));
}

.editor-shell,
.studio-workspace {
  margin-top: 10px;
  gap: 10px;
}

.studio-workspace-head,
.print-layout-card,
.editor-toolbar {
  padding: 10px;
  border-radius: 16px;
}

.studio-workspace-head,
.editor-toolbar {
  gap: 8px;
}

.editor-tool-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.84rem;
}

.editor-grid {
  grid-template-columns: 162px minmax(0, 1.3fr) 198px;
  gap: 10px;
}

.editor-panel,
.editor-stage-shell {
  border-radius: 18px;
}

.editor-panel {
  padding: 10px;
  gap: 10px;
}

.editor-panel-section,
.editor-stage-shell,
.scan-health-strip {
  gap: 10px;
}

.editor-panel-section h3,
.editor-stage-head strong {
  font-size: 0.96rem;
}

.editor-stage-head {
  gap: 10px;
  margin-bottom: 10px;
}

.editor-stage-board {
  min-height: 332px;
  padding: 12px 10px;
}

.editor-layer-item {
  padding: 9px 10px;
  border-radius: 12px;
}

.editor-advanced-body {
  gap: 12px;
  padding: 0 14px 14px;
}

.editor-only-body .editor-shell {
  padding: 12px;
  grid-template-columns: 92px minmax(0, 1fr) 216px;
}

.editor-only-body .editor-stage-board {
  min-height: 392px;
}

.admin-preview-workbench {
  grid-template-columns: minmax(224px, 278px) minmax(0, 1fr);
  gap: 12px;
}

.admin-preview-sidebar {
  gap: 12px;
  top: 84px;
}

.admin-preview-list {
  gap: 10px;
  max-height: calc(100vh - 150px);
}

.admin-preview-card {
  padding: 12px 13px;
}

.admin-preview-stage {
  gap: 12px;
}

.admin-preview-stage-head {
  padding: 12px 14px;
}

.admin-preview-iframe {
  min-height: 860px;
}

.home-v2-copy {
  padding: 20px 20px 18px;
}

.home-v2-copy h1 {
  font-size: clamp(2.45rem, 3.55vw, 3.7rem);
}

.home-v2-lead {
  max-width: 50ch;
  font-size: 0.94rem;
}

.home-v2-actions {
  gap: 12px;
  margin: 18px 0 22px;
}

.home-v2-trust,
.home-v2-label-grid,
.home-v2-bottom-grid {
  gap: 12px;
}

.home-v2-editor-top {
  padding: 12px 16px;
}

.home-v2-editor-body {
  grid-template-columns: 88px minmax(0, 1fr) 164px;
  min-height: 326px;
}

.home-v2-editor-tools,
.home-v2-editor-settings {
  padding: 14px 12px;
}

.home-v2-editor-stage {
  padding: 14px 14px;
}

.home-v2-label-art {
  max-width: 360px;
  margin: 8px auto 0;
  border-radius: 18px;
}

.home-v2-label-strip {
  padding: 10px 0 14px;
}

.home-v2-label-card {
  padding: 10px;
}

.home-v2-label-preview {
  min-height: 70px;
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.home-v2-info {
  padding: 8px 0 14px;
}

.home-v2-panel {
  padding: 14px;
}

.home-v2-steps {
  gap: 12px;
  margin-top: 16px;
}

.home-v2-price {
  margin: 12px 0;
  font-size: 1.58rem;
}

.home-v2-metrics {
  margin: 14px 0;
}

.home-v2-metrics strong {
  font-size: 1.28rem;
}

.home-v2-logos {
  gap: 12px;
  font-size: 0.92rem;
}

.home-v2-bottom {
  padding: 0 0 18px;
}

.home-v2-cta-card {
  gap: 18px;
  padding: 18px 20px;
}

@media (max-width: 1180px) {
  .studio-grid,
  .printer-step-layout,
  .editor-grid,
  .admin-preview-workbench {
    grid-template-columns: 1fr;
  }

  .printer-step-media-panel,
  .admin-preview-sidebar {
    position: static;
    top: auto;
  }

  .studio-grid {
    gap: 14px;
  }

  .editor-stage-board,
  .editor-only-body .editor-stage-board {
    min-height: 340px;
  }
}

@media (max-width: 840px) {
  :root {
    --wrap: min(100vw - 24px, 1240px);
    --section-space: 22px;
  }

  html {
    font-size: 14px;
  }

  .header-row {
    min-height: 62px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .site-nav {
    gap: 12px;
  }

  .button,
  button.button,
  input,
  select {
    min-height: 40px;
  }

  .studio-main,
  .home-v2-copy,
  .home-v2-panel,
  .home-v2-cta-card {
    padding: 14px;
  }

  .selection-card,
  .media-card,
  .check-item {
    min-height: 0;
  }

  .home-v2-editor-body,
  .home-v2-bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* One-page generator direction from the compact native prototype */
.studio-body-shop {
  --brand: #ff6600;
  --brand-deep: #db5100;
  --accent: #ff6600;
  --surface-muted: #f6f8fa;
  --line: #d8dee6;
  background: #ffffff;
}

.studio-body-shop .site-header {
  background: rgba(255, 255, 255, 0.97);
}

.studio-body-shop .studio-wrap {
  padding-top: 10px;
}

.studio-body-shop .studio-grid {
  grid-template-columns: minmax(0, 1fr) minmax(286px, 330px);
  gap: 14px;
}

.studio-body-shop .studio-grid[data-active-step="0"],
.studio-body-shop .studio-grid[data-active-step="3"] {
  grid-template-columns: 1fr;
}

.studio-body-shop .studio-main,
.studio-body-shop .summary-panel {
  border: 1px solid #cfd6de;
  border-radius: 8px;
  box-shadow: none;
}

.studio-body-shop .studio-main {
  padding: 12px;
  background: #fff;
}

.studio-body-shop .studio-side {
  gap: 10px;
  position: sticky;
  top: 76px;
}

.studio-body-shop .studio-grid[data-active-step="0"] .studio-side,
.studio-body-shop .studio-grid[data-active-step="3"] .studio-side {
  display: none;
}

.studio-body-shop .studio-head {
  align-items: center;
  margin-bottom: 10px;
}

.studio-body-shop .studio-head h1 {
  max-width: none;
  font-size: clamp(1.42rem, 2.1vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.studio-body-shop .studio-head .section-copy {
  max-width: 64ch;
  margin-top: 5px;
  font-size: 0.88rem;
}

.studio-body-shop .eyebrow {
  color: #ff6600;
  margin-bottom: 5px;
}

.onepage-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #cfd6de;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #fff;
}

.onepage-flow-step {
  appearance: none;
  border: 0;
  border-right: 1px solid #cfd6de;
  background: #fff;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  color: #111821;
  font-weight: 900;
  cursor: pointer;
}

.onepage-flow-step:last-child {
  border-right: 0;
}

.onepage-flow-step small {
  display: block;
  margin-top: 2px;
  color: #65717d;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.05;
}

.onepage-flow-step.is-active {
  background: #ff6600;
  color: #fff;
}

.onepage-flow-step.is-active small {
  color: #fff3ea;
}

.flow-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17, 24, 33, 0.08);
  flex: 0 0 auto;
}

.onepage-flow-step.is-active .flow-icon {
  background: rgba(255, 255, 255, 0.22);
}

.onepage-subtabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.onepage-subtab {
  appearance: none;
  display: none;
  min-height: 34px;
  border: 1px solid #d9dee4;
  border-radius: 999px;
  background: #fff;
  color: #28333e;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 10px;
  cursor: pointer;
}

.onepage-subtab.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.onepage-subtab.is-active {
  border-color: #ff6600;
  background: #fff3ea;
  color: #ff6600;
}

.studio-body-shop .progress-steps {
  display: none;
}

.studio-body-shop .section-head.compact {
  margin-bottom: 8px;
}

.studio-body-shop .section-head.compact h2 {
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
}

.studio-body-shop .wizard-screen.is-active {
  animation: none;
}

.studio-body-shop .printer-step-shell,
.studio-body-shop .printer-step-media-panel,
.studio-body-shop .print-layout-card,
.studio-body-shop .editor-advanced-card,
.studio-body-shop .series-detail-card,
.studio-body-shop .series-browser,
.studio-body-shop .editor-panel,
.studio-body-shop .editor-stage-shell {
  border-radius: 8px;
  border-color: #d8dee6;
  background: #fff;
}

.studio-body-shop .printer-step-shell,
.studio-body-shop .printer-step-media-panel,
.studio-body-shop .print-layout-card {
  padding: 10px;
}

.studio-body-shop .printer-step-summary {
  border-radius: 8px;
  background: #121f2a;
  color: #fff;
  padding: 10px 12px;
}

.studio-body-shop .selection-card,
.studio-body-shop .media-card,
.studio-body-shop .template-tile,
.studio-body-shop .package-tile,
.studio-body-shop .check-item {
  border-radius: 7px;
  min-height: 54px;
  padding: 9px 10px;
  background: #fcfdfe;
  box-shadow: none;
}

.studio-body-shop .selection-card-brand {
  min-height: 70px;
}

.studio-body-shop .selection-card.is-selected,
.studio-body-shop .media-card.is-selected,
.studio-body-shop .template-tile.is-selected,
.studio-body-shop .package-tile.is-match {
  border-color: #ff6600;
  background: #fff3ea;
  color: #ff6600;
}

#category-grid {
  align-items: stretch;
}

.category-card,
.studio-body-shop .category-card {
  --cat-accent: #ff6600;
  --cat-accent-2: #0b1f44;
  --cat-bg: #f8fafc;
  --cat-soft: #dbe3ef;
  --cat-ink: #0b1f44;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 226px;
  padding: 16px;
  gap: 10px;
  border-color: color-mix(in srgb, var(--cat-accent) 34%, #d8dee6);
  border-radius: 20px;
  color: var(--cat-ink);
  background:
    radial-gradient(circle at 94% 0%, color-mix(in srgb, var(--cat-accent) 22%, transparent) 0 34%, transparent 35%),
    linear-gradient(145deg, #ffffff 0%, var(--cat-bg) 62%, #ffffff 100%);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.55) 42% 52%, transparent 52%),
    color-mix(in srgb, var(--cat-accent) 16%, transparent);
  z-index: -1;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--cat-accent);
  box-shadow: 0 22px 48px color-mix(in srgb, var(--cat-accent) 18%, rgba(15, 23, 42, 0.08));
}

.category-card.is-selected,
.studio-body-shop .category-card.is-selected {
  color: var(--cat-ink);
  border-color: var(--cat-accent);
  background:
    radial-gradient(circle at 94% 0%, color-mix(in srgb, var(--cat-accent) 26%, transparent) 0 34%, transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--cat-bg) 84%, #ffffff) 0%, #ffffff 62%, color-mix(in srgb, var(--cat-accent) 10%, #ffffff) 100%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--cat-accent) 46%, transparent),
    0 24px 52px color-mix(in srgb, var(--cat-accent) 18%, rgba(15, 23, 42, 0.1));
}

.category-card.is-selected::after {
  content: "Gekozen";
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cat-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-card-top,
.category-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.category-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cat-accent), var(--cat-accent-2));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cat-accent) 22%, transparent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.category-card-kicker {
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 25%, #ffffff);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: color-mix(in srgb, var(--cat-ink) 78%, var(--cat-accent));
  font-size: 0.78rem;
  font-weight: 900;
}

.category-card-title {
  display: block;
  margin-top: 2px;
  color: var(--cat-ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.12;
}

.category-card-copy {
  display: block;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.35;
}

.category-label-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 118px;
  min-height: 118px;
  padding: 12px;
  margin-top: auto;
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--cat-accent) 24%, #dbe3ef);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--cat-accent) 10%, transparent), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.88));
}

.category-label-art {
  position: relative;
  display: block;
  height: min(88px, 100%);
  max-width: 100%;
  aspect-ratio: var(--preview-ratio, 95 / 42);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 28%, #111827);
  border-radius: 14px;
  background: var(--preview-bg, var(--cat-accent-2));
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.category-label-preview--real {
  isolation: isolate;
}

.category-label-art.is-round {
  width: 88px;
  height: 88px;
  border-radius: 999px;
}

.category-preview-element {
  position: absolute;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}

.category-preview-element--text {
  display: flex;
  align-items: center;
}

.category-preview-element--text > span {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-preview-element--qr,
.category-preview-element--barcode {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 7px;
  background: #ffffff;
}

.category-preview-element--qr > span {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #111827 0 18%, transparent 18% 30%, #111827 30% 43%, transparent 43% 58%, #111827 58% 72%, transparent 72% 100%),
    linear-gradient(0deg, #111827 0 16%, transparent 16% 28%, #111827 28% 42%, transparent 42% 55%, #111827 55% 70%, transparent 70% 100%),
    #ffffff;
  image-rendering: pixelated;
}

.category-preview-element--barcode > span {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #111827 0 2px, #ffffff 2px 4px, #111827 4px 5px, #ffffff 5px 8px);
}

.category-preview-element--image {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.65rem;
  font-weight: 800;
}

.category-preview-element--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-preview-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 18px;
  background: linear-gradient(90deg, var(--cat-accent), color-mix(in srgb, var(--cat-accent) 62%, #ffffff));
}

.category-preview-bar span {
  position: absolute;
  left: 14px;
  top: 50%;
  max-width: calc(100% - 28px);
  overflow: hidden;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
}

.category-preview-code {
  position: absolute;
  left: 14px;
  top: 28px;
  color: #ffffff;
  font-size: 1.16rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.category-preview-desc {
  position: absolute;
  left: 14px;
  top: 51px;
  max-width: 56%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-preview-line {
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 36%;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat-accent) 66%, #ffffff);
  opacity: 0.72;
}

.category-preview-mark {
  position: absolute;
  right: 13px;
  top: 28px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, var(--cat-accent) 0 38%, transparent 38% 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--cat-accent) 68%, #ffffff) 0 38%, transparent 38% 100%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.category-preview-mark--qr {
  background:
    linear-gradient(90deg, #111827 0 22%, transparent 22% 34%, #111827 34% 52%, transparent 52% 68%, #111827 68% 100%),
    linear-gradient(0deg, #111827 0 24%, transparent 24% 38%, #111827 38% 54%, transparent 54% 70%, #111827 70% 100%),
    #ffffff;
}

.category-preview-mark--barcode {
  width: 42px;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, #111827 0 2px, #ffffff 2px 4px, #111827 4px 5px, #ffffff 5px 8px);
}

.category-preview-mark--warning {
  width: 34px;
  height: 30px;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--cat-accent);
}

.category-preview-mark--check {
  background:
    linear-gradient(135deg, transparent 0 38%, #ffffff 39% 48%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 43%, #ffffff 44% 55%, transparent 56% 100%),
    var(--cat-accent);
}

.category-card-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat-accent) 11%, #ffffff);
  color: color-mix(in srgb, var(--cat-ink) 84%, var(--cat-accent));
  font-size: 0.76rem;
  font-weight: 900;
}

.category-card--inspection .category-label-art {
  width: 86px;
  height: 86px;
  border-radius: 999px;
}

.category-card--inspection .category-preview-bar {
  height: 22px;
}

.category-card--inspection .category-preview-code {
  left: 16px;
  top: 32px;
  font-size: 0.95rem;
}

.category-card--inspection .category-preview-line,
.category-card--inspection .category-preview-mark {
  display: none;
}

.category-card--safety .category-preview-mark {
  width: 34px;
  height: 30px;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--cat-accent);
}

.category-card--qr .category-preview-mark {
  background:
    linear-gradient(90deg, #111827 0 22%, transparent 22% 34%, #111827 34% 52%, transparent 52% 68%, #111827 68% 100%),
    linear-gradient(0deg, #111827 0 24%, transparent 24% 38%, #111827 38% 54%, transparent 54% 70%, #111827 70% 100%),
    #ffffff;
}

.category-card--barcode .category-preview-mark {
  left: 14px;
  right: auto;
  top: auto;
  bottom: 10px;
  width: 58%;
  height: 12px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #111827 0 2px, #ffffff 2px 4px, #111827 4px 5px, #ffffff 5px 8px);
}

.category-card--barcode .category-preview-line {
  display: none;
}

.category-card--cables .category-label-art {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cat-accent) 0 12%, var(--cat-ink) 12% 100%);
}

.category-card--lean .category-label-art,
.category-card--tools .category-label-art {
  background:
    linear-gradient(90deg, var(--cat-ink) 0 100%),
    var(--cat-ink);
}

.category-card--lean .category-preview-bar,
.category-card--tools .category-preview-bar {
  height: 16px;
}

@media (max-width: 840px) {
  .category-card,
  .studio-body-shop .category-card {
    min-height: 190px;
  }

  .category-label-preview {
    height: 98px;
    min-height: 98px;
    padding: 10px;
  }

  .category-label-art {
    height: min(74px, 100%);
  }

  .category-card-title {
    font-size: 1rem;
  }

  .category-card-copy {
    font-size: 0.88rem;
  }
}

@media (max-width: 520px) {
  .category-card,
  .studio-body-shop .category-card {
    min-height: 0;
  }

  .category-card-icon {
    width: 36px;
    height: 36px;
  }

  .category-card-kicker,
  .category-card-tags span {
    font-size: 0.72rem;
  }
}

.studio-body-shop .field-grid,
.studio-body-shop .editor-mini-grid,
.studio-body-shop .print-layout-grid {
  gap: 8px;
}

.studio-body-shop input,
.studio-body-shop select,
.studio-body-shop textarea {
  min-height: 34px;
  border-radius: 7px;
}

.studio-body-shop .editor-setup-shell {
  display: grid;
  gap: 8px;
}

.studio-body-shop .serial-preview.compact,
.studio-body-shop .scan-health-item,
.studio-body-shop .sheet-layout-summary {
  border-radius: 7px;
}

.studio-body-shop .studio-workspace,
.studio-body-shop .editor-shell {
  gap: 8px;
}

.studio-body-shop .studio-workspace-head,
.studio-body-shop .editor-toolbar {
  border-radius: 8px;
  padding: 8px;
}

.studio-body-shop .editor-grid {
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 10px;
}

.studio-body-shop .editor-stage-board {
  min-height: 360px;
  border-radius: 7px;
  overflow: hidden;
}

.studio-body-shop .editor-panel {
  overflow: hidden;
}

.studio-body-shop .editor-meta-list div,
.studio-body-shop .editor-quick-list div {
  align-items: flex-start;
}

.studio-body-shop #editor-properties-panel .editor-panel-section {
  gap: 10px;
}

.studio-body-shop #editor-properties-panel .field-grid.two,
.studio-body-shop #editor-properties-panel .editor-field-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.studio-body-shop #editor-properties-panel textarea,
.studio-body-shop #editor-properties-panel input[type="text"],
.studio-body-shop #editor-properties-panel input[type="number"] {
  width: 100%;
}

.studio-body-shop #editor-properties-panel .editor-action-row {
  display: grid;
  grid-template-columns: 1fr;
}

.studio-body-shop #editor-properties-panel .editor-action-row .button {
  width: 100%;
}

.studio-body-shop .editor-stage-fit {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.studio-body-shop .editor-stage-shell {
  overflow: hidden;
}

.studio-body-shop .editor-canvas {
  max-width: 100%;
}

.studio-body-shop .summary-panel {
  padding: 12px;
}

.studio-body-shop .summary-panel h2 {
  font-size: 1.18rem;
}

.studio-body-shop .studio-retired-screen {
  display: none !important;
}

.studio-body-shop .onepage-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-body-shop .editor-format-card {
  margin: 0 0 10px;
  padding: 12px;
  border-color: #cfd8e3;
  background:
    linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 255, 255, 0) 44%),
    #fff;
}

.studio-body-shop .editor-format-card .custom-format-head {
  margin-bottom: 10px;
}

.studio-body-shop .editor-format-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.studio-body-shop .editor-format-card p {
  margin-bottom: 0;
}

.studio-body-shop .editor-format-card .custom-format-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.studio-body-shop .editor-grid {
  grid-template-columns: minmax(236px, 280px) minmax(520px, 1fr) minmax(260px, 300px);
  gap: 12px;
}

.studio-body-shop .editor-stage-board {
  min-height: clamp(420px, 52vh, 620px);
  padding: 18px;
  overflow: auto;
}

.studio-body-shop .editor-panel {
  min-width: 0;
}

.studio-body-shop .editor-meta-list div {
  display: grid;
  grid-template-columns: minmax(82px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 10px;
}

.studio-body-shop .editor-meta-list span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.studio-body-shop .editor-meta-list strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.studio-body-shop .editor-layer-list {
  max-height: 44vh;
  overflow: auto;
  padding-right: 2px;
}

.studio-body-shop .preview-canvas {
  min-height: 230px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f9fafb, #eef2f5),
    repeating-linear-gradient(90deg, rgba(17, 24, 33, 0.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(rgba(17, 24, 33, 0.04) 0 1px, transparent 1px 26px);
}

.studio-body-shop .earnings-card {
  border-radius: 7px;
  background: #fff3ea;
  border-color: #ffd5bd;
}

.studio-body-shop .wizard-nav {
  margin-top: 10px;
}

.studio-body-shop .button.primary,
.studio-body-shop .button-warm {
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

.editor-only-body .onepage-flow,
.editor-only-body .onepage-subtabs {
  display: none;
}

.editor-only-body .studio-body-shop .studio-side,
.editor-only-body .studio-side {
  position: static;
}

@media (max-width: 1180px) {
  .studio-body-shop .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .studio-side {
    position: static;
  }

  .studio-body-shop .editor-grid {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .editor-format-card .custom-format-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .studio-body-shop .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .header-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .studio-body-shop .brand-lockup,
  .studio-body-shop .site-nav,
  .studio-body-shop .header-actions {
    width: 100%;
  }

  .studio-body-shop .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onepage-flow,
  .onepage-subtabs {
    grid-template-columns: 1fr;
  }

  .onepage-flow-step {
    justify-content: flex-start;
    min-height: 50px;
  }

  .studio-body-shop .studio-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .studio-body-shop .studio-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .studio-body-shop .studio-actions .button:last-child {
    grid-column: 1 / -1;
  }
}

/* Keep the direct editor canvas wide and usable inside customer/admin editor mode. */
.editor-only-body .studio-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.editor-only-body .editor-shell {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 0;
}

.editor-only-body .editor-grid {
  grid-column: 2;
  grid-template-columns: minmax(430px, 1fr) 300px;
}

.editor-only-body .editor-stage-board {
  min-height: 520px;
}

@media (max-width: 1180px) {
  .editor-only-body .editor-shell,
  .editor-only-body .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-only-body .editor-grid {
    grid-column: 1;
  }

  .editor-only-body .editor-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .editor-only-body .editor-tool-button {
    width: auto;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .editor-only-body .editor-stage-board {
    min-height: 360px;
  }
}

.home-body-v2 {
  --brand: #ff6600;
  --brand-deep: #db5100;
  --accent: #ff6600;
}

.home-body-v2 .brand-mark,
.home-body-v2 .button.primary {
  background: #ff6600;
  border-color: #ff6600;
}

.home-body-v2 .button.primary:hover {
  background: #db5100;
  border-color: #db5100;
}

/* Sales homepage rebuild: truthful product-led page with real scan-rendered samples. */
.home-body-sales {
  --brand: #f06423;
  --brand-deep: #b94719;
  --accent: #1b8f6a;
  --sales-ink: #111827;
  --sales-muted: #586575;
  --sales-line: #d7dee8;
  --sales-soft: #f5f7fa;
  background: #ffffff;
}

.home-body-sales .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.home-body-sales .brand-mark,
.home-body-sales .button.primary {
  background: #f06423;
  border-color: #f06423;
}

.home-body-sales .button.primary:hover {
  background: #b94719;
  border-color: #b94719;
}

.home-body-sales .button.ghost,
.home-body-v2 .button.ghost {
  color: #10213f;
  border-color: rgba(16, 33, 63, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

.home-body-sales .header-row {
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 76px;
}

.home-body-sales .brand-lockup {
  min-width: 0;
}

.home-body-sales .brand-lockup small {
  max-width: 260px;
  line-height: 1.35;
}

.home-header-nav {
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.home-header-nav > a,
.header-more-nav > summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: #526174;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-header-nav > a:hover,
.home-header-nav > a:focus-visible,
.header-more-nav[open] > summary,
.header-more-nav > summary:hover,
.header-more-nav > summary:focus-visible {
  background: #f3f7fb;
  color: #0b1f44;
}

.header-more-nav {
  position: relative;
}

.header-more-nav > summary {
  cursor: pointer;
  list-style: none;
}

.header-more-nav > summary::-webkit-details-marker {
  display: none;
}

.header-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 80;
  display: grid;
  min-width: 220px;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d9e2ee;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(12, 30, 55, 0.14);
}

.header-more-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #344154;
  font-weight: 800;
  text-decoration: none;
}

.header-more-menu a:hover,
.header-more-menu a:focus-visible {
  background: #f5f8fc;
  color: #f06423;
}

.home-header-actions {
  align-items: center;
  margin-left: 0;
}

.home-header-actions .button {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.home-header-actions .button.primary {
  box-shadow: 0 12px 26px rgba(240, 100, 35, 0.20);
}

.sales-hero {
  position: relative;
  min-height: min(620px, calc(100svh - 132px));
  overflow: hidden;
  color: #ffffff;
  background: #101722;
  isolation: isolate;
}

.sales-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 18, 29, 0.96) 0%, rgba(12, 18, 29, 0.86) 36%, rgba(12, 18, 29, 0.28) 72%, rgba(12, 18, 29, 0.08) 100%),
    linear-gradient(180deg, rgba(16, 23, 34, 0.26), rgba(16, 23, 34, 0.78));
}

.sales-hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(135deg, #222b37 0%, #394352 52%, #d2b27d 52%, #a17945 100%);
}

.sales-workbench {
  position: absolute;
  inset: 0;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.sales-workbench::before {
  content: "";
  position: absolute;
  right: -9%;
  top: 6%;
  width: 58%;
  height: 86%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    #243142;
  background-size: 34px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  transform: rotate(2deg);
}

.sales-label-roll {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 280px;
  height: 118px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #f7f2e7 0 24%, #cdd3dc 24% 30%, #f7f2e7 30% 56%, #cdd3dc 56% 62%, #f7f2e7 62% 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  transform: rotate(-8deg);
}

.sales-hero-content {
  position: relative;
  display: grid;
  align-content: center;
  min-height: inherit;
  max-width: var(--wrap);
  padding: 46px 0 42px;
}

.sales-eyebrow {
  margin: 0 0 12px;
  color: #f5a15f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sales-hero h1,
.sales-final-cta h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.sales-hero h1 {
  max-width: 650px;
}

.sales-lead {
  max-width: 58ch;
  margin: 22px 0 0;
  color: #dfe6ef;
  font-size: 1.18rem;
  line-height: 1.66;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sales-ghost-on-hero {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.sales-ghost-on-hero:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.sales-proofline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
  margin: 32px 0 0;
}

.sales-proofline div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.sales-proofline dt {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 850;
}

.sales-proofline dd {
  margin: 2px 0 0;
  color: #d8e0ec;
  font-size: 0.9rem;
}

.home-template-preview {
  position: relative;
  display: block;
  container-type: size;
  aspect-ratio: var(--sample-ratio, 2) / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--sample-bg, #0b1f44);
  color: var(--sample-fg, #ffffff);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.home-template-hero {
  position: absolute;
  width: clamp(216px, 24vw, 340px);
  min-height: 0;
}

.home-template-card {
  width: 100%;
  min-height: 0;
  margin: 0 0 14px;
  box-shadow: none;
}

.home-template-element {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-template-text {
  min-width: 0;
  min-height: 0;
  padding: 0 1px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  font-size: calc((var(--font-mm, 6) / var(--sample-height-mm, 40)) * 100cqh);
  line-height: var(--line-height-num, 1);
  letter-spacing: calc((var(--track-mm, 0) / var(--sample-height-mm, 40)) * 100cqh);
}

.home-template-text-inner {
  display: block;
  width: 100%;
}

.home-template-text.is-fit-hidden {
  opacity: 0;
}

.home-template-shape {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-template-code {
  justify-content: center;
  align-items: center;
}

.home-template-code img,
.home-template-image img,
.home-template-preview > img {
  display: block;
  object-fit: contain;
}

.home-template-qr {
  justify-content: center;
  align-items: center;
  background: transparent;
}

.home-template-qr img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 4px;
  background: #ffffff;
}

.home-template-barcode img {
  width: auto;
  height: auto;
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  padding: 2px 3px;
  border-radius: 4px;
  background: #ffffff;
}

.home-template-image img {
  padding: 0;
  background: transparent;
}

.home-template-fallback-head {
  display: block;
  padding: 12px 14px;
  background: var(--sample-accent, #f06423);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-template-preview > strong {
  display: block;
  padding: 16px 14px 4px;
  color: var(--sample-fg, #ffffff);
  font-size: 1.8rem;
  line-height: 1;
}

.home-template-preview > small {
  display: block;
  padding: 0 14px 12px;
  color: color-mix(in srgb, var(--sample-fg, #ffffff) 72%, transparent);
  font-weight: 750;
}

.home-template-preview > img {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44%;
  height: 25%;
}

.home-template-fallback-qr {
  width: auto !important;
  height: 34% !important;
  max-width: 34%;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-template-fallback-barcode {
  width: 44%;
  height: 25%;
}

.home-template-pos-1 {
  right: 15%;
  top: 64px;
  transform: rotate(-5deg);
}

.home-template-pos-2 {
  right: 6%;
  top: 132px;
  transform: rotate(5deg);
}

.home-template-pos-3 {
  right: 19%;
  bottom: 70px;
  transform: rotate(4deg);
}

.home-template-pos-4 {
  right: 9%;
  bottom: 36px;
  transform: rotate(-3deg);
}

.sales-source-note {
  margin: 16px 0 0;
  color: var(--sales-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.real-label {
  display: grid;
  gap: 8px;
  width: 340px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.real-label span,
.real-label small {
  display: block;
  color: rgba(17, 24, 39, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.real-label strong {
  display: block;
  color: #111827;
  font-size: 2.05rem;
  line-height: 1;
  letter-spacing: 0;
}

.real-label img {
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  align-self: end;
  padding: 5px;
  border-radius: 4px;
  background: #ffffff;
}

.real-label-machine img,
.real-label-tool img,
.real-label-inspection img {
  width: 74px;
  height: 74px;
  margin-left: auto;
}

.real-label-warehouse {
  background: #ffffff;
  border-top: 16px solid #1c65b8;
}

.real-label-machine {
  background: #f4f6f8;
  border-top: 16px solid #6c7480;
}

.real-label-shelf {
  background: #fffaf0;
  border-top: 16px solid #d4952f;
}

.real-label-cable {
  background: #fff6b8;
  border-top: 16px solid #141414;
}

.real-label-tool {
  background: #edf7f2;
  border-top: 16px solid #1b8f6a;
}

.real-label-inspection {
  background: #f2fbf6;
  border-top: 16px solid #2f8d47;
}

.real-label-pos-1 {
  position: absolute;
  right: 15%;
  top: 64px;
  transform: rotate(-5deg);
}

.real-label-pos-2 {
  position: absolute;
  right: 6%;
  top: 132px;
  transform: rotate(5deg);
}

.real-label-pos-3 {
  position: absolute;
  right: 19%;
  bottom: 70px;
  transform: rotate(4deg);
}

.real-label-pos-4 {
  position: absolute;
  right: 9%;
  bottom: 36px;
  transform: rotate(-3deg);
}

.sales-strip,
.sales-section {
  padding: 58px 0;
}

.sales-section[id] {
  scroll-margin-top: 98px;
}

.sales-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--sales-line);
}

.sales-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sales-strip-grid div,
.sales-use-grid article,
.sales-label-card,
.sales-step,
.sales-package,
.sales-catalog-stats div,
.sales-brand-list span,
.sales-faq-list details {
  border: 1px solid var(--sales-line);
  border-radius: 8px;
  background: #ffffff;
}

.sales-strip-grid div {
  padding: 18px;
}

.sales-strip-grid strong,
.sales-strip-grid span,
.sales-catalog-stats dt,
.sales-catalog-stats dd {
  display: block;
}

.sales-strip-grid span,
.sales-section-head p,
.sales-use-grid p,
.sales-step p,
.sales-package p,
.sales-package span,
.sales-catalog-grid p,
.sales-catalog-stats dd,
.sales-faq-list p {
  color: var(--sales-muted);
}

.sales-section-muted {
  background: var(--sales-soft);
}

.sales-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.sales-section-head h2,
.sales-catalog-grid h2,
.sales-final-cta h2 {
  margin: 0;
  color: var(--sales-ink);
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.sales-section-head p,
.sales-catalog-grid p {
  margin: 14px 0 0;
  font-size: 1.03rem;
  line-height: 1.66;
}

.sales-label-grid,
.sales-use-grid,
.sales-package-grid {
  display: grid;
  gap: 16px;
}

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

.sales-label-card {
  padding: 14px;
}

.real-label-card {
  position: relative;
  width: 100%;
  min-height: 206px;
  margin: 0 0 14px;
  box-shadow: none;
}

.sales-label-card h3,
.sales-use-grid h3,
.sales-step h3,
.sales-package h3 {
  margin: 0 0 6px;
  color: var(--sales-ink);
}

.sales-label-card p,
.sales-use-grid p,
.sales-step p,
.sales-package p {
  margin: 0;
}

.sales-process-grid,
.sales-pricing-grid,
.sales-catalog-grid,
.sales-faq-grid,
.sales-three-d-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.sales-section-head-sticky {
  position: sticky;
  top: 104px;
}

.sales-step-list {
  display: grid;
  gap: 14px;
}

.sales-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.sales-step > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 850;
}

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

.sales-use-grid article {
  padding: 20px;
}

.sales-three-d-cards {
  display: grid;
  gap: 16px;
}

.sales-three-d-cards article {
  padding: 22px;
  border: 1px solid var(--sales-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 31, 68, 0.98), rgba(24, 74, 136, 0.94)),
    #10233f;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
}

.sales-three-d-cards h3 {
  margin: 0 0 8px;
  color: #ffffff;
}

.sales-three-d-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.sales-checklist {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sales-checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--sales-muted);
}

.sales-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1b8f6a;
}

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

.sales-package {
  position: relative;
  min-height: 230px;
  padding: 20px;
}

.sales-package.is-recommended {
  border-color: #f06423;
  box-shadow: 0 14px 36px rgba(240, 100, 35, 0.14);
}

.sales-package-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #fff1e8;
  color: #b94719;
  font-size: 0.78rem;
  font-weight: 800;
}

.sales-package strong {
  display: block;
  margin: 10px 0;
  color: var(--sales-ink);
  font-size: 1.8rem;
}

.sales-catalog-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.sales-catalog-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.sales-catalog-stats div {
  padding: 18px;
}

.sales-catalog-stats dt {
  color: var(--sales-ink);
  font-size: 2rem;
  font-weight: 850;
}

.sales-brand-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sales-brand-list span,
.sales-brand-list a {
  padding: 10px 14px;
  color: #344052;
  font-weight: 750;
}

.sales-brand-list a {
  border: 1px solid rgba(255, 91, 0, 0.25);
  border-radius: 999px;
  background: #fff7ed;
  color: #e65300;
  text-decoration: none;
}

.sales-faq-list {
  display: grid;
  gap: 12px;
}

.sales-faq-list details {
  padding: 18px 20px;
}

.sales-faq-list summary {
  cursor: pointer;
  color: var(--sales-ink);
  font-weight: 800;
}

.sales-faq-list p {
  margin: 12px 0 0;
}

.sales-final-cta {
  padding: 64px 0 78px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.9)),
    linear-gradient(135deg, #f06423, #1b8f6a);
}

.sales-final-cta h2 {
  max-width: 800px;
  color: #ffffff;
}

.seo-nav-3d {
  color: #f06423 !important;
  font-weight: 900;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 100, 35, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(27, 143, 106, 0.16), transparent 28%),
    linear-gradient(180deg, #fffaf6 0%, #f7fbff 100%);
}

.seo-landing-body-3d .seo-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(240, 100, 35, 0.24), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(22, 119, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #111827 0%, #10213f 58%, #fff7ed 58%, #ffffff 100%);
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.seo-hero-grid > * {
  min-width: 0;
}

.seo-hero-copy h1 {
  max-width: 920px;
  margin: 0;
  color: var(--sales-ink);
  font-size: clamp(2.5rem, 5.2vw, 5.35rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.seo-landing-body-3d .seo-hero-copy h1,
.seo-landing-body-3d .seo-hero-copy .sales-lead {
  color: #ffffff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.seo-landing-body-3d .seo-hero-copy {
  max-width: 650px;
}

.seo-landing-body-3d .seo-hero-copy .sales-eyebrow {
  color: #ffb26f;
}

.seo-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.seo-proof-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #10213f;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.seo-landing-body-3d .seo-proof-list span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.76);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.seo-hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.seo-visual-card {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 2.35 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: #0b1f44;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
  transform: rotate(-3deg);
}

.seo-visual-card.is-3d {
  border-radius: 18px;
  transform: rotateX(18deg) rotateZ(-5deg);
  box-shadow:
    0 30px 0 #d65c00,
    0 62px 92px rgba(0, 0, 0, 0.36);
}

.seo-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 30%, transparent 30% 100%),
    radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.12), transparent 26%);
}

.seo-visual-card.is-3d::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  height: 30px;
  background: #d65c00;
  transform: skewX(-24deg);
  transform-origin: top left;
}

.seo-visual-top {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 22px;
  background: #f06423;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.seo-visual-card strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 28px 28px 2px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.seo-visual-card small {
  position: relative;
  z-index: 1;
  display: block;
  padding: 10px 28px;
  font-weight: 850;
}

.seo-visual-scan {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  width: 72px;
  height: 72px;
  border: 8px solid #ffffff;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #111827 0 18%, transparent 18% 34%, #111827 34% 48%, transparent 48% 66%, #111827 66% 100%),
    linear-gradient(#ffffff, #ffffff);
}

.seo-visual-line {
  position: absolute;
  left: 28px;
  bottom: 30px;
  z-index: 1;
  width: 34%;
  height: 12px;
  border-radius: 999px;
  background: #1b8f6a;
}

.seo-visual-shadow {
  position: absolute;
  width: 54%;
  height: 24px;
  bottom: 54px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  filter: blur(18px);
}

.home-body-homepage .seo-hero {
  padding: 82px 0 78px;
  background:
    radial-gradient(circle at 16% 18%, rgba(240, 100, 35, 0.25), transparent 30%),
    radial-gradient(circle at 76% 18%, rgba(22, 119, 255, 0.2), transparent 29%),
    radial-gradient(circle at 86% 82%, rgba(27, 143, 106, 0.18), transparent 26%),
    linear-gradient(135deg, #111827 0%, #10213f 57%, #fff7ed 57%, #ffffff 100%);
}

.home-body-homepage .seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 68%);
}

.home-body-homepage .seo-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.home-body-homepage .seo-hero-copy h1,
.home-body-homepage .seo-hero-copy .sales-lead {
  color: #ffffff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
}

.home-body-homepage .seo-hero-copy h1 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.home-body-homepage .seo-hero-copy .sales-lead {
  overflow-wrap: anywhere;
}

.home-body-homepage .seo-hero-copy .sales-eyebrow {
  color: #ffb26f;
}

.home-body-homepage .seo-proof-list span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(17, 24, 39, 0.72);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.home-seo-visual {
  min-height: 430px;
  overflow: hidden;
}

.home-visual-card-main {
  z-index: 2;
  transform: rotateX(9deg) rotateZ(-4deg);
}

.home-hero-proof-stack {
  position: absolute;
  inset: 28px 0 auto auto;
  z-index: 4;
  display: grid;
  gap: 12px;
  width: min(56%, 300px);
}

.home-hero-proof-stack span {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
  color: #0f172a;
  backdrop-filter: blur(14px);
}

.home-hero-proof-stack strong {
  color: #e65300;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.home-hero-proof-stack small {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-template-stack-1,
.home-template-stack-2 {
  position: absolute;
  z-index: 3;
  width: clamp(170px, 18vw, 250px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25);
}

.home-template-stack-1 {
  left: 0;
  top: 32px;
  transform: rotate(-7deg);
}

.home-template-stack-2 {
  right: 0;
  bottom: 48px;
  transform: rotate(6deg);
}

.home-hero-3d-plate {
  position: absolute;
  left: 8%;
  bottom: 18px;
  z-index: 4;
  width: min(54%, 260px);
  padding: 16px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ff7a1a 0 26%, #101827 26% 100%);
  color: #ffffff;
  box-shadow:
    0 14px 0 #d65c00,
    0 30px 54px rgba(15, 23, 42, 0.28);
  transform: rotateX(16deg) rotateZ(5deg);
}

.home-hero-3d-plate span,
.home-hero-3d-plate small {
  display: block;
  font-weight: 900;
}

.home-hero-3d-plate span {
  margin-bottom: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.home-hero-3d-plate strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.home-hero-3d-plate small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-content-card {
  padding: 24px;
  border: 1px solid var(--sales-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 100, 35, 0.1), transparent 32%),
    #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.seo-content-card h2 {
  margin: 0 0 12px;
  color: var(--sales-ink);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.seo-content-card p {
  margin: 0 0 16px;
  color: var(--sales-muted);
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .sales-hero h1,
  .sales-final-cta h2 {
    font-size: 3.5rem;
  }

  .real-label-pos-1 {
    right: 18%;
  }

  .real-label-pos-2,
  .real-label-pos-4 {
    right: 2%;
  }

  .sales-label-grid,
  .sales-use-grid,
  .sales-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-process-grid,
  .sales-pricing-grid,
  .sales-catalog-grid,
  .sales-faq-grid,
  .sales-three-d-grid,
  .seo-hero-grid,
  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .sales-section-head-sticky {
    position: static;
  }

  .seo-landing-body-3d .seo-hero {
    background:
      radial-gradient(circle at 16% 12%, rgba(240, 100, 35, 0.24), transparent 28%),
      linear-gradient(180deg, #111827 0%, #10213f 58%, #fff7ed 58%, #ffffff 100%);
  }

  .home-body-homepage .seo-hero {
    background:
      radial-gradient(circle at 16% 12%, rgba(240, 100, 35, 0.24), transparent 28%),
      radial-gradient(circle at 84% 70%, rgba(22, 119, 255, 0.16), transparent 24%),
      linear-gradient(180deg, #111827 0%, #10213f 58%, #fff7ed 58%, #ffffff 100%);
  }

  .seo-hero-visual {
    min-height: 300px;
  }

  .admin-selected-template-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-body-sales .header-row {
    min-height: 68px;
  }

  .home-body-sales .brand-lockup {
    min-width: 0;
  }

  .home-body-sales .site-nav {
    display: none;
  }

  .home-body-sales .header-actions {
    margin-left: auto;
  }

  .home-body-sales .header-actions .button.ghost {
    display: none;
  }

  .sales-hero {
    min-height: auto;
    padding: 42px 0 36px;
  }

  .home-body-homepage .seo-hero {
    padding: 48px 0 44px;
  }

  .home-body-homepage .seo-hero-grid {
    display: block;
  }

  .home-body-homepage .seo-hero-copy,
  .home-body-homepage .seo-hero-copy .sales-lead {
    width: 100%;
    max-width: 100%;
  }

  .home-body-homepage .seo-hero-copy h1 {
    max-width: 16ch;
  }

  .home-body-homepage .seo-hero-copy .sales-lead {
    max-width: 34ch;
  }

  .sales-hero::after {
    background: rgba(12, 18, 29, 0.86);
  }

  .sales-hero-scene {
    opacity: 0.55;
  }

  .sales-workbench::before {
    right: -38%;
    width: 92%;
  }

  .real-label-pos-1,
  .real-label-pos-2,
  .real-label-pos-3,
  .real-label-pos-4,
  .home-template-pos-1,
  .home-template-pos-2,
  .home-template-pos-3,
  .home-template-pos-4 {
    display: none;
  }

  .sales-hero-content {
    min-height: auto;
    padding: 0;
  }

  .sales-hero h1,
  .home-body-homepage .seo-hero-copy h1,
  .sales-final-cta h2 {
    font-size: 2.5rem;
    line-height: 1.04;
  }

  .sales-lead {
    font-size: 1rem;
  }

  .sales-proofline,
  .sales-strip-grid,
  .sales-label-grid,
  .sales-use-grid,
  .sales-package-grid,
  .sales-catalog-stats {
    grid-template-columns: 1fr;
  }

  .sales-section,
  .sales-strip {
    padding: 42px 0;
  }

  .sales-section[id] {
    scroll-margin-top: 138px;
  }

  .sales-section-head h2,
  .sales-catalog-grid h2 {
    font-size: 2rem;
  }

  .home-seo-visual {
    min-height: 330px;
  }

  .home-hero-proof-stack {
    top: 10px;
    right: 4%;
    width: min(58%, 270px);
  }

  .home-template-stack-1 {
    left: 4%;
    top: 10px;
  }

  .home-template-stack-2 {
    right: 4%;
    bottom: 12px;
  }

  .home-hero-3d-plate {
    left: 12%;
    bottom: 0;
    width: min(62%, 230px);
  }
}

@media (max-width: 560px) {
  .home-body-sales .brand-lockup small {
    display: none;
  }

  .home-body-sales .brand-lockup {
    gap: 10px;
  }

  .home-body-sales .brand-mark {
    width: 40px;
    height: 40px;
  }

  .home-body-sales .header-actions .button.primary {
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .sales-hero h1,
  .home-body-homepage .seo-hero-copy h1,
  .sales-final-cta h2 {
    font-size: 2rem;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .home-body-homepage .seo-hero .sales-actions .button {
    width: 100%;
    justify-content: center;
  }

  .home-seo-visual {
    min-height: 260px;
  }

  .home-visual-card-main {
    width: min(94%, 350px);
  }

  .home-hero-proof-stack {
    left: 50%;
    right: auto;
    top: 12px;
    width: min(86%, 300px);
    transform: translateX(-50%);
  }

  .home-hero-proof-stack span {
    padding: 10px 12px;
  }

  .home-template-stack-1,
  .home-template-stack-2 {
    display: none;
  }

  .home-hero-3d-plate {
    left: 50%;
    bottom: -8px;
    width: min(78%, 240px);
    transform: translateX(-50%) rotateX(12deg) rotateZ(3deg);
  }

  .sales-proofline div,
  .sales-strip-grid div,
  .sales-use-grid article,
  .sales-step,
  .sales-package,
  .sales-faq-list details {
    padding: 14px;
  }

  .sales-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .real-label-card {
    min-height: 188px;
  }

  .home-template-card {
    min-height: 0;
  }

  .real-label strong {
    font-size: 1.72rem;
  }
}

/* Final compact one-page polish: keep the full catalog, remove the "endless list" feeling. */
.studio-body-shop .printer-step-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.55fr);
  gap: 10px;
  margin-top: 10px;
}

.studio-body-shop .compact-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #111821;
}

.studio-body-shop .compact-list-head strong {
  font-size: 0.92rem;
}

.studio-body-shop .compact-list-head span {
  color: #65717d;
  font-size: 0.76rem;
  text-align: right;
}

.studio-body-shop .printer-step-brands .selection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.studio-body-shop .printer-step-brands .selection-card-brand {
  min-height: 56px;
  padding: 9px 10px;
}

.studio-body-shop .printer-step-brands .selection-card-brand p,
.studio-body-shop .printer-step-brands .selection-card-brand .dimension-chip {
  display: none;
}

.studio-body-shop .printer-step-media-panel {
  padding: 10px;
}

.studio-body-shop .printer-step-media-panel h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.studio-body-shop .printer-step-media-panel .section-copy {
  font-size: 0.78rem;
}

.studio-body-shop .printer-step-media-panel .media-grid {
  gap: 7px;
  margin-top: 8px;
}

.studio-body-shop .printer-step-media-panel .media-card {
  min-height: 0;
  padding: 8px 10px;
}

.studio-body-shop .printer-step-media-panel .media-card p {
  margin-top: 2px;
}

.studio-body-shop .onepage-subtabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 36px;
}

.studio-body-shop .wizard-nav .button {
  min-height: 38px;
}

.studio-body-shop .editor-only-header {
  background: #fff;
  border: 1px solid #cfd6de;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.studio-body-shop .editor-shell {
  border-radius: 0 0 8px 8px;
}

.studio-body-shop .editor-toolbar {
  align-content: start;
}

.studio-body-shop .editor-tool-button {
  min-height: 36px;
  padding: 7px 9px;
}

.editor-only-body .editor-grid {
  grid-template-columns: minmax(520px, 1fr) minmax(260px, 300px);
}

.editor-only-body .editor-stage-board {
  min-height: min(56vh, 540px);
}

@media (max-width: 1180px) {
  .studio-body-shop .printer-step-layout,
  .editor-only-body .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-only-body .editor-stage-board {
    min-height: 420px;
  }
}

/* Account/admin completion pass */
.ops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ops-stat-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ops-stat-card span,
.ops-stat-card small {
  color: var(--muted);
}

.ops-stat-card strong {
  color: var(--brand-deep);
  font-size: 1.4rem;
  line-height: 1.05;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d8e3ef;
  background: #f5f8fc;
  color: #526174;
  font-size: 0.78rem;
  font-weight: 900;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-status-badge.is-success {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.admin-status-badge.is-warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.admin-status-badge.is-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ops-rule-grid,
.ops-admin-links {
  display: grid;
  gap: 12px;
}

.ops-rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  margin-bottom: 18px;
}

.ops-admin-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-admin-links .check-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ops-admin-links .check-item:hover {
  border-color: #c4d2e3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

@media (max-width: 980px) {
  .ops-metrics,
  .ops-rule-grid,
  .ops-admin-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ops-metrics,
  .ops-rule-grid,
  .ops-admin-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .studio-body-shop .editor-format-card .custom-format-fields {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .onepage-flow,
  .studio-body-shop .onepage-subtabs {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .onepage-flow-step {
    border-right: 0;
    border-bottom: 1px solid #cfd6de;
  }

  .studio-body-shop .onepage-flow-step:last-child {
    border-bottom: 0;
  }

  .studio-body-shop .printer-step-fields,
  .studio-body-shop .editor-primary-fields,
  .studio-body-shop .editor-mini-grid {
    grid-template-columns: 1fr;
  }

  .studio-body-shop .printer-step-brands .selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-body-shop .compact-list-head {
    display: block;
  }

  .studio-body-shop .compact-list-head span {
    display: block;
    margin-top: 3px;
    text-align: left;
  }
}

.three-d-flow {
  margin-bottom: 1rem;
}

.three-d-studio-body .studio-grid {
  align-items: start;
}

.three-d-cad-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.8fr) minmax(260px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.three-d-cad-panel,
.three-d-cad-world {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d7e0ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.three-d-cad-world {
  background:
    radial-gradient(circle at top left, rgba(255, 107, 0, 0.08), transparent 24%),
    #fff;
}

.three-d-cad-panel .field-grid.one,
.three-d-cad-panel .three-d-toggle-grid {
  margin-top: 10px;
}

.three-d-series-config {
  margin-top: 14px;
}

.three-d-series-config .checkout-note {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.three-d-cad-panel .inline-check {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  background: #f8fbff;
}

.three-d-cad-panel .compact-top {
  margin-top: 16px;
}

.three-d-preview-shell-cad {
  padding: 0;
  border: 0;
  background: transparent;
}

.three-d-orbit-shell {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #d7e0ed;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #f7faff, #edf3fb);
}

.three-d-orbit-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.three-d-orbit-copy strong,
.three-d-orbit-copy span {
  display: block;
}

.three-d-orbit-copy strong {
  color: #102240;
  font-size: 1rem;
  font-weight: 900;
}

.three-d-orbit-copy span,
.three-d-orbit-hint,
.three-d-orbit-meta {
  color: #5c6b81;
  font-size: 0.82rem;
  font-weight: 700;
}

.three-d-orbit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.three-d-orbit-viewport {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(176, 189, 206, 0.8);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 38%),
    linear-gradient(180deg, #eef3fa, #dfe8f4);
  perspective: 1400px;
  cursor: grab;
}

.three-d-webgl-host {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  overflow: hidden;
}

.three-d-webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.three-d-webgl-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.three-d-webgl-status.is-fallback {
  background: rgba(255, 245, 230, 0.96);
  color: #9a3412;
}

.three-d-orbit-viewport:active {
  cursor: grabbing;
}

.three-d-orbit-camera,
.three-d-orbit-world {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.three-d-orbit-world {
  display: grid;
  place-items: center;
}

[data-three-d-renderer="webgl"] .three-d-orbit-camera {
  opacity: 0;
  pointer-events: none;
}

.three-d-orbit-buildplate {
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(157, 171, 192, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(157, 171, 192, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, #f6f9fd, #edf2f9);
  background-size: 28px 28px, 28px 28px, auto;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.22),
    inset 0 0 0 1px rgba(176, 189, 206, 0.85);
  transform-style: preserve-3d;
}

.three-d-orbit-buildplate-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.three-d-orbit-labels {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.three-d-orbit-label {
  position: absolute;
  transform-style: preserve-3d;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.three-d-orbit-label.is-active {
  filter: drop-shadow(0 0 22px rgba(37, 99, 235, 0.28));
}

.three-d-orbit-copy-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(8, 15, 29, 0.64);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

.three-d-orbit-label-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(11, 31, 68, 0.28);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--three-d-bg, #0b1f44) 88%, white 12%), var(--three-d-bg, #0b1f44)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.06));
  color: var(--three-d-text, #ffffff);
  transform: translateZ(var(--orbit-label-thickness, 10px));
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    inset 0 -10px 16px rgba(0, 0, 0, 0.12);
  container-type: size;
}

.three-d-orbit-label-surface .three-d-element {
  pointer-events: none;
}

.three-d-orbit-label-surface .three-d-element-text {
  font-size: min(var(--orbit-font, 18px), 72cqh);
  letter-spacing: var(--orbit-track, 0px);
  line-height: var(--element-line, 1);
}

.three-d-orbit-label-surface .three-d-element-text span {
  display: block;
  max-width: 100%;
  padding: var(--orbit-padding-y, 2px) var(--orbit-padding-x, 4px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.three-d-orbit-label-shadow {
  position: absolute;
  inset: auto 8% -12px 8%;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.28), transparent 70%);
  filter: blur(10px);
}

.three-d-preview-shell-cad .three-d-preview-buildplate {
  min-height: 520px;
}

.three-d-part-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.three-d-selected-form {
  margin-top: 12px;
}

.three-d-selected-form .field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-d-world-axis {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 3;
  display: grid;
  gap: 6px;
}

.three-d-world-axis span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.three-d-selection-list {
  margin-top: 10px;
}

.three-d-series-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 260px;
  overflow: auto;
}

.three-d-series-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7e0ed;
  border-radius: 14px;
  background: #f8fbff;
  color: #102240;
  text-align: left;
}

.three-d-series-chip strong {
  font-size: 0.8rem;
  font-weight: 900;
}

.three-d-series-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 800;
}

.three-d-series-chip small {
  color: #5c6b81;
  font-size: 0.74rem;
  font-weight: 800;
}

.three-d-series-chip.is-active {
  border-color: #2563eb;
  background: #eaf2ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.three-d-series-note {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f7fb;
  color: #5c6b81;
  font-size: 0.84rem;
  font-weight: 700;
}

.three-d-studio-body #three-d-studio[data-active-step="1"] {
  grid-template-columns: 1fr;
}

.three-d-studio-body #three-d-studio[data-active-step="1"] .studio-side {
  display: none;
}

.three-d-studio-body #three-d-studio[data-active-step="1"] .studio-main {
  max-width: none;
}

.three-d-side-panels {
  display: grid;
  gap: 16px;
}

.three-d-preview-shell {
  display: grid;
  gap: 12px;
  padding: 1rem;
  border: 1px dashed #d6deea;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 107, 0, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fbff, #eef3fa);
}

.three-d-preview-stage {
  display: grid;
  gap: 12px;
}

.three-d-preview-buildplate {
  position: relative;
  min-height: 320px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(176, 189, 206, 0.8);
  background:
    linear-gradient(90deg, rgba(157, 171, 192, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(157, 171, 192, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, #f6f9fd, #ecf1f8);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.three-d-preview-buildplate::after {
  content: "";
  position: absolute;
  inset: auto 10% 18px 10%;
  height: 22px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.22), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

.three-d-preview-buildplate-chip {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(176, 189, 206, 0.92);
  background: rgba(255, 255, 255, 0.94);
  color: #4b5a70;
  font-size: 0.78rem;
  font-weight: 800;
}

.three-d-preview-card {
  --three-d-bg: #0b1f44;
  --three-d-accent: #ff6b00;
  --three-d-text: #ffffff;
  position: relative;
  width: min(100%, 520px);
  margin: 34px auto 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--three-d-bg) 88%, white 12%), var(--three-d-bg)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.06));
  color: var(--three-d-text);
  border: 1px solid rgba(11, 31, 68, 0.32);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.18),
    inset 0 -10px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transform: perspective(1100px) rotateX(18deg) rotateZ(-4deg);
  transform-style: preserve-3d;
}

.three-d-preview-card::before {
  content: "";
  position: absolute;
  inset: auto 10px -10px 10px;
  height: 12px;
  border-radius: 0 0 18px 18px;
  background: color-mix(in srgb, var(--three-d-bg) 74%, black 26%);
  transform: translateZ(-10px);
}

.three-d-preview-card::after {
  content: "";
  position: absolute;
  inset: auto 18px -24px 18px;
  height: 24px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.3), transparent 72%);
  filter: blur(12px);
  z-index: -1;
}

.three-d-preview-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, transparent 82%, rgba(0, 0, 0, 0.12));
}

.three-d-preview-elements,
.three-d-preview-holes {
  position: absolute;
  inset: 0;
}

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

.three-d-preview-meta-item {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.three-d-preview-meta-item strong,
.three-d-preview-meta-item span {
  display: block;
}

.three-d-preview-meta-item strong {
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 700;
}

.three-d-preview-meta-item span {
  margin-top: 2px;
  color: #66758a;
  font-size: 0.78rem;
}

.three-d-preview-fixture {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(191, 203, 219, 0.9);
  background: rgba(255, 255, 255, 0.92);
  color: #4f5f76;
  font-size: 0.84rem;
  font-weight: 800;
}

.three-d-element {
  position: absolute;
  box-sizing: border-box;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.three-d-element:active {
  cursor: grabbing;
}

.three-d-element-text,
.three-d-element-shape,
.three-d-element-hole,
.three-d-element-slot,
.three-d-element-qr,
.three-d-element-barcode,
.three-d-element-image {
  border-radius: var(--element-radius, 8px);
}

.three-d-element.is-selected {
  outline: 2px solid rgba(37, 99, 235, 0.95);
  outline-offset: 2px;
}

.three-d-element-handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2563eb;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  cursor: nwse-resize;
  z-index: 3;
}

.three-d-element.is-raised {
  box-shadow:
    0 8px 14px rgba(9, 15, 31, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.three-d-element.is-engraved {
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.three-d-element-shape {
  background: color-mix(in srgb, var(--element-fill, var(--three-d-accent)) 92%, white 8%);
}

.three-d-element-hole,
.three-d-element-slot {
  background: radial-gradient(circle at 50% 50%, rgba(5, 8, 15, 0.9) 0 56%, rgba(255, 255, 255, 0.22) 58%, rgba(5, 8, 15, 0.18) 76%, transparent 78%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

.three-d-element-hole {
  border-radius: 999px;
}

.three-d-element-slot {
  border-radius: 999px;
}

.three-d-element-text {
  display: flex;
  align-items: center;
  color: var(--element-color, var(--three-d-text));
  font-size: calc(var(--element-font, 5mm) * 1.14);
  font-weight: var(--element-weight, 800);
  line-height: var(--element-line, 1);
  letter-spacing: calc(var(--element-track, 0mm) * 0.36);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.three-d-element-text.is-uppercase {
  text-transform: uppercase;
}

.three-d-element-text.align-center {
  justify-content: center;
  text-align: center;
}

.three-d-element-text.align-right {
  justify-content: flex-end;
  text-align: right;
}

.three-d-element-text.align-left {
  justify-content: flex-start;
  text-align: left;
}

.three-d-element-text span {
  display: block;
  width: 100%;
  padding: 0 6px;
  overflow-wrap: anywhere;
}

.three-d-element-qr,
.three-d-element-barcode,
.three-d-element-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.three-d-code-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.three-d-qr-face {
  position: relative;
  width: min(82%, 92px);
  aspect-ratio: 1 / 1;
  padding: 10%;
  box-sizing: border-box;
  border-radius: 12px;
  background: #ffffff;
}

.three-d-qr-grid {
  display: none;
}

.three-d-qr-finder {
  display: none;
}

.three-d-qr-finder.tl {
  left: 0;
  top: 0;
}

.three-d-qr-finder.tr {
  right: 0;
  top: 0;
}

.three-d-qr-finder.bl {
  left: 0;
  bottom: 0;
}

.three-d-barcode-face {
  display: flex;
  align-items: stretch;
  gap: 2px;
  width: 82%;
  height: 68%;
  padding: 10% 8%;
  box-sizing: border-box;
  border-radius: 10px;
  background: #ffffff;
}

.three-d-barcode-face span {
  display: block;
  height: 100%;
  background: #111827;
}

.three-d-element-image {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.14), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.12) 0 7px, transparent 7px 14px);
}

.three-d-hole {
  position: absolute;
  display: block;
  transform: translate(-50%, -50%) translateZ(6px);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.32) 68%, rgba(0, 0, 0, 0.54));
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.three-d-preview-card[data-text-mode="engraved"] {
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -16px 18px rgba(0,0,0,0.16);
}

.three-d-preview-card[data-text-mode="engraved"] .three-d-element-text {
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.three-d-preview-card[data-text-mode="engraved"] .three-d-element-shape,
.three-d-preview-card[data-text-mode="engraved"] .three-d-element-hole,
.three-d-preview-card[data-text-mode="engraved"] .three-d-element-slot,
.three-d-preview-card[data-text-mode="engraved"] .three-d-element-qr,
.three-d-preview-card[data-text-mode="engraved"] .three-d-element-barcode,
.three-d-preview-card[data-text-mode="engraved"] .three-d-element-image {
  background: color-mix(in srgb, var(--three-d-bg) 84%, white 16%);
}

.admin-three-d-live {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  margin-bottom: 18px;
}

.admin-three-d-live-stage,
.admin-three-d-live-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-three-d-preview-shell {
  min-height: 360px;
  padding: 20px;
}

.admin-three-d-preview-card {
  width: min(100%, 560px);
  min-height: 220px;
  margin: 0 auto;
  padding: 1.2rem 1.2rem 1rem;
  aspect-ratio: auto;
  transform: none;
}

.admin-three-d-preview-card .three-d-preview-header {
  display: inline-flex;
  max-width: 100%;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--three-d-accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-three-d-preview-card .three-d-preview-code {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.04em;
}

.admin-three-d-preview-card .three-d-preview-description {
  margin-top: 0.85rem;
  max-width: 24ch;
  font-size: 0.98rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.admin-three-d-preview-card .three-d-preview-fixture {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  min-height: 0;
  padding: 0.7rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
}

.admin-three-d-summary-list {
  margin: 0;
}

.admin-three-d-summary-list dt,
.admin-three-d-summary-list dd {
  font-size: 0.95rem;
}

.admin-three-d-form {
  margin-top: 6px;
}

.admin-three-d-fixture-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--three-d-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.check-item.warn {
  border-color: #f4b4b4;
  background: #fff8f8;
}

.check-item.ok {
  border-color: #bfe3cc;
  background: #f3fbf6;
}

.warning {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

@media (max-width: 1024px) {
  .three-d-cad-shell {
    grid-template-columns: 1fr;
  }

  .admin-three-d-live {
    grid-template-columns: 1fr;
  }

  .three-d-preview-buildplate {
    min-height: 260px;
  }

  .three-d-preview-card {
    width: min(100%, 420px);
  }
}

.site-footer {
  margin-top: 32px;
  padding: 20px 0 110px;
  border-top: 1px solid rgba(11, 31, 68, 0.12);
  background: #f7f9fc;
}

.site-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.site-footer-copy {
  max-width: 62ch;
  margin: 8px 0 0;
  color: #4b5563;
}

.site-footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  padding: 14px 0;
  border-radius: 18px;
  background: rgba(11, 31, 68, 0.96);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 31, 68, 0.24);
}

.cookie-banner-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.cookie-banner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-footer-row,
  .cookie-banner-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 0;
    border-radius: 16px;
  }

  .cookie-banner-row {
    gap: 10px;
  }

  .cookie-banner strong {
    font-size: 0.92rem;
  }

  .cookie-banner p {
    margin-top: 4px;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .cookie-banner-actions form,
  .cookie-banner-actions .button {
    min-width: 0;
    width: 100%;
  }

  .cookie-banner-actions .button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: normal;
  }
}

.mobile-app-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 122, 24, 0.22), transparent 34%),
    radial-gradient(circle at 85% 4%, rgba(37, 99, 235, 0.18), transparent 30%),
    linear-gradient(180deg, #fff7ed 0%, #f8fbff 100%);
}

.mobile-app-shell {
  width: min(calc(100% - 28px), 720px);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 0 42px;
}

.mobile-app-hero,
.mobile-app-install,
.mobile-app-tile {
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(124, 45, 18, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-app-hero {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 30px;
  overflow: hidden;
}

.mobile-app-hero > *,
.mobile-app-actions > *,
.mobile-app-grid > * {
  min-width: 0;
}

.mobile-app-hero .brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 1.15rem;
}

.mobile-app-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 11vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.mobile-app-hero h1 span {
  display: block;
}

.mobile-app-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mobile-app-actions,
.mobile-app-grid {
  display: grid;
  gap: 12px;
}

.mobile-app-actions {
  margin-top: 8px;
}

.mobile-app-actions .button {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.mobile-app-grid {
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-app-tile {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 24px;
}

.mobile-app-tile strong {
  font-size: 1.08rem;
}

.mobile-app-tile span,
.mobile-app-install p {
  color: var(--muted);
  line-height: 1.45;
}

.mobile-app-install {
  margin-top: 16px;
  padding: 22px;
  border-radius: 24px;
}

.mobile-app-install h2 {
  margin: 0 0 8px;
}

.mobile-app-install p {
  margin: 8px 0 0;
}

@media (max-width: 560px) {
  .mobile-app-shell {
    width: calc(100vw - 28px);
    max-width: 720px;
  }

  .mobile-app-hero {
    padding: 22px;
    border-radius: 26px;
  }

  .mobile-app-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.1rem);
  }

  .mobile-app-grid {
    grid-template-columns: 1fr;
  }
}
