:root {
  --rolex-green: #006039;
  --starbucks-green: #00704A;
  --starbucks-deep: #1E3932;
}

#barista-launcher,
.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 7100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(216, 180, 116, .28);
  border-radius: 999px;
  background: rgba(8, 8, 7, .97);
  color: var(--cream);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

#barista-launcher:hover,
.chat-launcher:hover { transform: translateY(-2px); }

.bot-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: linear-gradient(145deg, #f7f0e5, #d9c29a);
}

.bot-avatar::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 13px;
  width: 6px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  box-shadow: 13px 0 0 #111;
}

.bot-avatar::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 17px;
  bottom: 10px;
  width: 13px;
  height: 7px;
  border-bottom: 2px solid rgba(17, 17, 17, .75);
  border-radius: 0 0 10px 10px;
}

.bot-head {
  width: 42px;
  height: 42px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: linear-gradient(145deg, #f7f2e9 0%, #dfd5c5 45%, #c1b39a 100%);
  box-shadow: inset -6px -8px 12px rgba(133, 114, 83, .18), inset 5px 6px 10px rgba(255, 255, 255, .72), 0 10px 26px rgba(184, 138, 69, .18);
}

.bot-head::before {
  content: "";
  position: absolute;
  inset: 6px 6px 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .95), transparent 34%), linear-gradient(135deg, rgba(255, 255, 255, .3), transparent 42%);
}

.bot-head::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 8px;
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(216, 180, 116, .95), rgba(168, 126, 63, .88));
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .35);
}

.bot-glow {
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .16), transparent 62%);
}

.bot-apron {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 18px;
  height: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(162, 126, 72, .2);
  border-radius: 8px 8px 10px 10px;
  background: linear-gradient(180deg, #f4ecdb, #e8d9b8);
}

.bot-apron::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 9px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #f4ecdb, #d9b778);
}

.bot-eye {
  position: absolute;
  top: 13px;
  width: 8px;
  height: 12px;
  border-radius: 50% / 42%;
  background: #12110f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 8px rgba(184, 138, 69, .5);
  animation: evaBlink 6.5s infinite;
}

.bot-eye.left { left: 11px; }
.bot-eye.right { right: 11px; animation-delay: .25s; }

.bot-mouth {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 10px;
  height: 6px;
  transform: translateX(-50%);
  border-bottom: 2px solid rgba(32, 28, 24, .72);
  border-radius: 0 0 10px 10px;
  opacity: .82;
}

#chat.open .bot-head {
  animation: evaHello .8s var(--ease);
  box-shadow: inset -6px -8px 12px rgba(133, 114, 83, .18), inset 5px 6px 10px rgba(255, 255, 255, .72), 0 12px 30px rgba(184, 138, 69, .24);
}

#chat.is-thinking .bot-head { animation: evaThinking .7s ease-in-out infinite alternate; }
#chat.is-thinking .bot-eye { animation: evaBlink 6.5s infinite, evaEyeThinking .7s ease-in-out infinite alternate; }
#chat.is-thinking .bot-mouth { border-bottom-width: 3px; transform: translateX(-50%) scaleX(1.15); }
#chat.is-recommending .bot-head { animation: evaRecommend .8s var(--ease); }
#chat.is-recommending .bot-eye { animation-duration: 2.5s; }

.barista-text,
.chat-launcher > span:last-child {
  color: var(--gold-soft);
  font-size: 8px;
  letter-spacing: 2px;
}

#chat,
.chat-panel {
  position: fixed;
  z-index: 7101;
  right: 24px;
  bottom: 92px;
  width: min(400px, calc(100vw - 24px));
  height: min(720px, calc(100vh - 112px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 96, 57, .42);
  background: #0d0d0c;
  color: var(--cream);
  box-shadow: 0 25px 100px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.98);
  transform-origin: bottom right;
  transition: .35s cubic-bezier(.22, 1, .36, 1);
}

#chat.open,
.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-head,
.chat-header {
  min-height: 78px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.chat-head .bot-head,
.chat-header .bot-avatar { width: 48px; height: 48px; }

.chat-agent,
.chat-header > div { flex: 1; }

.chat-agent strong,
.chat-header strong {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.chat-agent span,
.chat-header > div > span {
  color: rgba(243, 238, 228, .55);
  font-size: 6px;
  letter-spacing: 1.3px;
}

.online-dot {
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--starbucks-green);
}

.chat-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: rgba(243, 238, 228, .65);
  font-size: 24px;
}

