/* DeskStock – Kepler College look: chat widget, phone block, support form and reply thread.
   Palette from the Kepler brand sheet: dark blue #0e4d72, emerald #39ae67, dark grey #626c74, gold #fdb813.
   --ds-accent (the main blue) is set from Tickets > Settings > Brand colour.
   Everything is scoped under .ds / .ds-* so it cannot restyle the rest of the theme. */

:root { --ds-accent: #0e4d72; }   /* default; the Brand colour setting overrides it in an inline style printed after this file */
.ds, .ds-chat, .ds-phone {
  --ds-green: #39ae67;
  --ds-green-dark: #2a763e;
  --ds-gold: #fdb813;
  --ds-gray: #626c74;
  --ds-text: #292929;
  --ds-line: #d8e0ea;
  --ds-soft: #f0f2f5;
  --ds-tint: #eaf1f6;
  --ds-bad: #b3261e;
}
.ds *, .ds-chat *, .ds-phone * { box-sizing: border-box; }

/* Visually hidden, still read by screen readers */
.ds-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =====================================================================
   Support page (flat, square, blue + gold – like the rest of the site)
   ===================================================================== */
.ds { color: var(--ds-text); font-family: inherit; }
.ds h2 { margin: 0 0 12px; font-weight: 700; color: var(--ds-text); }
.ds a { color: var(--ds-accent); text-decoration: underline; text-underline-offset: 2px; }
.ds a:hover { color: #0a3a56; }

.ds label { display: block; margin: 0 0 16px; font-weight: 700; font-size: .95em; color: var(--ds-text); }
.ds input[type=text], .ds input[type=email], .ds textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border: 1px solid #737e86; border-radius: 2px; background: #fff; color: var(--ds-text);
  font: inherit; font-weight: 400; line-height: 1.4;
}
.ds input[type=file] { display: block; margin-top: 8px; font: inherit; font-weight: 400; }
.ds input[type=text]:focus-visible, .ds input[type=email]:focus-visible, .ds textarea:focus-visible,
.ds input[type=file]:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; border-color: var(--ds-accent); }

/* Primary button = the site's gold call-to-action (like "Apply Online") */
.ds .ds-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 2px; background: var(--ds-gold); color: var(--ds-accent);
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
}
.ds .ds-btn::after { content: "\2192"; margin-left: 12px; }
.ds .ds-btn::after { content: "\2192" / ""; }
.ds .ds-btn:hover { background: var(--ds-accent); color: #fff; }
.ds .ds-btn:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 3px; }
.ds .ds-btn:disabled { opacity: .6; cursor: default; }

