:root {
  color-scheme: light;
  --page: #fffbe8;
  --paper: #fffdf5;
  --text: #37352f;
  --muted: #85827a;
  --line: #d9d5c8;
  --accent: #ff4444;
  --button: #444444;
  --button-text: #ffe148;
  --content-width: 800px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

#app,
.storefront-page {
  min-height: 100vh;
}

.brand-header {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
}

.progress-strip {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  pointer-events: none;
}

.progress-strip > span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.12);
}

.store-banner {
  display: block;
  width: 100%;
  height: min(30vw, 432px);
  object-fit: cover;
  object-position: center;
}

.store-identity {
  position: relative;
  width: min(var(--content-width), calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
}

.store-logo {
  position: absolute;
  top: -46px;
  left: 0;
  z-index: 1;
  display: block;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #ecebe3;
  box-shadow: 0 4px 14px rgba(55, 53, 47, 0.12);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-content {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 88px;
}

.form-content h2 {
  margin: 0 0 30px;
  font-size: 25px;
  line-height: 1.25;
}

.page-title {
  margin: 0 0 22px;
  padding-bottom: 40px;
  font-size: 40px;
  line-height: 48px;
}

.welcome-heading {
  margin-bottom: 32px !important;
  font-size: 30px !important;
  line-height: 37.5px !important;
}

.welcome-lead {
  font-weight: 700;
}

.welcome-lead-primary {
  margin: 0 0 32px !important;
  font-size: 24px;
  line-height: 30px;
}

.welcome-lead-secondary {
  margin: 0 0 20px !important;
  font-size: 20px;
  line-height: 25px;
}

.welcome-section-title {
  margin-top: 25px !important;
}

.welcome-name-field {
  width: calc((100% - 10px) / 2);
}

.form-content h3 {
  margin: 25px 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.form-content p {
  margin: 8px 0;
}

.form-content ul:not(.selected-files) {
  margin: 8px 0 14px;
  padding-left: 24px;
}

.form-content > [data-action="back"] {
  display: inline-flex;
  align-items: center;
  margin: 0 0 72px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #77746d;
  font-size: 15px;
  font-weight: 500;
}

.form-content > [data-action="back"]:hover {
  color: var(--text);
}

.form-content > [data-action="next"],
.form-content > [data-action="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 23px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--button);
  color: var(--button-text);
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.form-content > [data-action="next"]:hover,
.form-content > [data-action="submit"]:hover {
  background: #353535;
}

.form-content button:focus-visible,
.form-content input:focus-visible,
.form-content select:focus-visible,
.form-content textarea:focus-visible {
  outline: 3px solid rgba(255, 68, 68, 0.3);
  outline-offset: 2px;
}

.form-field {
  min-width: 0;
  margin: 23px 0 0;
}

.form-field > label,
.choice-field > legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.required-indicator {
  color: var(--text);
}

.choice-field {
  min-inline-size: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  gap: 9px;
  width: 100%;
}

[data-field-group="seriesId"] .choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 45px;
}

[data-field-group="art_style"] .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-field-group="art_style"] .choice-card {
  height: auto;
}

[data-field-group="art_style"][data-option-count="3"] .choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-field-group="element_type"] .choice-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

[data-field-group="pokemon_spirit"] .choice-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-option {
  min-width: 0;
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "badge label"
    "image image";
  align-content: start;
  gap: 6px 8px;
  min-width: 0;
  height: 100%;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.08);
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.choice-card--no-badge {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "image";
}

.choice-card:hover {
  border-color: #bcb8ab;
  box-shadow: 0 3px 8px rgba(55, 53, 47, 0.1);
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 3px 10px rgba(255, 68, 68, 0.08);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(255, 68, 68, 0.32);
  outline-offset: 2px;
}

.choice-card input[type="radio"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0.001;
  cursor: pointer;
}

.choice-badge {
  grid-area: badge;
  align-self: center;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #5b5a53;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.choice-card:has(input:checked) .choice-badge {
  background: var(--accent);
}

.choice-label {
  grid-area: label;
  align-self: center;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.choice-card img {
  grid-area: image;
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

[data-field-group="seriesId"] .choice-card img,
[data-field-group="art_style"] .choice-card img {
  aspect-ratio: 0.7;
}

[data-field-group="element_type"] .choice-card img,
[data-field-group="pokemon_spirit"] .choice-card img {
  aspect-ratio: 1;
}

.choice-help {
  display: block;
  margin: 7px 5px 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.series-note,
.field-help {
  color: var(--muted);
}

.series-note {
  margin-top: 24px !important;
  line-height: 1.5;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d7d3c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.08);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input[type="text"],
input[type="tel"],
select {
  min-height: 40px;
  padding: 8px 10px;
}

textarea {
  min-height: 100px;
  padding: 9px 10px;
  resize: vertical;
  line-height: 1.25;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: #b0ada5;
  opacity: 1;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #9b978d;
  box-shadow: 0 0 0 2px rgba(55, 53, 47, 0.08);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.attack-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "title-1 description-1"
    "title-2 description-2";
  column-gap: 10px;
  align-items: start;
}

.attack-field-grid > [data-field-name="attack_1_title"] {
  grid-area: title-1;
}

.attack-field-grid > [data-field-name="attack_1_description"] {
  grid-area: description-1;
}

.attack-field-grid > [data-field-name="attack_2_title"] {
  grid-area: title-2;
}

.attack-field-grid > [data-field-name="attack_2_description"] {
  grid-area: description-2;
}

.field-row > .form-field {
  min-width: 0;
}

.upload-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 72px;
  overflow: hidden;
  border: 1px dashed #99958c;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  color: #85827a;
}

.upload-box:has(.upload-input:focus-visible) {
  outline: 3px solid rgba(255, 68, 68, 0.3);
  outline-offset: 2px;
}

.upload-input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-prompt {
  padding: 14px;
  text-align: center;
  font-size: 14px;
  pointer-events: none;
}

.field-help {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.selected-files {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.selected-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.55);
}

.selected-files li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-thumbnail {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 5px;
  object-fit: cover;
}

.selected-files button {
  flex: none;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: #ece9de;
  color: var(--text);
}

.field-error {
  margin: 7px 0 0 !important;
  color: #cf2626;
  font-size: 14px;
  font-weight: 600;
}

.submission-status {
  margin: 32px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  outline: none;
  font-weight: 600;
}

.submission-status--submitting {
  border: 1px solid #dfd4a5;
  background: #fff9dc;
  color: #5d5224;
}

.submission-status--failure {
  border: 1px solid #d97777;
  background: #fff1f1;
  color: #8c2020;
}

.cancel-upload {
  margin: 10px 0 0;
}

.form-content > [data-action="submit"]:disabled {
  cursor: wait;
  opacity: 0.68;
}

.success-content {
  width: min(calc(100% - 48px), 800px);
  margin: 0 auto;
  padding: 44px 0 80px;
}

.success-content h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.success-content h2,
.success-content h3 {
  margin: 30px 0 12px;
}

.success-content p {
  line-height: 1.6;
}

.success-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.order-reference {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 14px;
  border-radius: 7px;
  background: #eee9ce;
  font-weight: 700;
}

.order-reference-help {
  max-width: 620px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.success-timing {
  display: grid;
  gap: 2px;
  margin: 18px 0;
}

.success-timing p {
  margin: 0;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.success-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--button);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.16);
  font-size: 14px;
  font-weight: 700;
}

.success-action--primary {
  min-width: 132px;
  background: var(--button);
  color: var(--button-text);
}

.success-action--primary:hover {
  background: #353535;
}

.success-action--secondary {
  background: var(--paper);
  color: var(--text);
}

.success-action--secondary:hover {
  background: #f3efd9;
}

.success-action:focus-visible {
  outline: 3px solid rgba(255, 68, 68, 0.3);
  outline-offset: 2px;
}

.has-error input[type="text"],
.has-error input[type="tel"],
.has-error select,
.has-error textarea,
.has-error .upload-box {
  border-color: var(--accent);
}

.initial-details-region {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.initial-details-fields {
  min-width: 0;
}

.detail-example {
  display: block;
  width: 100%;
  max-height: 530px;
  margin-top: 23px;
  object-fit: contain;
  object-position: top center;
}

.not-found-page {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

@media (max-width: 576px) {
  body {
    font-size: 16px;
  }

  .store-banner {
    height: auto;
  }

  .brand-header {
    margin-bottom: 8px;
  }

  .store-identity {
    width: calc(100% - 48px);
    height: 80px;
  }

  .store-logo {
    top: -24px;
    width: 74px;
    height: 74px;
  }

  .form-content {
    width: calc(100% - 48px);
    padding: 12px 0 64px;
  }

  .form-content h2 {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .page-title {
    padding-bottom: 32px;
    font-size: 32px;
    line-height: 38.4px;
  }

  .welcome-heading {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .welcome-lead-primary {
    font-size: 20px;
    line-height: 25px;
  }

  .welcome-lead-secondary {
    font-size: 18px;
    line-height: 22.5px;
  }

  .welcome-name-field {
    width: 100%;
  }

  .form-content > [data-action="back"] {
    margin-bottom: 72px;
  }

  .form-field {
    margin-top: 20px;
  }

  .form-field > label,
  .choice-field > legend {
    font-size: 17px;
  }

  .choice-grid {
    gap: 6px;
  }

  [data-field-group="seriesId"] .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 54px;
  }

  [data-field-group="art_style"] .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-field-group="art_style"][data-option-count="3"] .choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  [data-field-group="element_type"] .choice-grid,
  [data-field-group="pokemon_spirit"] .choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .choice-card {
    gap: 4px 5px;
    padding: 6px;
    border-radius: 7px;
  }

  .choice-badge {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .choice-label {
    font-size: 12px;
  }

  [data-field-group="element_type"] .choice-label {
    font-size: 11px;
  }

  [data-field-group="seriesId"] .choice-label {
    font-size: 16px;
    line-height: 18px;
  }

  .series-note {
    margin-top: 56px !important;
  }

  .series-note + [data-action="next"] {
    margin-top: 54px;
  }

  .choice-help {
    margin: 6px 2px 0;
    font-size: 12px;
  }

  .field-row,
  .initial-details-region {
    grid-template-columns: minmax(0, 1fr);
  }

  .attack-field-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title-1"
      "title-2"
      "description-1"
      "description-2";
  }

  .initial-details-region {
    gap: 8px;
  }

  .detail-example {
    width: min(100%, 330px);
    max-height: none;
    margin: 14px auto 0;
  }

  .upload-prompt {
    padding-inline: 8px;
    font-size: 13px;
  }

  .selected-files li {
    gap: 8px;
  }
}

/* Optional graded-display label designer */
.graded-label-module {
  width: 100%;
  min-width: 0;
  margin: 34px 0 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d8d2bf;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 225, 72, 0.16), transparent 34%),
    rgba(255, 253, 245, 0.92);
  box-shadow: 0 12px 32px rgba(55, 53, 47, 0.08);
}

.graded-label-module-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.form-content .graded-label-module-heading h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.form-content .graded-label-module-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-content .graded-label-eyebrow {
  color: #ba2929;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.graded-label-radio-field {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.graded-label-radio-field > legend {
  margin: 0 0 9px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.graded-label-radio-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.graded-label-radio-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d7d3c6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 2px rgba(55, 53, 47, 0.06);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.graded-label-radio-option:hover {
  border-color: #aaa598;
  background: #fff;
}

.graded-label-radio-option.selected {
  border-color: var(--accent);
  background: #fff8f3;
  box-shadow: 0 0 0 1px rgba(255, 68, 68, 0.14);
}

.graded-label-radio-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.graded-label-radio-option span {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.graded-label-mode-choice {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e3dece;
}

.graded-label-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
  margin-top: 24px;
}

.graded-label-preview-figure {
  min-width: 0;
  margin: 0;
}

.graded-label-preview-canvas {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 488 / 129;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 4px;
  background: #f4f2ea;
  box-shadow: 0 10px 24px rgba(55, 53, 47, 0.16);
  isolation: isolate;
}

.graded-label-preview-template {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  user-select: none;
  object-fit: fill;
}

.graded-label-preview-left,
.graded-label-preview-right {
  position: absolute;
  z-index: 1;
  top: 22.5%;
  display: grid;
  align-content: start;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(9px, 4cqi, 18px);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.graded-label-preview-left {
  left: 8%;
  width: 57%;
  text-align: left;
}

.graded-label-preview-right {
  right: 8%;
  width: 21%;
  text-align: right;
}

.graded-label-preview-value {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  white-space: nowrap;
}

.graded-label-preview-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.graded-label-controls {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #ded8c7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.graded-label-line-count .graded-label-radio-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.graded-label-left-fields,
.graded-label-right-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.graded-label-right-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.graded-label-text-field.form-field {
  min-width: 0;
  margin: 0;
}

.graded-label-text-field.form-field > label {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.25;
}

.graded-label-text-field input {
  min-width: 0;
  background: rgba(255, 255, 255, 0.9);
}

.graded-label-designer-message {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #ddd3a7;
  border-radius: 12px;
  background: #fff9dc;
}

.graded-label-designer-message strong {
  display: block;
  font-size: 16px;
}

.form-content .graded-label-designer-message p {
  margin: 5px 0 0;
  color: #675f40;
  line-height: 1.45;
}

.graded-label-references {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e3dece;
}

.graded-label-reference-heading {
  margin-bottom: 13px;
}

.form-content .graded-label-reference-heading h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.form-content .graded-label-reference-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.graded-label-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.graded-label-reference {
  display: block;
  width: 100%;
  height: min(54vw, 480px);
  min-width: 0;
  border: 1px solid #d6d1c3;
  border-radius: 12px;
  background: #eeece5;
  box-shadow: 0 6px 18px rgba(55, 53, 47, 0.09);
  object-fit: contain;
  object-position: center;
}

@media (max-width: 576px) {
  .graded-label-module {
    margin-top: 28px;
    padding: 16px;
    border-radius: 14px;
  }

  .form-content .graded-label-module-heading h3 {
    font-size: 20px;
  }

  .graded-label-radio-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .graded-label-editor {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .graded-label-controls {
    padding: 13px;
  }

  .graded-label-right-fields {
    gap: 10px;
  }

  .graded-label-reference-grid {
    gap: 8px;
  }

  .graded-label-reference {
    height: min(54vw, 230px);
    border-radius: 8px;
  }
}

