/* Shared light-mode support for member-side pages */

.member-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.member-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.72);
  color: #dbe4f0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  position: relative;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.member-theme-toggle:hover,
.member-theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(203, 213, 225, 0.34);
  background: rgba(30, 41, 59, 0.86);
  text-decoration: none;
  outline: none;
}

.member-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.92rem;
  line-height: 1;
}

.member-theme-icon--moon {
  display: none;
}

.member-theme-icon--sun {
  display: inline-flex;
}

html[data-member-theme="light"] .member-theme-icon--moon {
  display: inline-flex;
}

html[data-member-theme="light"] .member-theme-icon--sun {
  display: none;
}

.member-theme-toggle-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.member-theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: 0.22rem;
  width: 1.54rem;
  height: 1.54rem;
  border-radius: 999px;
  transform: translate3d(0, -50%, 0);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(224, 233, 241, 0.96));
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.member-theme-toggle-icon {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 1.54rem;
  height: 1.54rem;
  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 1;
  text-align: center;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.member-theme-toggle-icon::before {
  content: "";
  display: block;
  width: 0.78rem;
  height: 0.78rem;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.member-theme-toggle-icon--moon {
  left: 0.22rem;
  color: #74ba7d;
  transform: translate3d(0, -50%, 0);
}

.member-theme-toggle-icon--moon::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.2 15.6A8.2 8.2 0 0 1 8.4 3.8a8.8 8.8 0 1 0 11.8 11.8Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.2 15.6A8.2 8.2 0 0 1 8.4 3.8a8.8 8.8 0 1 0 11.8 11.8Z' fill='black'/%3E%3C/svg%3E");
}

.member-theme-toggle-icon--sun {
  left: 2.9rem;
  color: rgba(52, 87, 66, 0.86);
  transform: translate3d(0, -50%, 0);
}

.member-theme-toggle-icon--sun::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1h2v4h-2V1Zm0 18h2v4h-2v-4ZM1 11h4v2H1v-2Zm18 0h4v2h-4v-2ZM4.22 2.8l2.83 2.83-1.42 1.42L2.8 4.22 4.22 2.8Zm14.15 14.15 2.83 2.83-1.42 1.42-2.83-2.83 1.42-1.42Zm1.41-14.15 1.42 1.42-2.83 2.83-1.42-1.42 2.83-2.83ZM5.63 16.95l1.42 1.42-2.83 2.83-1.42-1.42 2.83-2.83ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1h2v4h-2V1Zm0 18h2v4h-2v-4ZM1 11h4v2H1v-2Zm18 0h4v2h-4v-2ZM4.22 2.8l2.83 2.83-1.42 1.42L2.8 4.22 4.22 2.8Zm14.15 14.15 2.83 2.83-1.42 1.42-2.83-2.83 1.42-1.42Zm1.41-14.15 1.42 1.42-2.83 2.83-1.42-1.42 2.83-2.83ZM5.63 16.95l1.42 1.42-2.83 2.83-1.42-1.42 2.83-2.83ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z' fill='black'/%3E%3C/svg%3E");
}

html[data-member-theme="light"] .member-theme-toggle {
  border-color: rgba(203, 213, 225, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 245, 249, 0.99));
  color: #475569;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-theme-toggle:hover,
html[data-member-theme="light"] .member-theme-toggle:focus-visible {
  border-color: rgba(148, 163, 184, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(235, 241, 247, 0.99));
  color: #334155;
}

html[data-member-theme="light"] .member-theme-toggle-icon {
  opacity: 0.82;
}

html[data-member-theme="light"] .member-theme-toggle-icon--moon {
  color: #74ba7d;
}

html[data-member-theme="light"] .member-theme-toggle-icon--sun {
  color: rgba(52, 87, 66, 0.86);
}

html[data-member-theme="light"] .member-theme-toggle-thumb {
  transform: translate3d(2.68rem, -50%, 0);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 252, 249, 0.99));
  box-shadow:
    0 10px 20px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.member-sidebar-theme {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding: 0.35rem 0.25rem 0;
}

.member-sidebar-theme .member-theme-toggle {
  width: 2.5rem;
}

html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle {
  background: linear-gradient(180deg, rgba(238, 248, 239, 0.98), rgba(226, 241, 230, 0.96));
}

html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle:hover,
html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle:focus-visible {
  background: linear-gradient(180deg, rgba(243, 250, 244, 0.98), rgba(232, 245, 235, 0.98));
}

html[data-member-theme="light"] .sd-notification-popover.notification-panel {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 24px 54px rgba(15, 23, 42, 0.12);
}

html[data-member-theme="light"] .sd-notification-panel-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .sd-notification-panel-header h2 {
  color: #16202b;
}

html[data-member-theme="light"] .sd-notification-mark-read {
  color: #3f6548;
}

html[data-member-theme="light"] .sd-notification-mark-read:hover {
  background: transparent;
  color: #335440;
}

html[data-member-theme="light"] .sd-notification-popover .notification-list {
  scrollbar-color: rgba(62, 207, 142, 0.42) transparent;
}

html[data-member-theme="light"] .sd-notification-popover .notification-list::-webkit-scrollbar-thumb {
  background: rgba(62, 207, 142, 0.42);
}

html[data-member-theme="light"] .sd-notification-item {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] .sd-notification-item::before {
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.98), rgba(62, 207, 142, 0.32));
}

html[data-member-theme="light"] .sd-notification-item:hover,
html[data-member-theme="light"] .sd-notification-item.is-expanded {
  border-color: rgba(62, 207, 142, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 246, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 26px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .sd-notification-item-icon {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(237, 252, 244, 0.98), rgba(222, 246, 233, 0.98));
  color: #1d6043;
  box-shadow:
    inset 0 0 0 1px rgba(62, 207, 142, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-member-theme="light"] .sd-notification-item-icon:hover {
  background:
    linear-gradient(180deg, rgba(223, 247, 231, 0.99), rgba(208, 241, 219, 0.99));
}

html[data-member-theme="light"] .sd-notification-item .notification-copy strong {
  color: #16202b;
}

html[data-member-theme="light"] .sd-notification-item .notification-copy span {
  color: #5f6d7b;
}

html[data-member-theme="light"] .sd-notification-time {
  color: #5f6d7b;
}

html[data-member-theme="light"] .sd-notification-item .notification-dismiss {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #526171;
  opacity: 1;
}

html[data-member-theme="light"] .sd-notification-item .notification-dismiss:hover {
  border-color: rgba(62, 207, 142, 0.18);
  background: rgba(237, 252, 244, 0.98);
  color: #1d6043;
}

html[data-member-theme="light"] .notification-empty {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
}

html[data-member-theme="light"] .notification-empty strong {
  color: #16202b;
}

html[data-member-theme="light"] .notification-empty span {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-portal-body,
html[data-member-theme="light"] body.member-profile-body,
html[data-member-theme="light"] body.member-fullcard-body {
  color-scheme: light;
  color: #15202b;
  background: #eaf6fb !important;
}

html[data-member-theme="light"] .member-shell,
html[data-member-theme="light"] .member-profile-shell,
html[data-member-theme="light"] .member-fullcard-shell {
  background: #eaf6fb !important;
}

html[data-member-theme="light"] .member-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.98));
  border-right-color: rgba(15, 23, 42, 0.08);
  box-shadow: inset -1px 0 0 rgba(15, 23, 42, 0.03);
}

html[data-member-theme="light"] .member-sidebar::before {
  background: rgba(15, 23, 42, 0.05);
}

html[data-member-theme="light"] .member-sidebar-user-copy strong,
html[data-member-theme="light"] .member-header-status-inline strong,
html[data-member-theme="light"] .member-profile-summary-header h2,
html[data-member-theme="light"] .member-profile-group-head h3,
html[data-member-theme="light"] .member-fullcard-hero h2,
html[data-member-theme="light"] .member-fullcard-hero p,
html[data-member-theme="light"] .member-hero-panel h2,
html[data-member-theme="light"] .member-hero-body,
html[data-member-theme="light"] .member-profile-kicker,
html[data-member-theme="light"] .member-profile-meta,
html[data-member-theme="light"] .member-profile-summary-kicker,
html[data-member-theme="light"] .member-profile-plan-box span,
html[data-member-theme="light"] .member-profile-plan-box strong,
html[data-member-theme="light"] .member-profile-label,
html[data-member-theme="light"] .member-profile-value,
html[data-member-theme="light"] .member-card-eyebrow,
html[data-member-theme="light"] .member-fullcard-kicker,
html[data-member-theme="light"] .member-section-label,
html[data-member-theme="light"] .member-section-value,
html[data-member-theme="light"] .member-badge,
html[data-member-theme="light"] .member-headline,
html[data-member-theme="light"] .member-copy,
html[data-member-theme="light"] .member-summary-label,
html[data-member-theme="light"] .member-summary-value,
html[data-member-theme="light"] .member-summary-note {
  color: #15202b;
}

html[data-member-theme="light"] .member-sidebar-user-copy span,
html[data-member-theme="light"] .member-header-status-inline,
html[data-member-theme="light"] .member-header-promo p,
html[data-member-theme="light"] .member-profile-summary-card span,
html[data-member-theme="light"] .member-profile-plan-box span,
html[data-member-theme="light"] .member-profile-meta,
html[data-member-theme="light"] .member-fullcard-kicker,
html[data-member-theme="light"] .member-fullcard-hero p,
html[data-member-theme="light"] .member-summary-note,
html[data-member-theme="light"] .member-copy,
html[data-member-theme="light"] .member-embed-copy,
html[data-member-theme="light"] .member-embed-review-note,
html[data-member-theme="light"] .member-embed-help,
html[data-member-theme="light"] .member-embed-consent-copy p,
html[data-member-theme="light"] .member-embed-modal-body p,
html[data-member-theme="light"] .member-embed-modal-body li,
html[data-member-theme="light"] .member-embed-modal-preformatted,
html[data-member-theme="light"] .member-hero-body,
html[data-member-theme="light"] .member-ticket-section-note,
html[data-member-theme="light"] .member-ticket-summary-excerpt,
html[data-member-theme="light"] .member-ticket-card-excerpt {
  color: #5f6d7b;
}

html[data-member-theme="light"] .member-sidebar-link {
  color: #526171;
  background: rgba(255, 255, 255, 0.65);
}

html[data-member-theme="light"] .member-sidebar-link:hover {
  color: #15202b;
  border-color: rgba(62, 207, 142, 0.2);
  background: rgba(62, 207, 142, 0.08);
}

