/* Cove motor skin — light tide. Do not rename motor IDs. */
:root {
  --bg: #f6f1e7 !important;
  --text: #1c1914 !important;
  --muted: #5c574e !important;
  --accent: #0d4f5b !important;
  --accent2: #e25c4a !important;
  --blue: #0d4f5b !important;
  --yellow: #e25c4a !important;
  --focus: #1a7a6d !important;
  --panel: #fffdf8;
  --panel2: #fbf7ee;
  --line: #d8cfc0;
  --font-body: "Manrope", system-ui, sans-serif;
}

html, body {
  background: #f6f1e7 !important;
  color: #1c1914 !important;
  scrollbar-color: #0d4f5b #f6f1e7 !important;
}

*::-webkit-scrollbar-track { background: #f6f1e7 !important; }
*::-webkit-scrollbar-thumb { background: #0d4f5b !important; border-color: #f6f1e7 !important; }
*::-webkit-scrollbar-corner { background: #f6f1e7 !important; }

.style-studio select,
.style-studio input[type="number"],
.style-studio input[type="text"],
.captcha-answer {
  background: #fff !important;
  color: #1c1914 !important;
}

.kiln,
.dock {
  --bg: #fffdf8;
  --panel: #fffdf8;
  --panel2: #fbf7ee;
  --line: #d8cfc0;
  --text: #1c1914;
  --muted: #5c574e;
  --accent: #0d4f5b;
  --accent2: #e25c4a;
  --focus: #1a7a6d;
}

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

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

.tabs .tab,
.tabs .more-toggle,
.tabs .tab-business,
.style-studio-tab,
.style-chip,
.ecc-chip,
.type-chip {
  clip-path: none !important;
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  background: #f3eee4 !important;
  color: #1c1914 !important;
  border: 1px solid #d8cfc0 !important;
}

.tab.active,
.style-studio-tab.is-on,
.style-studio-tab[aria-selected="true"] {
  background: #0d4f5b !important;
  border-color: #0d4f5b !important;
  color: #fff !important;
}

.generate-qr-cta #btn-make-dynamic,
.btn-gen-another,
.file-picker-btn,
.btn-code-stats,
.keep-stats-open,
.qrg-color-done,
#btn-png,
#btn-svg,
#btn-copy,
.actions button,
.harbour__biz {
  background: #e25c4a !important;
  border-color: #e25c4a !important;
  color: #fff !important;
  clip-path: none !important;
  border-radius: 999px !important;
  text-transform: none !important;
  white-space: normal !important;
  font-family: var(--font-body), system-ui, sans-serif !important;
  font-weight: 800 !important;
}

.generate-qr-cta #btn-make-dynamic:hover,
.btn-gen-another:hover,
.file-picker-btn:hover,
.btn-code-stats:hover,
.keep-stats-open:hover {
  background: #c94b3b !important;
  color: #fff !important;
}

.dynamic-create-account,
.dynamic-create-account:hover {
  background: #0d4f5b !important;
  border-color: #0d4f5b !important;
  color: #fff !important;
  clip-path: none !important;
  border-radius: 999px !important;
}

.qr-link-hint,
.dynamic-stat-banner,
.hint,
.cloud-note,
.payload-hint,
.style-studio-hint,
.keep-stats-warn {
  text-transform: none !important;
  color: #5c574e !important;
}

.dock input[type="text"],
.dock input[type="url"],
.dock input[type="email"],
.dock input[type="tel"],
.dock input[type="number"],
.dock input[type="datetime-local"],
.dock textarea,
.dock select,
.kiln input[type="text"],
.kiln input[type="url"],
.kiln input[type="email"],
.kiln input[type="tel"],
.kiln input[type="number"],
.kiln textarea,
.kiln select {
  background: #fff !important;
  color: #1c1914 !important;
  border: 1px solid #d8cfc0 !important;
  border-radius: 12px !important;
}

.kiln label,
.dock label {
  color: #5c574e !important;
  text-transform: none !important;
  font-size: 14px !important;
}

#keep-stats-modal.modal-overlay,
.keep-stats-modal.modal-overlay {
  background: rgba(28, 25, 20, 0.55) !important;
  z-index: 100080 !important;
}

#keep-stats-modal .keep-stats-card,
.keep-stats-modal .keep-stats-card {
  background: #fffdf8 !important;
  color: #1c1914 !important;
  border: 1px solid #d8cfc0 !important;
  border-radius: 18px !important;
  clip-path: none !important;
  overflow: visible !important;
}

#keep-stats-modal h2,
#keep-stats-title {
  color: #0d4f5b !important;
  font-family: "Fraunces", serif !important;
  text-transform: none !important;
}

.keep-stats-open { background: #e25c4a !important; color: #fff !important; }
.keep-stats-saved,
#keep-stats-saved {
  background: #0d4f5b !important;
  color: #fff !important;
  border-radius: 999px !important;
}

#flagship-modal .flagship-card {
  background: #fffdf8 !important;
  color: #1c1914 !important;
}

#flagship-modal .btn-flagship-go {
  background: #e25c4a !important;
  color: #fff !important;
}

.qrg-cal { position: relative; width: 100%; }
.qrg-cal-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  opacity: 0 !important;
}
label:has(.qrg-cal),
.qrg-cal,
.qrg-cal-trigger,
.qrg-cal-pop,
.qrg-cal-pop * {
  text-transform: none !important;
}
.qrg-cal-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #fff !important;
  color: #1c1914 !important;
  border: 1px solid #d8cfc0 !important;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.qrg-cal-pop {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  padding: 12px;
  background: #fffdf8;
  border: 1px solid #d8cfc0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(28, 25, 20, 0.12);
}
.qrg-cal-month { color: #0d4f5b; font-weight: 800; }
.qrg-cal-nav {
  width: 32px;
  height: 32px;
  background: #f3eee4;
  color: #1c1914;
  border: 1px solid #d8cfc0;
  border-radius: 8px;
  cursor: pointer;
}
.qrg-cal-day {
  min-height: 34px;
  background: transparent;
  color: #1c1914;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}
.qrg-cal-day.is-on {
  background: #0d4f5b;
  color: #fff;
}
.qrg-cal-time input {
  background: #fff !important;
  color: #1c1914 !important;
  border: 1px solid #d8cfc0 !important;
}
.qrg-cal-done {
  background: #e25c4a !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px) !important;
  grid-template-areas: "form preview" !important;
}
@media (max-width: 1024px) {
  .layout {
    display: flex !important;
    flex-direction: column !important;
  }
}
.tabs { display: flex !important; flex-wrap: wrap !important; }
.more-menu { display: none !important; list-style: none !important; }
.tab-more.open > .more-menu,
.more-menu.is-fixed-open { display: block !important; }