.ds-box { margin: 14px 0; padding: 16px; border: 1px solid var(--ds-line); border-radius: 2px; background: #fff; }
.ds-tag {
  display: inline-block; padding: 4px 12px; border-radius: 2px; background: var(--ds-accent); color: #fff;
  font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ds-ok { margin: 12px 0; padding: 12px 16px; border-left: 4px solid var(--ds-green); background: #e8f6ed; color: #1c5a33; }
.ds-alert { margin: 12px 0; padding: 12px 16px; border-left: 4px solid var(--ds-bad); background: #fde8e6; color: var(--ds-bad); }

/* ---------- Phone ---------- */
.ds-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--ds-text); font-size: 1rem; }
.ds-phone .ds-phone__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px;
  border-radius: 2px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.ds-phone .ds-phone__btn--wa { background: var(--ds-green-dark); color: #fff; }
.ds-phone .ds-phone__btn--wa:hover { background: #1f5f31; color: #fff; }
.ds-phone .ds-phone__btn--call { background: #fff; color: var(--ds-accent); border-color: var(--ds-accent); }
.ds-phone .ds-phone__btn--call:hover { background: var(--ds-tint); color: var(--ds-accent); }
.ds-phone__icon { flex: none; }
.ds-phone a:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }

.ds-phone--bar { margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid var(--ds-gold); background: var(--ds-tint); }

.ds-phone--chat { padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--ds-line); }
.ds-phone--chat .ds-phone__btn { min-height: 38px; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
@media (max-width: 380px) { .ds-phone .ds-phone__btn { flex: 1 1 100%; } }

/* ---------- Reply thread ---------- */
.ds-thread { margin: 14px 0; }
.ds-msg { margin: 12px 0; padding: 14px 16px; border: 1px solid var(--ds-line); border-radius: 2px; background: #fff; }
.ds-msg--staff { border-left: 4px solid var(--ds-accent); background: #f6fafc; }
.ds-msg__meta { margin-bottom: 6px; font-size: .85em; color: var(--ds-gray); }
.ds-msg__meta strong { color: var(--ds-text); }
.ds-badge { display: inline-block; padding: 2px 8px; border-radius: 2px; background: var(--ds-accent); color: #fff; font-size: .72em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ds-msg__body { overflow-wrap: anywhere; }
.ds-msg__children { margin: 12px 0 0 16px; padding-left: 12px; border-left: 2px solid var(--ds-line); }
.ds-msg__children.ds-flat { margin-left: 0; }
.ds-msg__reply { margin-top: 8px; }
.ds-msg__reply summary { cursor: pointer; font-size: .9em; font-weight: 700; color: var(--ds-accent); }
.ds-msg__reply summary:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-empty { color: var(--ds-gray); }
.ds-reply-form { margin: 16px 0; }
.ds-help { margin: 4px 0 14px; font-size: .85em; color: var(--ds-gray); }

/* =====================================================================
   Chat widget (matches the Kepler chatbot design)
   ===================================================================== */
.ds-chat { position: fixed; z-index: 99999; right: var(--ds-chat-r, 20px); bottom: var(--ds-chat-b, 20px); transition: right .25s ease, bottom .25s ease; font-family: inherit; font-size: 16px; line-height: 1.45; color: #172231; }
.ds-chat__toggle {
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 0;
  border: 0; border-radius: 50%; background: var(--ds-accent); color: #fff; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.ds-chat__toggle:hover { background: #0a3a56; }
/* "Chat with us" caption: on hover and keyboard focus, and for a few seconds when the page opens */
.ds-chat__tip {
  position: absolute; right: 72px; bottom: 12px; padding: 8px 14px; border-radius: 8px; background: #172231; color: #fff;
  font-size: .9rem; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ds-chat__tip::after { content: ""; position: absolute; top: 50%; right: -5px; width: 10px; height: 10px; margin-top: -5px; background: #172231; transform: rotate(45deg); }
.ds-chat__toggle:hover + .ds-chat__tip, .ds-chat__toggle:focus-visible + .ds-chat__tip, .ds-chat__tip.is-on { opacity: 1; visibility: visible; transform: none; }
.ds-chat__toggle[aria-expanded="true"] + .ds-chat__tip { display: none; }
@media (prefers-reduced-motion: reduce) { .ds-chat, .ds-chat__tip { transition: none; } }
.ds-chat__toggle:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 4px; }

.ds-chat__panel {
  position: absolute; right: 0; bottom: 74px; display: flex; flex-direction: column;
  width: 360px; max-width: calc(100vw - 40px); height: 580px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px);
  background: var(--ds-soft); border: 1px solid var(--ds-line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .3);
}
.ds-chat__panel[hidden] { display: none; }

.ds-chat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 20px; background: var(--ds-accent); color: #fff; }
.ds-chat__title { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; line-height: 1.2; color: #fff; }
.ds-chat__status, .ds-chat__hours { margin: 0; color: #fff; }
.ds-chat__status { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.ds-chat__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ds-green); box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.ds-chat__hours { margin-top: 6px; font-size: .8rem; opacity: .9; }
.ds-chat__close {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2);
  color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.ds-chat__close:hover { background: rgba(255, 255, 255, .32); }
.ds-chat__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.ds-chat__log { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; background: var(--ds-soft); }
.ds-chat__log:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: -3px; }
.ds-chat__row { display: flex; flex-direction: column; max-width: 88%; }
.ds-chat__row--bot { align-self: flex-start; align-items: flex-start; }
.ds-chat__row--user { align-self: flex-end; align-items: flex-end; }
.ds-chat__name { margin: 0 0 4px 2px; font-size: .78rem; font-weight: 700; color: var(--ds-green-dark); }
.ds-chat__msg { padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.ds-chat__msg--bot { background: #fff; border: 1px solid var(--ds-line); color: #172231; }
.ds-chat__msg--user { background: var(--ds-accent); color: #fff; }
.ds-chat__msg a { color: inherit; text-decoration: underline; }
.ds-chat__handoff { display: inline-block; margin-top: 6px; font-weight: 700; }

/* Suggested questions */
.ds-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chat__chip {
  display: inline-block; padding: 8px 14px; border: 1px solid #c7d1dc; border-radius: 999px; background: #fff; color: #172231;
  font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer;
}
.ds-chat__chip:hover { background: var(--ds-tint); border-color: var(--ds-accent); }
.ds-chat__chip--team, .ds-chat__chip--team:hover { background: var(--ds-accent); border-color: var(--ds-accent); color: #fff; }
.ds-chat__chip--team:hover { background: #0a3a56; }
.ds-chat__chip:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }

.ds-chat__typing { display: flex; gap: 4px; padding: 14px 16px; }
.ds-chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ds-gray); animation: ds-bounce 1.2s infinite ease-in-out; }
.ds-chat__typing span:nth-child(2) { animation-delay: .15s; }
.ds-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ds-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.ds-chat__form { display: flex; gap: 10px; padding: 12px 14px 8px; border-top: 1px solid var(--ds-line); background: #fff; }
.ds-chat__input {
  flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--ds-accent); border-radius: 10px;
  background: #fff; color: #172231; font: inherit; font-size: 16px;
}
.ds-chat__input::placeholder { color: #6d737d; opacity: 1; }
.ds-chat__input:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-chat__send {
  height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ds-accent); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer;
}
.ds-chat__send:hover { background: #0a3a56; }
.ds-chat__send:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-chat__send:disabled { opacity: .55; cursor: default; }
.ds-chat__foot { margin: 0; padding: 0 14px 12px; font-size: .85rem; text-align: center; background: #fff; }
.ds-chat__foot a { color: var(--ds-accent); }
.ds-chat__foot a:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }

/* ---------- Floating options (Ask the Assistant / FAQs) ---------- */
.ds-chat__menu { position: absolute; right: 0; bottom: 74px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ds-chat__menu[hidden] { display: none; }
.ds-chat__opt {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 20px 7px 8px;
  border: 1px solid var(--ds-line); border-radius: 999px; background: #fff; color: #172231;
  font: inherit; font-size: .95rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22); animation: ds-pop .18s ease-out both;
}
.ds-chat__opt:nth-child(2) { animation-delay: .05s; }
.ds-chat__opt:hover { background: var(--ds-tint); border-color: var(--ds-accent); }
.ds-chat__opt:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-chat__opt-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ds-tint); color: var(--ds-accent); }
.ds-chat__opt:first-child .ds-chat__opt-icon { background: #e8f6ed; color: var(--ds-green-dark); }
@keyframes ds-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ds-chat__linkbtn { padding: 0; border: 0; background: none; color: var(--ds-accent); font: inherit; text-decoration: underline; cursor: pointer; }
.ds-chat__linkbtn:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-chat__faqlink { display: inline-block; margin-top: 8px; font-weight: 700; text-align: left; }

/* ---------- FAQ panel ---------- */
.ds-faq .ds-chat__foot { flex: none; padding: 10px 14px 12px; border-top: 1px solid var(--ds-line); }
.ds-faq__search { padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--ds-line); }
.ds-faq__search .ds-chat__input { width: 100%; -webkit-appearance: none; appearance: none; }
.ds-faq__list { position: relative; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 14px 14px; background: var(--ds-soft); }
.ds-faq__list:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: -3px; }
.ds-faq__cat[hidden], .ds-faq__item[hidden], .ds-faq__none[hidden] { display: none; }
.ds-faq__cat-title { margin: 16px 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ds-green-dark); }
.ds-faq__item { margin: 0 0 8px; border: 1px solid var(--ds-line); border-radius: 10px; background: #fff; }
.ds-faq__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px 14px;
  list-style: none; cursor: pointer; font-size: .93rem; font-weight: 700; color: #172231;
}
.ds-faq__item summary::-webkit-details-marker { display: none; }
.ds-faq__item summary::after { content: "+"; flex: none; font-size: 1.2rem; line-height: 1; color: var(--ds-accent); }
.ds-faq__item summary::after { content: "+" / ""; }
.ds-faq__item[open] summary::after { content: "\2013"; }
.ds-faq__item[open] summary::after { content: "\2013" / ""; }
.ds-faq__item[open] summary { border-bottom: 1px solid var(--ds-line); }
.ds-faq__item summary:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: -3px; border-radius: 10px; }
.ds-faq__answer { padding: 12px 14px 4px; font-size: .92rem; line-height: 1.5; color: #172231; overflow-wrap: anywhere; }
.ds-faq__answer p { margin: 0 0 10px; }
.ds-faq__answer ul, .ds-faq__answer ol { margin: 0 0 10px; padding-left: 22px; }
.ds-faq__answer li { margin: 0 0 6px; }
.ds-faq__answer a { color: var(--ds-accent); text-decoration: underline; }
.ds-faq__none { margin: 14px 2px; color: var(--ds-gray); font-size: .92rem; }

/* On the Support page the FAQs open in the page, above the Call / WhatsApp buttons, instead of floating */
.ds-faq.ds-faq--inline {
  position: static; inset: auto; width: 100%; max-width: none; height: auto; max-height: none; margin: 0 0 20px;
  border-radius: 4px; box-shadow: none; padding-bottom: 0; scroll-margin-top: 80px;
}
.ds-faq--inline .ds-faq__list { overflow: visible; }
.ds-faq--inline .ds-chat__head { padding-top: 16px; }
.ds-faq--inline .ds-chat__title { margin: 0 0 6px; color: #fff; font-size: 1.2rem; }   /* beats the page's ".ds h2" rule */

/* Phones: full-screen panel, honours the notch / home bar */
@media (max-width: 480px) {
  .ds-chat { right: var(--ds-chat-r, 14px); bottom: var(--ds-chat-b, calc(14px + env(safe-area-inset-bottom, 0px))); }
  .ds-chat.is-open .ds-chat__toggle { display: none; }
  .ds-chat__panel {
    position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; border: 0; border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .ds-chat__head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ds-chat__typing span { animation: none; opacity: .8; }
  .ds-chat__opt { animation: none; }
}

/* ---------- Support page title banner (Kepler College look) ---------- */
html:has(.ds-banner) { overflow-x: hidden; overflow-x: clip; }     /* the banner is full width; ignore the scrollbar's width */
.ds-banner-wrap { container-type: inline-size; margin: 0; padding: 0; }
.ds-banner {
  position: relative; box-sizing: border-box; width: 100vw; margin: 0 calc(50% - 50vw) 28px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(58deg, #fdb813 0%, rgba(253, 184, 19, .7) 8%, rgba(253, 184, 19, 0) 34%), #0e4d72;
}
.ds-banner__in { box-sizing: border-box; max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) 24px clamp(44px, 6.5vw, 84px); }
/* Line the text up with the page's content column (modern browsers); older ones keep a centred 1100px column. */
@supports (width: 1cqw) {
  .ds-banner__in { max-width: none; margin: 0; padding-left: max(24px, calc(50vw - 50cqw)); padding-right: max(24px, calc(50vw - 50cqw)); }
}
.ds-banner .ds-banner__title { margin: 0; padding: 0; color: #fff !important; font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 700; line-height: 1.15; letter-spacing: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); text-transform: none; }
.ds-banner .ds-banner__text { max-width: 620px; margin: 14px 0 0; color: #fff !important; font-size: 1.05rem; line-height: 1.5; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
/* picture behind the title */
.ds-banner--image { background: #0e4d72; }
.ds-banner__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right 68%; }
.ds-banner--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 48, 76, .30) 0%, rgba(8, 48, 76, .12) 45%, rgba(8, 48, 76, 0) 70%); }
@media (max-width: 640px) {
  .ds-banner { background: linear-gradient(58deg, #fdb813 0%, rgba(253, 184, 19, .6) 6%, rgba(253, 184, 19, 0) 22%), #0e4d72; }
  .ds-banner--image::before { background: rgba(8, 48, 76, .5); }
  .ds-banner__bg { object-position: 70% center; }
}

/* =====================================================================
   FAQ button ("Click here for FAQs"): in the chat above Chat on WhatsApp, and on the Support page above the phone bar
   ===================================================================== */
.ds-faq-open { margin: 0 0 12px; }
.ds .ds-faqbtn, .ds-chat .ds-faqbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 22px;
  border: 2px solid var(--ds-gold); border-radius: 2px; background: var(--ds-gold); color: var(--ds-accent);
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; text-transform: none; letter-spacing: 0;
  box-shadow: none; cursor: pointer;
}
.ds .ds-faqbtn:hover, .ds-chat .ds-faqbtn:hover { background: var(--ds-accent); border-color: var(--ds-accent); color: #fff; }
.ds .ds-faqbtn:focus-visible, .ds-chat .ds-faqbtn:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 3px; }
.ds-faqbtn__icon { flex: none; }
.ds-chat__faqrow { padding: 10px 16px 0; background: #fff; }
.ds-chat .ds-chat__faqrow .ds-faqbtn { display: flex; width: 100%; min-height: 40px; padding: 7px 14px; border-radius: 999px; font-size: .92rem; }

/* =====================================================================
   Theme-proofing: many WordPress themes restyle every h2, button and link on the page.
   These rules keep the chat looking the same on any theme.
   ===================================================================== */
#ds-chat .ds-chat__title, .ds-faq .ds-chat__title {
  margin: 0 0 4px !important; padding: 0 !important; font-size: 1.05rem !important; font-weight: 700 !important; line-height: 1.25 !important;
  letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; color: #fff !important; font-family: inherit !important;
}
#ds-chat .ds-chat__status, #ds-chat .ds-chat__hours, .ds-faq .ds-chat__status, .ds-faq .ds-chat__hours { color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; }
#ds-chat .ds-chat__status, .ds-faq .ds-chat__status { font-size: .85rem !important; }
#ds-chat .ds-chat__close, .ds-faq .ds-chat__close {
  display: flex !important; align-items: center; justify-content: center; width: 36px !important; height: 36px !important; min-height: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .2) !important; color: #fff !important;
  font-size: 1.6rem !important; line-height: 1 !important; text-decoration: none !important; text-transform: none !important; box-shadow: none !important;
}
#ds-chat .ds-chat__close:hover, .ds-faq .ds-chat__close:hover { background: rgba(255, 255, 255, .34) !important; color: #fff !important; }
#ds-chat .ds-chat__toggle {
  width: 60px !important; height: 60px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: var(--ds-accent) !important; color: #fff !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .28) !important;
}
#ds-chat .ds-chat__toggle svg { fill: currentColor; color: #fff !important; }
#ds-chat .ds-chat__chip, .ds-faq .ds-chat__chip {
  text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; font-size: .88rem !important;
  line-height: 1.25 !important; background: #fff; color: #172231 !important; border: 1px solid #c7d1dc !important; border-radius: 999px !important; box-shadow: none !important;
}
#ds-chat .ds-chat__chip:hover { background: var(--ds-tint); border-color: var(--ds-accent) !important; }
#ds-chat .ds-chat__chip--team, #ds-chat .ds-chat__chip--team:hover { background: var(--ds-accent); border-color: var(--ds-accent) !important; color: #fff !important; }
#ds-chat .ds-chat__send {
  display: inline-flex !important; align-items: center; justify-content: center; height: 46px !important; min-height: 0 !important; padding: 0 24px !important;
  border: 0 !important; border-radius: 999px !important; background: var(--ds-accent) !important; color: #fff !important;
  font-size: 1rem !important; font-weight: 700 !important; text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
#ds-chat .ds-chat__send:hover { background: #0a3a56 !important; }
#ds-chat .ds-chat__input, .ds-faq .ds-chat__input { height: 46px !important; box-shadow: none !important; text-transform: none !important; color: #172231 !important; background: #fff !important; }
#ds-chat .ds-chat__opt { text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; color: #172231 !important; background: #fff; }
#ds-chat .ds-chat__msg, #ds-chat .ds-chat__name { text-transform: none !important; letter-spacing: 0 !important; }
#ds-chat .ds-chat__foot, .ds-faq .ds-chat__foot { font-size: .85rem !important; }
#ds-chat .ds-chat__linkbtn, .ds-faq .ds-chat__linkbtn { padding: 0 !important; border: 0 !important; background: none !important; color: var(--ds-accent) !important; font-size: inherit !important; font-weight: 600 !important; text-decoration: underline !important; text-transform: none !important; box-shadow: none !important; }
#ds-chat .ds-chat__foot a { color: var(--ds-accent) !important; text-decoration: underline !important; }
#ds-chat .ds-phone__btn { text-transform: none !important; letter-spacing: 0 !important; }

/* the FAQ button must survive a theme that restyles every <button> */
.ds .ds-faqbtn, .ds-chat .ds-faqbtn {
  background: var(--ds-gold) !important; color: var(--ds-accent) !important; border: 2px solid var(--ds-gold) !important; border-radius: 2px !important;
  text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important;
}
.ds .ds-faqbtn:hover, .ds-chat .ds-faqbtn:hover { background: var(--ds-accent) !important; border-color: var(--ds-accent) !important; color: #fff !important; }
.ds-chat .ds-chat__faqrow .ds-faqbtn { border-radius: 999px !important; padding: 7px 14px !important; }
.ds .ds-faqbtn { padding: 10px 22px !important; }
.ds .ds-phone .ds-phone__btn, .ds-chat .ds-phone .ds-phone__btn { text-decoration: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#ds-chat .ds-chat__foot a { text-transform: none !important; }

/* =====================================================================
   FAQ page ([deskstock_faq])
   ===================================================================== */
.ds-faqpage { max-width: 860px; margin: 0 auto; }
.ds-faqpage__search { margin: 0 0 16px; }
.ds .ds-faqpage__input {
  display: block; width: 100%; height: 50px; padding: 0 16px; border: 2px solid var(--ds-accent); border-radius: 4px; background: #fff;
  color: #172231; font: inherit; font-size: 16px; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.ds .ds-faqpage__input:focus-visible { outline: 3px solid var(--ds-accent); outline-offset: 2px; }
.ds-faqpage .ds-faq__list { overflow: visible; padding: 0; background: transparent; }
.ds-faqpage .ds-faq__item { border-radius: 4px; }
.ds-faqpage .ds-faq__item summary { padding: 14px 16px; font-size: 1rem; }
.ds-faqpage .ds-faq__answer { padding: 14px 16px 6px; font-size: 1rem; }
.ds-faqpage .ds-faq__cat-title { margin: 26px 0 10px; font-size: .85rem; }
.ds-faqpage .ds-faq__item:target { border-color: var(--ds-accent); box-shadow: 0 0 0 2px var(--ds-accent); }
.ds-faqpage__help { margin: 36px 0 0; padding: 22px 22px 8px; border-left: 4px solid var(--ds-gold); background: var(--ds-tint); }
.ds .ds-faqpage__help h2 { margin: 0 0 6px; font-size: 1.3rem; }
.ds-faqpage__help .ds-phone--bar { margin: 0 -22px 0; border-left: 0; background: transparent; }