.chat-intro { padding: 22px 20px 10px; }
.chat-intro h3 { margin-top: 7px; font-size: 37px; line-height: .9; }
.chat-intro p { margin-top: 8px; color: rgba(243, 238, 228, .62); font-size: 9px; line-height: 1.7; }
.chat-intro .eyebrow { font-size: 7px; letter-spacing: 2px; }

.chat-toolbar {
  padding: 0 20px 2px;
  display: flex;
  justify-content: flex-end;
}

.chat-toolbar button {
  min-height: 34px;
  padding: 6px 0 6px 10px;
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  font: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chat-suggestions {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chat-suggestions button {
  min-height: 34px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(216, 180, 116, .18);
  border-radius: 12px;
  background: transparent;
  color: rgba(243, 238, 228, .72);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .8px;
  transition: .2s ease;
}

.chat-suggestions button:hover { color: var(--cream); border-color: var(--gold-deep); }

#messages,
.chat-messages {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
}

.message,
.chat-message {
  max-width: 84%;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.message.bot,
.chat-message.bot {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, .06);
  background: #151513;
  color: rgba(243, 238, 228, .78);
}

.message.user,
.chat-message.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--black);
}

.recommendation {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.recommendation-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(243, 238, 228, .55);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.recommendation strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.2;
}

.recommendation small {
  display: block;
  margin-top: 3px;
  color: rgba(243, 238, 228, .62);
  font-size: 9px;
  line-height: 1.5;
}

.recommendation a { display: inline-block; margin: 8px 12px 0 0; color: var(--gold-soft); font-size: 10px; }

.recommendation button {
  min-height: 36px;
  margin-top: 8px;
  padding: 7px 10px;
  border: 0;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  letter-spacing: 1px;
}

.recommendation button:disabled { opacity: .7; cursor: default; }

.chat-input,
.chat-input-wrap {
  display: flex;
  flex: 0 0 auto;
  border-top: 1px solid rgba(239, 227, 206, .1);
}

.chat-input input,
.chat-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 47px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 10px;
}

.chat-input input::placeholder,
.chat-input-wrap input::placeholder { color: #777064; }

.chat-input button,
.chat-input-wrap button {
  width: 52px;
  min-height: 48px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #EFE3CE;
  border-radius: 0;
  font-size: 22px;
}

.chat-input button:hover,
.chat-input-wrap button:hover,
.chat-input button:focus-visible,
.chat-input-wrap button:focus-visible {
  background: transparent;
  color: #00704A;
}

.chat-input button:focus-visible,
.chat-input-wrap button:focus-visible {
  outline: 1px solid rgba(0, 112, 74, .7);
  outline-offset: -7px;
  border-radius: 50%;
}

.chat-input button:disabled,
.chat-input-wrap button:disabled {
  background: transparent;
  color: rgba(244, 239, 230, .32);
  cursor: not-allowed;
  opacity: .65;
}

.chat-status {
  min-height: 24px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-top: 1px solid rgba(239, 227, 206, .06);
  color: rgba(244, 239, 230, .68);
  font-size: 7px;
  letter-spacing: .8px;
  text-align: center;
}

#chat button:focus-visible,
#barista-launcher:focus-visible,
.chat-panel button:focus-visible,
.chat-launcher:focus-visible,
#chat a:focus-visible {
  outline: 2px solid var(--starbucks-green);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  #chat,
  .chat-panel {
    left: 12px;
    right: 12px;
    bottom: 84px;
    width: auto;
    height: min(680px, calc(100dvh - 104px));
  }

  #barista-launcher,
  .chat-launcher { right: 14px; bottom: 14px; }

  #chat .chat-intro { padding: 17px 16px 8px; }
  #chat .chat-intro h3 { font-size: 31px; }
  #chat .chat-intro p { font-size: 10px; }
  #chat .chat-toolbar { padding: 0 16px; }
  #chat .chat-suggestions { padding: 8px 16px; }
  #messages { padding: 10px 16px; }
  #messages .message { max-width: 92%; font-size: 12px; }
  #chat .chat-input input { font-size: 12px; }
}

