/* Runtime surfaces for dashboard-backed website integrations. These styles are
   authored for the redesigned site and do not import the legacy website CSS. */
#cwHost .cw-fab-symbol {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.cw-fab-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.cw-fab-icon path:first-child {
  fill: currentColor;
  stroke: currentColor;
  fill-opacity: 0.08;
}
.cw-fab-icon path:last-child {
  stroke-width: 2.8;
}
@media (max-width: 620px) {
  .cw-fab {
    right: 14px;
    bottom: 14px;
  }
  .cw-panel {
    right: 14px;
    bottom: 88px;
    height: min(600px, calc(100vh - 108px));
  }
  .ann-topbar .ann-surface {
    align-items: flex-start;
    padding: 12px 14px;
  }
  .ann-topbar .ann-surface,
  .ann-toast .ann-surface,
  .ann-modal .ann-surface {
    flex-wrap: wrap;
  }
  .ann-topbar .ann-actions {
    width: 100%;
  }
  .ann-topbar .ann-cta {
    flex: 1;
  }
  .ann-toast {
    right: 14px;
    bottom: 14px;
  }
  .ann-modal {
    padding: 14px;
  }
  .ann-modal .ann-surface {
    padding: 22px 18px;
  }
  .ann-modal .ann-actions {
    width: 100%;
  }
  .ann-modal .ann-cta {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cw-fab,
  .cw-panel,
  .cw-message,
  .ann-root,
  .ann-progress {
    transition: none !important;
    animation: none !important;
  }
}
.trust-feed-detail {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.trust-service {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.trust-service-head strong {
  font-size: 13px;
  font-weight: 600;
}
.trust-service-head span {
  color: #aaa;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-service p {
  margin: 6px 0 11px;
  color: #777;
  font-size: 11px;
}
.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.trust-metric {
  display: grid;
  gap: 3px;
}
.trust-metric span {
  color: #666;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-metric b {
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 500;
}
.trust-service small {
  display: block;
  margin-top: 11px;
  color: #666;
  font-size: 9px;
}
.trust-incident {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-incident strong {
  display: block;
  font-size: 12px;
}
.trust-incident span {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-incident p {
  margin: 6px 0 0;
  color: #999;
  font:
    12px/1.45 Helvetica,
    Arial,
    sans-serif;
}
.trust-status-offline {
  color: #aaa;
}
@media (max-width: 620px) {
  .trust-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
#cwHost [hidden] {
  display: none !important;
}

/* Announcement surface ---------------------------------------------------- */
.ann-root {
  position: fixed;
  z-index: 1500;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  color: var(--ann-text, #f4f4f4);
  font-family: Helvetica, Arial, sans-serif;
  transition: opacity 0.22s ease;
}
.ann-root.is-visible {
  opacity: 1;
}
.ann-root.ann-topbar {
  inset: 0 0 auto;
}
.ann-root.ann-toast {
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 32px));
}
.ann-root.ann-modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  pointer-events: auto;
}
.ann-surface {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  background: var(--ann-bg, #111);
  color: var(--ann-text, #f4f4f4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}
.ann-topbar .ann-surface {
  width: 100%;
  padding: 13px max(24px, calc((100vw - 1180px) / 2));
}
.ann-toast .ann-surface {
  padding: 18px 20px;
  border-radius: 14px;
}
.ann-modal .ann-surface {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 16px;
}
.ann-copy {
  min-width: 0;
  flex: 1;
}
.ann-title {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.ann-body {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.82;
}
.ann-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ann-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 7px;
  color: inherit;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.ann-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}
.ann-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.ann-close:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}
.ann-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform-origin: right;
  background: currentColor;
  opacity: 0.55;
  transition: transform linear;
}
.ann-root:not(.ann-modal) .ann-surface {
  pointer-events: auto;
}

/* Visitor chat surface ---------------------------------------------------- */
#cwHost {
  font-family: Helvetica, Arial, sans-serif;
  color: #f4f4f4;
}
#cwHost button,
#cwHost input,
#cwHost textarea {
  font: inherit;
}
#cwHost .cw-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1600;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #f4f4f4;
  color: #090909;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.cw-fab:hover {
  transform: translateY(-2px);
  background: #fff;
}
.cw-fab.is-open {
  background: #171717;
  color: #f4f4f4;
}
.cw-fab-close {
  display: none;
  font-size: 23px;
  line-height: 1;
}
.cw-fab.is-open .cw-fab-symbol {
  display: none;
}
.cw-fab.is-open .cw-fab-close {
  display: block;
}
.cw-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  background: #f04;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}
.cw-badge.is-visible {
  display: block;
}
.cw-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 1599;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  height: min(650px, calc(100vh - 112px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #0c0c0c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}
.cw-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.cw-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #101010;
}
.cw-header > div:first-child {
  display: grid;
  gap: 3px;
}
.cw-kicker {
  color: #777;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cw-header strong {
  font-size: 14px;
  font-weight: 600;
}
.cw-header small {
  color: #888;
  font-size: 10px;
}
.cw-header-actions {
  display: flex;
  gap: 5px;
}
.cw-header-actions button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: transparent;
  color: #aaa;
  font-size: 13px;
  cursor: pointer;
}
.cw-header-actions button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cw-header-actions button i {
  pointer-events: none;
}
.cw-status {
  min-height: 17px;
  padding: 10px 18px 0;
  color: #777;
  font-size: 10px;
}
.cw-status.is-error {
  color: #ff9d9d;
}
.cw-identity {
  flex: 1;
  overflow: auto;
  padding: 24px 18px;
}
.cw-identity h2 {
  margin: 8px 0 8px;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.cw-identity > p:not(.cw-kicker) {
  max-width: 320px;
  margin: 0 0 22px;
  color: #999;
  font-size: 12px;
  line-height: 1.55;
}
.cw-identity label,
.cw-url-dialog label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: #888;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.cw-identity label span {
  color: #666;
}
.cw-identity input,
.cw-url-dialog input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  outline: 0;
  background: #151515;
  color: #f4f4f4;
  font-size: 13px;
}
.cw-identity input:focus,
.cw-url-dialog input:focus,
.cw-composer textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
}
.cw-start {
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #f4f4f4;
  border-radius: 7px;
  background: #f4f4f4;
  color: #080808;
  font-size: 12px;
  cursor: pointer;
}
.cw-start:hover {
  background: #fff;
}
.cw-start:disabled {
  cursor: wait;
  opacity: 0.55;
}
.cw-messages {
  flex: 1;
  overflow: auto;
  padding: 16px 14px;
}
.cw-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
}
.cw-message.is-mine {
  flex-direction: row-reverse;
}
.cw-avatar {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #aaa;
  font-size: 9px;
}
.cw-message.is-mine .cw-avatar {
  background: #f4f4f4;
  color: #080808;
}
.cw-message-stack {
  max-width: 78%;
}
.cw-bubble {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px 10px 10px 3px;
  background: #151515;
  color: #ddd;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.cw-message.is-mine .cw-bubble {
  border-color: transparent;
  border-radius: 10px 10px 3px 10px;
  background: #e9e9e9;
  color: #111;
}
.cw-bubble a {
  color: inherit;
  text-decoration: underline;
}
.cw-message-meta {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 9px;
}
.cw-message.is-mine .cw-message-meta {
  text-align: right;
}
.cw-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 16px 10px;
  color: #777;
}
.cw-typing span {
  margin-right: 3px;
  font-size: 9px;
}
.cw-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #888;
  animation: cwBlink 1s infinite ease-in-out;
}
.cw-typing i:nth-child(3) {
  animation-delay: 0.14s;
}
.cw-typing i:nth-child(4) {
  animation-delay: 0.28s;
}
@keyframes cwBlink {
  0%,
  80%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}