html[data-member-theme="light"] .member-sidebar-link.is-active {
  color: #0b2a1d;
  font-weight: 700;
  border-color: rgba(62, 207, 142, 0.44);
  background: linear-gradient(90deg, rgba(62, 207, 142, 0.34), rgba(62, 207, 142, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(62, 207, 142, 0.18),
    0 0 0 1px rgba(62, 207, 142, 0.08);
}

html[data-member-theme="light"] .member-sidebar-link.is-active .icon {
  color: #1d6043;
}

html[data-member-theme="light"] .sd-sidebar-account {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .sd-sidebar-account-avatar {
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.18), rgba(62, 207, 142, 0.08));
  color: #1d6043;
}

html[data-member-theme="light"] .sd-sidebar-account-copy strong,
html[data-member-theme="light"] .sd-sidebar-account-copy span {
  color: #15202b;
}

html[data-member-theme="light"] .sd-sidebar-account-logout {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
}

html[data-member-theme="light"] .sd-sidebar-account-logout:hover,
html[data-member-theme="light"] .sd-sidebar-account-logout:focus-visible {
  border-color: rgba(15, 23, 42, 0.18);
  background: rgba(248, 250, 252, 0.99);
  color: #111827;
}

html[data-member-theme="light"] .member-hero-card .member-card-eyebrow {
  color: rgba(245, 247, 242, 0.88);
}

html[data-member-theme="light"] .member-topnav-link {
  color: #536170;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] .member-topnav-link:hover {
  color: #15202b;
  border-color: rgba(62, 207, 142, 0.2);
  background: rgba(62, 207, 142, 0.08);
}

html[data-member-theme="light"] .member-topnav-link.is-active {
  color: #0e2e21;
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(62, 207, 142, 0.16);
}

html[data-member-theme="light"] .member-status-pill,
html[data-member-theme="light"] .member-mini-badge,
html[data-member-theme="light"] .member-plan-card-badge {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #203040;
}

html[data-member-theme="light"] .member-headerbar,
html[data-member-theme="light"] .member-header-promo,
html[data-member-theme="light"] .member-flash,
html[data-member-theme="light"] .member-hero-panel,
html[data-member-theme="light"] .member-profile-hero,
html[data-member-theme="light"] .member-profile-group,
html[data-member-theme="light"] .member-profile-summary,
html[data-member-theme="light"] .member-profile-plan-box,
html[data-member-theme="light"] .member-profile-summary-card,
html[data-member-theme="light"] .member-profile-item,
html[data-member-theme="light"] .member-fullcard-hero,
html[data-member-theme="light"] .member-section-card,
html[data-member-theme="light"] .member-summary-card,
html[data-member-theme="light"] .member-form-card,
html[data-member-theme="light"] .member-card,
html[data-member-theme="light"] .member-ticket-panel,
html[data-member-theme="light"] .member-ticket-summary,
html[data-member-theme="light"] .member-ticket-card,
html[data-member-theme="light"] .member-ticket-card-mark,
html[data-member-theme="light"] .member-ticket-card-stat,
html[data-member-theme="light"] .member-ticket-card-actions,
html[data-member-theme="light"] .member-ticket-card-body,
html[data-member-theme="light"] .member-embed-card,
html[data-member-theme="light"] .member-embed-signup-stage,
html[data-member-theme="light"] .member-embed-auth-note,
html[data-member-theme="light"] .member-embed-modal-dialog {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 253, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-headerbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.96));
}

html[data-member-theme="light"] .member-header-promo {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 249, 0.98) 62%, rgba(226, 241, 234, 0.96));
}

html[data-member-theme="light"] .member-header-promo .member-banner-btn,
html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn,
html[data-member-theme="light"] .member-headerbar .member-theme-toggle,
html[data-member-theme="light"] .member-headerbar .member-header-ticket,
html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle,
html[data-member-theme="light"] .member-link-btn,
html[data-member-theme="light"] .member-embed-auth-actions a,
html[data-member-theme="light"] .member-embed-auth-actions button,
html[data-member-theme="light"] .member-actions .secondary,
html[data-member-theme="light"] body.member-create-ticket-body .member-location-consent-actions button.secondary,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-results [data-member-provider-refresh],
html[data-member-theme="light"] .member-submit,
html[data-member-theme="light"] .member-embed-actions button,
html[data-member-theme="light"] .member-embed-footer button {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #16202b;
}