@keyframes evaBlink {
  0%, 44%, 46%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.1); }
}

@keyframes evaFriendly {
  0%, 100% { transform: rotate(0) translateY(0); }
  30% { transform: rotate(-5deg) translateY(-2px); }
  65% { transform: rotate(3deg) translateY(-1px); }
}

@keyframes evaHello {
  0% { transform: scale(.97) rotate(-2deg); }
  38% { transform: scale(1.04) rotate(3deg); }
  68% { transform: scale(1.01) rotate(-1deg); }
  100% { transform: scale(1); }
}

@keyframes evaThinking {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-1px) scaleY(.9); }
}

@keyframes evaEyeThinking {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-1px) scaleY(.92); }
}

@keyframes evaRecommend {
  0%, 100% { transform: scale(1) rotate(0); }
  25% { transform: scale(1.06) rotate(-4deg); }
  55% { transform: scale(1.02) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  #barista-launcher,
  .chat-launcher,
  #chat,
  .chat-panel,
  .barista-cup,
  .cup-steam,
  .cup-eye { transition: none; animation: none; }
}

.bot-avatar,
.bot-head {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bot-avatar::before,
.bot-avatar::after,
.bot-head::before,
.bot-head::after,
.bot-head .bot-glow,
.bot-head .bot-apron,
.bot-head .bot-eye,
.bot-head .bot-mouth {
  content: none;
  display: none;
}

.barista-cup {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .24));
  animation: evaCupFloat 4.8s ease-in-out infinite;
}

#barista-launcher:hover .barista-cup,
.chat-head .bot-head:hover .barista-cup {
  animation: evaCupWiggle .65s ease;
}

@keyframes evaCupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes evaCupWiggle {
  0%, 100% { transform: rotate(0); }
  35% { transform: rotate(-5deg); }
  70% { transform: rotate(3deg); }
}

.cup-steam {
  opacity: .72;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: cupSteam 3.8s ease-in-out infinite alternate;
}

.cup-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: evaBlink 6.5s infinite;
}

#barista-launcher .bot-head {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.chat-launcher .bot-avatar {
  display: block;
  width: 48px;
  height: 48px;
}

#barista-launcher,
.chat-launcher {
  border-color: var(--rolex-green);
  background: rgba(8, 8, 7, .97);
}

