/* Ask Karamo uses the same midnight, porcelain, jewel and faceted-gold
   vocabulary as the approved Dashboard and Journal experiences. */
html.ke-rebrand-mode body #ke-talk-chooser {
  --ka-midnight: var(--ke-midnight, #10242d); --ka-midnight-deep: var(--ke-midnight-deep, #071820);
  --ka-paper: var(--ke-porcelain, #fffcf6); --ka-ink: var(--ke-navy-900, #172a33);
  --ka-gold: var(--ke-jewel-gold, #d7b56d); --ka-gold-light: var(--ke-jewel-gold-light, #f1dca7);
  --ka-burgundy: var(--ke-jewel-burgundy, #682d43); --ka-teal: var(--ke-jewel-teal, #0b6871);
  --ka-sapphire: var(--ke-jewel-sapphire, #274e87); --ka-line: rgba(215,181,109,.34);
  --ka-faceted-gold-rim: conic-gradient(from 18deg,#ffe9a0,#c28c35 18%,#fff0ad 36%,#9f6e25 55%,#f0cf78 73%,#fff0ad 86%,#c28c35);
}
html.ke-rebrand-mode body #ke-talk-chooser [hidden] { display: none !important; }

/* Expanded Ask surfaces are real app pages rather than generic modal cards. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-chooser-card:has(.ke-talk-call-view:not([hidden])),
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-chooser-card:has(.ke-talk-text-view:not([hidden])),
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-chooser-card:has(.ke-talk-help-view:not([hidden])) {
  background: radial-gradient(circle at 50% 4%,rgba(104,45,67,.24),transparent 28rem),linear-gradient(180deg,var(--ka-midnight),var(--ka-midnight-deep)) !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; box-sizing: border-box;
  color: #fff8e8; height: 100% !important; max-height: 100% !important; max-width: none !important;
  overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain;
  padding: 18px clamp(16px,4vw,38px) max(34px,env(safe-area-inset-bottom)) !important; width: 100% !important;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-chooser-card:has(.ke-talk-choice-view[hidden])::before,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-chooser-card:has(.ke-talk-choice-view[hidden])::after { display: none !important; }
html.ke-rebrand-mode body #ke-talk-chooser :is(.ke-talk-call-view,.ke-talk-text-view,.ke-talk-help-view):not([hidden]) {
  display: block; height: auto; margin: auto; max-height: none; min-height: 0; overflow: visible; width: min(100%,760px);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-view-nav {
  align-items: center; display: flex; gap: 12px; justify-content: space-between; margin: 0 auto 12px; min-height: 46px; width: 100%;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-view-nav button,
html.ke-rebrand-mode body #ke-talk-chooser #ke-talk-call-retry {
  background: linear-gradient(145deg,#17333e,#081c25) !important; border: 1px solid var(--ka-gold) !important;
  border-radius: 999px; color: #fff3d7 !important; cursor: pointer;
  font: 700 12px/1.3 var(--ke-font-ui,"DM Sans",sans-serif); margin: 0; min-height: 44px; padding: 10px 16px; text-transform: none;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-choice-ai,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-identity { display: none !important; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-hex {
  background: var(--ka-faceted-gold-rim); box-sizing: border-box;
  clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); height: 208px;
  margin: 10px auto 28px; padding: 3px; position: relative; width: min(270px,82vw); z-index: 2;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-inner {
  align-items: center; background: radial-gradient(circle at 50% 34%,#274752,var(--ka-midnight-deep) 78%); clip-path: inherit;
  display: flex; flex-direction: column; gap: 7px; height: 100%; justify-content: center; padding: 32px 20px; text-align: center;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-inner h2 {
  color: var(--ka-gold-light) !important; font: 600 clamp(25px,5vw,32px)/1.08 var(--ke-font-display,"Playfair Display",serif);
  letter-spacing: -.025em; margin: 0; text-transform: none;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-inner p {
  color: #fff5e3 !important; font: 500 11px/1.35 var(--ke-font-ui,"DM Sans",sans-serif); letter-spacing: .04em; margin: 0; text-transform: none;
}

/* Text Karamo: the same connected, faceted writing composition as Journal. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) {
  display: flex !important; flex-direction: column;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-view-nav { order: 0; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-prompt-hex {
  height: 224px; margin: 4px auto 0; order: 1; width: min(340px,90vw);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-prompt-hex::after {
  background: linear-gradient(var(--ka-gold-light),var(--ka-gold)); content: ""; height: 34px; left: 50%;
  position: absolute; top: calc(100% - 1px); transform: translateX(-50%); width: 2px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-hex-connector {
  background: linear-gradient(var(--ka-gold-light),var(--ka-gold)); display: block; flex: 0 0 34px;
  height: 34px; margin: 0 auto; order: 2; width: 2px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page {
  --ka-talk-hex-cap: clamp(72px,19vw,92px);
  align-content: center; background: transparent !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: 0 22px 56px rgba(0,0,0,.34);
  color: #fff8e8; display: grid; height: auto; isolation: isolate; margin: 0 auto; min-height: clamp(400px,110vw,470px);
  order: 3; overflow: visible; padding: calc(var(--ka-talk-hex-cap) + 18px) clamp(34px,11vw,54px) !important;
  position: relative; width: min(420px,calc(100vw - 34px));
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page::before,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page::after {
  clip-path: polygon(50% 0,100% var(--ka-talk-hex-cap),100% calc(100% - var(--ka-talk-hex-cap)),50% 100%,0 calc(100% - var(--ka-talk-hex-cap)),0 var(--ka-talk-hex-cap));
  content: ""; inset: 0; pointer-events: none; position: absolute;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page::before {
  background: var(--ka-faceted-gold-rim); filter: drop-shadow(0 22px 28px rgba(0,0,0,.34)); z-index: -2;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page::after {
  background: radial-gradient(circle at 50% 30%,#82405a 0,var(--ka-burgundy) 48%,#3d1424 100%); inset: 3px; z-index: -1;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-journal-page > * { position: relative; z-index: 1; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-messages {
  background: transparent !important; border: 0 !important; border-radius: 0; display: flex; flex-direction: column; gap: 9px;
  height: auto; margin: 0 0 10px; max-height: none; min-height: 72px; overflow: visible; padding: 0 3px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message {
  align-self: flex-start; background: var(--ka-burgundy) !important; border: 1px solid rgba(255,240,182,.42) !important; border-radius: 18px 18px 18px 5px;
  color: #fff8e8 !important; font: 600 14px/1.35 var(--ke-font-ui,"DM Sans",sans-serif); max-width: 86%;
  overflow-wrap: anywhere; padding: 9px 12px; position: relative; white-space: pre-wrap; width: fit-content;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message::after {
  border-bottom: 8px solid var(--ka-burgundy); border-right: 8px solid transparent; bottom: -1px; content: "";
  left: -4px; position: absolute;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-user {
  align-self: flex-end; background: var(--ka-teal) !important; border: 1px solid rgba(255,240,182,.42) !important; border-radius: 18px 18px 5px 18px;
  color: #fff8e8 !important;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-user::after {
  border-bottom-color: var(--ka-teal); border-left: 8px solid transparent; border-right: 0; left: auto; right: -4px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-error { background: #592432 !important; color: #fff !important; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-error::after { border-bottom-color: #592432; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-thinking { color: #ead9c6 !important; font-size: 14px; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form:focus-within,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form:has(textarea:not(:placeholder-shown)) {
  aspect-ratio: auto; background: transparent; border: 0; border-radius: 0; box-shadow: none;
  display: block; margin: 0; min-height: 0; outline: 0; padding: 0; position: relative; width: 100%;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-form label {
  clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
  position: absolute; white-space: nowrap; width: 1px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form textarea {
  background: #fff !important; border: 1px solid #c8c8cc !important; border-radius: 22px;
  box-sizing: border-box; color: #142630 !important; font: 500 15px/1.35 var(--ke-font-ui,"DM Sans",sans-serif);
  max-height: 160px; min-height: 52px; overflow-y: auto; padding: 14px 62px 14px 16px; resize: none; text-align: left; width: 100%;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form textarea::placeholder { color: #77777d; opacity: 1; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form button {
  align-items: center; background: var(--ka-teal) !important; border: 1px solid var(--ka-gold-light) !important;
  border-radius: 50%; color: #fff !important; cursor: pointer; display: flex; font-size: 0 !important;
  bottom: 4px; height: 44px; justify-content: center; max-width: 44px !important; min-height: 44px; min-width: 44px !important;
  padding: 0; position: absolute; right: 4px; width: 44px !important; z-index: 2;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view:not([hidden]) .ke-talk-text-form button::before {
  content: "↑"; font: 900 22px/1 var(--ke-font-ui,"DM Sans",sans-serif);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-form button:disabled { cursor: default; opacity: .48; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations { order: 4; }

/* Karamo replies carry the same teal identity as Ask Karamo. Member messages
   stay navy so the conversation roles remain clear as the transcript grows. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-karamo {
  background: linear-gradient(135deg,#0d5361,#0a334d 72%) !important;
  border-color: rgba(158,229,222,.76) !important; color: #fffdf7 !important;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-karamo::after { border-bottom-color: #0a334d; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-user {
  background: linear-gradient(135deg,#153d5d,#0d2945) !important;
  border-color: rgba(241,200,121,.72) !important;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message.is-user::after { border-bottom-color: #0d2945; }

/* Talk To Karamo: the prompt hex attaches directly to the enlarged portrait. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-prompt-hex { height: 224px; margin-bottom: 32px; width: min(300px,86vw); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-usage {
  border: 0 !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; height: 1px !important;
  margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important;
  white-space: nowrap !important; width: 1px !important;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-host { margin: 0 auto; max-width: 620px; min-height: 0; position: relative; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-host::before {
  background: linear-gradient(var(--ka-gold-light),var(--ka-gold)); content: ""; height: 38px; left: 50%;
  position: absolute; top: -34px; transform: translateX(-50%); width: 2px; z-index: 0;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-host .talk-voice-copy { display: none; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-voice-stage { align-items: center; display: flex; flex-direction: column; margin: 0 auto; max-width: 520px; padding: 0 8px 20px; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-orb { gap: 14px; max-width: 100%; order: 1; width: 250px; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-avatar-frame { height: 224px; width: 224px; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-voice-phase { color: var(--ka-gold-light); font: 700 13px/1.4 var(--ke-font-ui,"DM Sans",sans-serif); margin: 14px 0 4px; order: 2; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-call-label { font: 600 18px/1.25 var(--ke-font-display,"Playfair Display",serif); letter-spacing: 0; text-transform: none; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-voice-status { color: #dce0da; font: 500 13px/1.45 var(--ke-font-ui,"DM Sans",sans-serif); margin: 0; order: 3; text-align: center; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-call-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; order: 4; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-call-controls button {
  background: #173641; border: 1px solid var(--ka-gold); border-radius: 999px; color: #fff3d6;
  cursor: pointer; font: 700 12px/1.35 var(--ke-font-ui,"DM Sans",sans-serif); min-height: 44px; padding: 10px 17px; text-transform: none;
}
html.ke-rebrand-mode body #ke-talk-chooser .talk-call-controls .talk-end-button { background: var(--ka-burgundy); }
html.ke-rebrand-mode body #ke-talk-chooser .talk-call-controls button:disabled { opacity: .5; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-turn-indicator { display: none; }
html.ke-rebrand-mode body #ke-talk-chooser .talk-voice-player { order: 5; }
html.ke-rebrand-mode body #ke-talk-chooser #ke-talk-call-retry { display: block; margin: 0 auto 20px; }

/* Navy dead-end actions branch from the completed Talk/Text experience. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-continuations {
  display: grid; gap: 14px; margin: 0 auto; max-width: 620px; padding: 34px 0 0; position: relative;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-continuations,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations { grid-template-columns: repeat(2,minmax(0,1fr)); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-continuations::before {
  background: var(--ka-gold); content: ""; height: 34px; left: 50%; position: absolute; top: 0; width: 1px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-continuations::before,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-continuations::after { content: none; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations {
  --ka-talk-half-cap: clamp(36px,9.5vw,46px); width: min(420px,calc(100vw - 34px));
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::before,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::after {
  background: linear-gradient(var(--ka-gold-light),var(--ka-gold)); content: "";
  height: calc(var(--ka-talk-half-cap) + 34px); position: absolute; top: calc(-1 * var(--ka-talk-half-cap));
  transform-origin: 50% 100%; width: 1px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::before { left: calc(25% - 3.5px); transform: rotate(2.25deg); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::after { left: auto; right: calc(25% - 3.5px); transform: rotate(-2.25deg); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-continuations button {
  background: linear-gradient(145deg,#17333e,#081c25) !important; border: 1px solid var(--ka-gold) !important;
  border-radius: 999px; color: #fff4d8 !important; cursor: pointer;
  font: 600 15px/1.3 var(--ke-font-display,"Playfair Display",serif); min-height: 54px;
  padding: 12px 18px; text-transform: none; white-space: normal; width: 100%;
}

/* Get More Help: the same faceted hex, luminous jewel circles and clean
   edge-to-edge constellation lines used by the approved Check-In surface. */
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view { isolation: isolate; max-width: 620px; position: relative; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-connectors {
  height: 100%; inset: 0; overflow: visible; pointer-events: none; position: absolute; width: 100%; z-index: 3;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-connector {
  background: linear-gradient(180deg,#f1dca7 0%,#d7b56d 54%,#9f6e25 100%);
  border-radius: 999px; box-shadow: 0 0 5px rgba(215,181,109,.34); display: block;
  height: var(--ke-talk-help-line-length,0); left: var(--ke-talk-help-line-left,0); opacity: .88;
  position: absolute; top: var(--ke-talk-help-line-top,0); transform: translateX(-50%) rotate(var(--ke-talk-help-line-angle,0deg));
  transform-origin: 50% 0; width: 2px; z-index: 3;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view > :not(.ke-talk-help-connectors) { position: relative; z-index: 2; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-prompt-hex {
  filter: drop-shadow(0 4px 0 rgba(99,64,18,.72)) drop-shadow(0 15px 26px rgba(0,0,0,.34)) drop-shadow(0 0 18px rgba(215,181,109,.22));
  height: 246px; margin: 4px auto 0; padding: 4px; width: min(328px,92vw);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-prompt-inner {
  background: radial-gradient(circle at 38% 24%,rgba(153,48,68,.28),transparent 35%),linear-gradient(155deg,#781126 0%,#560615 58%,#31020c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1),inset -12px -14px 22px rgba(0,0,0,.22);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-prompt-inner h2 { color: #fffaf2 !important; font-size: clamp(29px,7vw,38px); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-intro {
  clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; white-space: nowrap; width: 1px;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options {
  display: grid; gap: clamp(12px,3vw,22px); grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 48px auto 0; max-width: 440px; position: relative;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a {
  align-items: center; aspect-ratio: 1; background: var(--ka-faceted-gold-rim);
  border: 0; border-radius: 50%; box-shadow: 0 4px 0 rgba(99,64,18,.7),0 16px 30px rgba(0,0,0,.32),0 0 15px rgba(215,181,109,.18);
  color: #fffaf0; display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: clamp(17px,3vw,27px); position: relative; text-align: center; text-decoration: none; transition: filter .18s ease,transform .18s ease;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a::before {
  background: var(--ka-help-jewel); border: 1px solid rgba(255,241,190,.18); border-radius: 50%; box-shadow: inset 0 1px rgba(255,255,255,.2),inset -11px -14px 22px rgba(0,0,0,.22);
  content: ""; inset: 4px; pointer-events: none; position: absolute;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a::after {
  background: radial-gradient(circle at 31% 18%,rgba(255,255,255,.2),transparent 25%); border-radius: 50%; content: "";
  inset: 5px; pointer-events: none; position: absolute;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="mental"] {
  --ka-help-jewel: radial-gradient(circle at 35% 22%,#32a7ae 0 7%,#16808a 44%,#06424a 100%);
  grid-column: 1; grid-row: 1;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="relationship"] {
  --ka-help-jewel: radial-gradient(circle at 35% 22%,#5687ce 0 7%,#3264a8 44%,#173761 100%);
  grid-column: 2; grid-row: 1;
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="immediate"] {
  --ka-help-jewel: radial-gradient(circle at 35% 22%,#9a4562 0 7%,#762d49 42%,#421225 100%);
  grid-column: 1/-1; grid-row: 2; width: min(52vw,210px);
}
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a { justify-self: center; width: min(100%,210px); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a:is(:hover,:focus-visible) { filter: brightness(1.12); transform: translateY(-4px); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a > span { position: relative; z-index: 1; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-symbol { color: var(--ka-gold-light); display: block; font-size: 22px; line-height: 1; margin-bottom: 7px; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options strong { display: block; font: 600 clamp(17px,2.5vw,23px)/1.12 var(--ke-font-display,"Playfair Display",serif); }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options small { color: rgba(255,250,240,.78); display: block; font: 500 clamp(9px,1.35vw,11px)/1.38 var(--ke-font-ui,"DM Sans",sans-serif); margin-top: 8px; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options em { color: var(--ka-gold-light); display: block; font: 800 10px/1.3 var(--ke-font-ui,"DM Sans",sans-serif); letter-spacing: .04em; margin-top: 10px; text-transform: uppercase; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-continuations { max-width: 400px; padding-top: 38px; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-continuations::before,
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-continuations::after { content: none; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-disclosure { color: #c9d0ca; font: 500 12px/1.55 var(--ke-font-ui,"DM Sans",sans-serif); margin: 15px auto 0; max-width: 620px; padding: 12px 4px 0; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-disclosure summary { color: var(--ka-gold-light); cursor: pointer; min-height: 32px; }
html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-disclosure p { margin: 4px 0 0; }
html.ke-rebrand-mode body #ke-talk-chooser :is(button,textarea,summary,a,[role="log"]):focus-visible { outline: 3px solid #fff0b6; outline-offset: 3px; }

@media (max-width:640px) {
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-prompt-hex { height: 232px; width: min(312px,88vw); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="immediate"] { width: min(50vw,196px); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a { padding: 16px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-call-view .ke-talk-continuations,
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations { gap: 10px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::before { left: calc(25% - 2.5px); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-text-view .ke-talk-continuations::after { right: calc(25% - 2.5px); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-continuations button { font-size: 13px; padding-inline: 11px; }
}
@media (max-width:430px) {
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-view-nav button { font-size: 11px; padding: 9px 12px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-message { max-width: 100%; }
  html.ke-rebrand-mode body #ke-talk-chooser .talk-avatar-frame { height: min(52vw,208px); width: min(52vw,208px); }
  html.ke-rebrand-mode body #ke-talk-chooser .talk-orb { width: min(58vw,232px); }
}
@media (max-width:360px) {
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options { grid-template-columns: 1fr; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a { grid-column: 1; justify-self: center; width: min(62vw,190px); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="mental"] { grid-column: 1; grid-row: 1; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="relationship"] { grid-column: 1; grid-row: 2; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a[data-ke-talk-help-node="immediate"] { grid-column: 1; grid-row: 3; width: min(62vw,190px); }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-view .ke-talk-prompt-hex { height: 210px; width: min(282px,88vw); }
}
@media (max-height:620px) {
  html.ke-rebrand-mode body #ke-talk-chooser[data-ke-talk-surface="choice"] .ke-talk-chooser-card { overflow-y: auto !important; }
  html.ke-rebrand-mode body #ke-talk-chooser[data-ke-talk-surface="choice"] .ke-talk-choice-view { min-height: 460px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-hex { height: 154px; margin-block: 4px 20px; width: 214px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-inner { gap: 4px; padding: 24px 14px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-prompt-inner h2 { font-size: 22px; }
  html.ke-rebrand-mode body #ke-talk-chooser .talk-avatar-frame { height: 150px; width: 150px; }
  html.ke-rebrand-mode body #ke-talk-chooser .talk-orb { width: 176px; }
  html.ke-rebrand-mode body #ke-talk-chooser .ke-talk-help-options a { min-height: 172px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ke-rebrand-mode body #ke-talk-chooser *, html.ke-rebrand-mode body #ke-talk-chooser *::before,
  html.ke-rebrand-mode body #ke-talk-chooser *::after { animation: none !important; transition: none !important; }
}
