/* Upstream assets are unmodified; map the pilot to existing production tokens. */
#stcm-wrapper {
  --fontFamily: "Titillium Web", "Segoe UI", system-ui, sans-serif;
  --primaryColor: var(--brand-dark);
  --backgroundColor: var(--surface);
  --textColor: var(--ink);
  --iconColor: var(--brand-dark);
  --iconBackgroundColor: var(--surface);
  --boxShadow: var(--shadow-soft);
  --backdropBackgroundColor: var(--surface-soft);
}
#stcm-wrapper #stcm-banner,
#stcm-wrapper #stcm-modal {
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
#stcm-wrapper .stcm-button {
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  font: inherit;
  min-height: 46px;
}
#stcm-wrapper #stcm-modal h1 { font-size: 1.25rem; font-weight: 600; }
#stcm-wrapper #stcm-modal h2 { font-size: 1rem; font-weight: 600; }
#stcm-wrapper #stcm-banner p { margin-bottom: var(--space-4); }
#stcm-wrapper .stcm-actions { gap: var(--space-4); }
/* Keep the MIT notice in the vendored distribution; omit promotional UI. */
#stcm-wrapper .stcm-credit-link { display: none; }
/* Match the 48px Messenger launcher, with quieter secondary-button styling. */
#stcm-wrapper #stcm-icon {
  width: var(--space-12);
  height: var(--space-12);
  bottom: var(--space-5);
  left: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}
#stcm-wrapper #stcm-icon svg {
  width: var(--space-6);
  height: var(--space-6);
  fill: var(--muted);
}
#stcm-wrapper #stcm-icon:hover,
#stcm-wrapper #stcm-icon:focus-visible { background: var(--surface-soft); }
#stcm-wrapper #stcm-icon:hover svg,
#stcm-wrapper #stcm-icon:focus-visible svg { fill: var(--brand-dark); }
#stcm-wrapper #stcm-icon:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: var(--space-1);
  box-shadow: none;
}
.consent-chat-feedback:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-soft);
  color: var(--ink);
}
