/* Kē rebrand dashboard. Every rule is mode-scoped so /app remains unchanged. */
html.ke-rebrand-mode #scr-dashboard {
  --kd-navy: #1a2830;
  --kd-navy-soft: #263944;
  --kd-burgundy: #6d3346;
  --kd-gold: #c8a558;
  --kd-gold-light: #e9ba61;
  --kd-cream: #f7f1e8;
  --kd-paper: #fffdf9;
  --kd-ink: #1f2c32;
  --kd-muted: #69757a;
  --kd-line: rgba(26, 40, 48, 0.12);
  background: #ffffff !important;
  color: var(--kd-ink) !important;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 36px;
  transform: none !important;
}

html.ke-rebrand-mode #scr-dashboard * { box-sizing: border-box; }
html.ke-rebrand-mode #scr-dashboard button,
html.ke-rebrand-mode #scr-dashboard input,
html.ke-rebrand-mode #scr-dashboard textarea,
html.ke-rebrand-mode #scr-dashboard select { font: inherit; }

html.ke-rebrand-mode .ke-dashboard-header {
  align-items: center;
  background: var(--kd-navy);
  border-bottom: 1px solid rgba(233, 186, 97, 0.18);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 42px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}

html.ke-rebrand-mode .ke-dashboard-brand,
html.ke-rebrand-mode .ke-dashboard-header-actions { align-items: center; display: flex; }
html.ke-rebrand-mode .ke-dashboard-brand { flex: 1; gap: 12px; min-width: 0; }
html.ke-rebrand-mode .ke-dashboard-brand img { flex: 0 0 44px; height: 44px; object-fit: contain; width: 44px; }
html.ke-rebrand-mode .ke-dashboard-header-copy { min-width: 0; }
html.ke-rebrand-mode .ke-dashboard-header-copy h1 {
  color: var(--kd-paper) !important;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.ke-rebrand-mode .ke-dashboard-header-copy p {
  color: var(--kd-gold-light) !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.1;
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.ke-rebrand-mode .ke-dashboard-header-actions { gap: 10px; }
html.ke-rebrand-mode .ke-dashboard-icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(233, 186, 97, 0.3);
  color: var(--kd-gold-light);
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 38px;
}
html.ke-rebrand-mode .ke-dashboard-icon-button { border-radius: 50%; }
html.ke-rebrand-mode .ke-dashboard-icon-button svg { fill: none; height: 20px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 20px; }
html.ke-rebrand-mode .ke-dashboard-icon-button .notif-badge-shared { align-items: center; background: var(--kd-gold-light); border-radius: 8px; color: var(--kd-navy); display: none; font-size: 9px; font-weight: 800; height: 16px; justify-content: center; min-width: 16px; padding: 0 4px; position: absolute; right: -4px; top: -4px; }
html.ke-rebrand-mode .ke-dashboard-header-flame {
  align-items: center;
  background: var(--kd-cream);
  border: 1px solid rgba(233, 186, 97, .62);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(233, 186, 97, .12);
  color: var(--kd-burgundy);
  display: inline-flex;
  gap: 6px;
  height: 34px;
  justify-content: center;
  min-width: 58px;
  padding: 0 12px;
}
html.ke-rebrand-mode .ke-dashboard-header-flame svg { fill: var(--kd-gold); height: 17px; width: 14px; }
html.ke-rebrand-mode .ke-dashboard-header-flame circle { fill: var(--kd-cream); }
html.ke-rebrand-mode .ke-dashboard-header-flame strong { color: var(--kd-burgundy); font-size: 12px; font-weight: 900; line-height: 1; }

html.ke-rebrand-mode .ke-dashboard-main { margin: 0 auto; max-width: 1120px; padding: clamp(18px, 3vw, 32px) clamp(16px, 4vw, 38px) 50px; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-eyebrow { color: var(--kd-burgundy) !important; font-size: 10px; font-weight: 800; letter-spacing: 1.55px; line-height: 1.2; margin: 0 0 8px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-card { background: var(--kd-paper); border: 1px solid rgba(200, 165, 88, .55); border-radius: 22px; box-shadow: 0 12px 32px rgba(26, 40, 48, 0.07); padding: clamp(20px, 3vw, 28px); }
html.ke-rebrand-mode .ke-dashboard-card-heading { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; margin-bottom: 20px; }
html.ke-rebrand-mode .ke-dashboard-card h2,
html.ke-rebrand-mode .ke-dashboard-section h2 { color: var(--kd-navy) !important; font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.6vw, 29px); font-weight: 600; line-height: 1.15; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-step,
html.ke-rebrand-mode .ke-dashboard-lock { background: rgba(200, 165, 88, 0.14); border-radius: 20px; color: var(--kd-burgundy); flex: 0 0 auto; font-size: 10px; font-weight: 800; padding: 7px 10px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-wellness-overview { display: grid; gap: 18px; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); margin-bottom: 22px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open,
html.ke-rebrand-mode .ke-dashboard-flame-overview { border: 1px solid rgba(200,165,88,.58); border-radius: 20px; min-height: 168px; overflow: hidden; position: relative; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open { background: var(--kd-burgundy); color: #fff; cursor: pointer; padding: 24px; text-align: left; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open::before { animation: keDashboardBlockShimmer 4.8s ease-in-out infinite; background: linear-gradient(115deg, transparent 33%, rgba(255,255,255,.18) 50%, transparent 67%); content: ''; inset: 0; pointer-events: none; position: absolute; transform: translateX(-100%); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open > * { position: relative; z-index: 1; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open .ke-dashboard-eyebrow { color: var(--kd-gold-light) !important; display: block; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open strong,
html.ke-rebrand-mode .ke-dashboard-thirty-day-open small,
html.ke-rebrand-mode .ke-dashboard-thirty-day-open em { display: block; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open strong { font-family: 'Playfair Display', serif; font-size: clamp(22px,2.7vw,29px); line-height: 1.08; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open small { color: rgba(255,255,255,.7); font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; line-height: 1.25; margin-top: 8px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open em { color: var(--kd-gold-light); font-size: 10px; font-style: normal; font-weight: 900; margin-top: 16px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-open:hover { transform: translateY(-1px); }
html.ke-rebrand-mode .ke-dashboard-flame-overview { align-items: center; background: var(--kd-paper); display: flex; gap: 24px; justify-content: space-between; padding: 24px; }
html.ke-rebrand-mode .ke-dashboard-checkin { background: var(--kd-paper); border-color: rgba(200, 165, 88, .6); margin-bottom: 22px; padding: 0; }
html.ke-rebrand-mode .ke-dashboard-checkin-hero { align-items: flex-end; background: var(--kd-burgundy); display: flex; gap: 28px; justify-content: space-between; padding: clamp(24px, 4vw, 36px); }
html.ke-rebrand-mode .ke-dashboard-checkin-hero .ke-dashboard-eyebrow { color: var(--kd-gold-light) !important; }
html.ke-rebrand-mode .ke-dashboard-checkin-hero h2 { color: #fff !important; font-size: clamp(27px, 3.6vw, 38px); }
html.ke-rebrand-mode .ke-dashboard-checkin-hero p { color: rgba(255,255,255,.72) !important; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; margin: 10px 0 0; }
html.ke-rebrand-mode .ke-dashboard-checkin-open { background: var(--kd-gold-light); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--kd-navy); cursor: pointer; flex: 0 0 auto; font-size: 11px; font-weight: 900; min-width: 130px; padding: 13px 19px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-checkin-open:hover { background: #f0c976; transform: translateY(-1px); }
html.ke-rebrand-mode .ke-dashboard-flame-summary { align-items: center; display: flex; gap: 17px; }
html.ke-rebrand-mode .ke-dashboard-flame-summary .ke-dashboard-eyebrow { display: block; margin-bottom: 6px; }
html.ke-rebrand-mode .ke-dashboard-flame-mark { align-items: center; background: rgba(233,186,97,.17); border-radius: 50%; color: var(--kd-gold); display: flex; flex: 0 0 54px; height: 54px; justify-content: center; }
html.ke-rebrand-mode .ke-dashboard-flame-mark svg { fill: currentColor; height: 36px; width: 29px; }
html.ke-rebrand-mode .ke-dashboard-flame-mark circle { fill: var(--kd-paper); }
html.ke-rebrand-mode .ke-dashboard-flame-summary strong,
html.ke-rebrand-mode .ke-dashboard-flame-summary small { display: block; }
html.ke-rebrand-mode .ke-dashboard-flame-summary strong { color: var(--kd-navy); font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.1; }
html.ke-rebrand-mode .ke-dashboard-flame-summary small { color: var(--kd-muted); font-family: 'Cormorant Garamond', serif; font-size: 15px; font-style: italic; margin-top: 5px; }
html.ke-rebrand-mode .ke-dashboard-flame-calendar { min-width: 246px; }
html.ke-rebrand-mode .ke-dashboard-flame-calendar .ke-dashboard-eyebrow { display: block; margin-bottom: 10px; text-align: right; }
html.ke-rebrand-mode .ke-dashboard-flame-dots { display: grid; gap: 7px; grid-template-columns: repeat(10, 9px); justify-content: end; }
html.ke-rebrand-mode .ke-dashboard-flame-dots i { background: #e5e8e9; border-radius: 50%; display: block; height: 9px; width: 9px; }
html.ke-rebrand-mode .ke-dashboard-flame-dots i.is-active { background: linear-gradient(135deg, var(--kd-gold-light), var(--kd-gold)); box-shadow: 0 0 9px rgba(200,165,88,.28); }
html.ke-rebrand-mode .ke-dashboard-fieldset { border: 0; margin: 0; padding: 0; }
html.ke-rebrand-mode .ke-dashboard-fieldset legend { color: var(--kd-muted); font-size: 13px; margin-bottom: 12px; }
html.ke-rebrand-mode .ke-dashboard-emotions { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.ke-rebrand-mode .ke-dashboard-emotions button { background: #fff; border: 1px solid rgba(109,51,70,.25); border-radius: 999px; color: var(--kd-ink); cursor: pointer; font-size: 12px; font-weight: 700; min-height: 42px; padding: 9px 12px; }
html.ke-rebrand-mode .ke-dashboard-emotions button:hover,
html.ke-rebrand-mode .ke-dashboard-emotions button[aria-pressed="true"] { background: var(--kd-burgundy); border-color: var(--kd-burgundy); color: #fff; }
html.ke-rebrand-mode .ke-dashboard-checkin-note textarea { background: #fff; border: 1px solid rgba(26, 40, 48, 0.16); border-radius: 12px; color: var(--kd-ink); outline: 0; padding: 12px 13px; resize: vertical; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-checkin-note textarea:focus { border-color: var(--kd-gold); box-shadow: 0 0 0 3px rgba(200, 165, 88, .15); }
html.ke-rebrand-mode .ke-dashboard-primary-button,
html.ke-rebrand-mode .ke-dashboard-secondary-button { border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: 800; padding: 11px 15px; }
html.ke-rebrand-mode .ke-dashboard-primary-button { background: var(--kd-burgundy); border: 1px solid var(--kd-burgundy); color: #fff; justify-self: start; }
html.ke-rebrand-mode .ke-dashboard-primary-button:disabled { cursor: wait; opacity: .55; }
html.ke-rebrand-mode .ke-dashboard-secondary-button { background: transparent; border: 1px solid var(--kd-gold); color: var(--kd-navy); }
html.ke-rebrand-mode .ke-dashboard-checkin-complete { align-items: center; background: rgba(200, 165, 88, .12); border-top: 1px solid rgba(200,165,88,.3); color: var(--kd-navy); display: flex; gap: 12px; padding: 15px clamp(24px, 4vw, 36px); }
html.ke-rebrand-mode .ke-dashboard-checkin-complete[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-checkin-complete span { align-items: center; background: var(--kd-gold); border-radius: 50%; color: #fff; display: flex; flex: 0 0 30px; height: 30px; justify-content: center; }
html.ke-rebrand-mode .ke-dashboard-checkin-complete strong,
html.ke-rebrand-mode .ke-dashboard-checkin-complete small { display: block; }
html.ke-rebrand-mode .ke-dashboard-checkin-complete small { color: var(--kd-muted); margin-top: 3px; }

html.ke-rebrand-mode .ke-dashboard-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 34px; }
html.ke-rebrand-mode .ke-dashboard-media-row { align-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; display: flex; gap: 16px; padding: 0; text-align: left; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-media-image { border-radius: 14px; flex: 0 0 145px; height: 102px; overflow: hidden; position: relative; }
html.ke-rebrand-mode .ke-dashboard-media-image::after { background: linear-gradient(0deg, rgba(26,40,48,.42), transparent); content: ''; inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-media-image img { height: 100%; object-fit: cover; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-media-image i { align-items: center; background: rgba(255,255,255,.92); border-radius: 50%; bottom: 10px; color: var(--kd-burgundy); display: flex; font-size: 10px; font-style: normal; height: 28px; justify-content: center; left: 10px; padding-left: 2px; position: absolute; width: 28px; z-index: 2; }
html.ke-rebrand-mode .ke-dashboard-media-copy { display: block; min-width: 0; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-media-copy strong,
html.ke-rebrand-mode .ke-dashboard-media-copy small,
html.ke-rebrand-mode .ke-dashboard-media-copy em { display: block; }
html.ke-rebrand-mode .ke-dashboard-media-copy strong { color: var(--kd-navy); font-family: 'Playfair Display', serif; font-size: 17px; line-height: 1.2; }
html.ke-rebrand-mode .ke-dashboard-media-copy small { color: var(--kd-muted); margin-top: 5px; }
html.ke-rebrand-mode .ke-dashboard-progress { background: rgba(26,40,48,.1); border-radius: 4px; display: block; height: 5px; margin: 13px 0 6px; overflow: hidden; }
html.ke-rebrand-mode .ke-dashboard-progress i { background: var(--kd-gold); display: block; height: 100%; width: 0; }
html.ke-rebrand-mode .ke-dashboard-media-copy em { color: var(--kd-burgundy); font-size: 10px; font-style: normal; font-weight: 800; }
html.ke-rebrand-mode .ke-dashboard-text-button { background: transparent; border: 0; color: var(--kd-burgundy); cursor: pointer; font-size: 11px; font-weight: 800; padding: 5px 0; white-space: nowrap; }
html.ke-rebrand-mode .ke-dashboard-plan-items { display: grid; gap: 10px; }
html.ke-rebrand-mode .ke-dashboard-plan-item { align-items: center; background: var(--kd-cream); border-radius: 12px; display: flex; gap: 11px; padding: 11px 12px; }
html.ke-rebrand-mode .ke-dashboard-plan-item i { align-items: center; background: #fff; border: 1px solid var(--kd-gold); border-radius: 50%; color: var(--kd-burgundy); display: flex; flex: 0 0 27px; font-size: 11px; font-style: normal; height: 27px; justify-content: center; }
html.ke-rebrand-mode .ke-dashboard-plan-item.done { opacity: .62; }
html.ke-rebrand-mode .ke-dashboard-plan-item.done i { background: var(--kd-gold); color: #fff; }
html.ke-rebrand-mode .ke-dashboard-plan-item strong,
html.ke-rebrand-mode .ke-dashboard-plan-item small { display: block; }
html.ke-rebrand-mode .ke-dashboard-plan-item strong { color: var(--kd-navy); font-size: 12px; }
html.ke-rebrand-mode .ke-dashboard-plan-item small { color: var(--kd-muted); margin-top: 2px; }
html.ke-rebrand-mode .ke-dashboard-empty { color: var(--kd-muted); font-size: 13px; line-height: 1.5; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-skeleton { animation: kdPulse 1.4s ease-in-out infinite; background: rgba(26,40,48,.08); border-radius: 10px; height: 45px; }
html.ke-rebrand-mode .ke-dashboard-skeleton.short { width: 76%; }
@keyframes kdPulse { 50% { opacity: .42; } }

html.ke-rebrand-mode .ke-dashboard-section { margin-bottom: 34px; }
html.ke-rebrand-mode .ke-dashboard-section-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 18px; }
html.ke-rebrand-mode .ke-dashboard-section-heading p { color: var(--kd-muted) !important; font-size: 11px; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-recommendation-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ke-rebrand-mode .ke-dashboard-recommendation { background: var(--kd-navy); border: 0; border-radius: 18px; color: #fff; cursor: pointer; min-height: 205px; overflow: hidden; padding: 0; position: relative; text-align: left; }
html.ke-rebrand-mode .ke-dashboard-recommendation img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-recommendation::after { background: linear-gradient(90deg, rgba(26,40,48,.96) 0%, rgba(26,40,48,.76) 52%, rgba(26,40,48,.16) 100%); content: ''; inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-recommendation-copy { display: block; max-width: 70%; padding: 25px; position: relative; z-index: 2; }
html.ke-rebrand-mode .ke-dashboard-recommendation-copy small,
html.ke-rebrand-mode .ke-dashboard-recommendation-copy strong,
html.ke-rebrand-mode .ke-dashboard-recommendation-copy em { display: block; }
html.ke-rebrand-mode .ke-dashboard-recommendation-copy small { color: var(--kd-gold-light); font-size: 9px; font-weight: 800; letter-spacing: 1.1px; margin-bottom: 8px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-recommendation-copy strong { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.14; }
html.ke-rebrand-mode .ke-dashboard-recommendation-copy em { font-size: 11px; font-style: normal; font-weight: 700; margin-top: 18px; }

html.ke-rebrand-mode .ke-dashboard-lower-grid { align-items: stretch; }
html.ke-rebrand-mode .ke-dashboard-journal-copy { color: var(--kd-muted) !important; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; line-height: 1.45; margin: -2px 0 18px; max-width: 540px; }
html.ke-rebrand-mode .ke-dashboard-journal-open { background: var(--kd-gold-light); border-color: var(--kd-gold-light); color: var(--kd-navy); min-width: 132px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-journal-open:hover { background: #f0c976; transform: translateY(-1px); }
html.ke-rebrand-mode .ke-dashboard-recent-entry { border-top: 1px solid var(--kd-line); margin-top: 18px; padding-top: 15px; }
html.ke-rebrand-mode .ke-dashboard-recent-entry[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-recent-entry small,
html.ke-rebrand-mode .ke-dashboard-recent-entry strong,
html.ke-rebrand-mode .ke-dashboard-recent-entry p { display: block; }
html.ke-rebrand-mode .ke-dashboard-recent-entry small { color: var(--kd-burgundy); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-recent-entry strong { color: var(--kd-navy); font-family: 'Playfair Display', serif; margin-top: 5px; }
html.ke-rebrand-mode .ke-dashboard-recent-entry p { color: var(--kd-muted) !important; font-size: 12px; line-height: 1.45; margin: 5px 0 0; }
html.ke-rebrand-mode .ke-dashboard-progress-card { background: var(--kd-navy); color: #fff; }
html.ke-rebrand-mode .ke-dashboard-progress-card h2 { color: #fff !important; }
html.ke-rebrand-mode .ke-dashboard-progress-card .ke-dashboard-eyebrow { color: var(--kd-gold-light) !important; }
html.ke-rebrand-mode .ke-dashboard-flame { align-items: center; display: flex; gap: 15px; }
html.ke-rebrand-mode .ke-dashboard-flame > span { align-items: center; background: rgba(233,186,97,.12); border: 1px solid rgba(233,186,97,.32); border-radius: 50%; color: var(--kd-gold-light); display: flex; font-size: 19px; height: 56px; justify-content: center; width: 56px; }
html.ke-rebrand-mode .ke-dashboard-flame strong,
html.ke-rebrand-mode .ke-dashboard-flame small { display: block; }
html.ke-rebrand-mode .ke-dashboard-flame strong { color: var(--kd-gold-light); font-family: 'Playfair Display', serif; font-size: 31px; line-height: 1; }
html.ke-rebrand-mode .ke-dashboard-flame small { color: rgba(255,255,255,.65); margin-top: 3px; }
html.ke-rebrand-mode .ke-dashboard-stats { border-bottom: 1px solid rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0; padding: 17px 0; }
html.ke-rebrand-mode .ke-dashboard-stats div { border-right: 1px solid rgba(255,255,255,.1); padding: 0 10px; text-align: center; }
html.ke-rebrand-mode .ke-dashboard-stats div:first-child { padding-left: 0; }
html.ke-rebrand-mode .ke-dashboard-stats div:last-child { border-right: 0; padding-right: 0; }
html.ke-rebrand-mode .ke-dashboard-stats strong,
html.ke-rebrand-mode .ke-dashboard-stats span { display: block; }
html.ke-rebrand-mode .ke-dashboard-stats strong { color: #fff; font-family: 'Playfair Display', serif; font-size: 22px; }
html.ke-rebrand-mode .ke-dashboard-stats span { color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.3; margin-top: 3px; }
html.ke-rebrand-mode .ke-dashboard-progress-card > p { color: rgba(255,255,255,.72) !important; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; margin: 0; }

html.ke-rebrand-mode .ke-dashboard-community { background: var(--kd-paper); margin: 0 0 28px; padding: 0; }
html.ke-rebrand-mode .ke-dashboard-community-button { background: var(--kd-navy); border: 0; border-radius: inherit; color: #fff; cursor: pointer; display: block; min-height: 340px; overflow: hidden; padding: 0; position: relative; text-align: left; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-community-button > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
html.ke-rebrand-mode .ke-dashboard-community-button::after { background: linear-gradient(180deg, transparent 35%, rgba(10,20,26,.28) 100%); content: ''; inset: 0; pointer-events: none; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-community-panel { background: rgba(26,40,48,.97); border: 1px solid var(--kd-gold); border-radius: 18px; bottom: 24px; box-shadow: 0 12px 32px rgba(7,17,22,.3); display: block; left: 24px; padding: 21px 24px; position: absolute; right: 24px; z-index: 2; }
html.ke-rebrand-mode .ke-dashboard-community-panel strong,
html.ke-rebrand-mode .ke-dashboard-community-panel > span,
html.ke-rebrand-mode .ke-dashboard-community-panel em { display: block; }
html.ke-rebrand-mode .ke-dashboard-community-panel strong { color: var(--kd-gold-light); font-family: 'Playfair Display', serif; font-size: clamp(27px,3.1vw,36px); line-height: 1; }
html.ke-rebrand-mode .ke-dashboard-community-panel > span { color: #fff; font-size: 14px; font-weight: 800; line-height: 1.3; margin-top: 8px; }
html.ke-rebrand-mode .ke-dashboard-community-panel em { color: var(--kd-gold-light); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .7px; margin-top: 15px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-community-button:hover .ke-dashboard-community-panel { transform: translateY(-2px); }
html.ke-rebrand-mode .ke-dashboard-support { align-items: center; background: rgba(109,51,70,.06); border: 1px solid rgba(109,51,70,.15); border-radius: 16px; display: flex; gap: 20px; justify-content: space-between; padding: 17px 20px; }
html.ke-rebrand-mode .ke-dashboard-support strong,
html.ke-rebrand-mode .ke-dashboard-support span { display: block; }
html.ke-rebrand-mode .ke-dashboard-support strong { color: var(--kd-navy); font-size: 13px; }
html.ke-rebrand-mode .ke-dashboard-support span { color: var(--kd-muted); font-size: 11px; margin-top: 3px; }
html.ke-rebrand-mode .ke-dashboard-support button { background: transparent; border: 0; color: var(--kd-burgundy); cursor: pointer; font-size: 11px; font-weight: 800; white-space: nowrap; }
html.ke-rebrand-mode .ke-dashboard-alert { background: var(--kd-navy); border-radius: 12px; color: #fff; font-size: 12px; margin: -12px 0 20px; padding: 12px 15px; }
html.ke-rebrand-mode .ke-dashboard-alert[hidden] { display: none; }

/* Connect-inspired gold border and shimmer language across dashboard blocks. */
html.ke-rebrand-mode .ke-dashboard-card,
html.ke-rebrand-mode .ke-dashboard-recommendation,
html.ke-rebrand-mode .ke-dashboard-support { overflow: hidden; position: relative; }
html.ke-rebrand-mode .ke-dashboard-card { border-color: rgba(200, 165, 88, .55) !important; }
html.ke-rebrand-mode .ke-dashboard-recommendation,
html.ke-rebrand-mode .ke-dashboard-support { border: 1px solid rgba(200, 165, 88, .55); }
html.ke-rebrand-mode .ke-dashboard-card::before,
html.ke-rebrand-mode .ke-dashboard-recommendation::before,
html.ke-rebrand-mode .ke-dashboard-support::before {
  animation: keDashboardBlockShimmer 4.5s ease-in-out infinite;
  background: linear-gradient(115deg, transparent 35%, rgba(200,165,88,.28) 50%, transparent 65%);
  border-radius: inherit;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-100%);
  z-index: 4;
}
html.ke-rebrand-mode .ke-dashboard-grid > :nth-child(2)::before,
html.ke-rebrand-mode .ke-dashboard-recommendation:nth-child(2)::before { animation-delay: 1.15s; }
html.ke-rebrand-mode .ke-dashboard-lower-grid > :nth-child(1)::before { animation-delay: .55s; }
html.ke-rebrand-mode .ke-dashboard-community::before { animation-delay: 1.7s; }
html.ke-rebrand-mode .ke-dashboard-card > *,
html.ke-rebrand-mode .ke-dashboard-support > * { position: relative; z-index: 2; }
@keyframes keDashboardBlockShimmer {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

html.ke-rebrand-mode .ke-dashboard-checkin-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 590; }
html.ke-rebrand-mode .ke-dashboard-checkin-modal[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-checkin-backdrop { background: rgba(17,28,33,.74); inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-checkin-card { background: var(--kd-paper); border: 1px solid rgba(200,165,88,.68); border-radius: 25px; box-shadow: 0 28px 90px rgba(11,20,24,.38); max-height: calc(100vh - 36px); max-width: 530px; overflow-x: hidden; overflow-y: auto; padding: clamp(25px, 5vw, 39px); position: relative; width: 100%; z-index: 1; }
html.ke-rebrand-mode .ke-dashboard-checkin-card::before { animation: keDashboardBlockShimmer 5s ease-in-out infinite; background: linear-gradient(115deg, transparent 37%, rgba(233,186,97,.2) 50%, transparent 63%); border-radius: inherit; content: ''; inset: 0; pointer-events: none; position: absolute; transform: translateX(-100%); z-index: 4; }
html.ke-rebrand-mode .ke-dashboard-checkin-card > * { position: relative; z-index: 2; }
html.ke-rebrand-mode .ke-dashboard-checkin-close { background: transparent; border: 0; color: var(--kd-muted); cursor: pointer; font-size: 27px; line-height: 1; padding: 5px; position: absolute !important; right: 14px; top: 11px; z-index: 5 !important; }
html.ke-rebrand-mode .ke-dashboard-checkin-header { align-items: center; border-bottom: 1px solid rgba(200,165,88,.28); display: flex; justify-content: space-between; margin-bottom: 14px; padding: 0 35px 13px 0; }
html.ke-rebrand-mode .ke-dashboard-checkin-header .ke-dashboard-eyebrow { display: block; margin-bottom: 3px; }
html.ke-rebrand-mode .ke-dashboard-checkin-header strong { color: var(--kd-muted); display: block; font-family: 'Cormorant Garamond', serif; font-size: 12px; font-style: italic; font-weight: 500; }
html.ke-rebrand-mode .ke-dashboard-checkin-count { color: var(--kd-burgundy); font-size: 10px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-checkin-progress { background: rgba(26,40,48,.1); border-radius: 3px; height: 5px; margin-bottom: 28px; overflow: hidden; }
html.ke-rebrand-mode .ke-dashboard-checkin-progress i { background: linear-gradient(90deg, var(--kd-gold), var(--kd-gold-light)); display: block; height: 100%; transition: width .25s ease; width: 33.333%; }
html.ke-rebrand-mode .ke-dashboard-checkin-step[hidden],
html.ke-rebrand-mode .ke-dashboard-checkin-finish[hidden],
html.ke-rebrand-mode .ke-dashboard-checkin-card form[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-checkin-step > h2,
html.ke-rebrand-mode .ke-dashboard-checkin-finish > h2 { color: var(--kd-navy) !important; font-family: 'Playfair Display', serif; font-size: clamp(30px, 6vw, 40px); letter-spacing: -.5px; line-height: 1.03; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-checkin-step > p,
html.ke-rebrand-mode .ke-dashboard-checkin-finish > p { color: var(--kd-muted) !important; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; line-height: 1.35; margin: 10px 0 23px; }
html.ke-rebrand-mode .ke-dashboard-checkin-note { border: 1px solid rgba(200,165,88,.52); border-radius: 15px; display: block; margin-top: 24px; padding: 12px; }
html.ke-rebrand-mode .ke-dashboard-checkin-note > span { color: var(--kd-burgundy); display: block; font-size: 8px; font-weight: 900; letter-spacing: .7px; margin: 0 0 6px; }
html.ke-rebrand-mode .ke-dashboard-checkin-note textarea { border: 0; border-radius: 0; font-family: 'Cormorant Garamond', serif; font-size: 15px; font-style: italic; line-height: 1.35; min-height: 75px; padding: 0; }
html.ke-rebrand-mode .ke-dashboard-checkin-note textarea:focus { box-shadow: none; }
html.ke-rebrand-mode .ke-dashboard-needs { display: grid; gap: 10px; }
html.ke-rebrand-mode .ke-dashboard-needs button { align-items: center; background: #fff; border: 1px solid rgba(200,165,88,.45); border-radius: 14px; color: var(--kd-navy); cursor: pointer; display: grid; gap: 4px; padding: 13px 15px; text-align: left; }
html.ke-rebrand-mode .ke-dashboard-needs button:hover,
html.ke-rebrand-mode .ke-dashboard-needs button[aria-pressed="true"] { background: var(--kd-navy); border-color: var(--kd-navy); color: #fff; }
html.ke-rebrand-mode .ke-dashboard-needs strong { color: inherit; font-size: 13px; }
html.ke-rebrand-mode .ke-dashboard-needs small { color: inherit; font-size: 10px; opacity: .67; }
html.ke-rebrand-mode .ke-dashboard-checkin-review { background: var(--kd-cream); border: 1px solid rgba(200,165,88,.45); border-radius: 15px; display: grid; gap: 6px; margin: 23px 0; padding: 17px; }
html.ke-rebrand-mode .ke-dashboard-checkin-review > span { color: var(--kd-burgundy); font-size: 8px; font-weight: 900; letter-spacing: .8px; }
html.ke-rebrand-mode .ke-dashboard-checkin-review strong { color: var(--kd-navy); font-family: 'Playfair Display', serif; font-size: 19px; }
html.ke-rebrand-mode .ke-dashboard-checkin-review small { color: var(--kd-muted); font-size: 11px; }
html.ke-rebrand-mode .ke-dashboard-checkin-privacy { align-items: center; color: var(--kd-muted) !important; display: flex; font-family: inherit !important; font-size: 10px !important; font-style: normal !important; gap: 9px; margin: 0 !important; }
html.ke-rebrand-mode .ke-dashboard-checkin-privacy i { background: rgba(233,186,97,.28); border-radius: 50%; flex: 0 0 15px; height: 15px; }
html.ke-rebrand-mode .ke-dashboard-checkin-actions { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 25px; }
html.ke-rebrand-mode .ke-dashboard-checkin-actions button,
html.ke-rebrand-mode .ke-dashboard-checkin-done { border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 900; min-height: 44px; padding: 11px 20px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-checkin-back { background: transparent; border: 1px solid rgba(109,51,70,.28); color: var(--kd-burgundy); }
html.ke-rebrand-mode .ke-dashboard-checkin-next,
html.ke-rebrand-mode .ke-dashboard-checkin-submit,
html.ke-rebrand-mode .ke-dashboard-checkin-done { background: var(--kd-gold-light); border: 1px solid var(--kd-gold-light); color: var(--kd-navy); flex: 1; }
html.ke-rebrand-mode .ke-dashboard-checkin-actions button[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-checkin-actions button:disabled { cursor: not-allowed; opacity: .42; }
html.ke-rebrand-mode .ke-dashboard-checkin-finish { text-align: center; }
html.ke-rebrand-mode .ke-dashboard-checkin-finish .ke-dashboard-eyebrow { display: block; margin-bottom: 18px; }
html.ke-rebrand-mode .ke-dashboard-checkin-flame { align-items: center; background: var(--kd-burgundy); border: 10px solid rgba(233,186,97,.17); border-radius: 50%; color: var(--kd-gold-light); display: flex; height: 112px; justify-content: center; margin: 0 auto 22px; width: 112px; }
html.ke-rebrand-mode .ke-dashboard-checkin-flame svg { fill: currentColor; height: 62px; width: 50px; }
html.ke-rebrand-mode .ke-dashboard-checkin-flame circle { fill: var(--kd-paper); }
html.ke-rebrand-mode .ke-dashboard-checkin-finish .ke-dashboard-checkin-review { text-align: left; }
html.ke-rebrand-mode .ke-dashboard-checkin-done { display: block; margin-top: 18px; width: 100%; }

html.ke-rebrand-mode .ke-dashboard-thirty-day-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 590; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-modal[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-backdrop { background: rgba(12,20,24,.75); inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-card { background: var(--kd-paper); border: 1px solid rgba(200,165,88,.62); border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.34); max-height: calc(100vh - 36px); max-width: 760px; overflow: hidden; position: relative; width: 100%; z-index: 1; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-header { align-items: center; border-bottom: 1px solid var(--kd-line); display: grid; gap: 14px; grid-template-columns: auto 1fr auto; padding: 20px 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-header h2 { color: var(--kd-navy) !important; font-family: 'Playfair Display', serif; font-size: 27px; line-height: 1; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-header p { color: var(--kd-muted) !important; font-family: 'Cormorant Garamond', serif; font-size: 14px; font-style: italic; margin: 4px 0 0; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-header .ke-dashboard-eyebrow { margin-bottom: 5px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-back { align-items: center; background: transparent; border: 1px solid rgba(109,51,70,.24); border-radius: 50%; color: var(--kd-burgundy); cursor: pointer; display: flex; font-size: 17px; height: 38px; justify-content: center; padding: 0; width: 38px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-mini-flame { align-items: center; background: var(--kd-cream); border: 1px solid rgba(200,165,88,.5); border-radius: 999px; color: var(--kd-gold); display: flex; gap: 6px; padding: 8px 12px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-mini-flame svg { fill: currentColor; height: 18px; width: 15px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-mini-flame circle { fill: var(--kd-cream); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-mini-flame strong { color: var(--kd-burgundy); font-size: 11px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-alert { background: #fff4df; border-bottom: 1px solid rgba(200,165,88,.35); color: var(--kd-burgundy); font-size: 11px; padding: 10px 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-alert[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-scroll { max-height: calc(100vh - 138px); overflow-y: auto; padding: 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-hero { align-items: center; background: var(--kd-burgundy); border-radius: 18px; color: #fff; display: flex; gap: 20px; padding: 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-hero .ke-dashboard-eyebrow { color: var(--kd-gold-light) !important; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-hero h3 { font-family: 'Playfair Display', serif; font-size: 27px; line-height: 1.05; margin: 0; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-hero p { color: rgba(255,255,255,.72) !important; font-size: 12px; margin: 7px 0 0; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-flame { align-items: center; background: rgba(233,186,97,.15); border-radius: 50%; color: var(--kd-gold-light); display: flex; flex: 0 0 74px; height: 74px; justify-content: center; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-flame svg { fill: currentColor; height: 45px; width: 36px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-flame circle { fill: var(--kd-paper); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-calendar { margin-top: 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-section-heading { align-items: center; display: flex; justify-content: space-between; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-section-heading strong { color: var(--kd-navy); font-family: 'Playfair Display', serif; font-size: 15px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-weekdays,
html.ke-rebrand-mode .ke-dashboard-thirty-day-days { display: grid; gap: 8px; grid-template-columns: repeat(7, 1fr); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-weekdays { color: var(--kd-muted); font-size: 8px; font-weight: 900; margin: 14px 0 8px; text-align: center; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-days { background: #fff; border: 1px solid rgba(200,165,88,.4); border-radius: 17px; padding: 15px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-day { align-items: center; background: #eef0f0; border: 2px solid transparent; border-radius: 50%; color: var(--kd-muted); display: flex; font-size: 9px; font-weight: 800; height: 32px; justify-content: center; margin: auto; position: relative; width: 32px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-day.is-checkin { background: var(--kd-gold-light); color: var(--kd-navy); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-day.is-journal { border-color: var(--kd-burgundy); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-day.is-today { box-shadow: 0 0 0 3px rgba(200,165,88,.18); }
html.ke-rebrand-mode .ke-dashboard-thirty-day-day.is-empty { background: transparent; border: 0; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats div { background: #fff; border: 1px solid rgba(200,165,88,.4); border-radius: 14px; padding: 15px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats strong,
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats span { display: block; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats strong { color: var(--kd-burgundy); font-family: 'Playfair Display', serif; font-size: 24px; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-stats span { color: var(--kd-muted); font-size: 8px; font-weight: 800; margin-top: 4px; text-transform: uppercase; }
html.ke-rebrand-mode .ke-dashboard-thirty-day-moods { margin-top: 22px; }
html.ke-rebrand-mode #ke-dashboard-thirty-day-mood-list { display: flex; flex-wrap: wrap; gap: 8px; }
html.ke-rebrand-mode #ke-dashboard-thirty-day-mood-list span { background: var(--kd-cream); border: 1px solid rgba(109,51,70,.22); border-radius: 999px; color: var(--kd-burgundy); font-size: 10px; font-weight: 800; padding: 8px 14px; }
html.ke-rebrand-mode #ke-dashboard-thirty-day-note { color: var(--kd-muted) !important; font-family: 'Cormorant Garamond', serif; font-size: 15px; font-style: italic; margin: 16px 0 0; }

html.ke-rebrand-mode .ke-dashboard-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 500; }
html.ke-rebrand-mode .ke-dashboard-modal[hidden] { display: none; }
html.ke-rebrand-mode .ke-dashboard-modal-backdrop { background: rgba(12,20,24,.72); inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-dashboard-modal-card { background: var(--kd-paper); border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.3); max-width: 440px; padding: 30px; position: relative; width: 100%; z-index: 1; }
html.ke-rebrand-mode .ke-dashboard-modal-card h2 { color: var(--kd-navy) !important; font-family: 'Playfair Display', serif; font-size: 29px; margin: 0 0 14px; }
html.ke-rebrand-mode .ke-dashboard-modal-card p { color: var(--kd-muted) !important; font-size: 13px; line-height: 1.55; }
html.ke-rebrand-mode .ke-dashboard-modal-card a { background: var(--kd-burgundy); border-radius: 12px; color: #fff; display: block; font-weight: 800; margin: 19px 0; padding: 13px; text-align: center; text-decoration: none; }
html.ke-rebrand-mode .ke-dashboard-modal-note { border-top: 1px solid var(--kd-line); font-size: 11px !important; padding-top: 15px; }
html.ke-rebrand-mode .ke-dashboard-modal-close { background: transparent; border: 0; color: var(--kd-muted); cursor: pointer; font-size: 27px; line-height: 1; padding: 5px; position: absolute; right: 13px; top: 10px; }

/* Rebrand-wide floating Talk to Karamo launcher and white chooser. */
html.ke-rebrand-mode #t-talk { display: none !important; }
html.ke-rebrand-mode .ke-talk-launcher {
  align-items: center;
  animation: keTalkLauncherFloat 4s ease-in-out infinite;
  background: transparent;
  border: 0;
  bottom: 84px;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  position: fixed;
  right: clamp(12px, 2.5vw, 30px);
  z-index: 180;
}
html.ke-rebrand-mode .ke-talk-launcher:focus-visible { outline: 3px solid rgba(109,51,70,.42); outline-offset: 5px; }
html.ke-rebrand-mode .ke-talk-launcher-hint {
  background: #1a2830;
  border: 1px solid rgba(233,186,97,.72);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(26,40,48,.2);
  color: #e9ba61;
  display: block;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 12px;
  position: relative;
  white-space: nowrap;
}
html.ke-rebrand-mode .ke-talk-launcher-hint::after {
  background: #1a2830;
  border-bottom: 1px solid rgba(233,186,97,.72);
  border-right: 1px solid rgba(233,186,97,.72);
  bottom: -5px;
  content: '';
  height: 9px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
}
html.ke-rebrand-mode .ke-talk-launcher-photo { background: #f7f1e8; border: 3px solid #c8a558; border-radius: 50%; box-shadow: 0 13px 34px rgba(26,40,48,.25), 0 0 0 5px rgba(255,255,255,.82); display: block; height: 70px; position: relative; width: 70px; }
html.ke-rebrand-mode .ke-talk-launcher-photo img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
html.ke-rebrand-mode .ke-talk-launcher-photo i,
html.ke-rebrand-mode .ke-talk-chooser-portrait i,
html.ke-rebrand-mode .ke-talk-text-avatar i { background: #1a2830; border: 2px solid #fff; border-radius: 50%; bottom: 0; height: 13px; position: absolute; right: 0; width: 13px; }
@keyframes keTalkLauncherFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

html.ke-rebrand-mode .ke-talk-chooser { align-items: center; display: flex !important; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 620; }
html.ke-rebrand-mode .ke-talk-chooser[hidden] { display: none !important; }
html.ke-rebrand-mode .ke-talk-chooser-backdrop { background: rgba(18,29,34,.68); inset: 0; position: absolute; }
html.ke-rebrand-mode .ke-talk-chooser-card { background: #fff; border: 1px solid rgba(200,165,88,.62); border-radius: 24px; box-shadow: 0 28px 80px rgba(17,27,32,.34); max-height: calc(100vh - 36px); max-width: 420px; overflow-x: hidden; overflow-y: auto; padding: clamp(24px, 5vw, 34px); position: relative; text-align: center; width: 100%; z-index: 1; }
html.ke-rebrand-mode .ke-talk-chooser-card::before { animation: keDashboardBlockShimmer 4.5s ease-in-out infinite; background: linear-gradient(115deg, transparent 35%, rgba(200,165,88,.25) 50%, transparent 65%); border-radius: inherit; content: ''; inset: 0; pointer-events: none; position: absolute; transform: translateX(-100%); z-index: 4; }
html.ke-rebrand-mode .ke-talk-chooser-card > * { position: relative; z-index: 2; }
html.ke-rebrand-mode .ke-talk-chooser-close { background: transparent; border: 0; color: #69757a; cursor: pointer; font-size: 27px; line-height: 1; padding: 5px; position: absolute !important; right: 12px; top: 9px; z-index: 5 !important; }
html.ke-rebrand-mode .ke-talk-chooser-kicker { color: #6d3346; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; margin: 0 0 7px; }
html.ke-rebrand-mode .ke-talk-choice-view > h2 { line-height: .9; margin: 0 0 22px; }
html.ke-rebrand-mode .ke-talk-choice-view > h2 span,
html.ke-rebrand-mode .ke-talk-choice-view > h2 strong { display: block; font-family: 'Playfair Display', serif; font-size: clamp(35px, 8vw, 45px); font-weight: 600; }
html.ke-rebrand-mode .ke-talk-choice-view > h2 span { color: #d9b671; }
html.ke-rebrand-mode .ke-talk-choice-view > h2 strong { color: #1a2830; margin-top: 6px; }
html.ke-rebrand-mode .ke-talk-chooser-portrait { background: #f7f1e8; border: 4px solid #c8a558; border-radius: 50%; box-shadow: 0 0 0 9px rgba(233,186,97,.13), 0 17px 35px rgba(26,40,48,.16); height: 150px; margin: 0 auto 20px; position: relative; width: 150px; }
html.ke-rebrand-mode .ke-talk-chooser-portrait img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
html.ke-rebrand-mode .ke-talk-chooser-portrait i { bottom: 7px; height: 17px; right: 3px; width: 17px; }
html.ke-rebrand-mode .ke-talk-chooser-intro { color: #69757a; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; margin: 0 0 17px; }
html.ke-rebrand-mode .ke-talk-choice-buttons { display: grid; gap: 10px; }
html.ke-rebrand-mode .ke-talk-choice-buttons > button { align-items: center; background: #fff; border: 1px solid rgba(200,165,88,.6); border-radius: 14px; color: #1a2830; cursor: pointer; display: flex; gap: 13px; padding: 13px 15px; text-align: left; }
html.ke-rebrand-mode .ke-talk-choice-buttons > button:first-child { background: #1a2830; color: #fff; }
html.ke-rebrand-mode .ke-talk-choice-buttons > .ke-talk-choice-resource { background: linear-gradient(115deg, #fffaf0, #f7ead0 50%, #fffaf0); border-color: rgba(200,165,88,.88); }
html.ke-rebrand-mode .ke-talk-choice-icon { align-items: center; background: rgba(233,186,97,.15); border: 1px solid rgba(233,186,97,.5); border-radius: 50%; color: #e9ba61; display: flex; flex: 0 0 35px; font-size: 12px; font-weight: 900; height: 35px; justify-content: center; }
html.ke-rebrand-mode .ke-talk-choice-buttons strong,
html.ke-rebrand-mode .ke-talk-choice-buttons small { display: block; }
html.ke-rebrand-mode .ke-talk-choice-buttons strong { color: inherit; font-size: 13px; }
html.ke-rebrand-mode .ke-talk-choice-buttons small { color: inherit; font-size: 10px; margin-top: 3px; opacity: .62; }
html.ke-rebrand-mode .ke-talk-choice-arrow { color: #6d3346; font-size: 17px; font-weight: 800; margin-left: auto; }
html.ke-rebrand-mode .ke-talk-ai-note { color: #7d878b; display: block; font-size: 9px; line-height: 1.4; margin: 15px auto 0; max-width: 310px; }
html.ke-rebrand-mode .ke-talk-call-view[hidden],
html.ke-rebrand-mode .ke-talk-text-view[hidden] { display: none; }
html.ke-rebrand-mode .ke-talk-view-back { background: transparent; border: 0; color: #6d3346; cursor: pointer; display: block; font-size: 11px; font-weight: 800; margin: -4px 0 15px; padding: 0; }
html.ke-rebrand-mode .ke-talk-call-host { min-height: 390px; }
html.ke-rebrand-mode .ke-talk-call-host .talk-voice-shell { flex: none; min-height: 0; }
html.ke-rebrand-mode .ke-talk-call-host .talk-voice-copy { margin-bottom: 20px; }
html.ke-rebrand-mode .ke-talk-call-host .talk-voice-copy h2 { font-size: 36px; }
html.ke-rebrand-mode .ke-talk-call-host .talk-orb { width: 184px; }
html.ke-rebrand-mode .ke-talk-call-host .talk-avatar-frame { height: 164px; width: 164px; }
html.ke-rebrand-mode .ke-talk-call-host .talk-turn-indicator { margin-top: 18px; }
html.ke-rebrand-mode .ke-talk-text-heading { align-items: center; border-bottom: 1px solid rgba(200,165,88,.35); display: flex; gap: 12px; padding-bottom: 15px; text-align: left; }
html.ke-rebrand-mode .ke-talk-text-avatar { border: 2px solid #c8a558; border-radius: 50%; height: 54px; position: relative; width: 54px; }
html.ke-rebrand-mode .ke-talk-text-avatar img { border-radius: inherit; height: 100%; object-fit: cover; width: 100%; }
html.ke-rebrand-mode .ke-talk-text-heading span { color: #6d3346; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
html.ke-rebrand-mode .ke-talk-text-heading h2 { color: #1a2830; font-family: 'Playfair Display', serif; font-size: 25px; line-height: 1; margin: 3px 0 0; }
html.ke-rebrand-mode .ke-talk-text-messages { display: flex; flex-direction: column; gap: 9px; height: 225px; overflow-y: auto; padding: 18px 2px; text-align: left; }
html.ke-rebrand-mode .ke-talk-message { align-self: flex-start; background: #f7f1e8; border: 1px solid rgba(200,165,88,.25); border-radius: 14px 14px 14px 4px; color: #1f2c32; font-size: 12px; line-height: 1.45; max-width: 86%; padding: 10px 12px; }
html.ke-rebrand-mode .ke-talk-message.is-user { align-self: flex-end; background: #6d3346; border-color: #6d3346; border-radius: 14px 14px 4px 14px; color: #fff; }
html.ke-rebrand-mode .ke-talk-message.is-thinking { color: #69757a; font-style: italic; }
html.ke-rebrand-mode .ke-talk-text-prompts { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
html.ke-rebrand-mode .ke-talk-text-prompts button { background: #fff; border: 1px solid rgba(200,165,88,.45); border-radius: 999px; color: #6d3346; cursor: pointer; flex: 0 0 auto; font-size: 9px; font-weight: 800; padding: 7px 10px; }
html.ke-rebrand-mode .ke-talk-text-form { align-items: flex-end; display: flex; gap: 8px; }
html.ke-rebrand-mode .ke-talk-text-form textarea { background: #fff; border: 1px solid rgba(26,40,48,.18); border-radius: 13px; color: #1f2c32; flex: 1; outline: 0; padding: 10px 11px; resize: none; }
html.ke-rebrand-mode .ke-talk-text-form textarea:focus { border-color: #c8a558; box-shadow: 0 0 0 3px rgba(200,165,88,.14); }
html.ke-rebrand-mode .ke-talk-text-form button { background: #1a2830; border: 1px solid #c8a558; border-radius: 12px; color: #e9ba61; cursor: pointer; font-size: 11px; font-weight: 800; padding: 11px 13px; }
html.ke-rebrand-mode .ke-talk-text-form button:disabled { cursor: wait; opacity: .5; }

@media (max-width: 760px) {
  html.ke-rebrand-mode .ke-dashboard-wellness-overview { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-dashboard-checkin-hero { align-items: flex-start; flex-direction: column; }
  html.ke-rebrand-mode .ke-dashboard-checkin-open { min-width: 150px; }
  html.ke-rebrand-mode .ke-dashboard-flame-overview { align-items: flex-start; flex-direction: column; }
  html.ke-rebrand-mode .ke-dashboard-flame-calendar { min-width: 0; width: 100%; }
  html.ke-rebrand-mode .ke-dashboard-flame-calendar .ke-dashboard-eyebrow { text-align: left; }
  html.ke-rebrand-mode .ke-dashboard-flame-dots { justify-content: start; }
  html.ke-rebrand-mode .ke-dashboard-grid,
  html.ke-rebrand-mode .ke-dashboard-recommendation-grid { grid-template-columns: 1fr; }
  html.ke-rebrand-mode .ke-dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  html.ke-rebrand-mode .ke-dashboard-community-button { min-height: 310px; }
  html.ke-rebrand-mode .ke-dashboard-support { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 430px) {
  html.ke-rebrand-mode .ke-dashboard-header { min-height: 66px; padding: 9px 12px; }
  html.ke-rebrand-mode .ke-dashboard-brand { gap: 8px; }
  html.ke-rebrand-mode .ke-dashboard-brand img { flex-basis: 38px; height: 38px; width: 38px; }
  html.ke-rebrand-mode .ke-dashboard-header-copy h1 { font-size: 14px; }
  html.ke-rebrand-mode .ke-dashboard-header-copy p { font-size: 9px; margin-top: 2px; }
  html.ke-rebrand-mode .ke-dashboard-header-actions { gap: 6px; }
  html.ke-rebrand-mode .ke-dashboard-header-flame { height: 32px; min-width: 52px; padding: 0 9px; }
  html.ke-rebrand-mode .ke-dashboard-icon-button { height: 34px; width: 34px; }
  html.ke-rebrand-mode .ke-dashboard-main { padding-left: 13px; padding-right: 13px; }
  html.ke-rebrand-mode .ke-dashboard-card { border-radius: 18px; padding: 19px 17px; }
  html.ke-rebrand-mode .ke-dashboard-checkin { padding: 0; }
  html.ke-rebrand-mode .ke-dashboard-checkin-hero { gap: 20px; padding: 24px 20px; }
  html.ke-rebrand-mode .ke-dashboard-checkin-open { width: 100%; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-open,
  html.ke-rebrand-mode .ke-dashboard-flame-overview { border-radius: 18px; min-height: 0; padding: 20px; }
  html.ke-rebrand-mode .ke-dashboard-flame-mark { flex-basis: 48px; height: 48px; }
  html.ke-rebrand-mode .ke-dashboard-flame-dots { gap: 6px; grid-template-columns: repeat(10, 8px); }
  html.ke-rebrand-mode .ke-dashboard-flame-dots i { height: 8px; width: 8px; }
  html.ke-rebrand-mode .ke-dashboard-checkin-modal { padding: 8px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-modal { padding: 7px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-card { border-radius: 20px; max-height: calc(100vh - 14px); }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-header { padding: 16px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-header h2 { font-size: 22px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-scroll { max-height: calc(100vh - 109px); padding: 16px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-hero { padding: 20px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-day { height: 28px; width: 28px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-days { gap: 5px; padding: 12px 9px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-stats { gap: 7px; }
  html.ke-rebrand-mode .ke-dashboard-thirty-day-stats div { padding: 12px 9px; }
  html.ke-rebrand-mode .ke-dashboard-community-button { min-height: 245px; }
  html.ke-rebrand-mode .ke-dashboard-community-panel { bottom: 12px; left: 12px; padding: 17px 18px; right: 12px; }
  html.ke-rebrand-mode .ke-dashboard-community-panel strong { font-size: 25px; }
  html.ke-rebrand-mode .ke-dashboard-community-panel > span { font-size: 11px; }
  html.ke-rebrand-mode .ke-dashboard-community-panel em { margin-top: 11px; }
  html.ke-rebrand-mode .ke-dashboard-checkin-card { border-radius: 20px; max-height: calc(100vh - 16px); padding: 25px 19px; }
  html.ke-rebrand-mode .ke-dashboard-emotions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ke-rebrand-mode .ke-dashboard-checkin-step > h2,
  html.ke-rebrand-mode .ke-dashboard-checkin-finish > h2 { font-size: 31px; }
  html.ke-rebrand-mode .ke-dashboard-media-image { flex-basis: 118px; height: 92px; }
  html.ke-rebrand-mode .ke-dashboard-recommendation { min-height: 190px; }
  html.ke-rebrand-mode .ke-dashboard-recommendation-copy { max-width: 78%; padding: 21px; }
  html.ke-rebrand-mode .ke-talk-launcher { bottom: 80px; }
  html.ke-rebrand-mode .ke-talk-launcher-photo { height: 62px; width: 62px; }
  html.ke-rebrand-mode .ke-talk-chooser { padding: 10px; }
  html.ke-rebrand-mode .ke-talk-chooser-card { border-radius: 20px; max-height: calc(100vh - 20px); padding: 25px 20px; }
  html.ke-rebrand-mode .ke-talk-chooser-portrait { height: 132px; width: 132px; }
  html.ke-rebrand-mode .ke-talk-call-host { min-height: 350px; }
  html.ke-rebrand-mode .ke-talk-call-host .talk-avatar-frame { height: 145px; width: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  html.ke-rebrand-mode .ke-dashboard-skeleton { animation: none; }
  html.ke-rebrand-mode .ke-dashboard-card::before,
  html.ke-rebrand-mode .ke-dashboard-recommendation::before,
  html.ke-rebrand-mode .ke-dashboard-support::before,
  html.ke-rebrand-mode .ke-dashboard-checkin-card::before,
  html.ke-rebrand-mode .ke-talk-chooser-card::before,
  html.ke-rebrand-mode .ke-talk-launcher { animation: none; }
}
