/* LUMARION Support v2.2.4 — guaranteed dark contrast, isolated from theme surface variables.
   Applied ONLY when the site's theme is dark; no second mode switch. */
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] {
  color-scheme: dark;
  --lsd-bg: #171d26;
  --lsd-surface: #252e3b;
  --lsd-surface2: #2c3746;
  --lsd-input: #151e28;
  --lsd-text: #f1f5fb;
  --lsd-muted: #b4c2d1;
  --lsd-border: #425166;
  --lsd-accent: #78d7bf;
  --ls-brand: #78d7bf !important;
  --ls-bg: #171d26 !important;
  --ls-surface: #252e3b !important;
  --ls-accent: #78d7bf !important;
  --lsb-brand: #78d7bf !important;
  --lsb-border: #425166 !important;
  color: var(--lsd-text) !important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-card,.ls-chat-shell,.ls-form-card,.ls-group-page,.ls-hub-hero,.ls-confirm-card,
  .ls-auth-card,.ls-ticket-list-card,.ls-form-access-card,.ls-existing-inquiry,
  .ls-member-support-center,.ls-member-ticket-section,.ls-member-history,
  .lsb-public-header,.lsb-auth-card,.ls-review-section-card,.ls-contact-start
) {
  background-color:var(--lsd-surface)!important;
  border-color:var(--lsd-border)!important;
  color:var(--lsd-text)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.21)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-audience-card,.ls-hub-button,.ls-entry-card,.ls-member-ticket-row,
  .ls-member-support-summary,.ls-member-ticket-section-head,
  .ls-review-section-head,.ls-radio-option,.ls-radio-option span,.ls-checkbox-option,
  .ls-file-field,.ls-upload,.ls-credential,.ls-chat-tools,.ls-chat-only-note,
  .ls-section-progress,.ls-guest-password,.ls-quote-preview,.ls-form-stop,
  .lsb-public-mini,.lsb-steps span,.lsb-public-mini,.ls-member-id-access .ls-auth-card,
  .ls-notice-setting-body,.ls-notice-settings,.ls-existing-login .ls-auth-card
) {
  background-color:var(--lsd-surface2)!important;
  border-color:var(--lsd-border)!important;
  color:var(--lsd-text)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  h1,h2,h3,h4,h5,legend,label,.ls-audience-body strong,.ls-audience-cta,
  .ls-entry-copy strong,.ls-hub-button strong,.ls-existing-head h2,
  .ls-member-support-summary h3,.ls-member-ticket-top strong,
  .ls-member-ticket-section-head strong,.ls-member-ticket-main strong,
  .ls-field-label,.ls-field>span,.ls-section-title,.ls-section-head h3,
  .ls-review-section-head h4,.ls-review-answer-list strong,
  .ls-member-id-access-head strong,.ls-auth-title strong,.ls-form-card h2,
  .lsb-auth-card h2,.lsb-public-header h1,.lsb-auth-card label,
  .ls-chat-closed strong,.ls-credential strong
) {
  color:var(--lsd-text)!important;
  text-shadow:none!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-hub-hero p,.ls-contact-section-head p,.ls-audience-body em,.ls-audience-body small,
  .ls-group-page p,.ls-existing-head p,.ls-member-support-summary p,
  .ls-member-ticket-main small,.ls-member-ticket-section-head small,
  .ls-member-ticket-section-head span,.ls-member-ticket-empty,.ls-lead,.ls-help,
  .ls-eyebrow,.ls-contact-step,.ls-member-ticket-main .ls-member-ticket-meta,
  .ls-review-answer-list span,.ls-field small,.ls-chat-top small,
  .ls-chat-only-note span,.lsb-public-header p,.lsb-auth-card p,
  .lsb-public-help,.lsb-eyebrow,.lsb-public-mini,.ls-msg-meta,.ls-read-receipt
) {
  color:var(--lsd-muted)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
  textarea,select,.ls-chat-search input
) {
  background-color:var(--lsd-input)!important;
  color:var(--lsd-text)!important;
  border-color:var(--lsd-border)!important;
  -webkit-text-fill-color:var(--lsd-text)!important;
  box-shadow:none!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(input,textarea)::placeholder {
  color:#a7b8c8!important;
  -webkit-text-fill-color:#a7b8c8!important;
  opacity:1!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(input,select,textarea,button,a):focus-visible {
  outline:2px solid #79d8c0!important;
  outline-offset:2px!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-chat-top,.ls-chat-compose,.ls-chat-footer-actions,.ls-section-actions-public,
  .ls-review-submit-row,.ls-rating-panel,.ls-chat-closed
) {
  background:var(--lsd-surface)!important;
  border-color:var(--lsd-border)!important;
  color:var(--lsd-text)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-chat-messages {
  background-color:var(--lsd-bg)!important;
  background-image:none!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-msg.is-staff .ls-bubble,
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-msg:not(.is-user):not(.is-system) .ls-bubble {
  color:var(--lsd-text)!important;
  background:var(--lsd-surface2)!important;
  border-color:var(--lsd-border)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-msg.is-staff .ls-bubble::before {
  background:var(--lsd-surface2)!important;
  border-color:var(--lsd-border)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-msg.is-user .ls-bubble {
  background:#215d4c!important;
  border-color:#34846b!important;
  color:#f3fff9!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-msg.is-user .ls-bubble::after {background:#215d4c!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
 .ls-primary-btn,.ls-compose-actions .ls-primary-btn,.lsb-public-primary
) {background:#2b806c!important;color:#ffffff!important;border-color:#2b806c!important;-webkit-text-fill-color:#fff!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-secondary-btn,.ls-copy,.ls-icon-btn,.ls-review-edit,.lsb-ghost,.ls-quote-preview button,
  .ls-entry-arrow,.ls-audience-cta b
) {background:var(--lsd-surface2)!important;color:var(--lsd-text)!important;border-color:var(--lsd-border)!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(.ls-audience-card,.ls-hub-button,.ls-member-ticket-row):hover {
  background:#334155!important;
  border-color:#65c7ad!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-member-ticket-status,.ls-status-pill,.ls-status-badge,.ls-pill
) {
  color:var(--status-color,#78d7bf)!important;
  background:#1c2631!important;
  border:1px solid var(--lsd-border)!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(
  .ls-review-answer-list,.ls-form-section,.ls-member-ticket-list,.ls-existing-inquiry
) {border-color:var(--lsd-border)!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .lsb-steps span.active,
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .lsb-steps.otp-phase span:nth-child(2){background:#174f40!important;color:#a5f0d9!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(.ls-form-error,.ls-error,.lsb-public-error) {
  background:#4a252d!important;color:#ffe2e3!important;border-color:#8f4a56!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(.ls-radio-option:has(input:checked),.ls-checkbox-option:has(input:checked)) {
  background:#1d483e!important;border-color:#6bd0b4!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(.ls-member-support-counts>span,.ls-existing-icon,.ls-audience-icon,.ls-section-title) {
  background:#314152!important;color:#edf5ff!important;
}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-member-support-counts strong{color:#f4f8ff!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-member-support-counts small{color:#c3cfdd!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-member-unread{background:#c63e48!important;color:#fff!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] :is(.lsb-public-mini a,.ls-back-link,.ls-link-btn){color:#9be6d2!important}
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .lsb-toast {background:#2c3746!important;color:#f1f5fb!important;border-color:#425166!important}
/* Keep semantic author-selected rich-text colors and all 'hidden' behaviour. */
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] [hidden]{display:none!important}
@media (max-width:700px){
  html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-chat-shell{background:var(--lsd-surface)!important}
  html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-chat-messages{background:var(--lsd-bg)!important}
}
/* Long headings and badges should not crowd the mobile support hub. */
html body :is(.ls-app,.lsb-public)[data-ls-theme="dark"] .ls-member-ticket-section-head>span {
  background:#303c4b!important;color:#edf5fe!important;border:1px solid var(--lsd-border)!important;
}
@media(max-width:700px){
  .ls-app .ls-contact-section-head{display:block!important}
  .ls-app .ls-contact-section-head h2{max-width:100%!important;overflow-wrap:anywhere}
  .ls-app .ls-contact-section-head p{margin-top:4px}
}
