:root {
  color-scheme: dark;
}

body.orders-public {
  background: var(--bg, #0a0a0c);
  color: var(--text, #f5f5f2);
  min-height: 100vh;
}

.orders-shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: calc(88px + var(--shell-safe-top, 0px)) 20px 48px;
}

.orders-stack {
  display: grid;
  gap: 20px;
}

.orders-card {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.orders-public-main {
  display: grid;
  gap: 20px;
}

.orders-home-intro {
  gap: 12px;
  padding-top: 6px;
}

.orders-kicker,
.orders-route-label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, 0.72));
}

.orders-home-intro h1,
.orders-route-card h2,
.orders-utility-card h2 {
  margin: 0;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.05;
}

.orders-route-card h2,
.orders-utility-card h2 {
  font-size: clamp(22px, 6vw, 30px);
}

.orders-lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text, #f5f5f2);
}

.orders-home-primary,
.orders-home-support {
  display: grid;
  gap: 16px;
}

.orders-detail-main {
  gap: 24px;
}

.orders-detail-section {
  display: grid;
  gap: 16px;
}

.orders-detail-head {
  gap: 10px;
}

.orders-image-zone {
  padding: 20px;
  border-color: rgba(7, 137, 210, 0.45);
  background:
    linear-gradient(180deg, rgba(7, 137, 210, 0.12), rgba(255, 255, 255, 0.03));
}

.orders-image-zone.is-cs-family {
  border-color: rgba(239, 39, 6, 0.45);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.12), rgba(255, 255, 255, 0.03));
}

.orders-media-stage {
  gap: 14px;
}

.orders-media-canvas {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top left, rgba(7, 137, 210, 0.2), transparent 48%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.orders-media-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 40%, rgba(255, 255, 255, 0.06) 40% 52%, transparent 52% 100%);
  opacity: 0.85;
  pointer-events: none;
}

.orders-media-canvas.is-cs-family {
  background:
    radial-gradient(circle at top left, rgba(239, 39, 6, 0.2), transparent 48%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.orders-media-canvas-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: end;
  min-height: 320px;
  padding: 20px;
}

.orders-media-title {
  margin: 0;
  font-size: clamp(24px, 7vw, 40px);
  line-height: 1.05;
}

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

.orders-media-thumb {
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text, #f5f5f2);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.orders-media-thumb.is-active {
  border-color: rgba(7, 137, 210, 0.6);
  background: rgba(7, 137, 210, 0.16);
}

.orders-media-thumb.is-cs-family.is-active {
  border-color: rgba(239, 39, 6, 0.6);
  background: rgba(239, 39, 6, 0.16);
}

.orders-explanation-zone,
.orders-form-zone {
  display: grid;
  gap: 16px;
}

.orders-cs-main {
  gap: 20px;
}

.orders-cs-section {
  display: grid;
  gap: 12px;
}

.orders-direction-grid {
  display: grid;
  gap: 16px;
}

.orders-direction-card {
  padding: 20px;
  border-color: rgba(239, 39, 6, 0.28);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.08), rgba(255, 255, 255, 0.03));
}

.orders-direction-card.is-primary {
  border-color: rgba(239, 39, 6, 0.52);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.16), rgba(255, 255, 255, 0.04));
}

.orders-direction-card h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.08;
}

.orders-form-zone-semi {
  grid-template-columns: 1fr;
}

.orders-form-shell.is-semi-accent {
  border-color: rgba(239, 39, 6, 0.42);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.11), rgba(255, 255, 255, 0.03));
}

.orders-form-shell.is-full-accent {
  border-color: rgba(239, 39, 6, 0.5);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.14), rgba(255, 255, 255, 0.04));
}

.orders-question-stack {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.orders-question-stack li {
  line-height: 1.6;
}

.orders-form-shell.is-blindbox-accent {
  border-color: rgba(239, 39, 6, 0.44);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.1), rgba(255, 255, 255, 0.03));
}

