/* QR Click motor — lives on light sticker poster; markup/order untouched */
:root {
  --bg: #f7ffe9 !important;
  --text: #10140c !important;
  --muted: #4a5640 !important;
  --accent: #ff3d5a !important;
  --accent2: #10140c !important;
  --blue: #ff3d5a !important;
  --yellow: #f5e642 !important;
  --focus: #ff3d5a !important;
  --panel: #ffffff;
  --panel2: #f0f7e0;
  --line: #c9d6b4;
  --font-body: "Manrope", system-ui, sans-serif;
}

.kiln,
.dock {
  --bg: #f7ffe9;
  --panel: #ffffff;
  --panel2: #f0f7e0;
  --line: #c9d6b4;
  --text: #10140c;
  --muted: #4a5640;
  --accent: #ff3d5a;
  --accent2: #10140c;
  --focus: #ff3d5a;
}

.kiln .layout,
.kiln .panel,
.kiln .preview-col,
.dock .layout,
.dock .panel,
.dock .preview-col {
  background: transparent !important;
  border-color: var(--line) !important;
  overflow-anchor: none;
  min-width: 0;
  max-width: 100%;
}

.kiln .tabs,
.dock .tabs {
  flex-wrap: wrap !important;
  overflow: visible !important;
  max-width: 100%;
}

.dock .tab-business { flex: 0 0 auto !important; }

.generate-qr-cta #btn-make-dynamic,
.btn-gen-another,
.file-picker-btn,
.btn-code-stats,
.keep-stats-open,
.qrg-color-done,
.rig #btn-make-dynamic,
.rig .btn-gen-another,
.rig .btn-code-stats,
.bill__motor #btn-make-dynamic,
.bill__motor .btn-gen-another,
.bill__motor .btn-code-stats {
  background: #ff3d5a !important;
  border: 3px solid #10140c !important;
  color: #fff !important;
  border-radius: 999px !important;
  clip-path: none !important;
  box-shadow: 4px 4px 0 #f5e642 !important;
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.generate-qr-cta #btn-make-dynamic:hover,
.btn-gen-another:hover,
.file-picker-btn:hover,
.btn-code-stats:hover,
.keep-stats-open:hover,
.qrg-color-done:hover,
.bill__motor #btn-make-dynamic:hover,
.bill__motor .btn-gen-another:hover,
.bill__motor .btn-code-stats:hover {
  background: #10140c !important;
  color: #f5e642 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0 #ff3d5a !important;
}

#btn-png,
#btn-svg,
#btn-copy,
.actions button,
.bill__motor #btn-png,
.bill__motor #btn-svg,
.bill__motor #btn-copy {
  background: #fff !important;
  border: 3px solid #10140c !important;
  color: #10140c !important;
  border-radius: 999px !important;
  clip-path: none !important;
  box-shadow: 3px 3px 0 #3dffa8 !important;
  font-weight: 800 !important;
}

#btn-png:hover,
#btn-svg:hover,
#btn-copy:hover {
  background: #f5e642 !important;
}

.tab.active,
.style-studio-tab.is-on,
.style-studio-tab[aria-selected="true"] {
  background: rgba(255, 61, 90, 0.14) !important;
  border-color: #ff3d5a !important;
  color: #10140c !important;
  clip-path: none !important;
}

.tab,
.style-studio-tab,
.style-chip,
.ecc-chip,
.type-chip {
  clip-path: none !important;
  border-radius: 999px !important;
  border: 2px solid #c9d6b4 !important;
  background: #fff !important;
  color: #10140c !important;
}

.tabs .tab,
.tabs .more-toggle,
.tabs .tab-business,
.tabs .tab:not(.active):not(.tab-business),
.tabs .more-toggle:not(.active) {
  color: #10140c !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.more-menu,
.tabs .more-menu,
#more-menu,
#vcard-menu {
  background: #fff !important;
  border: 3px solid #10140c !important;
  box-shadow: 6px 6px 0 #ff3d5a !important;
}

.more-menu .more-option,
.tabs .more-option,
.more-option,
.more-option span,
.more-option .option-label,
.more-option .option-icon,
.tabs .option-icon {
  color: #10140c !important;
}

.more-option:hover,
.tabs .more-option:hover {
  background: #f5e642 !important;
  color: #10140c !important;
}

.qr-link-hint { color: #ff3d5a !important; }

.dock #t-data:empty,
.dock #t-code:empty { display: none !important; }

.kiln label,
.dock label {
  color: #4a5640 !important;
  text-transform: none !important;
}

.kiln input,
.kiln select,
.kiln textarea,
.dock input,
.dock select,
.dock textarea {
  background: #fff !important;
  color: #10140c !important;
  border: 2px solid #c9d6b4 !important;
  border-radius: 12px !important;
}

.kiln input:focus,
.kiln select:focus,
.kiln textarea:focus,
.dock input:focus,
.dock select:focus,
.dock textarea:focus {
  border-color: #ff3d5a !important;
  box-shadow: 0 0 0 3px rgba(255, 61, 90, 0.2) !important;
}

.keep-stats-modal.modal-overlay {
  background: rgba(16, 20, 12, 0.8) !important;
  z-index: 100080 !important;
}

.keep-stats-card,
#keep-stats-modal .keep-stats-card,
#keep-stats-modal .modal-card {
  background: #f7ffe9 !important;
  color: #10140c !important;
  border: 4px solid #10140c !important;
  border-radius: 18px !important;
  box-shadow: 8px 8px 0 #ff3d5a !important;
}

.keep-stats-open {
  background: #ff3d5a !important;
  border: 3px solid #10140c !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.keep-stats-saved,
#keep-stats-saved {
  background: #f5e642 !important;
  border: 3px solid #10140c !important;
  color: #10140c !important;
  border-radius: 999px !important;
}

#flagship-modal .flagship-card,
#flagship-modal .modal-card {
  background: #f7ffe9 !important;
  color: #10140c !important;
  border: 4px solid #10140c !important;
}

#flagship-modal .btn-flagship-go,
#flagship-modal .flagship-go-domain {
  background: #ff3d5a !important;
  color: #fff !important;
  border: 3px solid #10140c !important;
  border-radius: 999px !important;
}

.kiln #stage,
.dock #stage,
.preview-col #stage {
  display: grid !important;
  place-items: center !important;
  width: min(340px, 100%) !important;
  max-width: 340px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border: 3px dashed #ff3d5a !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.kiln #stage .size-badge,
.dock #stage .size-badge {
  position: absolute !important;
  top: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  background: #10140c !important;
  color: #f5e642 !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  border: 2px solid #ff3d5a !important;
}

.kiln #stage #qr,
.dock #stage #qr {
  display: block !important;
  width: 100% !important;
  background: #fff !important;
}

.kiln .fields:not(.hidden),
.dock .fields:not(.hidden) { display: grid; gap: 12px; }

.qrg-cal-trigger {
  background: #fff !important;
  color: #10140c !important;
  border: 2px solid #c9d6b4 !important;
  border-radius: 12px !important;
}

.qrg-cal-pop {
  background: #fff !important;
  border: 3px solid #10140c !important;
  border-radius: 14px !important;
  box-shadow: 6px 6px 0 #ff3d5a !important;
}

.qrg-cal-month { color: #ff3d5a !important; }

.frame-options {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 12px;
  border: 2px solid #c9d6b4;
  border-radius: 12px;
  background: #fff;
}
.frame-options[hidden] { display: none !important; }
