html[data-brand-style="kethellin"] {
  --background: #fbf7f4;
  --foreground: #44342f;
  --card: #fffdfb;
  --card-foreground: #44342f;
  --popover: #fffdfb;
  --popover-foreground: #44342f;
  --primary: #a0755f;
  --primary-foreground: #fffaf7;
  --secondary: #efe4dc;
  --secondary-foreground: #5f4b42;
  --muted: #f1ebe7;
  --muted-foreground: #7b6b63;
  --accent: #edf2f1;
  --accent-foreground: #445c59;
  --mono: #4b3a33;
  --mono-foreground: #fffaf7;
  --border: #e5d8cf;
  --input: #d6c5b9;
  --ring: #92adab;
  --brand-sage: #92adab;
  --brand-nude: #d6c5b9;
  --brand-taupe: #a0755f;
  --brand-display-font: "Cormorant Garamond", Georgia, serif;
  --brand-support-font: "Tenor Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

html.dark[data-brand-style="kethellin"] {
  --background: #221c1a;
  --foreground: #f8f2ee;
  --card: #2a2320;
  --card-foreground: #f8f2ee;
  --popover: #2a2320;
  --popover-foreground: #f8f2ee;
  --primary: #d6c5b9;
  --primary-foreground: #2a211e;
  --secondary: #3a302c;
  --secondary-foreground: #f5ece6;
  --muted: #342b27;
  --muted-foreground: #c9b8ad;
  --accent: #2f403d;
  --accent-foreground: #eaf1ef;
  --mono: #f2e8e2;
  --mono-foreground: #2a211e;
  --border: #4b3a33;
  --input: #5d493f;
  --ring: #92adab;
}

.kethellin-sidebar-logo,
.kethellin-mobile-logo {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.kethellin-sidebar-wordmark {
  height: auto;
  max-height: 42px;
  object-fit: contain;
  width: 172px;
}

.kethellin-header-logo {
  height: auto;
  max-height: 34px;
  object-fit: contain;
  width: 136px;
}

.kethellin-sidebar-mark-wrap {
  align-items: center;
  background: #f7f4f2;
  border: 1px solid #d6c5b9;
  border-radius: 8px;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.kethellin-sidebar-mark {
  height: 27px;
  object-fit: contain;
  width: 27px;
}

.demo1 .kt-sidebar .kethellin-sidebar-logo .small-logo.kethellin-sidebar-mark-wrap {
  display: none;
}

.demo1.kt-sidebar-collapse .kt-sidebar:not(:hover) .kethellin-sidebar-logo .default-logo {
  display: none;
}

.demo1.kt-sidebar-collapse .kt-sidebar:not(:hover) .kethellin-sidebar-logo .small-logo.kethellin-sidebar-mark-wrap {
  display: inline-flex;
}

.kethellin-auth-page {
  background-color: var(--background);
}

.kethellin-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.kethellin-auth-wordmark {
  height: auto;
  max-width: min(270px, 82vw);
  object-fit: contain;
  width: 100%;
}

.brand-style-control {
  background: color-mix(in oklab, var(--muted) 70%, transparent);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.25rem;
}

.brand-style-option {
  align-items: center;
  border-radius: 6px;
  color: var(--muted-foreground);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 2rem;
  padding: 0 0.5rem;
  position: relative;
  text-align: center;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
  user-select: none;
}

.brand-style-radio {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.brand-style-option:has(.brand-style-radio:checked) {
  background: var(--background);
  box-shadow: 0 1px 2px rgb(75 58 51 / 10%);
  color: var(--mono);
}

html[data-brand-style="kethellin"] body {
  background-color: var(--background);
}

html[data-brand-style="kethellin"] .kt-header,
html[data-brand-style="kethellin"] .kt-sidebar {
  background-color: color-mix(in oklab, var(--background) 92%, white);
}

html[data-brand-style="kethellin"] .kt-card,
html[data-brand-style="kethellin"] .kt-dropdown-menu,
html[data-brand-style="kethellin"] .kethellin-auth-card {
  border-color: var(--border);
  box-shadow: 0 10px 30px rgb(75 58 51 / 6%);
}

html[data-brand-style="kethellin"] .kt-card-title,
html[data-brand-style="kethellin"] .kt-menu-heading {
  letter-spacing: 0;
}

html[data-brand-style="kethellin"] .kt-menu-link:hover i,
html[data-brand-style="kethellin"] .kt-dropdown-menu-link:hover i {
  color: var(--primary);
}

html[data-brand-style="kethellin"] .kt-input:focus,
html[data-brand-style="kethellin"] .kt-input:focus-within,
html[data-brand-style="kethellin"] .kt-select:focus,
html[data-brand-style="kethellin"] .kt-textarea:focus {
  border-color: var(--brand-sage);
}

html[data-brand-style="kethellin"] .kethellin-auth-page {
  background:
    linear-gradient(180deg, rgb(247 244 242 / 96%), rgb(239 228 220 / 82%)),
    var(--background);
}

html[data-brand-style="kethellin"] .kethellin-auth-card {
  background-color: color-mix(in oklab, var(--card) 94%, white);
}

html[data-brand-style="kethellin"] .kethellin-auth-card h3 {
  font-family: var(--brand-support-font);
}

html.dark[data-brand-style="kethellin"] .kethellin-sidebar-wordmark,
html.dark[data-brand-style="kethellin"] .kethellin-header-logo,
html.dark[data-brand-style="kethellin"] .kethellin-auth-wordmark {
  filter: brightness(1.22) contrast(0.95);
}

html.dark[data-brand-style="kethellin"] .kethellin-sidebar-mark-wrap {
  background: #2a2320;
  border-color: #5d493f;
}

.whatsapp-flow-node {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.whatsapp-flow-node--primary {
  background: color-mix(in oklab, var(--primary) 8%, var(--card));
  border-color: color-mix(in oklab, var(--primary) 42%, var(--border));
}

.whatsapp-flow-node--sage {
  background: color-mix(in oklab, var(--brand-sage, var(--accent)) 12%, var(--card));
  border-color: color-mix(in oklab, var(--brand-sage, var(--accent)) 48%, var(--border));
}

.whatsapp-flow-node--success {
  background: color-mix(in oklab, #16a34a 8%, var(--card));
  border-color: color-mix(in oklab, #16a34a 42%, var(--border));
}

.whatsapp-flow-node--warning {
  background: color-mix(in oklab, #d97706 8%, var(--card));
  border-color: color-mix(in oklab, #d97706 42%, var(--border));
}

.whatsapp-flow-node--danger {
  background: color-mix(in oklab, var(--destructive, #dc2626) 8%, var(--card));
  border-color: color-mix(in oklab, var(--destructive, #dc2626) 42%, var(--border));
}
