.profile-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 22px 30px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #deded9;
  border-radius: 20px;
  background: #fff;
  color: #171717;
}
.profile-support-card .eyebrow {
  padding: 0;
  color: #5a5a54;
  background: transparent;
}
.profile-support-card h2 {
  margin: 9px 0 10px;
  color: #171717;
  font: 800 clamp(20px, 2.7vw, 28px)/1.2 Manrope, sans-serif;
  letter-spacing: -.03em;
}
.profile-support-card p {
  max-width: 56ch;
  margin: 0;
  color: #52524d;
  font: 500 14px/1.6 Manrope, sans-serif;
}
.profile-support-actions { display: grid; gap: 8px; align-content: start; }
.profile-support-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c9c9c3;
  border-radius: 11px;
  color: #171717;
  background: #fff;
  font: 800 13px/1.35 Manrope, sans-serif;
  text-align: center;
  text-decoration: none;
}
.profile-support-actions a:hover { border-color: #171717; background: #f5f5f1; }
.profile-support-actions .profile-support-primary,
.profile-support-actions .profile-support-primary:hover {
  border-color: #171717;
  color: #fff;
  background: #171717;
}
.profile-support-card .profile-support-note { grid-column: 1 / -1; font-size: 12px; }
.profile-support-note a { color: #171717; font-weight: 800; text-underline-offset: 3px; }
.profile-document-subtitle {
  margin: 28px 0 12px;
  color: #171717;
  font: 800 14px/1.35 Manrope, sans-serif;
}
.order-page-summary .order-help-link { display: flex; justify-content: center; width: 100%; margin-top: 12px; }
#app .footer-group a[href="/?screen=profile-documents"] { color: #fff; font-weight: 800; }

#app .product-card .product-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--kh-muted, #52524d);
  font: 500 .75rem/1.5 Manrope, Arial, sans-serif;
}
#app .product-card .product-availability-badge {
  display: inline-block;
  padding: .275rem .45rem;
  border: 1px solid #deded9;
  border-radius: .45rem;
  color: #41413b;
  background: #f5f5f1;
  font: 750 .625rem/1.3 Manrope, Arial, sans-serif;
}

.support-chat {
  position: fixed;
  inset: auto 1.5rem 1.5rem auto;
  margin: 0;
  width: min(28rem, calc(100vw - 3rem));
  max-width: none;
  max-height: min(44rem, calc(100dvh - 3rem));
  padding: 0;
  overflow: hidden auto;
  border: 1px solid #deded9;
  border-radius: 1.25rem;
  background: #fff;
  color: #171717;
  font: 500 .875rem/1.5 Manrope, Arial, sans-serif;
  box-shadow: 0 16px 55px #17171730;
}
.support-chat[open] { display: flex; flex-direction: column; }
.support-chat::backdrop { background: #17171775; }
.support-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem;
  background: #171717;
  color: #fff;
}
.support-chat-header h2 { margin: 0; font: 800 1.25rem/1.2 Manrope, Arial, sans-serif; }
.support-chat-header p { margin: .25rem 0 0; color: #e0e0dc; }
.support-chat button {
  min-height: 2.75rem;
  border-radius: .625rem;
  font: 750 .8125rem/1.3 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.support-chat button:disabled { opacity: .58; cursor: default; }
.support-chat .support-chat-close {
  width: 2.75rem;
  flex-shrink: 0;
  border: 1px solid #71716a;
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
}
.support-chat-log {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  min-height: 6rem;
  max-height: 20rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 1rem;
  list-style: none;
  background: #f5f5f1;
}
.support-chat-log li {
  align-self: start;
  max-width: 92%;
  padding: .5rem .75rem;
  border: 1px solid #e1e1dc;
  border-radius: .75rem;
  background: #fff;
  overflow-wrap: anywhere;
}
.support-chat-log li[data-role="customer"] { align-self: end; background: #252523; color: #fff; border-color: #252523; }
.support-chat-log li strong { font-size: .7rem; }
.support-chat-log li p { margin: .125rem 0 0; white-space: pre-wrap; }
.support-chat-hand-off { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem 1rem 0; }
.support-chat-hand-off button { padding: .5rem .75rem; border: 1px solid #d1d1cb; color: #171717; background: #f5f5f1; }
.support-chat-hand-off a, .support-chat-note a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.support-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .375rem .5rem; padding: .75rem 1rem .375rem; align-items: end; }
.support-chat-form label { grid-column: 1 / -1; font-weight: 750; }
.support-chat-form textarea { min-width: 0; width: 100%; resize: vertical; min-height: 3rem; max-height: 8rem; padding: .55rem; color: #171717; background: #fff; border: 1px solid #bdbdb7; border-radius: .625rem; font: inherit; }
.support-chat .support-chat-send { padding-inline: .75rem; border: 1px solid #171717; color: #fff; background: #171717; }
.support-chat-note, .support-chat-error { margin: 0; padding: .25rem 1rem .75rem; color: #52524d; font-size: .75rem; }
.support-chat-error { color: #9b2525; }
.support-chat-error:empty { display: none; }
@media (max-width: 720px) {
  .profile-support-card { grid-template-columns: 1fr; gap: 18px; }
  .profile-support-card .profile-support-note { grid-column: auto; }
  .support-chat { inset: auto .5rem max(.5rem, env(safe-area-inset-bottom)) .5rem; width: auto; max-height: calc(100dvh - 1rem); }
}