#barista-launcher,
.chat-launcher {
  border: 1px solid rgba(239, 227, 206, .16);
  background: linear-gradient(135deg, #231712, #1E3932);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .34);
}

#barista-launcher:hover,
.chat-launcher:hover {
  border-color: rgba(239, 227, 206, .34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

#barista-launcher .bot-head,
.chat-launcher .bot-avatar {
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

#barista-launcher .barista-text,
.chat-launcher > span:last-child {
  color: #F4EFE6;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: 1;
  white-space: nowrap;
}

#chat .chat-head .bot-head,
.chat-header .bot-avatar {
  width: 48px;
  height: 48px;
}

@keyframes cupSteam {
  0%, 100% { transform: translateY(1px) scaleX(.96); opacity: .48; }
  50% { transform: translateY(-2px) scaleX(1.04); opacity: .82; }
}

#barista-launcher {
  right: 27px;
  bottom: 27px;
  z-index: 7000;
  height: 58px;
  padding: 0 18px 0 8px;
  border: 1px solid rgba(239, 227, 206, .16);
  border-radius: 40px;
  background: linear-gradient(135deg, #231712, #1E3932);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .34);
}

#barista-launcher:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 227, 206, .34);
}

#barista-launcher .barista-text {
  color: var(--cream);
  font-size: 8px;
  letter-spacing: 2px;
}

#chat {
  right: 27px;
  bottom: 95px;
  z-index: 7100;
  width: min(400px, calc(100vw - 25px));
  height: min(720px, calc(100vh - 108px));
  transform: translateY(20px) scale(.98);
  transition: .4s var(--ease);
}

#chat.open { transform: translateY(0) scale(1); }

#chat .chat-intro { padding: 18px 20px 8px; }
#chat .chat-intro h3 { font-size: 37px; line-height: .9; margin-top: 7px; }
#chat .chat-intro p { color: #777064; font-size: 8.5px; line-height: 1.7; margin-top: 8px; }
#chat .chat-suggestions { padding: 12px 20px; gap: 8px; }
#chat .chat-suggestions button { min-width: 0; padding: 8px 9px; font-size: 12px; line-height: 1.3; }
#messages { padding: 12px 20px; }
#messages .message { font-size: 11px; line-height: 1.65; }
#messages .message.bot { color: #aaa294; }
#chat .recommendation button { padding: 7px 10px; font-size: 9px; letter-spacing: .5px; }
#chat .chat-input input { height: 47px; font-size: 11px; }
#chat .chat-status { min-height: 24px; font-size: 7px; }
#messages .recommendation small { color: #777064; }

@media (max-width: 760px) {
  #chat { left: 12px; right: 12px; bottom: 83px; width: auto; }
  #barista-launcher { right: 15px; bottom: 15px; }
  #chat .chat-intro { padding: 17px 16px 8px; }
  #chat .chat-intro h3 { font-size: 31px; }
  #chat .chat-intro p { font-size: 10px; }
  #chat .chat-toolbar { padding: 0 16px; }
  #chat .chat-suggestions { padding: 8px 16px; }
  #messages { padding: 10px 16px; }
  #messages .message { max-width: 92%; font-size: 12px; }
  #chat .chat-input input { font-size: 12px; }
}

/* Deep, borderless BARISTA chat interface */
#chat,
.chat-panel {
  width: min(410px, calc(100vw - 24px));
  height: min(720px, calc(100vh - 108px));
  border: 0;
  border-radius: 24px;
  background: linear-gradient(155deg, #231712 0%, #211812 58%, #1E3932 150%);
  color: #F4EFE6;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48), 0 12px 38px rgba(35, 23, 18, .32), 0 0 48px rgba(0, 96, 57, .12);
}

.chat-head,
.chat-header {
  min-height: 82px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #2C1A14 0%, #1E3932 100%);
  border-bottom: 1px solid rgba(239, 227, 206, .1);
  color: #F4EFE6;
}

.chat-head .bot-head,
.chat-header .bot-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.chat-agent strong,
.chat-header strong {
  color: #F4EFE6;
  font-size: 20px;
  line-height: 1.15;
}

.chat-agent span,
.chat-header > div > span {
  color: #EFE3CE;
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 1.1px;
}

.chat-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #F4EFE6;
  background: rgba(244, 239, 230, .08);
  border: 1px solid rgba(244, 239, 230, .14);
}

.chat-intro,
#chat .chat-intro {
  padding: 20px 20px 10px;
  background: transparent;
}

.chat-intro h3,
#chat .chat-intro h3 {
  color: #F4EFE6;
  font-size: 34px;
  line-height: 1;
}

.chat-intro p,
#chat .chat-intro p,
.chat-intro .eyebrow {
  color: #EFE3CE;
  font-size: 13px;
  line-height: 1.55;
}

.chat-toolbar button,
#chat .chat-toolbar button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #00704A;
  border-radius: 999px;
  background: #231712;
  color: #F4EFE6;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .2px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.chat-toolbar button:hover,
#chat .chat-toolbar button:hover {
  border-color: #EFE3CE;
  background: #006039;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.chat-suggestions,
#chat .chat-suggestions {
  padding: 10px 20px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: transparent;
}

.chat-suggestions button,
#chat .chat-suggestions button {
  min-height: 40px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #00704A;
  border-radius: 12px;
  background: rgba(44, 26, 20, .84);
  color: #F4EFE6;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .2px;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.chat-suggestions button:hover,
#chat .chat-suggestions button:hover {
  background: #00704A;
  border-color: #EFE3CE;
  color: #FFFFFF;
  transform: translateY(-1px);
}

#messages,
.chat-messages {
  padding: 16px 20px;
  gap: 12px;
  background: transparent;
  border-top: 1px solid rgba(239, 227, 206, .08);
}

.message,
.chat-message,
#messages .message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.message.bot,
.chat-message.bot,
#messages .message.bot {
  align-self: flex-start;
  border: 1px solid rgba(239, 227, 206, .1);
  background: rgba(44, 26, 20, .92);
  color: #F4EFE6;
  border-bottom-left-radius: 5px;
  box-shadow: 0 6px 18px rgba(12, 8, 6, .14);
}