.member-technical-support-trigger {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 30px;
  padding: .28rem .7rem;
  border: 1px solid rgba(119, 234, 205, .34);
  border-radius: 10px;
  background: rgba(19, 70, 65, .42);
  color: #a9f6e3;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}
.member-technical-support-trigger:hover,
.member-technical-support-trigger:focus-visible {
  border-color: #91f4dc;
  background: rgba(30, 104, 94, .62);
}
.member-technical-support-trigger--sidebar {
  position: static !important;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  margin-top: .75rem;
  margin-bottom: .35rem;
  min-height: 38px;
  padding: .54rem .68rem;
  border-radius: 10px;
  box-shadow: none;
}
.member-sidebar-support {
  width: 100%;
  flex: none;
  margin-top: auto;
}
.member-sidebar-support .member-technical-support-trigger--sidebar {
  right: auto;
  bottom: auto;
  margin-top: 0;
  margin-bottom: 0;
}
body.member-portal-body .member-sidebar-support + .sd-sidebar-account,
body.member-profile-body .member-sidebar-support + .sd-sidebar-account,
body.member-guide-body .member-sidebar-support + .sd-sidebar-account {
  margin-top: .35rem !important;
}
.member-technical-support-trigger > span {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .72rem;
}
.member-technical-support-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  box-sizing: border-box;
  /* Keep the support flow above the mobile navigation drawer. The drawer is
     intentionally interactive while closed, but it must never sit above an
     open dialog. */
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(3, 6, 12, .78);
  backdrop-filter: blur(10px);
}
.member-technical-support-modal.is-open { display: grid; }
.member-technical-support-dialog {
  width: min(560px, 100%);
  max-height: min(760px, calc(100dvh - 2rem));
  box-sizing: border-box;
  margin: auto;
  overflow-y: auto;
  padding: 1.45rem;
  border: 1px solid rgba(119, 234, 205, .3);
  border-radius: 20px;
  background: linear-gradient(180deg, #111c2c, #0b1422);
  color: #e8eef9;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}
.member-technical-support-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.member-technical-support-kicker { margin: 0 0 .3rem; color: #8cebd4; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.member-technical-support-dialog h2 { margin: 0; color: #f4f8ff; font-size: 1.4rem; }
.member-technical-support-close { border: 0; background: transparent; color: #aab8ca; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.member-technical-support-intro { margin: .8rem 0 1.2rem; color: #aebbd0; line-height: 1.5; }
.member-technical-support-form { display: grid; gap: 1rem; }
.member-technical-support-form label { display: grid; gap: .45rem; color: #dce6f7; font-weight: 700; }
.member-technical-support-form input,
.member-technical-support-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #3a4658; border-radius: 10px; background: #0a1220; color: #f1f6ff; font: inherit; padding: .75rem .8rem; }
.member-technical-support-form textarea { resize: vertical; min-height: 130px; }
.member-technical-support-form input:focus,
.member-technical-support-form textarea:focus { outline: 2px solid rgba(145, 244, 220, .6); outline-offset: 1px; }
.member-technical-support-form label > span strong { color: #ff9b9b; }
.member-technical-support-form small { margin-top: -.2rem; color: #94a4b8; font-weight: 500; }
.member-technical-support-form .member-technical-support-field-error { min-height: 1.1rem; margin-top: -.25rem; color: #d95c67; font-weight: 700; }
.member-technical-support-form input[aria-invalid="true"],
.member-technical-support-form textarea[aria-invalid="true"] { border-color: #d95c67; box-shadow: 0 0 0 2px rgba(217, 92, 103, .14); }
.member-technical-support-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: .2rem; }
.member-technical-support-cancel,
.member-technical-support-submit { min-height: 42px; padding: .65rem 1rem; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; }
.member-technical-support-cancel { border: 1px solid #3a4658; background: transparent; color: #dce6f7; }
.member-technical-support-submit { border: 1px solid #7debd3; background: #a6f5e2; color: #09201c; }
.member-technical-support-submit:disabled { opacity: .7; cursor: wait; }
body.member-technical-support-open { overflow: hidden; }

html[data-member-theme="light"] .member-technical-support-trigger { border-color: rgba(13, 116, 101, .3); background: #e8faf6; color: #0f766e; }
html[data-member-theme="light"] .member-technical-support-modal { background: rgba(15, 23, 42, .28); }
html[data-member-theme="light"] .member-technical-support-dialog { border-color: rgba(15, 118, 110, .22); background: linear-gradient(180deg, #fff, #f5fbfa); color: #15202b; box-shadow: 0 28px 80px rgba(15, 23, 42, .18); }
html[data-member-theme="light"] .member-technical-support-dialog h2,
html[data-member-theme="light"] .member-technical-support-form label { color: #15202b; }
html[data-member-theme="light"] .member-technical-support-intro,
html[data-member-theme="light"] .member-technical-support-form small { color: #5f6d7b; }
html[data-member-theme="light"] .member-technical-support-form .member-technical-support-field-error { color: #b4232f; }
html[data-member-theme="light"] .member-technical-support-form input,
html[data-member-theme="light"] .member-technical-support-form textarea { border-color: rgba(15, 23, 42, .16); background: #fff; color: #15202b; }
html[data-member-theme="light"] .member-technical-support-cancel { border-color: rgba(15, 23, 42, .16); background: #fff; color: #16202b; }

@media (max-width: 640px) {
  .member-technical-support-trigger {
    right: .85rem;
    bottom: .85rem;
  }
}

/* The sidebar trigger lives inside the off-canvas mobile drawer. Render the
   support form as a centered mobile dialog so it stays readable at 320–430px
   widths without taking over the whole screen. */
@media (max-width: 760px) {
  .member-technical-support-modal {
    align-items: center;
    justify-items: center;
    padding: 0.75rem;
  }

  .member-technical-support-dialog {
    width: min(100%, 34rem);
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    min-height: 0;
    margin: auto;
    padding: 1.1rem max(1rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
    border-right: 1px solid rgba(58, 70, 88, .7);
    border-bottom: 1px solid rgba(58, 70, 88, .7);
    border-radius: 1.35rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
    -webkit-overflow-scrolling: touch;
  }

  .member-technical-support-dialog-header {
    gap: .75rem;
  }

  .member-technical-support-dialog h2 {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
    line-height: 1.2;
  }

  .member-technical-support-intro {
    margin: .65rem 0 1rem;
    font-size: .9rem;
  }

  .member-technical-support-form {
    gap: .8rem;
  }

  .member-technical-support-form input,
  .member-technical-support-form textarea {
    min-height: 2.85rem;
    font-size: 1rem;
  }

  .member-technical-support-form textarea {
    min-height: 7rem;
  }

  .member-technical-support-actions {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    padding-top: .7rem;
    background: transparent;
  }

  .member-technical-support-cancel,
  .member-technical-support-submit {
    width: 100%;
    min-height: 3rem;
    padding-inline: .7rem;
    font-size: .9rem;
  }
}

html[data-member-theme="light"] .member-technical-support-actions {
  background: transparent;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-results [data-member-provider-refresh]:hover,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-results [data-member-provider-refresh]:focus-visible {
  border-color: rgba(29, 96, 67, 0.3);
  background: rgba(237, 252, 244, 0.98);
  color: #1d6043;
}

html[data-member-theme="light"] .member-headerbar .member-theme-toggle,
html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle {
  border-color: rgba(207, 235, 214, 0.76);
  background: linear-gradient(180deg, rgba(251, 255, 252, 0.99), rgba(241, 250, 244, 0.99));
  color: #111111;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-headerbar .member-theme-toggle:hover,
html[data-member-theme="light"] .member-headerbar .member-theme-toggle:focus-visible,
html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle:hover,
html[data-member-theme="light"] .member-sidebar-theme .member-theme-toggle:focus-visible {
  border-color: rgba(187, 226, 196, 0.88);
  background: linear-gradient(180deg, rgba(248, 254, 249, 0.99), rgba(236, 247, 239, 0.99));
  color: #111111;
}

html[data-member-theme="dark"] .member-theme-toggle {
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  background: rgba(15, 23, 42, 0.72) !important;
  color: #dbe4f0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

html[data-member-theme="dark"] .member-theme-toggle:hover,
html[data-member-theme="dark"] .member-theme-toggle:focus-visible {
  border-color: rgba(203, 213, 225, 0.34) !important;
  background: rgba(30, 41, 59, 0.86) !important;
  color: #f1f5f9 !important;
}

html[data-member-theme="light"] .member-theme-toggle {
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 !important;
  border-color: rgba(203, 213, 225, 0.92) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 245, 249, 0.99)) !important;
  color: #475569 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

html[data-member-theme="light"] .member-theme-toggle:hover,
html[data-member-theme="light"] .member-theme-toggle:focus-visible {
  border-color: rgba(148, 163, 184, 0.9) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(235, 241, 247, 0.99)) !important;
  color: #334155 !important;
}

html[data-member-theme="light"] .member-headerbar .sd-logout-btn {
  border-color: rgba(185, 28, 28, 0.24);
  background: #fff1f2;
  color: #991b1b;
  box-shadow: 0 12px 24px rgba(185, 28, 28, 0.08);
}

html[data-member-theme="light"] .member-headerbar .sd-logout-btn:hover {
  border-color: rgba(185, 28, 28, 0.42);
  background: #ffe4e6;
  color: #7f1d1d;
}

html[data-member-theme="light"] .member-headerbar .sd-icon-btn.notification-trigger {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-headerbar .sd-icon-btn.notification-trigger:hover {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(248, 250, 252, 0.99);
  color: #111827;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn {
  border-color: #111827;
  background: #111827;
  color: #f8fafc;
  box-shadow: none;
}

html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn:hover,
html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn:focus-visible {
  border-color: #0b1220;
  background: #0b1220;
  color: #f8fafc;
}

html[data-member-theme="light"] .sd-notification-wrap .notification-count {
  top: 0.08rem;
  right: 0.08rem;
  transform: translate(12%, -12%);
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  font-size: 0.68rem;
  line-height: 1;
  border-color: transparent !important;
  background: linear-gradient(180deg, #ff7484 0%, #ea3b55 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 18px rgba(234, 59, 85, 0.35) !important;
}

html[data-member-theme="light"] .member-hero-card .member-overview-card {
  filter: brightness(1.12) contrast(0.96) saturate(0.92);
}

html[data-member-theme="light"] .member-hero-panel {
  border-radius: 0 !important;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-member-theme="light"] .member-ticket-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
}

html[data-member-theme="light"] .member-ticket-summary,
html[data-member-theme="light"] .member-ticket-card-mark,
html[data-member-theme="light"] .member-ticket-card-stat,
html[data-member-theme="light"] .member-ticket-card-actions,
html[data-member-theme="light"] .member-ticket-card-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
}

html[data-member-theme="light"] .member-ticket-summary-title,
html[data-member-theme="light"] .member-ticket-panel .member-card-title,
html[data-member-theme="light"] .member-ticket-card-title,
html[data-member-theme="light"] .member-ticket-card-stat strong,
html[data-member-theme="light"] .member-ticket-summary-kicker,
html[data-member-theme="light"] .member-ticket-card-kicker,
html[data-member-theme="light"] .member-ticket-meta span,
html[data-member-theme="light"] .member-ticket-meta strong {
  color: #16202b;
}

html[data-member-theme="light"] .member-ticket-meta div {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-summary-excerpt,
html[data-member-theme="light"] .member-ticket-card-excerpt,
html[data-member-theme="light"] .member-ticket-card-stat span,
html[data-member-theme="light"] .member-ticket-action-note,
html[data-member-theme="light"] .member-ticket-section-note {
  color: #5f6d7b;
}

html[data-member-theme="light"] .member-ticket-card-mark {
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f5a52;
}

html[data-member-theme="light"] .member-ticket-tab-count,
html[data-member-theme="light"] .member-status-pill,
html[data-member-theme="light"] .member-mini-badge,
html[data-member-theme="light"] .member-plan-card-badge {
  color: #1d6043;
}

html[data-member-theme="light"] .member-ticket-section-header .member-mini-badge,
html[data-member-theme="light"] .member-ticket-tabs .member-ticket-tab,
html[data-member-theme="light"] .member-ticket-card,
html[data-member-theme="light"] .member-ticket-card-mark,
html[data-member-theme="light"] .member-ticket-card-stat,
html[data-member-theme="light"] .member-ticket-card-actions,
html[data-member-theme="light"] .member-ticket-card-body {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
  color: #15202b;
}

html[data-member-theme="light"] .member-ticket-tabs .member-ticket-tab {
  border-color: rgba(15, 23, 42, 0.08);
  color: #536170;
}

html[data-member-theme="light"] .member-ticket-tabs .member-ticket-tab:hover {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(62, 207, 142, 0.08);
  color: #15202b;
}

html[data-member-theme="light"] .member-ticket-tabs .member-ticket-tab.is-active {
  border-color: rgba(62, 207, 142, 0.26);
  background: rgba(62, 207, 142, 0.16);
  color: #1d6043;
}

html[data-member-theme="light"] .member-ticket-card-kicker,
html[data-member-theme="light"] .member-ticket-card-title,
html[data-member-theme="light"] .member-ticket-card-excerpt,
html[data-member-theme="light"] .member-ticket-card-stat span,
html[data-member-theme="light"] .member-ticket-card-stat strong {
  color: #15202b;
}

html[data-member-theme="light"] .member-ticket-card[data-status="open"],
html[data-member-theme="light"] .member-ticket-card[data-status="in_progress"],
html[data-member-theme="light"] .member-ticket-card[data-status="resolved"],
html[data-member-theme="light"] .member-ticket-card[data-status="loa_uploaded"],
html[data-member-theme="light"] .member-ticket-card[data-status="cancelled"],
html[data-member-theme="light"] .member-ticket-card[data-status="disapproved"],
html[data-member-theme="light"] .member-ticket-card[data-status="finished"],
html[data-member-theme="light"] .member-ticket-card[data-status="archived"] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-ticket-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.72rem;
  padding: 1rem;
  border-radius: 1.8rem;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
}

html[data-member-theme="light"] .member-ticket-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: start;
  justify-items: start;
}

@media (max-width: 1200px) {
  html[data-member-theme="light"] .member-ticket-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-member-theme="light"] .member-ticket-card::before,
html[data-member-theme="light"] .member-ticket-card::after {
  content: none;
}

html[data-member-theme="light"] .member-ticket-card-head {
  grid-column: 1 / -1;
  gap: 0.75rem;
}

html[data-member-theme="light"] .member-ticket-card-identity {
  align-items: center;
  gap: 0.8rem;
}

html[data-member-theme="light"] .member-ticket-card-mark {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 2px solid rgba(226, 232, 240, 1);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 1));
  color: #15202b;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-card-identity-copy {
  gap: 0.08rem;
}

html[data-member-theme="light"] .member-ticket-card-kicker {
  color: #94a3b8;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

html[data-member-theme="light"] .member-ticket-card-title {
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.02;
  font-weight: 700;
}

html[data-member-theme="light"] .member-ticket-pill {
  min-height: 1.8rem;
  padding: 0.32rem 0.72rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

html[data-member-theme="light"] .member-ticket-request-type,
html[data-member-theme="light"] .member-ticket-modal-type {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 1);
  color: #334155;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 14px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-status.status-open,
html[data-member-theme="light"] .member-ticket-modal-status.status-open {
  border-color: rgba(62, 207, 142, 0.22);
  background: rgba(223, 251, 233, 0.96);
  color: #1d6043;
}

html[data-member-theme="light"] .member-ticket-status.status-in_progress,
html[data-member-theme="light"] .member-ticket-modal-status.status-in_progress {
  border-color: rgba(191, 219, 254, 1);
  background: rgba(219, 234, 254, 1);
  color: #4f46e5;
}

html[data-member-theme="light"] .member-ticket-status.status-resolved,
html[data-member-theme="light"] .member-ticket-modal-status.status-resolved {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(239, 233, 255, 0.98);
  color: #6b46c1;
}

html[data-member-theme="light"] .member-ticket-status.status-loa_uploaded,
html[data-member-theme="light"] .member-ticket-modal-status.status-loa_uploaded {
  border-color: rgba(22, 101, 52, 0.28);
  background: #dcfce7;
  color: #166534;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] .member-ticket-status.status-follow_up,
html[data-member-theme="light"] .member-ticket-modal-status.status-follow_up {
  border-color: rgba(180, 83, 9, 0.24);
  background: rgba(254, 243, 199, 0.98);
  color: #92400e;
}

html[data-member-theme="light"] .member-ticket-status.status-evaluation,
html[data-member-theme="light"] .member-ticket-modal-status.status-evaluation,
html[data-member-theme="light"] .member-ticket-status.status-documents_review,
html[data-member-theme="light"] .member-ticket-modal-status.status-documents_review {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
  color: #1d4ed8;
}

html[data-member-theme="light"] .member-ticket-status.status-amount_computation,
html[data-member-theme="light"] .member-ticket-modal-status.status-amount_computation,
html[data-member-theme="light"] .member-ticket-status.status-payment_processing,
html[data-member-theme="light"] .member-ticket-modal-status.status-payment_processing {
  border-color: rgba(124, 58, 237, 0.26);
  background: #f5f3ff;
  color: #6d28d9;
}

html[data-member-theme="light"] .member-ticket-status.status-incomplete,
html[data-member-theme="light"] .member-ticket-modal-status.status-incomplete {
  border-color: rgba(234, 88, 12, 0.3);
  background: #fff7ed;
  color: #c2410c;
}

html[data-member-theme="light"] .member-ticket-status.status-cancelled,
html[data-member-theme="light"] .member-ticket-modal-status.status-cancelled {
  border-color: rgba(251, 113, 133, 0.22);
  background: rgba(255, 237, 240, 0.98);
  color: #be3550;
}

html[data-member-theme="light"] .member-ticket-status.status-disapproved,
html[data-member-theme="light"] .member-ticket-modal-status.status-disapproved {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(254, 226, 226, 0.98);
  color: #b91c1c;
}

html[data-member-theme="light"] .member-ticket-status.status-closed,
html[data-member-theme="light"] .member-ticket-status.status-finished,
html[data-member-theme="light"] .member-ticket-status.status-archived,
html[data-member-theme="light"] .member-ticket-modal-status.status-closed,
html[data-member-theme="light"] .member-ticket-modal-status.status-finished,
html[data-member-theme="light"] .member-ticket-modal-status.status-archived {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(241, 245, 249, 0.96);
  color: #4b5563;
}

html[data-member-theme="light"] .member-ticket-modal-dialog {
  border-color: rgba(15, 23, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.03),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-ticket-modal-scroll {
  scrollbar-color: rgba(109, 124, 142, 0.62) rgba(247, 250, 252, 0.92);
}

html[data-member-theme="light"] .member-ticket-modal-scroll::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(236, 242, 248, 0.94));
}

html[data-member-theme="light"] .member-ticket-modal-scroll::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

html[data-member-theme="light"] .member-ticket-modal-scroll::-webkit-scrollbar-thumb {
  border: 0.18rem solid rgba(247, 250, 252, 0.98);
  background: linear-gradient(180deg, rgba(131, 149, 169, 0.9), rgba(105, 121, 138, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(113, 131, 150, 0.98), rgba(91, 107, 125, 0.98));
}

html[data-member-theme="light"] .member-ticket-modal-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

html[data-member-theme="light"] .member-ticket-modal-kicker {
  color: #94a3b8;
}

html[data-member-theme="light"] .member-ticket-modal-header h3 {
  color: #0f172a;
}

html[data-member-theme="light"] .member-ticket-modal-close {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #16202b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 1px rgba(15, 23, 42, 0.02),
    0 6px 14px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-modal-meta {
  color: #5f6d7b;
}

html[data-member-theme="light"] .member-ticket-modal-meta-item {
  border-color: rgba(15, 23, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(15, 23, 42, 0.03),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-member-theme="light"] .member-ticket-modal-meta-item span {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

html[data-member-theme="light"] .member-ticket-modal-meta-item strong {
  color: #0f172a;
  font-size: 0.9rem;
}

html[data-member-theme="light"] .member-ticket-modal-field {
  border-color: rgba(15, 23, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(15, 23, 42, 0.03),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-member-theme="light"] .member-ticket-modal-field span {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

html[data-member-theme="light"] .member-ticket-modal-field div {
  color: #0f172a;
}

html[data-member-theme="light"] .member-footer {
  border-top-color: rgba(15, 23, 42, 0.14);
}

html[data-member-theme="light"] .member-footer-summary,
html[data-member-theme="light"] .member-page-ellipsis {
  color: #475569;
}

html[data-member-theme="light"] .member-page-number,
html[data-member-theme="light"] .member-page-nav {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] .member-page-number:hover,
html[data-member-theme="light"] .member-page-nav:hover,
html[data-member-theme="light"] .member-page-number:focus-visible,
html[data-member-theme="light"] .member-page-nav:focus-visible {
  border-color: rgba(15, 23, 42, 0.26);
  background: #f8fafc;
  color: #0f172a;
  outline: none;
}

html[data-member-theme="light"] .member-page-number.is-active {
  border-color: rgba(22, 101, 52, 0.26);
  background: #dcfce7;
  color: #166534;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 2px rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] .member-page-nav.is-disabled {
  opacity: 0.42;
}

html[data-member-theme="light"] .member-ticket-supporting-doc {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 1px rgba(15, 23, 42, 0.03),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-member-theme="light"] .member-ticket-supporting-doc:hover,
html[data-member-theme="light"] .member-ticket-supporting-doc:focus-visible {
  border-color: rgba(22, 101, 52, 0.32);
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-documents-list {
  scrollbar-color: rgba(22, 101, 52, 0.48) rgba(226, 232, 240, 0.84);
}

html[data-member-theme="light"] .member-ticket-document-item {
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #0f172a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-document-item strong {
  color: #0f172a;
}

html[data-member-theme="light"] .member-ticket-document-item span {
  color: #64748b;
}

html[data-member-theme="light"] .member-ticket-document-item:hover,
html[data-member-theme="light"] .member-ticket-document-item:focus-visible,
html[data-member-theme="light"] .member-ticket-document-item.is-active {
  border-color: rgba(22, 101, 52, 0.36);
  background: #ecfdf5;
}

html[data-member-theme="light"] .member-ticket-document-preview {
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-member-theme="light"] .member-ticket-document-preview-head {
  border-bottom-color: rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-document-preview-head span {
  color: #64748b;
}

html[data-member-theme="light"] .member-ticket-document-preview-head strong {
  color: #0f172a;
}

html[data-member-theme="light"] .member-ticket-document-download {
  border-color: rgba(22, 101, 52, 0.28);
  background: #166534;
  color: #ffffff;
}

html[data-member-theme="light"] .member-ticket-document-frame-wrap,
html[data-member-theme="light"] .member-ticket-document-frame {
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-documents-empty {
  border-color: rgba(15, 23, 42, 0.18);
  background: #f8fafc;
  color: #64748b;
}

html[data-member-theme="light"] .member-document-viewer {
  background: rgba(15, 23, 42, 0.58);
}

html[data-member-theme="light"] .member-document-viewer-dialog {
  border-color: rgba(15, 23, 42, 0.18);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
}

html[data-member-theme="light"] .member-document-viewer-header {
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

html[data-member-theme="light"] .member-document-viewer-title {
  color: #0f172a;
}

html[data-member-theme="light"] .member-document-download {
  border-color: rgba(22, 101, 52, 0.28);
  background: #166534;
  color: #ffffff;
}

html[data-member-theme="light"] .member-document-close {
  border-color: rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #0f172a;
}

html[data-member-theme="light"] .member-document-frame {
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-card-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  grid-column: 1 / -1;
}

html[data-member-theme="light"] .member-ticket-card-stat {
  padding: 0.8rem;
  min-height: 4.2rem;
  border-color: rgba(15, 23, 42, 0.12);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

html[data-member-theme="light"] .member-ticket-card-stat span {
  color: #94a3b8;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

html[data-member-theme="light"] .member-ticket-card-stat strong {
  color: #0f172a;
  font-size: 0.9rem;
}

html[data-member-theme="light"] .member-ticket-card-reason {
  display: block;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

html[data-member-theme="light"] .member-ticket-modal-tabs {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

html[data-member-theme="light"] .member-ticket-modal-tab {
  color: #64748b;
}

html[data-member-theme="light"] .member-ticket-modal-tab.is-active {
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(20, 184, 166, 0.08));
  border-color: rgba(20, 184, 166, 0.24);
  color: #0f766e;
  box-shadow: inset 0 -2px 0 rgba(20, 184, 166, 0.7);
}

html[data-member-theme="light"] .member-ticket-modal-overview {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-member-theme="light"] .member-ticket-modal-overview-item {
  border-right-color: rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-ticket-modal-overview-icon {
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
  border-color: rgba(20, 184, 166, 0.12);
}

html[data-member-theme="light"] .member-ticket-modal-overview-copy span {
  color: #64748b;
}

html[data-member-theme="light"] .member-ticket-modal-overview-copy strong {
  color: #0f172a;
}

html[data-member-theme="light"] .member-ticket-modal-panels,
html[data-member-theme="light"] .member-ticket-conversation-shell {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html[data-member-theme="light"] .member-ticket-conversation-count {
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: #334155;
}

html[data-member-theme="light"] .member-conversation-header {
  background: linear-gradient(180deg, rgba(248, 250, 252, 1), rgba(241, 245, 249, 1));
}

html[data-member-theme="light"] .member-conversation-header span {
  color: #0f766e;
}

html[data-member-theme="light"] .member-conversation-header strong {
  color: #0f172a;
}

html[data-member-theme="light"] .member-conversation-tabbar {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

html[data-member-theme="light"] .member-conversation-tabs {
  background: transparent;
}

html[data-member-theme="light"] .member-conversation-tabbar {
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

html[data-member-theme="light"] .member-responses-list {
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.member-responses-list.has-scrollable-thread {
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

html[data-member-theme="light"] .member-conversation-tab {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

html[data-member-theme="light"] .member-conversation-tab.is-active {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.24);
  color: #0f766e;
}

html[data-member-theme="light"] .member-conversation-form {
  border-color: rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.member-conversation-form-row {
  align-items: center;
}

.member-conversation-upload {
  min-width: 0;
}

.member-conversation-upload span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-member-theme="light"] .member-conversation-form textarea {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
}

html[data-member-theme="light"] .member-conversation-form textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

html[data-member-theme="light"] .member-conversation-upload {
  border-color: rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: #334155;
}

html[data-member-theme="light"] .member-conversation-upload:hover,
html[data-member-theme="light"] .member-conversation-upload:focus-within {
  border-color: rgba(13, 148, 136, 0.5);
  background: #f0fdfa;
  color: #0f766e;
}

html[data-member-theme="light"] .member-conversation-upload svg,
html[data-member-theme="light"] .member-conversation-file-chip {
  color: #475569;
}

html[data-member-theme="light"] .member-conversation-file-chip.has-file {
  border-color: rgba(13, 148, 136, 0.24);
  background: #f0fdfa;
  color: #0f766e;
}

html[data-member-theme="light"] .member-response-badge {
  color: #0f172a;
}

html[data-member-theme="light"] .member-response-badge .material-symbols-outlined {
  border-color: rgba(15, 23, 42, 0.12);
  background: #e2e8f0;
  color: #475569;
}

html[data-member-theme="light"] .member-response-time {
  color: #64748b;
}

html[data-member-theme="light"] .member-response-item.is-inbound .member-response-text {
  border-color: rgba(20, 184, 166, 0.45);
  background: #f8fafc;
  color: #0f172a;
}

html[data-member-theme="light"] .member-response-item.is-outbound .member-response-text {
  border-color: rgba(148, 163, 184, 0.5);
  background: #eef2f7;
  color: #0f172a;
}

html[data-member-theme="light"] .member-response-attachment {
  border-color: rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #0f5f59;
}

html[data-member-theme="light"] .member-response-attachment:hover,
html[data-member-theme="light"] .member-response-attachment:focus-visible {
  border-color: rgba(13, 148, 136, 0.45);
  background: #f0fdfa;
}

html[data-member-theme="light"] .member-response-attachment svg {
  color: #0f766e;
}

html[data-member-theme="light"] .member-responses-empty {
  color: #64748b;
}

html[data-member-theme="light"] .member-conversation-empty-hero {
  color: #64748b;
}

html[data-member-theme="light"] .member-conversation-empty-icon {
  border-color: rgba(20, 184, 166, 0.16);
  background: radial-gradient(circle at 45% 30%, rgba(20, 184, 166, 0.16), rgba(241, 245, 249, 0.96));
  color: #0f766e;
  box-shadow: 0 0 0 18px rgba(20, 184, 166, 0.04);
}

html[data-member-theme="light"] .member-conversation-action {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.24);
  color: #0f766e;
}

.member-conversation-request-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.member-response-attachment {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  max-width: min(100%, 26rem);
}

.member-response-attachment span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-response-attachment strong {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

html[data-member-theme="light"] .member-ticket-card-excerpt {
  display: none;
}

html[data-member-theme="light"] .member-ticket-card-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

html[data-member-theme="light"] .member-ticket-card-assigned {
  width: min(100%, calc(50% - 0.36rem));
  justify-self: start;
}

html[data-member-theme="light"] .member-ticket-open {
  min-width: 6.8rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border-color: rgba(17, 24, 39, 0.08);
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #f8fbff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-member-theme="light"] .member-ticket-open:hover {
  background: linear-gradient(180deg, #1b2440 0%, #131a2d 100%);
}

html[data-member-theme="light"] .member-ticket-follow-up-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.8rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border-color: rgba(180, 83, 9, 0.24);
  background: rgba(254, 243, 199, 0.94);
  color: #92400e;
  box-shadow: 0 2px 6px rgba(146, 64, 14, 0.08);
}

html[data-member-theme="light"] .member-ticket-follow-up-card-action:hover,
html[data-member-theme="light"] .member-ticket-follow-up-card-action:focus-visible {
  border-color: rgba(180, 83, 9, 0.42);
  background: rgba(253, 230, 138, 0.98);
}

html[data-member-theme="light"] .member-ticket-cancel {
  border-color: rgba(17, 24, 39, 0.1);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-ticket-cancel:hover,
html[data-member-theme="light"] .member-ticket-cancel:focus-visible {
  border-color: rgba(185, 28, 28, 0.28);
  background: #fff1f2;
  color: #991b1b;
}

html[data-member-theme="light"] .member-ticket-follow-up-action {
  border-color: rgba(180, 83, 9, 0.24);
  background: rgba(254, 243, 199, 0.94);
  color: #92400e;
}

html[data-member-theme="light"] .member-ticket-follow-up-action:hover,
html[data-member-theme="light"] .member-ticket-follow-up-action:focus-visible {
  border-color: rgba(180, 83, 9, 0.42);
  background: rgba(253, 230, 138, 0.98);
}

html[data-member-theme="light"] .member-reimbursement-incomplete-card {
  border-color: rgba(180, 83, 9, 0.32);
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

html[data-member-theme="light"] .member-reimbursement-incomplete-kicker {
  color: #b45309;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-card h4 {
  color: #1f2937;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-card p {
  color: #4b5563;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-card ul {
  color: #1f2937;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-note {
  border-left-color: #d97706;
  background: rgba(217, 119, 6, 0.1);
  color: #374151;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-note strong {
  color: #b45309;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #d97706;
  color: #ffffff;
  font-weight: 900;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-upload {
  border-color: rgba(180, 83, 9, 0.24);
  background: rgba(254, 243, 199, 0.94);
  color: #92400e;
}

html[data-member-theme="light"] .member-reimbursement-incomplete-upload:hover,
html[data-member-theme="light"] .member-reimbursement-incomplete-upload:focus-visible {
  border-color: rgba(180, 83, 9, 0.42);
  background: rgba(253, 230, 138, 0.98);
}

html[data-member-theme="light"] .member-reimbursement-upload-panel {
  border-color: rgba(13, 148, 136, 0.3);
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
}

html[data-member-theme="light"] .member-reimbursement-upload-panel-copy strong {
  color: #1f2937;
}

html[data-member-theme="light"] .member-reimbursement-upload-panel-copy span {
  color: #4b5563;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-backdrop {
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(8px);
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-dialog {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #172033;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
  scrollbar-color: #9fcbb6 #eef5f1;
}

/* Keep the completion modal compact: two requested-document fields per row
   on desktop, then fall back to one column when the dialog gets narrow. */
.member-reimbursement-completion-modal form[data-member-completion-form] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.member-reimbursement-completion-modal form[data-member-completion-form] > .manual-field-error,
.member-reimbursement-completion-modal form[data-member-completion-form] > .td-status-confirm-actions {
  grid-column: 1 / -1;
}

.member-reimbursement-completion-modal form[data-member-completion-form] > label:only-of-type {
  grid-column: 1 / -1;
}

.member-reimbursement-completion-modal .td-status-confirm-dialog {
  scrollbar-width: thin;
  scrollbar-color: #2f8d75 rgba(15, 23, 42, 0.22);
}

.member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar {
  width: 8px;
}

.member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 999px;
}

.member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar-thumb {
  background: #2f8d75;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar-thumb:hover {
  background: #42ad8c;
  background-clip: padding-box;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar-track {
  background: #eef5f1;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-dialog::-webkit-scrollbar-thumb {
  background: #9fcbb6;
  border-color: #ffffff;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-header h4 {
  color: #172033;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-kicker {
  color: #356b58;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-copy {
  color: #536176;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .member-completion-file-field {
  border-color: rgba(148, 163, 184, 0.38);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .member-completion-file-field input {
  color: #536176;
  background: #ffffff;
  color-scheme: light;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .member-completion-file-field input::file-selector-button {
  border-color: rgba(20, 184, 166, 0.3);
  background: #ecfdf5;
  color: #176247;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .member-completion-file-field input::file-selector-button:hover {
  background: #d9f5e7;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .member-completion-file-field small {
  color: #64748b;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-actions .td-btn {
  border-color: rgba(148, 163, 184, 0.38);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .td-status-confirm-actions .td-btn:not(.td-btn-secondary) {
  border-color: #18794e;
  background: #18794e;
  color: #ffffff;
}

html[data-member-theme="light"] .member-reimbursement-completion-modal .manual-field-error {
  border-color: rgba(185, 28, 28, 0.24);
  background: #fff1f2;
  color: #991b1b;
}

@media (max-width: 680px) {
  .member-reimbursement-completion-modal form[data-member-completion-form] {
    grid-template-columns: 1fr;
  }
}

html[data-member-theme="light"] .member-cancel-reason-modal .td-status-confirm-dialog {
  border-color: rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

html[data-member-theme="light"] .member-follow-up-modal .td-status-confirm-dialog {
  border-color: rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
}

html[data-member-theme="light"] .member-follow-up-modal .td-status-confirm-header h4 {
  color: #172033;
}

html[data-member-theme="light"] .member-follow-up-modal .td-status-confirm-kicker,
html[data-member-theme="light"] .member-follow-up-modal .td-status-confirm-copy,
html[data-member-theme="light"] .member-follow-up-modal .td-escalation-modal-help,
html[data-member-theme="light"] .member-follow-up-modal .td-escalation-modal-meta,
html[data-member-theme="light"] .member-follow-up-modal .manual-field > span {
  color: #64748b;
}

html[data-member-theme="light"] .member-follow-up-modal textarea,
html[data-member-theme="light"] .member-follow-up-modal input[type="file"] {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-follow-up-modal input[type="file"]::file-selector-button {
  border-color: rgba(20, 184, 166, 0.26);
  background: #ffffff;
  color: #172033;
}

html[data-member-theme="light"] .member-follow-up-file-list {
  border-color: rgba(59, 130, 246, 0.28);
  background: #f8fafc;
  color: #64748b;
}

html[data-member-theme="light"] .member-follow-up-file-item {
  border-color: rgba(148, 163, 184, 0.3);
  background: #ffffff;
  color: #172033;
}

html[data-member-theme="light"] .member-follow-up-modal .td-btn {
  border-color: rgba(148, 163, 184, 0.32);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-follow-up-modal .td-btn:not(.td-btn-secondary) {
  border-color: rgba(180, 83, 9, 0.28);
  background: #fef3c7;
  color: #92400e;
}

html[data-member-theme="light"] .member-cancel-reason-modal .td-status-confirm-header h4 {
  color: #172033;
}

html[data-member-theme="light"] .member-cancel-reason-modal .td-status-confirm-kicker,
html[data-member-theme="light"] .member-cancel-reason-modal .td-status-confirm-copy,
html[data-member-theme="light"] .member-cancel-reason-modal .td-escalation-modal-help,
html[data-member-theme="light"] .member-cancel-reason-modal .td-escalation-modal-meta,
html[data-member-theme="light"] .member-cancel-reason-modal .manual-field > span {
  color: #536176;
}

html[data-member-theme="light"] .member-cancel-reason-modal textarea {
  border-color: rgba(17, 24, 39, 0.12);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-cancel-reason-modal .td-btn {
  border-color: rgba(17, 24, 39, 0.1);
  background: #f8fafc;
  color: #172033;
}

html[data-member-theme="light"] .member-cancel-reason-modal .td-btn.danger {
  border-color: rgba(185, 28, 28, 0.24);
  background: #fff1f2;
  color: #991b1b;
}

html[data-member-theme="light"] .member-profile-summary-card strong,
html[data-member-theme="light"] .member-profile-item,
html[data-member-theme="light"] .member-fullcard-meta .member-status-pill {
  color: #16202b;
}

html[data-member-theme="light"] .member-profile-value {
  color: #203040;
}

html[data-member-theme="light"] .member-profile-hero {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
}

html[data-member-theme="light"] .member-profile-hero h1,
html[data-member-theme="light"] .member-profile-summary-header h2,
html[data-member-theme="light"] .member-profile-group-head h3,
html[data-member-theme="light"] .member-profile-plan-box strong,
html[data-member-theme="light"] .member-profile-summary-card strong,
html[data-member-theme="light"] .member-profile-value {
  color: #16202b;
}

html[data-member-theme="light"] .member-profile-title-pill,
html[data-member-theme="light"] .member-profile-benefit-value,
html[data-member-theme="light"] .member-status-pill {
  border-color: rgba(62, 207, 142, 0.22);
  background: rgba(62, 207, 142, 0.1);
  color: #1d6043;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-utilization-status {
  color: #1d6043;
}

html[data-member-theme="light"] .member-profile-meta,
html[data-member-theme="light"] .member-profile-summary-kicker,
html[data-member-theme="light"] .member-profile-plan-box span,
html[data-member-theme="light"] .member-profile-summary-card span,
html[data-member-theme="light"] .member-profile-group-head p,
html[data-member-theme="light"] .member-profile-benefit-label {
  color: #5f6d7b;
}

html[data-member-theme="light"] .member-profile-summary,
html[data-member-theme="light"] .member-profile-group,
html[data-member-theme="light"] .member-profile-plan-box,
html[data-member-theme="light"] .member-profile-summary-card,
html[data-member-theme="light"] .member-profile-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
}

html[data-member-theme="light"] .member-profile-benefit-value {
  font-weight: 800;
}

/* Portal dashboard polish: keep the first viewport calm, legible, and
   intentionally styled in both themes instead of inheriting dashboard-wide
   button and surface defaults. */
.member-headerbar {
  min-height: 3.75rem;
  padding: 0.55rem 1.1rem;
  border-color: rgba(104, 186, 140, 0.24);
  background: rgba(7, 17, 21, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 30px rgba(0, 0, 0, 0.2);
}

.member-header-actions {
  gap: 0.6rem;
}

.member-headerbar .member-header-ticket,
.member-headerbar .sd-create-ticket-btn {
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.member-headerbar .member-header-ticket:first-child {
  border-color: #8de6ad;
  background: #8de6ad;
  color: #0a2618;
  box-shadow: 0 8px 18px rgba(62, 207, 142, 0.16);
}

.member-headerbar .member-header-ticket:first-child:hover,
.member-headerbar .member-header-ticket:first-child:focus-visible {
  border-color: #b4f2c8;
  background: #b4f2c8;
  color: #071d12;
}

.member-headerbar .member-header-ticket:not(:first-child) {
  border-color: rgba(148, 190, 169, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f7ee;
}

.member-headerbar .member-header-ticket:not(:first-child):hover,
.member-headerbar .member-header-ticket:not(:first-child):focus-visible {
  border-color: rgba(141, 230, 173, 0.58);
  background: rgba(141, 230, 173, 0.12);
  color: #f3fff6;
}

.member-headerbar .sd-icon-btn.notification-trigger {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.9rem;
}

.member-hero-panel {
  width: min(100%, 1180px);
  gap: 1.15rem;
}

.member-hero-copy {
  max-width: 78rem;
}

.member-hero-panel h2 {
  color: #f4f8ff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.member-hero-body {
  max-width: 68rem;
  color: #aab9c9;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.member-er-guard-banner {
  width: min(100%, 1020px);
  min-height: 10.5rem;
  padding: 1.55rem 1.75rem;
  border-color: rgba(141, 230, 173, 0.34);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(188, 241, 112, 0.14), transparent 28%),
    linear-gradient(135deg, #123d32 0%, #17382f 58%, #24452f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.2);
}

.member-er-guard-banner .member-banner-copy {
  min-width: 0;
}

.member-er-guard-banner .member-banner-kicker {
  margin-bottom: 0.55rem;
  color: #a8f0be !important;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.member-er-guard-banner h3 {
  max-width: 42rem;
  margin-bottom: 0.45rem;
  color: #f5fff8;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}

.member-er-guard-banner p:not(.member-banner-kicker) {
  max-width: 48rem;
  color: #c5dcd0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.member-er-guard-banner .member-banner-btn {
  min-width: 8.8rem;
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
  border-color: #d9f27f;
  border-radius: 0.95rem;
  background: #d9f27f;
  color: #132515;
  font-size: 0.92rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.member-er-guard-banner .member-banner-btn:hover,
.member-er-guard-banner .member-banner-btn:focus-visible {
  border-color: #efffb6;
  background: #efffb6;
  color: #0e1b10;
}

html[data-member-theme="light"] .member-headerbar {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 30px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-headerbar .member-header-ticket:first-child,
html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn:first-child {
  border-color: #176b45;
  background: #176b45;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 107, 69, 0.16);
}

html[data-member-theme="light"] .member-headerbar .member-header-ticket:first-child:hover,
html[data-member-theme="light"] .member-headerbar .member-header-ticket:first-child:focus-visible,
html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn:first-child:hover,
html[data-member-theme="light"] .member-headerbar .sd-create-ticket-btn:first-child:focus-visible {
  border-color: #0e4d31;
  background: #0e4d31;
  color: #ffffff;
}

html[data-member-theme="light"] .member-headerbar .member-header-ticket:not(:first-child) {
  border-color: rgba(15, 23, 42, 0.14);
  background: #f6faf8;
  color: #183328;
}

html[data-member-theme="light"] .member-headerbar .member-header-ticket:not(:first-child):hover,
html[data-member-theme="light"] .member-headerbar .member-header-ticket:not(:first-child):focus-visible {
  border-color: rgba(23, 107, 69, 0.35);
  background: #e8f6ed;
  color: #0e4d31;
}

html[data-member-theme="light"] .member-hero-panel h2 {
  color: #14251d;
}

html[data-member-theme="light"] .member-hero-body {
  color: #526477;
}

html[data-member-theme="light"] .member-er-guard-banner {
  border-color: rgba(23, 107, 69, 0.2);
  background: #e8f7ee;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 36px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] .member-er-guard-banner .member-banner-kicker {
  color: #176b45 !important;
}

html[data-member-theme="light"] .member-er-guard-banner h3 {
  color: #163322;
}

html[data-member-theme="light"] .member-er-guard-banner p:not(.member-banner-kicker) {
  color: #476555;
}

html[data-member-theme="light"] .member-er-guard-banner .member-banner-btn {
  border-color: #176b45;
  background: #176b45;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(23, 107, 69, 0.14);
}

html[data-member-theme="light"] .member-er-guard-banner .member-banner-btn:hover,
html[data-member-theme="light"] .member-er-guard-banner .member-banner-btn:focus-visible {
  border-color: #0e4d31;
  background: #0e4d31;
  color: #ffffff;
}

@media (max-width: 720px) {
  .member-headerbar {
    padding: 0.65rem 0.8rem;
  }

  .member-header-actions {
    width: 100%;
    gap: 0.45rem;
  }

  .member-headerbar .member-header-ticket,
  .member-headerbar .sd-create-ticket-btn {
    min-height: 2.35rem;
    padding-inline: 0.78rem;
    font-size: 0.82rem;
  }

  .member-er-guard-banner {
    padding: 1.25rem;
  }
}

html[data-member-theme="light"] .member-profile-kicker,
html[data-member-theme="light"] .member-profile-group-head p,
html[data-member-theme="light"] .member-profile-plan-box span,
html[data-member-theme="light"] .member-profile-summary-card span,
html[data-member-theme="light"] .member-profile-label,
html[data-member-theme="light"] .member-profile-benefit-label {
  color: #3f6548;
}

html[data-member-theme="light"] .member-profile-group-head h3,
html[data-member-theme="light"] .member-profile-summary-kicker,
html[data-member-theme="light"] .member-profile-summary-header h2 {
  color: #16202b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-coverage-label {
  color: #3f6548;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-coverage-list li {
  color: #203040;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-coverage-list li::before {
  background: #3fbd7d;
}

html[data-member-theme="light"] body.member-profile-body .member-detail-edit-button {
  border-color: rgba(29, 96, 67, 0.24);
  background: linear-gradient(180deg, rgba(237, 252, 244, 0.98), rgba(224, 246, 233, 0.98));
  color: #1d6043;
}

html[data-member-theme="light"] body.member-profile-body .member-detail-edit-button:hover,
html[data-member-theme="light"] body.member-profile-body .member-detail-edit-button:focus-visible {
  border-color: rgba(29, 96, 67, 0.36);
  background: linear-gradient(180deg, rgba(219, 246, 229, 0.98), rgba(203, 239, 218, 0.98));
  color: #123a28;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-modal .manual-ticket-backdrop {
  background: rgba(8, 15, 22, 0.58);
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-dialog {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(15, 23, 42, 0.12);
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-header-copy small,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-header-copy p,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-close {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-close {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-close:hover,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-close:focus-visible {
  border-color: rgba(29, 96, 67, 0.28);
  background: rgba(237, 252, 244, 0.98);
  color: #1d6043;
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.12);
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-header-copy h2 {
  color: #16202b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-password-section legend,
html[data-member-theme="light"] body.member-profile-body .member-profile-password-section > p,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field > span {
  color: #15202b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-password-section > p {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field input,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field textarea {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #15202b;
  -webkit-text-fill-color: #15202b;
  color-scheme: light;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field input:focus,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field textarea:focus {
  border-color: rgba(29, 96, 67, 0.34);
  box-shadow: 0 0 0 1px rgba(29, 96, 67, 0.12);
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-field-error,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-form-error {
  border: 1px solid rgba(185, 28, 28, 0.28);
  background: #fff1f2;
  color: #7f1d1d;
  -webkit-text-fill-color: #7f1d1d;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-form-error {
  margin-bottom: 0;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-save-button {
  border-color: rgba(29, 96, 67, 0.22);
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.14), rgba(62, 207, 142, 0.08));
  color: #1d6043;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-save-button:hover,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-save-button:focus-visible {
  border-color: rgba(29, 96, 67, 0.34);
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.18), rgba(62, 207, 142, 0.1));
  color: #123a28;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-cancel-button {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: #344256;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-cancel-button:hover,
html[data-member-theme="light"] body.member-profile-body .member-profile-edit-form .member-edit-cancel-button:focus-visible {
  border-color: rgba(29, 96, 67, 0.24);
  background: rgba(237, 252, 244, 0.96);
  color: #15202b;
}

html[data-member-theme="light"] body.member-profile-body .member-profile-summary .member-profile-summary-kicker {
  color: #3f6548;
}

html[data-member-theme="light"] .member-fullcard-grid .member-section-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
}

html[data-member-theme="light"] .member-section-card.accent-mint,
html[data-member-theme="light"] .member-section-card.accent-green,
html[data-member-theme="light"] .member-section-card.accent-teal {
  border-color: rgba(62, 207, 142, 0.18);
}

html[data-member-theme="light"] .member-fullcard-hero {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
}

html[data-member-theme="light"] .member-section-head h3,
html[data-member-theme="light"] .member-section-label,
html[data-member-theme="light"] .member-section-value {
  color: #16202b;
}

html[data-member-theme="light"] .member-section-value.is-empty {
  color: #5f6d7b;
}

html[data-member-theme="light"] .member-card::before,
html[data-member-theme="light"] .member-card::after {
  opacity: 0.55;
}

html[data-member-theme="light"] .member-shell .member-flash,
html[data-member-theme="light"] .member-profile-page .member-flash,
html[data-member-theme="light"] .member-fullcard-page .member-flash {
  background: rgba(255, 255, 255, 0.94);
}

html[data-member-theme="light"] .member-flash.success {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(237, 252, 244, 0.98);
  color: #0f3d2a;
}

html[data-member-theme="light"] .member-flash.error,
html[data-member-theme="light"] .member-flash.danger,
html[data-member-theme="light"] .member-embed-form-error,
html[data-member-theme="light"] .member-embed-consent-error,
html[data-member-theme="light"] .member-embed-field-error {
  background: rgba(255, 243, 243, 0.96);
  color: #a4262c;
}

html[data-member-theme="light"] body.member-create-ticket-body {
  color-scheme: light;
  background:
    radial-gradient(circle at 16% 8%, rgba(84, 215, 242, 0.16), transparent 22%),
    radial-gradient(circle at 88% 4%, rgba(255, 176, 42, 0.14), transparent 24%),
    radial-gradient(circle at 72% 96%, rgba(255, 93, 130, 0.1), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef3f7 48%, #e5ebf0 100%);
  color: #15202b;
  --text: #15202b;
  --muted: #5f6d7b;
  --bg-soft: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.12);
  --brand: #1d6043;
  --brand-glow: rgba(84, 215, 242, 0.16);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-card,
html[data-member-theme="light"] body.member-create-ticket-body .member-summary-card,
html[data-member-theme="light"] body.member-create-ticket-body .member-form-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-headline,
html[data-member-theme="light"] body.member-create-ticket-body .member-copy,
html[data-member-theme="light"] body.member-create-ticket-body .member-summary-value,
html[data-member-theme="light"] body.member-create-ticket-body .member-form-card h2,
html[data-member-theme="light"] body.member-create-ticket-body .member-form-card p,
html[data-member-theme="light"] body.member-create-ticket-body .member-field > span,
html[data-member-theme="light"] body.member-create-ticket-body .member-badge {
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-flash {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-flash.error {
  border-color: #fca5a5 !important;
  background: #fff1f2 !important;
  color: #991b1b !important;
  -webkit-text-fill-color: #991b1b;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.08) !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-flash.error strong,
html[data-member-theme="light"] body.member-create-ticket-body .member-flash.error span,
html[data-member-theme="light"] body.member-create-ticket-body .member-flash.error li {
  color: #991b1b !important;
  -webkit-text-fill-color: #991b1b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-form-error-summary {
  border-color: #fca5a5 !important;
  background: #fff1f2 !important;
  color: #991b1b !important;
  -webkit-text-fill-color: #991b1b;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.08);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-form-error-summary strong,
html[data-member-theme="light"] body.member-create-ticket-body .member-form-error-summary span,
html[data-member-theme="light"] body.member-create-ticket-body .member-form-error-summary li {
  color: #991b1b !important;
  -webkit-text-fill-color: #991b1b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-flash.success {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(237, 252, 244, 0.98);
  color: #0f3d2a;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-summary-label,
html[data-member-theme="light"] body.member-create-ticket-body .member-summary-note,
html[data-member-theme="light"] body.member-create-ticket-body .member-note,
html[data-member-theme="light"] body.member-create-ticket-body .manual-ticket-note,
html[data-member-theme="light"] body.member-create-ticket-body .manual-section-label small {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-field input,
html[data-member-theme="light"] body.member-create-ticket-body .member-field select,
html[data-member-theme="light"] body.member-create-ticket-body .member-field textarea,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html[data-member-theme="light"] body.member-create-ticket-body .manual-field select,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field textarea,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"],
html[data-member-theme="light"] body.member-create-ticket-body .member-upload-field input[type="file"] {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #15202b;
  -webkit-text-fill-color: #15202b;
  color-scheme: light;
}

html:not([data-member-theme="light"]) body.member-create-ticket-body .member-date-control__today {
  border: 1px solid rgba(62, 207, 142, 0.42);
  background: rgba(28, 38, 49, 0.96);
  color: #d5e0ec;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

html:not([data-member-theme="light"]) body.member-create-ticket-body .member-date-control__today:hover,
html:not([data-member-theme="light"]) body.member-create-ticket-body .member-date-control__today:focus-visible {
  border-color: rgba(62, 207, 142, 0.72);
  background: rgba(36, 52, 64, 0.98);
  color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.14), 0 8px 18px rgba(0, 0, 0, 0.16);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-date-control__today {
  border: 1px solid rgba(29, 96, 67, 0.3);
  background: #eef8f2;
  color: #1d6043;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-date-control__today:hover,
html[data-member-theme="light"] body.member-create-ticket-body .member-date-control__today:focus-visible {
  border-color: rgba(29, 96, 67, 0.52);
  background: #dff3e8;
  color: #124b35;
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 96, 67, 0.14), 0 8px 18px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field > span,
html[data-member-theme="light"] body.member-create-ticket-body .manual-section-label span {
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field-inline-checkbox,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field-inline-checkbox span {
  color: #334155;
  -webkit-text-fill-color: #334155;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field-inline-checkbox input[type="checkbox"] {
  appearance: auto;
  inline-size: 1rem;
  block-size: 1rem;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  max-width: 1rem;
  max-height: 1rem;
  margin: 0;
  padding: 0;
  flex: 0 0 1rem;
  accent-color: #1d6043;
  color-scheme: light;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field select option {
  background: #ffffff;
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field-error,
html[data-member-theme="light"] body.member-create-ticket-body .member-field-error {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-left: 3px solid #b91c1c;
  border-radius: 8px;
  background: #fff1f2;
  color: #7f1d1d;
  -webkit-text-fill-color: #7f1d1d;
  font-weight: 750;
  line-height: 1.35;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]::-webkit-file-upload-button,
html[data-member-theme="light"] body.member-create-ticket-body .member-upload-field input[type="file"]::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body .member-upload-field input[type="file"]::-webkit-file-upload-button {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]:hover::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]:hover::-webkit-file-upload-button,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]:focus-visible::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body .manual-field input[type="file"]:focus-visible::-webkit-file-upload-button {
  border-color: rgba(29, 96, 67, 0.32);
  background: rgba(248, 251, 253, 0.98);
  filter: none;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 24px rgba(15, 23, 42, 0.06);
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__empty {
  border-color: rgba(29, 96, 67, 0.18);
  background: rgba(237, 252, 244, 0.86);
  color: #405464;
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker] {
  width: 100%;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: #15202b;
  -webkit-text-fill-color: #15202b;
  color-scheme: light;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]::-webkit-file-upload-button {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:hover::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:hover::-webkit-file-upload-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:focus-visible::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:focus-visible::-webkit-file-upload-button {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(62, 207, 142, 0.08);
  color: #15202b;
  filter: none;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__item {
  border-color: rgba(29, 96, 67, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__index {
  border-color: rgba(29, 96, 67, 0.22);
  background: rgba(62, 207, 142, 0.12);
  color: #1d6043;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__name {
  color: #15202b;
  -webkit-text-fill-color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__meta {
  color: #35624d;
  -webkit-text-fill-color: #35624d;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #16202b;
  box-shadow: none;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove:hover,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove:focus-visible,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add:hover,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add:focus-visible {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(62, 207, 142, 0.08);
  color: #15202b;
}
html[data-member-theme="light"] body.member-create-ticket-body .manual-field[data-member-manual-loa-supporting-document-field],
html[data-member-theme="light"] body.member-create-ticket-body .manual-field.manual-field-full[data-member-manual-loa-supporting-document-field] {
  background: transparent !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__controls,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__list,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__empty,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__item,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__index,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__name,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__meta,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add,
html[data-member-theme="light"] body.member-create-ticket-body .manual-ticket-note.supporting-document-stack__hint,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker] {
  color-scheme: light !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important,
    0 12px 24px rgba(15, 23, 42, 0.06) !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-ticket-note.supporting-document-stack__hint,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__empty {
  border-color: rgba(29, 96, 67, 0.18) !important;
  background: rgba(237, 252, 244, 0.86) !important;
  color: #405464 !important;
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker] {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 4.25rem !important;
  padding: 0.45rem !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #15202b !important;
  -webkit-text-fill-color: #15202b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]::-webkit-file-upload-button {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #15202b !important;
  -webkit-text-fill-color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:hover::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:hover::-webkit-file-upload-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:focus-visible::file-selector-button,
html[data-member-theme="light"] body.member-create-ticket-body [data-supporting-document-picker]:focus-visible::-webkit-file-upload-button {
  border-color: rgba(62, 207, 142, 0.24) !important;
  background: rgba(62, 207, 142, 0.08) !important;
  color: #15202b !important;
  -webkit-text-fill-color: #15202b !important;
  filter: none !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__item {
  border-color: rgba(29, 96, 67, 0.18) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__index {
  border-color: rgba(29, 96, 67, 0.22) !important;
  background: rgba(62, 207, 142, 0.12) !important;
  color: #1d6043 !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__name {
  color: #15202b !important;
  -webkit-text-fill-color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__meta {
  color: #35624d !important;
  -webkit-text-fill-color: #35624d !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #16202b !important;
  box-shadow: none !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove:hover,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__remove:focus-visible,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add:hover,
html[data-member-theme="light"] body.member-create-ticket-body .supporting-document-stack__add:focus-visible {
  border-color: rgba(62, 207, 142, 0.24) !important;
  background: rgba(62, 207, 142, 0.08) !important;
  color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-list {
  z-index: 1000 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.99)) !important;
  color: #15202b !important;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12) !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-item {
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-item strong {
  color: #15202b !important;
  -webkit-text-fill-color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-meta {
  color: #5f6d7b !important;
  -webkit-text-fill-color: #5f6d7b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-item:hover,
html[data-member-theme="light"] body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] .manual-suggestion-item:focus-visible {
  border-color: rgba(62, 207, 142, 0.24) !important;
  background: rgba(62, 207, 142, 0.08) !important;
  color: #15202b !important;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-hero-top .member-badge {
  margin: 0;
}

html[data-member-theme="light"] body.member-embed-body {
  color-scheme: light;
  --embed-bg: radial-gradient(circle at 16% 8%, rgba(84, 215, 242, 0.16), rgba(84, 215, 242, 0) 30%), radial-gradient(circle at 88% 6%, rgba(255, 176, 42, 0.14), rgba(255, 176, 42, 0) 24%), radial-gradient(circle at 72% 96%, rgba(255, 93, 130, 0.1), rgba(255, 93, 130, 0) 24%), linear-gradient(180deg, #f8fbfd 0%, #edf3f7 100%);
  --embed-surface: rgba(255, 255, 255, 0.94);
  --embed-surface-strong: rgba(248, 251, 253, 0.98);
  --embed-border: rgba(15, 23, 42, 0.1);
  --embed-border-strong: rgba(84, 215, 242, 0.24);
  --embed-text: #15202b;
  --embed-muted: #5f6d7b;
  --embed-accent: #1d6043;
  --embed-accent-soft: rgba(84, 215, 242, 0.12);
  color: var(--embed-text);
  background: var(--embed-bg);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-tab,
html[data-member-theme="light"] body.member-embed-body .member-embed-auth-note,
html[data-member-theme="light"] body.member-embed-body .member-embed-signup-stage,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-dialog,
html[data-member-theme="light"] body.member-embed-body .member-embed-form-error,
html[data-member-theme="light"] body.member-embed-body .flash-error,
html[data-member-theme="light"] body.member-embed-body .flash-success,
html[data-member-theme="light"] body.member-embed-body .member-embed-consent-toggle,
html[data-member-theme="light"] body.member-embed-body .member-embed-field input,
html[data-member-theme="light"] body.member-embed-body .member-embed-field textarea {
  border-color: var(--embed-border);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-tab,
html[data-member-theme="light"] body.member-embed-body .member-embed-footer button,
html[data-member-theme="light"] body.member-embed-body .member-embed-actions button,
html[data-member-theme="light"] body.member-embed-body .member-embed-auth-actions a,
html[data-member-theme="light"] body.member-embed-body .member-embed-auth-actions button,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-close {
  background: rgba(255, 255, 255, 0.96);
  color: var(--embed-text);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-tab.is-active {
  border-color: rgba(29, 96, 67, 0.45);
  background: var(--embed-accent);
  color: #f7fbff;
  box-shadow: 0 10px 24px rgba(29, 96, 67, 0.2);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-actions button {
  border-color: rgba(29, 96, 67, 0.45);
  background: var(--embed-accent);
  color: #f7fbff;
  box-shadow: 0 10px 24px rgba(29, 96, 67, 0.2);
}

html[data-member-theme="light"] body.member-embed-body .password-toggle-button,
html[data-member-theme="light"] body.member-login-body .password-toggle-button {
  border-color: rgba(148, 163, 184, 0.75);
  background: #eef2f6;
  color: #486174;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-embed-body .password-toggle-button:hover,
html[data-member-theme="light"] body.member-embed-body .password-toggle-button:focus-visible,
html[data-member-theme="light"] body.member-login-body .password-toggle-button:hover,
html[data-member-theme="light"] body.member-login-body .password-toggle-button:focus-visible {
  border-color: rgba(29, 96, 67, 0.45);
  background: #e2f4eb;
  color: #1d6043;
  box-shadow: 0 0 0 3px rgba(29, 96, 67, 0.14);
}

html[data-member-theme="light"] body.member-embed-body .password-toggle-button[data-password-visible="1"],
html[data-member-theme="light"] body.member-login-body .password-toggle-button[data-password-visible="1"],
html[data-member-theme="light"] body.member-profile-body .password-toggle-button[data-password-visible="1"] {
  color: #1d6043;
}

html[data-member-theme="light"] body.member-profile-body .password-toggle-button {
  border-color: rgba(148, 163, 184, 0.75);
  background: #eef2f6;
  color: #486174;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-profile-body .password-toggle-button:hover,
html[data-member-theme="light"] body.member-profile-body .password-toggle-button:focus-visible {
  border-color: rgba(29, 96, 67, 0.45);
  background: #e2f4eb;
  color: #1d6043;
  box-shadow: 0 0 0 3px rgba(29, 96, 67, 0.14);
  outline: none;
}

body.member-embed-body .member-embed-alerts:empty,
body.member-embed-body .member-embed-form-error:empty,
body.member-embed-body .member-embed-field-error:empty,
body.member-embed-body .member-embed-consent-error:empty,
body.member-embed-body [data-member-signup-account-error]:empty,
body.member-embed-body .member-embed-alerts[hidden],
body.member-embed-body .member-embed-form-error[hidden],
body.member-embed-body .member-embed-field-error[hidden],
body.member-embed-body .member-embed-consent-error[hidden],
body.member-embed-body [data-member-signup-account-error][hidden] {
  display: none !important;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-form-error {
  border-color: rgba(229, 91, 91, 0.28);
  background: rgba(255, 241, 241, 0.98);
  color: #a4262c;
}

html[data-member-theme="light"] body.member-embed-body .flash-success {
  border-color: rgba(62, 207, 142, 0.24);
  background: rgba(237, 252, 244, 0.98);
  color: #0f3d2a;
}

html[data-member-theme="light"] body.member-embed-body .flash-error {
  border-color: rgba(229, 91, 91, 0.28);
  background: rgba(255, 241, 241, 0.98);
  color: #a4262c;
}

body.member-embed-body .login-flash--security {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: none;
}

body.member-embed-body .login-flash--security .login-flash-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  box-shadow: none;
}

body.member-embed-body .login-flash--security .login-flash-copy {
  gap: 0.12rem;
}

body.member-embed-body .login-flash--security .login-flash-copy strong {
  font-size: 0.85rem;
  letter-spacing: 0;
}

body.member-embed-body .login-flash--security .login-flash-copy span {
  font-size: 0.92rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--security {
  border-color: #f0c9c5 !important;
  border-left: 3px solid #d66a62 !important;
  background: #fff8f7 !important;
  color: #713b38 !important;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--security .login-flash-icon {
  border-color: #f0d0cc;
  background: #fbe9e6;
  color: #a9443d;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--security .login-flash-copy strong {
  color: #873c37 !important;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--security .login-flash-copy span {
  color: #713b38 !important;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--email-otp {
  border-color: rgba(180, 83, 9, 0.42) !important;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.98)) !important;
  color: #78350f !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 38px rgba(180, 83, 9, 0.14) !important;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--email-otp .login-flash-icon {
  border-color: rgba(180, 83, 9, 0.42);
  background: rgba(253, 230, 138, 0.72);
  color: #b45309;
  box-shadow: 0 10px 20px rgba(180, 83, 9, 0.12);
}

html[data-member-theme="light"] body.member-embed-body .login-flash--email-otp .login-flash-copy strong {
  color: #92400e !important;
}

html[data-member-theme="light"] body.member-embed-body .login-flash--email-otp .login-flash-copy span {
  color: #78350f !important;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-signup-stage--review,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-table th,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-table td,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-body p,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-body li,
html[data-member-theme="light"] body.member-embed-body .member-embed-consent-text,
html[data-member-theme="light"] body.member-embed-body .member-embed-review-note,
html[data-member-theme="light"] body.member-embed-body .member-embed-help {
  color: var(--embed-text);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-copy,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-preformatted,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-body p,
html[data-member-theme="light"] body.member-embed-body .member-embed-modal-body li,
html[data-member-theme="light"] body.member-embed-body .flash-error,
html[data-member-theme="light"] body.member-embed-body .flash-success {
  color: var(--embed-muted);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-modal-backdrop {
  background: rgba(8, 15, 22, 0.58);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-field input,
html[data-member-theme="light"] body.member-embed-body .member-embed-field textarea {
  background: rgba(255, 255, 255, 0.96);
  color: var(--embed-text);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-field input[readonly] {
  background: rgba(245, 248, 252, 0.96);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-field-error {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-left: 3px solid #b91c1c;
  border-radius: 8px;
  background: #fff1f2;
  color: #7f1d1d;
  -webkit-text-fill-color: #7f1d1d;
  box-shadow: none;
  font-weight: 750;
  font-size: 0.82rem;
  line-height: 1.35;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-form-error,
html[data-member-theme="light"] body.member-embed-body .member-embed-consent-error,
html[data-member-theme="light"] .member-cancel-reason-modal .manual-field-error,
html[data-member-theme="light"] .reset-field-error {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(185, 28, 28, 0.28);
  border-left: 3px solid #b91c1c;
  border-radius: 8px;
  background: #fff1f2;
  color: #7f1d1d;
  -webkit-text-fill-color: #7f1d1d;
  font-weight: 750;
  line-height: 1.35;
}

html[data-member-theme="light"] .reset-form-error {
  border-color: rgba(185, 28, 28, 0.28);
  border-left: 3px solid #b91c1c;
  background: #fff1f2;
  color: #7f1d1d;
  -webkit-text-fill-color: #7f1d1d;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-consent-toggle.has-error,
html[data-member-theme="light"] body.member-embed-body .member-embed-field.has-error input,
html[data-member-theme="light"] body.member-embed-body .member-embed-field.has-error textarea {
  border-color: rgba(229, 91, 91, 0.72);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-consent-toggle {
  align-items: center;
  gap: 0.7rem 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-consent-toggle input[type="checkbox"] {
  appearance: auto;
  margin-top: 0;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  min-height: 1.05rem;
  max-width: 1.05rem;
  max-height: 1.05rem;
  padding: 0;
  flex: 0 0 1.05rem;
  border-radius: 0.25rem;
  accent-color: var(--embed-accent);
  color-scheme: light;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-consent-toggle .member-embed-consent-text {
  min-width: 0;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-consent-hint {
  left: 0.95rem;
  right: 0.95rem;
  width: auto;
  max-width: none;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-modal-body table {
  background: rgba(255, 255, 255, 0.96);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-hero-top {
  align-items: center;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-beta-badge {
  margin-left: 0;
  border-color: rgba(184, 121, 18, 0.42);
  background: rgba(245, 158, 11, 0.14);
  color: #b77912;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step {
  color: #536170;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 3.9rem;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-signup-links a {
  color: var(--embed-accent);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step-circle {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #6a7d8f;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-progress-connector {
  flex: 1 1 3.5rem;
  min-width: 2rem;
  background: rgba(15, 23, 42, 0.12);
}

html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step.is-active,
html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step.is-complete {
  color: #1d6043;
}

html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step.is-active .member-embed-progress-step-circle,
html[data-member-theme="light"] body.member-embed-body .member-embed-progress-step.is-complete .member-embed-progress-step-circle {
  border-color: rgba(29, 96, 67, 0.45);
  background: var(--embed-accent);
  color: #f7fbff;
  box-shadow: 0 10px 24px rgba(29, 96, 67, 0.2);
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-footer {
  border-top-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-footer-summary,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-ellipsis {
  color: #334155;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.98);
  color: #1e293b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(15, 23, 42, 0.08);
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number:hover,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav:hover,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number:focus-visible,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav:focus-visible {
  border-color: rgba(22, 101, 52, 0.28);
  background: #f8fafc;
  color: #0f172a;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number.is-active {
  border-color: rgba(22, 101, 52, 0.28);
  background: #dcfce7;
  color: #166534;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav.is-disabled {
  background: rgba(241, 245, 249, 0.96);
  color: #64748b;
  opacity: 0.78;
}

/* Keep the member dashboard ticket pagination readable when the portal is in light mode. */
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-footer {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-top-color: rgba(15, 23, 42, 0.1) !important;
  background: linear-gradient(180deg, #ffffff, #f4f8fb) !important;
  color: #253244 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-footer-summary,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-ellipsis {
  color: #334155 !important;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav {
  border-color: rgba(15, 23, 42, 0.16) !important;
  background: #ffffff !important;
  color: #1e293b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number:hover,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav:hover,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number:focus-visible,
html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav:focus-visible {
  border-color: rgba(22, 101, 52, 0.28) !important;
  background: #f0faf4 !important;
  color: #0f172a !important;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-number.is-active {
  border-color: rgba(22, 101, 52, 0.32) !important;
  background: #dcfce7 !important;
  color: #166534 !important;
}

html[data-member-theme="light"] body.member-portal-body .member-ticket-panel .member-page-nav.is-disabled {
  background: #f1f5f9 !important;
  color: #64748b !important;
  opacity: 0.78 !important;
}

/* Create-ticket LOA stepper and location picker */
html[data-member-theme="light"] body.member-create-ticket-body .member-location-controls,
html[data-member-theme="light"] body.member-create-ticket-body .member-location-map {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(15, 23, 42, 0.05);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-stepper {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator::before {
  background: #e7edf2;
  color: #475569;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator.is-active {
  color: #15202b;
  background: rgba(220, 252, 231, 0.72);
  box-shadow: inset 0 0 0 1px rgba(29, 96, 67, 0.24);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator.is-active::before,
html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator.is-complete::before {
  background: #1d6043;
  color: #ffffff;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-loa-step-indicator.is-complete {
  color: #1d6043;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-current,
html[data-member-theme="light"] body.member-create-ticket-body .member-location-confirmed {
  border-color: rgba(29, 96, 67, 0.18);
  background: linear-gradient(180deg, rgba(239, 252, 246, 0.94), rgba(255, 255, 255, 0.96));
}

html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address:hover,
html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address:focus-visible,
html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address.is-selected {
  border-color: rgba(29, 96, 67, 0.42);
  background: rgba(239, 252, 246, 0.94);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-current__copy strong,
html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address__copy strong,
html[data-member-theme="light"] body.member-create-ticket-body .member-location-confirmed input {
  color: #15202b;
  -webkit-text-fill-color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-current__copy p,
html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address__copy p,
html[data-member-theme="light"] body.member-create-ticket-body .member-saved-address-empty {
  color: #5f6d7b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-suggestions {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.12);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-suggestion {
  color: #15202b;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-location-map,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-map {
  background: #edf3f6;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-map-confirm {
  color: #ffffff;
  background: #0d8b70;
  box-shadow: 0 12px 24px rgba(13, 139, 112, 0.2);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-progress,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-results {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-progress {
  background:
    radial-gradient(circle at 50% 25%, rgba(13, 139, 112, 0.14), transparent 35%),
    linear-gradient(180deg, #f4fbf8, #ffffff);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-card:hover,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-card:focus-visible,
html[data-member-theme="light"] body.member-create-ticket-body .member-provider-card.is-selected {
  border-color: rgba(29, 96, 67, 0.52);
  background: rgba(239, 252, 246, 0.94);
}

html[data-member-theme="light"] body.member-create-ticket-body .member-provider-validation {
  border-color: rgba(190, 24, 93, 0.28);
  color: #9f1239;
  background: #fff1f2;
}

/* Keep the LOA location step aligned with the supplied two-column reference. */
.member-location-step-heading {
  display: grid;
  gap: 0.28rem;
  margin: 0.2rem 0 0.25rem;
}

.member-location-step-heading span {
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.member-location-step-heading small {
  color: var(--muted);
  font-size: 0.92rem;
}

[data-member-loa-form-intro][hidden] {
  display: none !important;
}

@media (min-width: 1000px) {
  .member-form-card[data-member-manual-ticket-form] {
    padding: clamp(1.35rem, 2.5vw, 2.15rem);
  }

  .member-location-layout {
    grid-template-columns: minmax(340px, 0.36fr) minmax(620px, 0.64fr);
    gap: 1.25rem;
  }

  .member-location-controls {
    padding: 1.15rem;
  }

  .member-location-map {
    min-height: 0;
    height: 250px;
    grid-template-rows: 210px auto;
  }

  .member-location-map > div {
    min-height: 0;
    height: 210px;
  }
}

.member-hmo-coverage-details {
  border: 1px solid #344355;
  border-radius: 0.9rem;
  padding: 1.1rem;
  background: #111a26;
  color: #e4ebf4;
}

.member-hmo-coverage-details-head strong {
  display: block;
  font-size: 1.05rem;
}

.member-hmo-coverage-details-head p {
  margin: 0.25rem 0 0;
  color: #9cabbc;
}

.member-hmo-coverage-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.member-hmo-coverage-details-grid > div {
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.65rem;
  background: rgba(148, 163, 184, 0.06);
}

.member-hmo-coverage-details-grid dt {
  margin: 0 0 0.28rem;
  color: #91a2b6;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.member-hmo-coverage-details-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #edf3fb;
  font-weight: 650;
}

body.member-create-ticket-body .member-facility-suggestions-toggle {
  justify-self: start;
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(69, 212, 159, 0.38);
  border-radius: 999px;
  background: rgba(69, 212, 159, 0.08);
  color: #9ae8c0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* The autocomplete wrapper also contains the suggestions toggle below the
   input, so centering the clear button against the whole wrapper drops it
   below the search field. Anchor it to the first (input) row instead. */
body.member-create-ticket-body .manual-autocomplete[data-member-manual-facility-control] > .manual-autocomplete-clear {
  top: 2.25rem;
}

body.member-create-ticket-body .member-facility-suggestions-toggle:hover,
body.member-create-ticket-body .member-facility-suggestions-toggle:focus-visible {
  border-color: rgba(69, 212, 159, 0.72);
  background: rgba(69, 212, 159, 0.15);
  outline: 2px solid rgba(69, 212, 159, 0.2);
  outline-offset: 2px;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-facility-suggestions-toggle {
  border-color: rgba(29, 96, 67, 0.28);
  background: rgba(29, 96, 67, 0.06);
  color: #1d6043;
}

html[data-member-theme="light"] body.member-create-ticket-body .member-facility-suggestions-toggle:hover,
html[data-member-theme="light"] body.member-create-ticket-body .member-facility-suggestions-toggle:focus-visible {
  border-color: rgba(29, 96, 67, 0.52);
  background: rgba(29, 96, 67, 0.11);
  outline-color: rgba(29, 96, 67, 0.16);
}

html[data-member-theme="light"] .member-hmo-coverage-details {
  border-color: #d4deea;
  background: #f5f8fc;
  color: #17243a;
}

html[data-member-theme="light"] .member-hmo-coverage-details-head p,
html[data-member-theme="light"] .member-hmo-coverage-details-grid dt {
  color: #65758b;
}

html[data-member-theme="light"] .member-hmo-coverage-details-grid > div {
  border-color: #dce4ee;
  background: #fff;
}

html[data-member-theme="light"] .member-hmo-coverage-details-grid dd {
  color: #1a2a40;
}

@media (max-width: 760px) {
  .member-hmo-coverage-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .member-hmo-coverage-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