.cw-closed {
  margin: auto;
  padding: 20px;
  color: #999;
  font-size: 12px;
  text-align: center;
}
.cw-composer {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 7px;
  align-items: end;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #101010;
}
.cw-composer button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: transparent;
  color: #aaa;
  font-size: 17px;
  cursor: pointer;
}
.cw-composer button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.cw-composer textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  max-height: 120px;
  padding: 9px 10px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  outline: 0;
  background: #151515;
  color: #f4f4f4;
  font-size: 12px;
  line-height: 1.35;
}
.cw-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #666;
  font-size: 9px;
  letter-spacing: 0.06em;
}
.cw-footer a {
  color: #999;
  text-decoration: none;
}
.cw-footer a:hover {
  color: #fff;
}
.cw-url-modal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}
.cw-url-dialog {
  width: min(350px, 100%);
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #111;
}
.cw-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cw-dialog-head strong {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.cw-dialog-head button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
}
.cw-url-dialog p {
  margin: 12px 0 14px;
  color: #999;
  font-size: 11px;
  line-height: 1.45;
}
.cw-url-dialog > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 16px;
}
.cw-url-dialog > div:last-child button {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: transparent;
  color: #bbb;
  font-size: 11px;
  cursor: pointer;
}
.cw-url-dialog > div:last-child button:last-child {
  background: #f4f4f4;
  color: #080808;
}
.cw-attachment {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 10px;
}
.cw-attachment-kind {
  color: #999;
  font-size: 9px;
  letter-spacing: 0.08em;
}
.cw-attachment-name {
  overflow: hidden;
  text-overflow: ellipsis;
}
.cw-attachment-size {
  color: #666;
}
.cw-attachment img,
.cw-attachment video {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 5px;
}
/* Cookie consent ---------------------------------------------------------- */
[data-cookie-consent-root] .cookie-banner,
[data-cookie-consent-root] .cookie-modal {
  font-family: Helvetica, Arial, sans-serif;
}
[data-cookie-consent-root] [hidden] {
  display: none !important;
}
body.cookie-modal-open {
  overflow: hidden;
}
.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1700;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 17px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 -18px 55px rgba(0, 0, 0, 0.32);
  color: #f4f4f4;
}
.cookie-banner-copy {
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.cookie-kicker {
  color: #777;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cookie-banner-copy strong {
  font-size: 12px;
  white-space: nowrap;
}
.cookie-banner-copy p {
  margin: 0;
  color: #999;
  font-size: 11px;
  line-height: 1.45;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}
.cookie-banner button,
.cookie-dialog button {
  font: inherit;
  cursor: pointer;
}
.cookie-text-button,
.cookie-outline-button,
.cookie-solid-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cookie-text-button {
  border: 0;
  background: transparent;
  color: #999;
}
.cookie-text-button:hover {
  color: #fff;
}
.cookie-outline-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ddd;
}
.cookie-outline-button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.cookie-solid-button {
  border: 1px solid #f4f4f4;
  background: #f4f4f4;
  color: #080808;
}
.cookie-solid-button:hover {
  background: #fff;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 22px;
}
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.cookie-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(680px, calc(100vh - 44px));
  overflow: auto;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: #0d0d0d;
  color: #f4f4f4;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.55);
}
.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cookie-dialog h2 {
  margin: 7px 0 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.cookie-dialog-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  font-size: 20px;
  line-height: 1;
}
.cookie-dialog-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.cookie-dialog-intro {
  margin: 17px 0 20px;
  color: #999;
  font-size: 12px;
  line-height: 1.55;
}
.cookie-options {
  display: grid;
  gap: 8px;
}
.cookie-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 15px;
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: #121212;
  cursor: pointer;
}
.cookie-option:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #151515;
}
.cookie-option span {
  display: grid;
  gap: 4px;
}
.cookie-option strong {
  font-size: 12px;
  font-weight: 600;
}
.cookie-option small {
  color: #777;
  font-size: 10px;
  line-height: 1.4;
}
.cookie-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-option i {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  border-radius: 20px;
  background: #303030;
  transition: background 0.18s ease;
}
.cookie-option i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #888;
  content: "";
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.cookie-option input:checked + i {
  background: #e9e9e9;
}
.cookie-option input:checked + i::after {
  background: #080808;
  transform: translateX(16px);
}
.cookie-option input:focus-visible + i {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.cookie-option input:disabled + i {
  opacity: 0.55;
}
.cookie-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-dialog-foot a {
  color: #999;
  font-size: 10px;
}
.cookie-dialog-foot a:hover {
  color: #fff;
}
.footer-bottom-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-settings-link {
    padding: 3px 9px;
    border: solid #fff 0.5px;
    background: #fff;
    color: #484848;
    font: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
    cursor: pointer;
    border-radius: 28px;
}
.cookie-settings-link:hover {
  color: #484848;
}
@media (max-width: 760px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 16px 18px;
  }
  .cookie-banner-copy {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .cookie-banner-copy strong {
    white-space: normal;
  }
  .cookie-banner-copy p {
    max-width: 620px;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .cookie-dialog {
    padding: 21px;
  }
  .footer-bottom-tools {
    justify-content: flex-start;
  }
}
@media (min-width: 761px) {
  .footer-bottom-tools {
    padding-right: 82px;
  }
}
.cookie-banner {
  z-index: 1300;
}