.orders-explanation-card,
.orders-form-shell {
  padding: 20px;
}

.orders-explanation-card h2,
.orders-form-shell h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 32px);
  line-height: 1.08;
}

.orders-detail-list,
.orders-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.orders-detail-list {
  display: grid;
  gap: 10px;
}

.orders-detail-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.6;
}

.orders-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-chip-list li {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.orders-upload-shell {
  display: grid;
  gap: 10px;
}

.orders-upload-picker {
  display: grid;
  gap: 8px;
}

.orders-upload-picker span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, 0.72));
}

.orders-upload-input {
  width: 100%;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text, #f5f5f2);
  background: rgba(255, 255, 255, 0.03);
}

.orders-upload-input::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(7, 137, 210, 0.45);
  color: var(--text, #f5f5f2);
  background: rgba(7, 137, 210, 0.12);
}

.orders-create-shell {
  display: grid;
  gap: 12px;
}

.orders-contact-grid {
  display: grid;
  gap: 12px;
}

.orders-contact-field {
  display: grid;
  gap: 6px;
}

.orders-contact-field span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, 0.72));
}

.orders-contact-field input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text, #f5f5f2);
  background: rgba(255, 255, 255, 0.03);
}

.orders-contact-field input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.22);
  outline-offset: 0;
}

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

.orders-summary-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.orders-summary-row dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, 0.72));
}

.orders-summary-row dd {
  margin: 0;
  color: var(--text, #f5f5f2);
}

.orders-question-grid {
  display: grid;
  gap: 12px;
}

.orders-question-card {
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

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

.orders-question-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.orders-field-marker {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(7, 137, 210, 0.45);
  background: rgba(7, 137, 210, 0.12);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orders-field-marker.is-optional {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.orders-field-marker.is-mixed {
  border-color: rgba(255, 174, 43, 0.42);
  background: rgba(255, 174, 43, 0.14);
}

.orders-field-marker.is-deferred {
  border-color: rgba(255, 255, 255, 0.18);
  border-style: dashed;
  background: rgba(255, 255, 255, 0.04);
}

.orders-question-note {
  margin: 0;
  color: var(--muted, rgba(255, 255, 255, 0.72));
  font-size: 14px;
  line-height: 1.6;
}

.orders-choice-preview {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-choice-preview li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.orders-alignment-note {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 10px;
  border: 1px solid rgba(7, 137, 210, 0.28);
  background: rgba(7, 137, 210, 0.08);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orders-sequence-note {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 10px;
  border: 1px solid rgba(239, 39, 6, 0.32);
  background: rgba(239, 39, 6, 0.08);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orders-question-grid-semi {
  grid-template-columns: 1fr;
}

.orders-question-grid-blindbox {
  grid-template-columns: 1fr;
}

.orders-route-cta.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.orders-route-card,
.orders-utility-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.orders-route-card[data-orders-tone="standard"] {
  border-color: rgba(7, 137, 210, 0.45);
  background:
    linear-gradient(180deg, rgba(7, 137, 210, 0.1), rgba(255, 255, 255, 0.03));
}

.orders-route-card[data-orders-tone="custom"] {
  border-color: rgba(239, 39, 6, 0.45);
  background:
    linear-gradient(180deg, rgba(239, 39, 6, 0.1), rgba(255, 255, 255, 0.03));
}

.orders-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.orders-route-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid currentColor;
  text-decoration: none;
  color: var(--text, #f5f5f2);
  background: rgba(255, 255, 255, 0.02);
}

.orders-route-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.orders-links {
  display: grid;
  gap: 12px;
}

.orders-links a {
  min-height: 48px;
}

.orders-note {
  margin: 0;
  color: var(--muted, rgba(255, 255, 255, 0.72));
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .orders-shell {
    width: min(100%, 920px);
  }

  .orders-home-primary,
  .orders-home-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

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

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

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

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

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