.message.user,
.chat-message.user {
  align-self: flex-end;
  border: 1px solid #006039;
  background: #006039;
  color: #FFFFFF;
  border-bottom-right-radius: 5px;
  box-shadow: 0 6px 18px rgba(0, 96, 57, .18);
}

.recommendation,
#messages .recommendation,
.chat-message .recommendation {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #006039;
  border-radius: 14px;
  background: #1E3932;
  box-shadow: 0 8px 20px rgba(44, 26, 20, .12);
}

.recommendation-label {
  color: #EFE3CE;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 1.2px;
}

.recommendation strong,
.chat-message .recommendation strong {
  color: #F4EFE6;
  font-size: 18px;
  line-height: 1.25;
}

.recommendation small,
.chat-message .recommendation small,
#messages .recommendation small {
  color: rgba(244, 239, 230, .82);
  font-size: 12px;
  line-height: 1.55;
}

.recommendation a,
.chat-message .recommendation a {
  color: #EFE3CE;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recommendation button,
#chat .recommendation button,
.chat-message .recommendation button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #006039;
  border-radius: 10px;
  background: #006039;
  color: #FFFFFF;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .3px;
}

.recommendation button:hover,
#chat .recommendation button:hover,
.chat-message .recommendation button:hover {
  background: #00704A;
  border-color: #1E3932;
}

.chat-input,
.chat-input-wrap {
  min-height: 60px;
  margin: 0;
  background: transparent;
  border-top: 1px solid rgba(239, 227, 206, .1);
}

.chat-input input,
.chat-input-wrap input,
#chat .chat-input input {
  height: 58px;
  padding: 0 16px;
  background: transparent;
  color: #F4EFE6;
  font-size: 14px;
  line-height: 1.55;
}

.chat-input input::placeholder,
.chat-input-wrap input::placeholder {
  color: rgba(244, 239, 230, .56);
  opacity: 1;
}

.chat-input button,
.chat-input-wrap button {
  width: 58px;
  min-height: 58px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #EFE3CE;
  font-size: 22px;
}

.chat-input button:hover,
.chat-input-wrap button:hover,
.chat-input button:focus-visible,
.chat-input-wrap button:focus-visible {
  background: transparent;
  color: #00704A;
}

.chat-input button:focus-visible,
.chat-input-wrap button:focus-visible {
  outline: 1px solid rgba(0, 112, 74, .7);
  outline-offset: -8px;
  border-radius: 50%;
}

.chat-input button:disabled,
.chat-input-wrap button:disabled {
  background: transparent;
  color: rgba(244, 239, 230, .32);
  cursor: not-allowed;
  opacity: .65;
}

.chat-status,
#chat .chat-status {
  min-height: 28px;
  background: transparent;
  color: rgba(244, 239, 230, .68);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .8px;
  border-top: 1px solid rgba(239, 227, 206, .06);
}

.online-dot {
  background: #EFE3CE;
  box-shadow: 0 0 0 3px rgba(239, 227, 206, .12);
}

#chat button:focus-visible,
#barista-launcher:focus-visible,
.chat-panel button:focus-visible,
.chat-launcher:focus-visible,
#chat a:focus-visible {
  outline: 3px solid #EFE3CE;
  outline-offset: 3px;
}

#chat .chat-input button:focus-visible,
#chat .chat-input-wrap button:focus-visible {
  outline: 1px solid rgba(0, 112, 74, .7);
  outline-offset: -8px;
  border-radius: 50%;
  background: transparent;
  color: #00704A;
}

@media (max-width: 760px) {
  #chat,
  .chat-panel {
    left: 12px;
    right: 12px;
    bottom: 83px;
    width: auto;
    height: min(680px, calc(100dvh - 104px));
    border-radius: 18px;
  }

  #messages,
  .chat-messages {
    padding: 12px 14px;
  }

  .message,
  .chat-message,
  #messages .message {
    max-width: 92%;
    font-size: 14px;
  }

  .chat-suggestions,
  #chat .chat-suggestions {
    padding: 8px 14px 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .chat-suggestions button,
  #chat .chat-suggestions button {
    min-height: 42px;
    min-width: 0;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.3;
  }

  .chat-intro,
  #chat .chat-intro {
    padding: 16px 14px 8px;
  }

  .chat-input input,
  .chat-input-wrap input,
  #chat .chat-input input {
    height: 56px;
    font-size: 14px;
  }
}
