/* Website Chat Connector: launcher and panel, in the Sun Service Specialists brand palette
 * (brand guidelines: Muted Navy #004165 primary, Warm Orange #FF7900 calls to action,
 * Golden Yellow #FFB612, Cool Gray #E0E1DD, Muted Blue #99BFC2). */
.wcc {
  --wcc-navy: #004165;
  --wcc-orange: #FF7900;
  --wcc-yellow: #FFB612;
  --wcc-gray: #E0E1DD;
  --wcc-blue: #99BFC2;
  --wcc-white: #FFFFFF;
  --wcc-shadow: 0 8px 28px rgba(0, 65, 101, 0.22);
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  font-family: inherit;
}
/* Call to action: Warm Orange. Navy text at 19px bold = large text, 4.1:1 contrast (WCAG AA for large text). */
.wcc-launcher {
  background: var(--wcc-orange);
  color: var(--wcc-navy);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--wcc-shadow);
}
.wcc-launcher:hover { background: var(--wcc-yellow); }
.wcc-launcher:focus-visible, .wcc-close:focus-visible {
  outline: 3px solid var(--wcc-navy);
  outline-offset: 2px;
}
.wcc-close:focus-visible { outline-color: var(--wcc-white); }
.wcc-open .wcc-launcher { display: none; }
.wcc-panel {
  width: 380px;
  height: min(620px, calc(100vh - 40px));
  background: var(--wcc-white);
  border: 1px solid var(--wcc-gray);
  border-radius: 12px;
  box-shadow: var(--wcc-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wcc-panel[hidden] { display: none; }
/* Navy header with the white (reverse) logo: no enclosing shape, no effects, clear space kept by padding. */
.wcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--wcc-navy);
  color: var(--wcc-white);
  border-bottom: 3px solid var(--wcc-orange);
}
.wcc-logo { display: block; width: 150px; height: auto; }
.wcc-header-actions { display: flex; align-items: center; gap: 10px; }
.wcc-restart {
  background: transparent;
  color: var(--wcc-white);
  border: 1px solid var(--wcc-white);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.wcc-restart:hover { background: var(--wcc-white); color: var(--wcc-navy); }
.wcc-restart:focus-visible { outline: 3px solid var(--wcc-orange); outline-offset: 2px; }
.wcc-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--wcc-white);
  padding: 0 4px;
}
.wcc-deep-chat {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
}

/* Below the typing box: "Cancel request" while a request is open. Small, not in the way. */
.wcc-below { text-align: center; background: var(--wcc-white); }
.wcc-cancel {
  background: transparent;
  border: 0;
  color: var(--wcc-navy);
  text-decoration: underline;
  font-size: 13px;
  padding: 4px 8px 8px;
  cursor: pointer;
}
.wcc-cancel[hidden] { display: none; }
.wcc-cancel:focus-visible { outline: 3px solid var(--wcc-navy); outline-offset: 2px; }

@media (max-width: 480px) {
  .wcc { right: 12px; bottom: 12px; }
  .wcc-open { inset: 0; right: 0; bottom: 0; }
  .wcc-open .wcc-panel { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}
