:root {
  color-scheme: light;
  --ink: #111714;
  --muted: #66766f;
  --line: #d8e4dd;
  --surface: #ffffff;
  --soft: #f6faf7;
  --soft-strong: #eef5f1;
  --accent: #118268;
  --accent-dark: #0a604d;
  --brand-orange: #f47a20;
  --brand-orange-dark: #d95e0c;
  --gold: #c9a227;
  --warn: #9c5a0d;
  --shadow-soft: 0 14px 36px rgba(17, 23, 20, 0.08);
  --shadow-card: 0 16px 38px rgba(17, 23, 20, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(244, 122, 32, 0.12), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(17, 130, 104, 0.13), transparent 34%),
    linear-gradient(135deg, #f7faf7 0%, #e8f1ec 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  --sidebar-width: 344px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px minmax(320px, var(--sidebar-width));
  min-height: 100vh;
}

.workspace {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(216, 228, 221, 0.92);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

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

.brand-logo {
  flex: 0 0 auto;
  width: clamp(116px, 13vw, 168px);
  height: auto;
  max-height: 58px;
  border-radius: 10px;
  padding: 9px 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(216, 228, 221, 0.9);
}

.eyebrow,
.preview-eyebrow,
.live-controls-kicker,
h1,
h2,
p {
  margin-top: 0;
}

.eyebrow,
.preview-eyebrow,
.live-controls-kicker {
  margin-bottom: 4px;
  color: var(--brand-orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.top-actions {
  display: flex;
  gap: 9px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  box-shadow: 0 10px 22px rgba(244, 122, 32, 0.22);
}

.primary-button:hover,
.secondary-button:hover {
  background: linear-gradient(135deg, #ff8b32, var(--brand-orange-dark));
}

.ghost-button {
  border: 1px solid rgba(17, 130, 104, 0.22);
  color: var(--accent-dark);
  background: #fff;
}

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

.summary-card {
  display: grid;
  gap: 4px;
  min-height: 98px;
  border: 1px solid rgba(216, 228, 221, 0.88);
  border-radius: 12px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.summary-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.summary-card span:last-child {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.summary-label {
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card-product {
  background: linear-gradient(135deg, rgba(17, 130, 104, 0.08), rgba(255, 255, 255, 0.94));
}

.summary-card-logo {
  background: linear-gradient(135deg, rgba(244, 122, 32, 0.09), rgba(255, 255, 255, 0.94));
}

.summary-card-technique {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(255, 255, 255, 0.94));
}

.editor-layout {
  --live-panel-width: 304px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px minmax(280px, var(--live-panel-width));
  gap: 18px;
  flex: 1;
  min-height: 0;
  align-items: start;
}

.preview-column {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.panel-resizer {
  position: relative;
  align-self: stretch;
  width: 12px;
  border-radius: 999px;
  cursor: col-resize;
  touch-action: none;
}

.panel-resizer::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(17, 130, 104, 0.18), rgba(244, 122, 32, 0.28));
  transform: translateX(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}

.panel-resizer:hover::after,
.panel-resizer.is-dragging::after {
  background: linear-gradient(180deg, rgba(17, 130, 104, 0.46), rgba(244, 122, 32, 0.6));
  transform: translateX(-50%) scaleX(1.15);
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(216, 228, 221, 0.88);
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.76);
}

.preview-header h2 {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.preview-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-chip-soft {
  color: var(--accent-dark);
  background: rgba(17, 130, 104, 0.1);
}

.stage-wrap {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 0;
  min-block-size: clamp(460px, 70vh, 860px);
  place-items: center;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(45deg, #dfe7e2 25%, transparent 25%),
    linear-gradient(-45deg, #dfe7e2 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #dfe7e2 75%),
    linear-gradient(-45deg, transparent 75%, #dfe7e2 75%);
  background-color: #fbfdfb;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
  background-size: 20px 20px;
}

canvas {
  display: block;
  width: min(100%, 1200px);
  height: auto;
  aspect-ratio: 1200 / 760;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 31, 27, 0.15);
  touch-action: none;
}

.empty-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  border: 1px solid rgba(17, 130, 104, 0.16);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

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

.empty-state.is-hidden {
  display: none;
}

.inline-logo-upload {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(244, 122, 32, 0.26);
  border-radius: 12px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(244, 122, 32, 0.12), rgba(255, 255, 255, 0.96) 48%),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    0 16px 36px rgba(244, 122, 32, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.inline-step-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.inline-logo-upload-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 14px;
  align-items: center;
}

.inline-logo-copy {
  display: grid;
  gap: 4px;
}

.inline-logo-copy strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.inline-logo-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.inline-logo-kicker {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inline-upload-drop {
  min-height: 66px;
  margin-top: 0;
  border-width: 2px;
  border-style: dashed;
  border-color: rgba(244, 122, 32, 0.72);
  border-radius: 12px;
  color: var(--brand-orange-dark);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 122, 32, 0.16));
  box-shadow: 0 12px 24px rgba(244, 122, 32, 0.12);
  font-size: 1rem;
  font-weight: 900;
}

.inline-check-row {
  min-height: 30px;
}

.inline-logo-helper {
  display: grid;
  gap: 2px;
  border-left: 4px solid rgba(244, 122, 32, 0.72);
  padding: 2px 0 2px 12px;
}

.inline-logo-helper strong {
  font-size: 0.9rem;
}

.inline-logo-helper span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.legal-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  border-left: 1px solid rgba(216, 228, 221, 0.92);
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: -16px 0 42px rgba(17, 23, 20, 0.06);
}

.control-group {
  border: 1px solid rgba(216, 228, 221, 0.82);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.control-group:last-child {
  padding-bottom: 18px;
}

.section-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.section-header-simple {
  grid-template-columns: auto minmax(0, 1fr);
}

.section-index {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  font-size: 0.8rem;
  font-weight: 800;
}

.section-copy h2 {
  margin-bottom: 4px;
}

.section-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section-header > span:last-child {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.live-controls {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.live-controls-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.live-controls-head h2 {
  margin-bottom: 0;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--accent-dark);
  background: rgba(17, 130, 104, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
}

.live-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(216, 228, 221, 0.92);
  border-radius: 10px;
  padding: 10px;
  background: var(--soft);
}

.live-product-thumb-wrap {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(45deg, #edf3ef 25%, transparent 25%),
    linear-gradient(-45deg, #edf3ef 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf3ef 75%),
    linear-gradient(-45deg, transparent 75%, #edf3ef 75%);
  background-color: #fff;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  background-size: 16px 16px;
}

.live-product-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.live-product-copy {
  display: grid;
  gap: 3px;
}

.live-product-copy strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.live-product-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.live-controls-hint {
  margin: -2px 0 0;
}

.live-subsection {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(216, 228, 221, 0.92);
  padding-top: 12px;
}

.live-subsection-copy {
  display: grid;
  gap: 4px;
}

.live-subsection-copy strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.live-subsection-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.live-advanced-controls summary {
  background: rgba(17, 130, 104, 0.1);
}

.fine-preview-card {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  border: 1px solid rgba(216, 228, 221, 0.92);
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(248, 251, 249, 0.92), rgba(255, 255, 255, 0.98));
}

.fine-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fine-preview-head strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.fine-preview-head span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.fine-preview-canvas {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(22, 31, 27, 0.12);
}

input[type="search"],
input[type="text"],
input[type="number"],
select,
textarea,
input[type="color"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 122, 32, 0.72);
  box-shadow: 0 0 0 3px rgba(244, 122, 32, 0.12);
  outline: 0;
}

textarea {
  min-height: 78px;
  padding-top: 10px;
  resize: vertical;
}

input[type="color"] {
  padding: 4px;
}

.color-panel {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #f8fbf9;
}

.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.quick-cats button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.quick-cats button.is-active {
  border-color: rgba(244, 122, 32, 0.38);
  color: var(--accent-dark);
  background: rgba(244, 122, 32, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}

.product-option {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: var(--soft);
  text-align: left;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.product-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 23, 20, 0.08);
}

.product-option.is-active {
  border-color: var(--gold);
}

.product-option img {
  width: 100%;
  aspect-ratio: 1 / 0.62;
  object-fit: contain;
  background:
    linear-gradient(45deg, #edf3ef 25%, transparent 25%),
    linear-gradient(-45deg, #edf3ef 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #edf3ef 75%),
    linear-gradient(-45deg, transparent 75%, #edf3ef 75%);
  background-color: #fff;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
  background-size: 16px 16px;
}

.product-option span {
  display: block;
  min-height: 48px;
  padding: 7px 8px 8px;
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 750;
  line-height: 1.22;
}

.load-more-button {
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  border: 1px solid rgba(17, 130, 104, 0.2);
  border-radius: 8px;
  color: var(--accent-dark);
  background: #fff;
  font-weight: 850;
}

.load-more-button:hover {
  border-color: rgba(244, 122, 32, 0.48);
  color: var(--brand-orange-dark);
}

.load-more-button[hidden] {
  display: none;
}

.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  border: 1px dashed rgba(17, 130, 104, 0.48);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--soft);
  font-weight: 800;
}

.file-drop.accent {
  border-color: rgba(244, 122, 32, 0.58);
  color: var(--accent-dark);
  background: rgba(244, 122, 32, 0.1);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tool-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.tool-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.tool-button.is-active {
  border-color: rgba(244, 122, 32, 0.48);
  color: var(--brand-orange-dark);
  background: rgba(244, 122, 32, 0.12);
}

.cleanup-controls {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid rgba(216, 228, 221, 0.82);
  border-radius: 8px;
  padding: 10px;
  background: rgba(246, 250, 247, 0.72);
}

.advanced-controls summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--accent-dark);
  background: rgba(17, 130, 104, 0.08);
  font-weight: 850;
  cursor: pointer;
}

.advanced-controls summary::after {
  content: "+";
  color: var(--brand-orange-dark);
  font-size: 1.2rem;
}

.advanced-controls[open] summary::after {
  content: "-";
}

.advanced-controls .hint {
  margin: 10px 0;
}

.advanced-controls .range-row {
  margin-top: 8px;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.range-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

input[type="range"] {
  accent-color: var(--accent);
}

.color-wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 4px 0 8px;
}

#logoColorWheel {
  width: min(100%, 220px);
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 999px;
  cursor: crosshair;
  box-shadow: 0 10px 24px rgba(22, 31, 27, 0.12);
  touch-action: none;
}

.color-preview {
  position: absolute;
  right: calc(50% - 116px);
  bottom: 8px;
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #0f7a6c;
  box-shadow: 0 0 0 1px rgba(22, 31, 27, 0.18), 0 8px 18px rgba(22, 31, 27, 0.18);
}

.color-swatches {
  display: grid;
  grid-template-columns: repeat(8, 38px);
  gap: 7px;
  align-items: center;
  overflow-x: auto;
}

.color-swatches button {
  aspect-ratio: 1;
  width: 38px;
  min-height: 38px;
  border: 1px solid rgba(22, 31, 27, 0.16);
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.color-swatches button[data-color="#ffffff"] {
  box-shadow: inset 0 0 0 2px rgba(22, 31, 27, 0.08);
}

.color-swatches button.is-active {
  outline: 3px solid rgba(13, 122, 99, 0.25);
  outline-offset: 2px;
}

.contrast-alert {
  display: none;
  border: 1px solid rgba(156, 90, 13, 0.25);
  border-radius: 8px;
  padding: 10px;
  color: var(--warn);
  background: rgba(201, 162, 39, 0.1);
  font-size: 0.86rem;
  font-weight: 700;
}

.contrast-alert.is-visible {
  display: block;
}

.approval-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.approval-panel-inline {
  margin-top: 12px;
  border-color: rgba(17, 130, 104, 0.18);
  background:
    linear-gradient(135deg, rgba(17, 130, 104, 0.08), rgba(255, 255, 255, 0.96) 46%),
    rgba(255, 255, 255, 0.98);
}

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

.secondary-button {
  width: 100%;
}

.approval-actions {
  display: grid;
  gap: 8px;
}

.approval-actions-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.approval-actions .primary-button,
.approval-actions .secondary-button,
.approval-actions .ghost-button {
  width: 100%;
}

.reset-button {
  margin-top: 10px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid rgba(17, 130, 104, 0.28);
  box-shadow: none;
}

.reset-button:hover {
  color: #fff;
  background: var(--accent);
}

@media (max-width: 1260px) {
  .creation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-card-technique {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .control-resizer {
    display: none;
  }

  .live-controls {
    position: static;
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .shell-resizer {
    display: none;
  }

  .panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .workspace {
    padding: 16px;
  }

  .inline-logo-upload-main {
    grid-template-columns: 1fr;
  }

  .approval-form-grid,
  .approval-actions-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .creation-summary {
    grid-template-columns: 1fr;
  }

  .summary-card-technique {
    grid-column: auto;
  }

  .preview-header,
  .section-header {
    grid-template-columns: 1fr;
  }

  .preview-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .panel {
    padding: 16px;
  }

  .tool-buttons {
    grid-template-columns: 1fr;
  }

  .live-product-card {
    grid-template-columns: 1fr;
  }

  .live-product-thumb-wrap {
    width: 100%;
    height: 120px;
  }

  .range-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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