/* =============================================================================
   Custom Auth Suite™ — Admin CSS
   -----------------------------------------------------------------------------
   Structure:
   01. Admin shell / shared utilities
   02. Accordions, tables, forms, toggles
   03. Shared badges
   04. Save Settings primary action
   05. Settings import/export, subscribers, email customizer
   06. Wizard UI
   07. Plan gating, plan banner and license rosette
   08. License / Upgrade admin UI
   09. Developer visual lock overlay
   10. Remote Support Diagnostics
   11. Remote Support Diagnostics log viewer
   12. Installation Doctor base UI
   13. Doctor cards, history, tables and cache guidance
   14. CAS Doctor — Support request CTA / report actions
   15. Wizard / Health module cards
   16. Doctor standby launcher and responsive plan banner layout
   17. CAS Remote Messages — admin dashboard carousel
   18. CAS Remote Messages — License / Upgrade commercial placements
   19. CAS Remote Messages — Doctor placements
   20. CAS Settings focus treatment
   21. CAS Auth Pages tool — route consistency UI
   22. Mobile field editor
============================================================================= */

/* =============================================================================
   01. Admin shell / shared utilities
============================================================================= */

.custausu-settings-page {
  position: relative;
  border: 1px solid rgba(136,136,181,.45);
  background: rgb(225,225,237);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
  border-radius: 12px;
  margin-top: 25px;
  padding: 25px;
}

.custausu-settings-page {
  --custausu-doctor-notice-offset: 0px;
}

thead.custausu-head {
  background-color: rgb(225,225,237);
}

.button.is-disabled,
.button.is-disabled:hover,
.button.is-disabled:focus {
  opacity: .45 !important;
  pointer-events: none !important;
  cursor: default !important;
  box-shadow: none !important;
}

.custausu-scrollto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custausu-scrollto__arrow {
  font-weight: 700;
  line-height: 1;
  opacity: .85;
  transition: transform .16s ease;
}

.custausu-scrollto:hover .custausu-scrollto__arrow {
  transform: translateY(2px);
}

.custausu-scroll-target-flash {
  animation: casScrollTargetFlash 1.8s ease;
}

@keyframes casScrollTargetFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(79,70,229,0);
    background-color: transparent;
  }

  20% {
    box-shadow: 0 0 0 4px rgba(79,70,229,.16);
    background-color: rgba(238,242,255,.85);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(79,70,229,0);
    background-color: transparent;
  }
}

/* =============================================================================
   02. Accordions, tables, forms, toggles
============================================================================= */

.custausu-acc {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: #fff;
  margin: 10px 0;
  overflow: hidden;
}

.custausu-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 700;
  background: #f6f7f7;
}

.custausu-acc summary::-webkit-details-marker {
  display: none;
}

.custausu-acc summary::before {
  content: "▸";
  font-size: 14px;
  transform: translateY(-1px);
  transition: transform .15s ease;
}

.custausu-acc[open] summary::before {
  transform: rotate(90deg);
}

.custausu-acc .custausu-acc-body {
  padding: 12px 14px;
}

.custausu-acc small {
  opacity: .75;
  font-weight: 600;
}

.custausu-acc-toolbar {
  flex-wrap: wrap;
}

.custausu-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.custausu-table-wrap table {
  width: 100%;
  table-layout: fixed;
}

.custausu-table-wrap th,
.custausu-table-wrap td,
.custausu-settings-page table.widefat td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-table-wrap code {
  white-space: normal;
}

.custausu-select {
  min-width: 150px;
  max-width: 100%;
}

.custausu-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.custausu-input-row button {
  white-space: nowrap;
}

.custausu-field-alert {
  border-radius: 10px;
  padding: 10px 12px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.custausu-field-alert--error {
  border: 1px solid rgba(179,45,46,.35);
  background: rgba(179,45,46,.07);
  box-shadow: 0 0 0 1px rgba(179,45,46,.04) inset;
}

.custausu-field-alert--warn {
  border: 1px solid rgba(180,90,0,.32);
  background: rgba(255,170,0,.08);
  box-shadow: 0 0 0 1px rgba(180,90,0,.04) inset;
}

.custausu-field-alert__note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.custausu-field-alert__note--error {
  color: #b32d2e;
}

.custausu-field-alert__note--warn {
  color: #a14d00;
}

.custausu-route-block {
  margin: 10px 0 16px 0;
}

.custausu-recaptcha-box {
  align-items: stretch;
}

.custausu-recaptcha-box label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 100%;
}

.custausu-recaptcha-box .description,
.custausu-recaptcha-box span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-threshold-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  align-items: center;
}

.custausu-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.custausu-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.custausu-switch .custausu-slider {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
  background: #c3c4c7;
  transition: .18s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}

.custausu-switch .custausu-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: .18s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.custausu-switch input:checked + .custausu-slider {
  background: #2271b1;
}

.custausu-switch input:checked + .custausu-slider::before {
  transform: translateX(20px);
}

.custausu-switch input:focus + .custausu-slider {
  outline: 2px solid rgba(34,113,177,.35);
  outline-offset: 2px;
}

.custausu-switch .custausu-label {
  line-height: 1.2;
}

.custausu-switch.custausu-switch--sm {
  gap: 8px;
}

.custausu-switch.custausu-switch--sm .custausu-slider {
  width: 40px;
  height: 22px;
}

.custausu-switch.custausu-switch--sm .custausu-slider::before {
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
}

.custausu-switch.custausu-switch--sm input:checked + .custausu-slider::before {
  transform: translateX(18px);
}

@media (max-width: 782px) {
  .custausu-acc summary,
  .custausu-acc .custausu-acc-body {
    padding: 12px;
  }

  .custausu-acc-toolbar {
    justify-content: stretch;
  }

  .custausu-acc-toolbar .button {
    flex: 1;
  }

  .custausu-table-wrap table {
    font-size: 16px;
  }

  .custausu-input-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .custausu-input-row input[type=text],
  .custausu-input-row input[type=url],
  .custausu-input-row input[type=number],
  .custausu-input-row select,
  .custausu-settings-page input.regular-text,
  .custausu-settings-page input[type=text],
  .custausu-settings-page input[type=url],
  .custausu-settings-page input[type=number],
  .custausu-settings-page select,
  .custausu-settings-page textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .custausu-settings-page table.widefat th {
    width: 140px;
    white-space: normal;
  }

  .custausu-settings-page table.widefat td {
    overflow: hidden;
  }

  .custausu-input-row button {
    align-self: flex-start;
  }

  .custausu-threshold-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   03. Shared badges
============================================================================= */

.custausu-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.custausu-badge--plan {
  background: #eef2ff;
  color: #4338ca;
}

.custausu-badge--muted {
  background: #f3f4f6;
  color: #374151;
}

.custausu-badge--ok,
.custausu-doctor-badge--ok,
.custausu-doctor-badge--phase-configured,
.custausu-doctor-badge--health-excellent {
  background: #ecfdf5;
  color: #166534;
}

.custausu-badge--warn,
.custausu-doctor-badge--attention,
.custausu-doctor-badge--health-fair,
.custausu-doctor-badge--phase-setup_in_progress {
  background: #fff7ed;
  color: #9a3412;
}

.custausu-badge--error,
.custausu-doctor-badge--warning,
.custausu-doctor-badge--critical,
.custausu-doctor-badge--health-weak {
  background: #fef2f2;
  color: #991b1b;
}

.custausu-badge--info,
.custausu-doctor-badge--info,
.custausu-doctor-badge--phase-first_install {
  background: #eff6ff;
  color: #1d4ed8;
}

.custausu-badge--preview {
  background: #f5f3ff;
  color: #6d28d9;
}

.custausu-badge--free {
  background: rgba(45,161,91,.14);
  color: #2da15b;
}

.custausu-badge--advanced {
  background: rgba(45,88,161,.14);
  color: #2d58a1;
}

.custausu-badge--premium {
  background: rgba(186,172,127,.22);
  color: #6b6038;
}

.custausu-doctor-badge--health-good {
  background: #eefdf7;
  color: #0f766e;
}

.custausu-wizard-panel__badges,
.custausu-wizard-inline-badges,
.custausu-wizard-health-badges,
.custausu-plan-banner__badges,
.custausu-wizard-summary__badges,
.custausu-gated-section__badges,
.custausu-upgrade-box__badges,
.custausu-doctor-badges,
.custausu-doctor-category-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.custausu-doctor-badges {
  margin: 14px 0 10px;
}

.custausu-doctor-category-card__badges {
  gap: 6px;
  justify-content: flex-end;
}

/* =============================================================================
   04. Save Settings primary action
============================================================================= */

.custausu-save-settings-anchor {
  margin-top: 18px;
}

.custausu-settings-page form .custausu-save-settings-btn.button-primary,
.custausu-settings-page form p.submit .button-primary,
#custausu-save-settings-float .custausu-save-settings-btn--floating {
  min-height: 48px;
  padding: 11px 20px !important;
  border-radius: 12px !important;
  background: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow:
    0 3px 0 #1e7e34,
    0 10px 22px rgba(40,167,69,.22) !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition:
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease,
    opacity .16s ease;
}

.custausu-settings-page form .custausu-save-settings-btn.button-primary:hover,
.custausu-settings-page form p.submit .button-primary:hover,
#custausu-save-settings-float .custausu-save-settings-btn--floating:hover,
.custausu-settings-page form .custausu-save-settings-btn.button-primary:focus,
.custausu-settings-page form p.submit .button-primary:focus,
#custausu-save-settings-float .custausu-save-settings-btn--floating:focus {
  background: #218838 !important;
  border-color: #1e7e34 !important;
  color: #fff !important;
  box-shadow:
    0 3px 0 #1c7430,
    0 12px 24px rgba(40,167,69,.28),
    0 0 0 3px rgba(40,167,69,.18) !important;
  transform: translateY(-1px);
}

.custausu-settings-page form .custausu-save-settings-btn.button-primary:active,
.custausu-settings-page form p.submit .button-primary:active,
#custausu-save-settings-float .custausu-save-settings-btn--floating:active {
  background: #1e7e34 !important;
  border-color: #1c7430 !important;
  color: #fff !important;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.18),
    0 0 0 3px rgba(40,167,69,.14) !important;
  transform: translateY(1px);
}

.custausu-settings-page form .custausu-save-settings-btn.button-primary:disabled,
.custausu-settings-page form p.submit .button-primary:disabled,
#custausu-save-settings-float .custausu-save-settings-btn--floating:disabled {
  cursor: not-allowed !important;
  background: #c3c4c7 !important;
  border-color: #c3c4c7 !important;
  color: #50575e !important;
  box-shadow: none !important;
  opacity: .9;
  transform: none;
}

.custausu-save-settings-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(22px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility 0s linear .22s;
}

.custausu-save-settings-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.custausu-save-settings-float .custausu-save-settings-btn--floating {
  min-height: 58px;
  padding: 15px 24px !important;
  border-radius: 14px !important;
  font-size: 18px;
  box-shadow:
    0 4px 0 #1e7e34,
    0 16px 32px rgba(0,0,0,.24),
    0 0 0 5px rgba(40,167,69,.12) !important;
}

@media (max-width: 782px) {
  .custausu-settings-page form .custausu-save-settings-btn.button-primary,
  .custausu-settings-page form p.submit .button-primary {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    font-size: 16px;
  }

  .custausu-save-settings-float {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .custausu-save-settings-float .custausu-save-settings-btn--floating {
    width: 100%;
    max-width: none;
    min-height: 58px;
    display: flex !important;
  }
}

/* =============================================================================
   05. Settings import/export, subscribers, email customizer
============================================================================= */

.custausu-export-subscribers-section {
  margin: 18px 0 22px;
}

.custausu-export-subscribers-box {
  background: #fff;
  border: 1px solid #ccd0d4;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.custausu-export-subscribers-box__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.custausu-export-subscribers-box__desc {
  margin: 0 0 12px;
  color: #50575e;
}

.custausu-export-subscribers-box__actions {
  margin: 0;
}

.custausu-email-type .custausu-email-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.custausu-email-type .custausu-email-help {
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
}

.custausu-email-type .custausu-email-help h4 {
  margin: 0 0 8px 0;
  font-size: 13px;
}

.custausu-email-type .custausu-email-help code {
  display: block;
  padding: 8px 10px;
  border: 1px solid #ccd0d4;
  background: #f6f7f7;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.custausu-settings-transfer {
  width: 100%;
  table-layout: auto;
  margin-top: 14px;
}

.custausu-settings-transfer__head-cell {
  padding: 10px 12px;
}

.custausu-settings-transfer__title {
  margin: 0;
  font-size: 18px;
}

.custausu-settings-transfer__export-button {
  margin-right: 10px;
}

.custausu-settings-transfer__export-note {
  line-height: 21px;
  vertical-align: bottom;
}

.custausu-import-settings-form {
  margin: 0;
}

.custausu-logs-tools {
  margin-top: 14px;
}

.custausu-logs-tools__head-cell {
  padding: 10px 12px;
}

.custausu-logs-tools__title {
  margin: 0;
  font-size: 18px;
}

.custausu-logs-tools__description {
  margin: 0;
  line-height: 21px;
  vertical-align: bottom;
}

.custausu-logs-tools__description--spaced {
  margin-top: 8px;
}

.custausu-reset-tools {
  margin-top: 14px;
}

.custausu-reset-tools__head-cell {
  padding: 10px 12px;
}

.custausu-reset-tools__title {
  margin: 0;
  font-size: 18px;
}

.custausu-reset-settings-form {
  margin: 0;
}

.custausu-reset-settings__button {
  margin-right: 10px;
}

.custausu-reset-settings__description {
  margin-top: 8px;
}

.custausu-uninstall-tools {
  margin-top: 14px;
}

.custausu-uninstall-tools__head-cell {
  padding: 10px 12px;
}

.custausu-uninstall-tools__title {
  margin: 0;
  font-size: 18px;
}

.custausu-uninstall-tools__description {
  margin-top: 8px;
}

.custausu-uninstall-tools__description--warning {
  color: #b45309;
  font-weight: 600;
}

.custausu-section-custausu-communications {
  margin-top: 14px;
}

.custausu-communications__head-cell {
  padding: 10px 12px;
}

.custausu-communications__title {
  margin: 0;
  font-size: 18px;
}

.custausu-communications__description {
  max-width: 900px;
}

.custausu-protected-paths {
  margin-top: 14px;
}

.custausu-protected-paths__head-cell {
  padding: 10px 12px;
}

.custausu-protected-paths__title {
  margin: 0;
  font-size: 18px;
}

.custausu-protected-paths__textarea {
  width: 100%;
  max-width: 900px;
}

.custausu-polylang__head-cell {
  padding: 10px 12px;
}

.custausu-polylang__title {
  margin: 0;
  font-size: 18px;
}

.custausu-polylang__label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.custausu-polylang__label--disabled {
  opacity: .7;
}

.custausu-debug-tools {
  margin-top: 14px;
}

.custausu-debug-tools__head-cell {
  padding: 10px 12px;
}

.custausu-debug-tools__title {
  margin: 0;
  font-size: 18px;
}

.custausu-debug-tools__options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.custausu-debug-tools__verbose-toggle {
  margin: 2px 0 10px;
}

.custausu-debug-channels[disabled] {
  opacity: .55;
}

.custausu-webauthn-settings {
  margin-top: 14px;
}

.custausu-webauthn-settings__head-cell {
  padding: 10px 12px;
}

.custausu-webauthn-settings__title {
  margin: 0;
  font-size: 18px;
}

.custausu-webauthn-settings__description {
  margin-top: 0;
}

.custausu-webauthn-settings__description--spaced {
  margin-top: 8px;
}

.custausu-webauthn-settings__number-input {
  width: 120px;
}

.custausu-recaptcha-settings {
  margin-top: 14px;
}

.custausu-recaptcha-settings__head-cell {
  padding: 10px 12px;
}

.custausu-recaptcha-settings__title {
  margin: 0;
  font-size: 18px;
}

.custausu-recaptcha-settings__wp-config-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.custausu-recaptcha-settings__detected-label {
  color: #2db34e;
}

.custausu-recaptcha-settings__detected-names {
  font-size: 11px;
}

.custausu-recaptcha-settings__warning {
  color: #b32d2e;
}

.custausu-recaptcha-settings__threshold-cell {
  max-width: 900px;
}

.custausu-recaptcha-settings__threshold-input {
  max-width: 120px;
}

.custausu-recaptcha-settings__config-notice {
  margin: 12px 0;
}

.custausu-cf7-antibot {
  margin-top: 14px;
}

.custausu-cf7-antibot__head-cell {
  padding: 10px 12px;
}

.custausu-cf7-antibot__title {
  margin: 0;
  font-size: 18px;
}

.custausu-cf7-antibot__status {
  margin: 8px 0 0;
}

.custausu-cf7-antibot__status--error {
  color: #b32d2e;
}

.custausu-cf7-antibot__success-label {
  color: #2db34e;
}

.custausu-cf7-antibot__field-intro {
  margin: 0 0 8px;
}

.custausu-cf7-antibot__shortcode-row {
  max-width: 900px;
}

.custausu-cf7-antibot__shortcode {
  padding: 6px 10px;
  border: 1px solid #ccd0d4;
  border-radius: 6px;
  background: #f6f7f7;
}

.custausu-cf7-antibot__field-note {
  margin: 8px 0 0;
}

.custausu-assets-settings {
  margin-top: 14px;
}

.custausu-assets-settings__head-cell {
  padding: 10px 12px;
}

.custausu-assets-settings__title {
  margin: 0;
  font-size: 18px;
}

.custausu-assets-settings__url-input {
  flex: 1;
}

.custausu-assets-settings__description {
  margin: 6px 0 0;
}

.custausu-assets-settings__login-gif-toggle {
  margin-top: 10px;
}

.custausu-auth-customizer {
  margin-top: 14px;
}

.custausu-auth-customizer__head-cell {
  padding: 10px 12px;
}

.custausu-auth-customizer__title {
  margin: 0;
  font-size: 18px;
}

.custausu-auth-customizer__intro {
  margin-top: 0;
}

.custausu-auth-customizer__option-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
}

.custausu-auth-customizer__option-label {
  min-width: 190px;
  font-weight: 600;
}

.custausu-auth-customizer__option-help {
  max-width: 560px;
}

.custausu-auth-customizer__divider {
  margin: 18px 0;
}

.custausu-auth-customizer__subheading {
  margin: 0 0 8px;
}

.custausu-auth-customizer__footer-note {
  margin-top: 12px;
}

.custausu-routes-settings {
  margin-top: 14px;
}

.custausu-routes-settings__head-cell {
  padding: 10px 12px;
}

.custausu-routes-settings__title {
  margin: 0;
  font-size: 18px;
}

.custausu-routes-settings__language-select {
  min-width: 150px;
}

.custausu-routes-settings__intro,
.custausu-routes-settings__field-group {
  margin: 0 0 10px;
}

.custausu-routes-settings__compact-block {
  margin: 0 0 10px;
}

.custausu-routes-settings__block-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.custausu-routes-settings__help {
  margin: 6px 0 0;
}

.custausu-routes-settings__accordion-cell {
  padding: 0;
  border-top: 0;
}

.custausu-routes-settings__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 10px 0 12px;
}

.custausu-routes-settings__expand-button {
  margin-left: 10px;
}

.custausu-routes-settings__collapse-button {
  margin-right: 10px;
}

.custausu-routes-settings__setup-notice {
  margin: 10px 10px 14px;
}

.custausu-routes-settings__setup-intro {
  margin: 8px 0 10px;
}

.custausu-routes-settings__setup-list {
  margin: 0 0 10px 18px;
  list-style: disc;
}

.custausu-routes-settings__setup-footer {
  margin: 0;
}

.custausu-routes-settings__small-note {
  color: #333;
  font-size: 11px;
}

.custausu-routes-settings__logout-block {
  border-color: rgba(102, 45, 145, .16);
  background: #fbfdff;
}

.custausu-routes-settings__landing-notice {
  margin: 0 0 12px;
}

.custausu-routes-settings__landing-notice--protected {
  border-left-color: #662d91;
  background: #fbf8ff;
}

.custausu-routes-settings__notice-text {
  margin: 7px 0;
}

.custausu-routes-settings__field-label {
  margin: 0 0 6px;
  font-weight: 600;
}

.custausu-routes-settings__path-input {
  flex: 1;
}

.custausu-routes-settings__legal-input {
  width: 100%;
  max-width: 720px;
}

.custausu-settings-transfer col.custausu-st-col-label {
  width: 140px;
}

.custausu-settings-transfer col.custausu-st-col-content {
  width: auto;
}

.custausu-settings-transfer th,
.custausu-settings-transfer td {
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}

.custausu-settings-transfer .custausu-transfer-note,
.custausu-settings-transfer .custausu-import-file {
  margin: 0 0 12px 0;
}

.custausu-settings-transfer .custausu-transfer-note {
  margin-bottom: 10px;
}

.custausu-settings-transfer .custausu-import-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 12px 0;
  max-width: 100%;
}

.custausu-settings-transfer .custausu-import-sections label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  margin: 0;
  min-width: 0;
}

.custausu-settings-transfer .custausu-import-sections label span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.custausu-settings-transfer .custausu-import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

@media (max-width: 1100px) {
  .custausu-email-type .custausu-email-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .custausu-settings-transfer {
    table-layout: auto !important;
    width: 100%;
  }

  .custausu-settings-transfer col.custausu-st-col-label,
  .custausu-settings-transfer th {
    width: 88px !important;
    max-width: 88px !important;
  }

  .custausu-settings-transfer col.custausu-st-col-content {
    width: auto !important;
  }

  .custausu-settings-transfer th {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
  }

  .custausu-settings-transfer td {
    width: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .custausu-settings-transfer .button,
  .custausu-settings-transfer .button-primary {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .custausu-settings-transfer .custausu-import-sections {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .custausu-settings-transfer .custausu-import-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-settings-transfer .custausu-import-actions .button,
  .custausu-settings-transfer .custausu-import-actions .button-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    line-height: 1.25;
  }

  .custausu-settings-transfer input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* =============================================================================
   06. Wizard UI
============================================================================= */

.custausu-wizard-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 10px;
  margin: 14px 0 6px 0;
}

.custausu-wizard-step {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 10px 12px;
  transition: all .14s ease;
}

.custausu-wizard-step:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.custausu-wizard-step:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(59,130,246,.14);
}

.custausu-wizard-step--current,
.custausu-wizard-step--current.custausu-wizard-step--done {
  border-color: #8b5cf6;
  background: linear-gradient(180deg,#f5f3ff 0%, #eef2ff 100%);
  box-shadow:
    0 0 0 3px rgba(139,92,246,.16),
    0 10px 22px rgba(139,92,246,.12);
  transform: translateY(-2px);
  animation: casWizardCurrentGlow .7s ease-out 1;
}

.custausu-wizard-step--done {
  border-color: #86efac;
  background: #ecfdf5;
}

.custausu-wizard-step--warn {
  border-color: #f0b849;
  background: #fff8e8;
}

.custausu-wizard-step--error {
  border-color: #e06c75;
  background: #fff1f2;
}

.custausu-wizard-step--preview-muted {
  background: rgba(46,160,67,.05);
  border-color: rgba(46,160,67,.22);
}

.custausu-wizard-step__link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}

.custausu-wizard-step__link:focus,
.custausu-wizard-step__link:focus-visible,
.custausu-wizard-step__link:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.custausu-wizard-step__key {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: #374151;
}

.custausu-wizard-step__title {
  font-size: 13px;
  line-height: 1.35;
  color: #374151;
  margin-bottom: 6px;
}

.custausu-wizard-step--current .custausu-wizard-step__key,
.custausu-wizard-step--current.custausu-wizard-step--done .custausu-wizard-step__key,
.custausu-wizard-step--current .custausu-wizard-step__title,
.custausu-wizard-step--current.custausu-wizard-step--done .custausu-wizard-step__title {
  color: #5b21b6;
}

.custausu-wizard-step--done .custausu-wizard-step__key {
  color: #166534;
}

.custausu-wizard-step--warn .custausu-wizard-step__key,
.custausu-wizard-step--warn .custausu-wizard-step__title {
  color: #9a5a00;
}

.custausu-wizard-step--error .custausu-wizard-step__key,
.custausu-wizard-step--error .custausu-wizard-step__title {
  color: #b42318;
}

.custausu-wizard-step--preview-muted .custausu-wizard-step__key,
.custausu-wizard-step--preview-muted .custausu-wizard-step__title {
  opacity: .88;
}

.custausu-wizard-step__meta {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.custausu-wizard-step__meta .custausu-badge {
  font-size: 11px;
  line-height: 1.1;
  padding: 3px 8px;
}

.custausu-wizard-panel__body {
  padding: 18px;
}

.custausu-wizard-panel__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.custausu-wizard-panel__step-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.custausu-wizard-text {
  margin: 0 0 12px 0;
  line-height: 1.6;
  color: #374151;
}

.custausu-wizard-status {
  margin: 0 0 10px 0;
  line-height: 1.55;
  font-weight: 700;
}

.custausu-wizard-status--ok {
  color: #166534;
}

.custausu-wizard-status--error {
  color: #b91c1c;
}

.custausu-wizard-status--warn {
  color: #c2a70c;
}

.custausu-wizard-status--preview {
  color: #6d28d9;
}

.custausu-wizard-tip {
  margin: 10px 0 0 0;
  line-height: 1.55;
}

.custausu-wizard-tip__label {
  font-weight: 700;
  color: #ea7d10;
}

.custausu-wizard-tip__text {
  font-weight: 700;
  color: #34369d;
}

.custausu-wizard-list {
  margin: 0 0 0 18px;
  line-height: 1.6;
  color: #374151;
}

.custausu-wizard-actions,
.custausu-wizard-links,
.custausu-wizard-summary__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.custausu-wizard-actions {
  margin-top: 14px;
}

.custausu-wizard-links,
.custausu-wizard-summary__actions {
  margin-top: 12px;
}

.custausu-wizard-links .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custausu-wizard-section {
  margin-top: 18px;
}

.custausu-wizard-blocking-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #b32d2e;
  font-weight: 600;
}

.custausu-wizard-blocking-banner {
  margin: 0 0 14px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(179,45,46,.35);
  background: rgba(179,45,46,.08);
  color: #8f1d1d;
  font-weight: 600;
}

.custausu-wizard-alert {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.custausu-wizard-alert__title {
  font-weight: 700;
  margin: 0 0 8px 0;
}

.custausu-wizard-alert__list {
  margin: 0;
  padding-left: 18px;
}

.custausu-wizard-alert__list li {
  margin: 0 0 6px 0;
}

.custausu-wizard-alert--ok {
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.08);
  color: #166534;
}

.custausu-wizard-alert--warn {
  border-color: rgba(180,120,0,.32);
  background: rgba(255,174,0,.10);
  color: #9a5b00;
}

.custausu-wizard-alert--error {
  border-color: rgba(185,50,45,.30);
  background: rgba(185,50,45,.08);
  color: #8a2424;
}

.custausu-wizard-alert--preview {
  border-color: rgba(109,40,217,.24);
  background: rgba(245,243,255,.88);
  color: #6d28d9;
}

.custausu-wizard-alert__status-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.custausu-wizard-alert__status-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-top: 2px;
}

.custausu-wizard-alert__status-icon--ok {
  background: #166534;
}

.custausu-wizard-alert__status-icon--warn {
  background: #d97706;
  font-size: 30px;
  line-height: 1;
  padding-bottom: 3px;
}

.custausu-wizard-alert__status-icon--error {
  background: #b91c1c;
}

.custausu-wizard-alert__status-icon--preview {
  background: #7c3aed;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.custausu-wizard-alert__status-content {
  min-width: 0;
  flex: 1 1 auto;
}

.custausu-wizard-alert__status-text {
  margin-top: 6px;
  color: #374151;
  line-height: 1.55;
  font-weight: 500;
}

.custausu-wizard-summary {
  margin: 0 0 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: linear-gradient(180deg,#ffffff 0%, #fafafa 100%);
}

.custausu-wizard-summary__head {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custausu-wizard-summary__title {
  font-size: 15px;
  font-weight: 800;
  color: #1f2937;
}

@keyframes casWizardCurrentGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(139,92,246,0),
      0 0 0 rgba(139,92,246,0);
    transform: translateY(0);
  }

  100% {
    box-shadow:
      0 0 0 3px rgba(139,92,246,.16),
      0 10px 22px rgba(139,92,246,.12);
    transform: translateY(-2px);
  }
}

@media (max-width: 782px) {
  .custausu-wizard-panel__head,
  .custausu-wizard-panel__body,
  .custausu-wizard-summary {
    padding: 14px;
  }

  .custausu-wizard-summary {
    padding: 12px;
  }

  .custausu-wizard-actions .button,
  .custausu-wizard-actions .button-primary,
  .custausu-wizard-actions .button-secondary,
  .custausu-wizard-summary__actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* =============================================================================
   07. Plan gating, plan banner and license rosette
============================================================================= */

.custausu-gated-section {
  position: relative;
  margin-top: 14px;
}

.custausu-gated-section__note {
  margin: 0 0 10px 0;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 4px solid #94a3b8;
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.custausu-gated-section__note--preview {
  border-left-color: #8b5cf6;
  background: linear-gradient(180deg,#faf5ff 0%, #f8fafc 100%);
  border-color: rgba(139,92,246,.18);
}

.custausu-gated-section__message {
  color: #374151;
  line-height: 1.55;
  font-weight: 600;
}

.custausu-gated-section__content {
  position: relative;
}

.custausu-gated-section--preview .custausu-gated-section__content {
  opacity: .58;
}

.custausu-gated-section--preview .custausu-gated-section__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.36);
  backdrop-filter: blur(1px);
  pointer-events: auto;
  cursor: not-allowed;
  border-radius: 12px;
}

.custausu-plan-banner {
  position: relative;
  margin: 18px 0 16px 0;
  padding: 18px 16px 14px 16px;
  padding-right: 140px;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 4px solid #94a3b8;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.custausu-plan-banner--premium {
  border-left-color: #baac7f;
  background: linear-gradient(180deg,rgba(186,172,127,.18) 0%, #f8fafc 100%);
  border-color: rgba(186,172,127,.26);
}

.custausu-plan-banner--advanced {
  border-left-color: #2d58a1;
  background: linear-gradient(180deg,rgba(45,88,161,.10) 0%, #f8fafc 100%);
  border-color: rgba(45,88,161,.18);
}

.custausu-plan-banner--freemium {
  border-left-color: #2da15b;
  background: linear-gradient(180deg,rgba(45,161,91,.10) 0%, #f8fafc 100%);
  border-color: rgba(45,161,91,.18);
}

.custausu-plan-banner__badges {
  margin-bottom: 6px;
}

.custausu-plan-banner__message {
  color: #374151;
  line-height: 1.55;
  font-weight: 600;
}

.custausu-plan-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}

.custausu-plan-banner__btn {
  min-height: 44px;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

.custausu-plan-banner__btn--reset {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #fff !important;
  box-shadow: 0 2px 0 #991b1b;
}

.custausu-plan-banner__btn--reset:hover,
.custausu-plan-banner__btn--reset:focus {
  background: #991b1b !important;
  border-color: #991b1b !important;
  color: #fff !important;
}

.custausu-license-rosette {
  position: absolute;
  top: -10px;
  right: 18px;
  min-width: 112px;
  min-height: 44px;
  padding: 10px 16px 12px 16px;
  border-radius: 0 0 12px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  transform: rotate(2deg);
  z-index: 2;
}

.custausu-license-rosette::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-top: 2px dotted rgba(255,255,255,.55);
  opacity: .9;
}

.custausu-license-rosette::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow:
    58px 0 0 rgba(255,255,255,.92),
    inset 0 0 0 2px rgba(0,0,0,.08);
  opacity: .95;
}

.custausu-license-rosette--freemium {
  background: #2da15b;
  color: #fff;
}

.custausu-license-rosette--advanced {
  background: #2d58a1;
  color: #fff;
}

.custausu-license-rosette--premium {
  background: #baac7f;
  color: #2f2a1d;
}

.custausu-license-rosette--premium::before {
  border-top-color: rgba(47,42,29,.28);
}

.custausu-license-rosette--premium::after {
  background: rgba(255,255,255,.82);
  box-shadow:
    58px 0 0 rgba(255,255,255,.82),
    inset 0 0 0 2px rgba(47,42,29,.10);
}

@media (max-width: 782px) {
  .custausu-gated-section__note {
    padding: 12px;
  }

  .custausu-plan-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-plan-banner__actions .button,
  .custausu-plan-banner__btn {
    width: 100%;
    min-height: 64px;
    padding: 14px 18px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
}

/* =============================================================================
   08. License / Upgrade admin UI
============================================================================= */

#custausu-section-license.custausu-section-license--upgrade,
#custausu-section-license.custausu-section-license--license {
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  table-layout: fixed;
}

#custausu-section-license .custausu-license-table__label-column {
  width: 140px;
}

#custausu-section-license .custausu-license-table__value-column {
  width: auto;
}

/*
 * Remote Support Diagnostics occupies the complete table width.
 *
 * This is intentionally a single colspan row: the former label column made
 * the whole diagnostics interface collapse into a narrow value cell on
 * smaller WordPress admin viewports.
 */
#custausu-section-license .custausu-support-diagnostics-cell {
  width: auto;
  min-width: 0;
  padding: 16px;
  vertical-align: top;
}

#custausu-section-license .custausu-support-diagnostics-section-title {
  margin: 0 0 12px;
  color: #2c3338;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

#custausu-section-license .custausu-license-status-badge,
.custausu-support-diagnostics-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  border: 1px solid transparent;
  box-sizing: border-box;
  vertical-align: middle;
  white-space: nowrap;
}

#custausu-section-license .custausu-license-status-badge.is-valid,
.custausu-support-diagnostics-badge.is-active {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

#custausu-section-license .custausu-license-status-badge.is-invalid,
.custausu-support-diagnostics-badge.is-invalid {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

#custausu-section-license .custausu-license-status-badge.is-neutral,
.custausu-support-diagnostics-badge.is-neutral {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

#custausu-section-license .custausu-license-package-upgrade-note {
  margin: 6px 0 0;
  color: #1d4ed8;
  font-weight: 600;
}

#custausu-section-license .custausu-license-section-heading-cell {
  padding: 10px 12px;
}

#custausu-section-license .custausu-license-section-title {
  margin: 0;
  font-size: 18px;
}

#custausu-section-license .custausu-license-detail-note,
#custausu-section-license .custausu-license-package-cap-note,
#custausu-section-license .custausu-license-warning-note,
.custausu-license-rest-warning {
  margin: 6px 0 0;
}

#custausu-section-license .custausu-license-package-cap-note,
#custausu-section-license .custausu-license-warning-note,
.custausu-license-rest-warning,
.custausu-license-rest-badge {
  color: #b45309;
}

#custausu-section-license .custausu-upgrade-box-cell {
  padding: 18px 16px;
}

.custausu-upgrade-box {
  border: 1px solid #d8c7ea;
  background: linear-gradient(135deg, #ffffff 0%, #f7f1fb 100%);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.custausu-upgrade-box__content {
  max-width: 760px;
  min-width: 0;
  flex: 1 1 520px;
}

.custausu-upgrade-box__badges {
  align-items: center;
  margin-bottom: 8px;
}

.custausu-upgrade-box__title {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1f2937;
  line-height: 1.3;
}

.custausu-upgrade-box__text {
  margin: 0 0 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.custausu-upgrade-box__description,
.custausu-upgrade-box__note {
  color: #6b7280;
}

.custausu-upgrade-box__description {
  margin: 0;
}

.custausu-upgrade-box__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex: 0 0 auto;
}

.custausu-upgrade-box__button.button-primary {
  background: #662d91 !important;
  border-color: #662d91 !important;
  min-width: 190px;
  min-height: 44px;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2 !important;
  box-sizing: border-box;
}

.custausu-upgrade-box__button.button-primary:hover,
.custausu-upgrade-box__button.button-primary:focus {
  background: #552476 !important;
  border-color: #552476 !important;
  color: #fff !important;
}

.custausu-upgrade-box__note {
  text-align: right;
}

.custausu-license-form {
  margin: 0;
}

.custausu-license-key-wrap,
.custausu-license-actions {
  display: flex;
  gap: 8px;
}

.custausu-license-key-wrap {
  align-items: center;
  max-width: 620px;
}

.custausu-license-key-input {
  flex: 1;
  min-width: 260px;
}

.custausu-license-key-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 8px !important;
}

.custausu-license-actions {
  flex-wrap: wrap;
  margin-top: 10px;
}

.custausu-license-inline-status {
  align-self: center;
}

.custausu-license-inline-status--ok {
  color: #15803d;
}

.custausu-license-inline-status--warn {
  color: #b45309;
}

.custausu-license-rest-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  font-weight: 600;
}

.custausu-rm-client-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.custausu-rm-client-status-badge.is-ready {
  background: #ecfdf5;
  color: #166534;
  border-color: #bbf7d0;
}

@media (max-width: 782px) {
  #custausu-section-license .custausu-upgrade-box-cell,
  #custausu-section-license .custausu-support-diagnostics-cell {
    padding: 14px 12px;
  }

  .custausu-upgrade-box {
    padding: 14px;
    align-items: stretch;
    overflow: hidden;
  }

  .custausu-upgrade-box__content,
  .custausu-upgrade-box__actions {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .custausu-upgrade-box__actions,
  .custausu-license-key-wrap,
  .custausu-license-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-upgrade-box__button.button-primary,
  .custausu-license-key-input,
  .custausu-license-key-toggle,
  .custausu-license-actions .button,
  .custausu-license-actions .button-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .custausu-upgrade-box__button.button-primary,
  .custausu-license-actions .button,
  .custausu-license-actions .button-primary {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.2 !important;
    text-align: center;
  }

  .custausu-upgrade-box__note {
    display: block;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .custausu-license-key-wrap {
    max-width: 100%;
  }

  .custausu-license-inline-status {
    align-self: flex-start;
  }
}

/* =============================================================================
   09. Developer visual lock overlay
============================================================================= */

.custausu-procasvisuallock {
  position: fixed;
  top: 32px;
  right: 0;
  bottom: 0;
  left: 160px;
  z-index: 9990;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.folded .custausu-procasvisuallock {
  left: 36px;
}

.custausu-procasvisuallock__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-18deg);
  text-align: center;
  opacity: .16;
  color: #662d91;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.12));
}

.custausu-procasvisuallock__main {
  display: block;
  font-size: clamp(54px, 8vw, 142px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: .08em;
  white-space: nowrap;
}

.custausu-procasvisuallock__sub {
  display: block;
  margin-top: 14px;
  font-size: clamp(16px, 2vw, 32px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .18em;
  white-space: nowrap;
}

@media screen and (max-width: 960px) {
  .custausu-procasvisuallock {
    left: 36px;
  }
}

@media screen and (max-width: 782px) {
  .custausu-procasvisuallock {
    top: 46px;
    left: 0;
  }

  .custausu-procasvisuallock__inner {
    opacity: .14;
  }

  .custausu-procasvisuallock__main {
    font-size: clamp(42px, 14vw, 96px);
  }

  .custausu-procasvisuallock__sub {
    font-size: clamp(13px, 4vw, 24px);
  }
}

/* =============================================================================
   10. Remote Support Diagnostics
============================================================================= */

.custausu-support-diagnostics-box {
  border: 1px solid rgba(102,45,145,.18);
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}

.custausu-support-diagnostics-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.custausu-support-diagnostics-note {
  margin: 6px 0 0;
  line-height: 1.55;
}

.custausu-support-diagnostics-warning {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-weight: 700;
}

.custausu-support-diagnostics-active-panel {
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.custausu-support-diagnostics-active-panel p {
  margin: 0 0 7px;
}

.custausu-support-diagnostics-reason {
  margin: 8px 0 12px;
  color: #6b7280;
}

.custausu-support-diagnostics-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.custausu-support-diagnostics-capability {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.custausu-support-diagnostics-identifiers {
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.custausu-support-diagnostics-identifiers label {
  display: block;
  margin: 8px 0;
}

.custausu-support-diagnostics-identifiers label span {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #374151;
}

.custausu-support-diagnostics-identifiers input {
  width: 100%;
  max-width: 760px;
}

.custausu-support-diagnostics-form textarea {
  margin-top: 6px;
  max-width: 100%;
  min-height: 96px;
}

.custausu-support-diagnostics-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}


/*
 * WPORG-07G2B2: server-side revocation confirmation.
 */
.custausu-support-diagnostics-confirmation {
  margin-top: 12px;
  padding: 12px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #f0b8b8;
  border-radius: 10px;
  background: #fff5f5;
  color: #5f1717;
}

.custausu-support-diagnostics-confirmation p {
  margin: 0 0 9px;
}

.custausu-support-diagnostics-confirmation p:last-child {
  margin-bottom: 0;
}

.custausu-support-diagnostics-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.custausu-support-diagnostics-final-revoke.button {
  background: #b32d2e !important;
  border-color: #8a2424 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 700;
}

.custausu-support-diagnostics-final-revoke.button:hover,
.custausu-support-diagnostics-final-revoke.button:focus {
  background: #8a2424 !important;
  border-color: #681b1b !important;
  color: #fff !important;
}

.custausu-support-diagnostics-final-revoke.button:focus-visible {
  outline-color: rgba(179,45,46,.45) !important;
  box-shadow: 0 0 0 4px rgba(179,45,46,.14) !important;
}

@media screen and (max-width: 782px) {
  .custausu-support-diagnostics-confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-support-diagnostics-confirmation-actions .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
}

@media screen and (max-width: 782px) {
  /*
   * WPORG-07G2B1: diagnostics mobile containment.
   *
   * The diagnostics rows live in a widefat table rather than a WordPress
   * form-table. Stack the table row on small screens so the 140px desktop
   * heading column cannot compress or expand the diagnostics content cell.
   */
  .custausu-settings-page .custausu-license-dev-warning-table,
  .custausu-settings-page .custausu-license-dev-warning-table tbody,
  .custausu-settings-page .custausu-license-dev-warning-table tr,
  .custausu-settings-page .custausu-license-dev-warning-table th,
  .custausu-settings-page .custausu-license-dev-warning-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .custausu-settings-page .custausu-license-dev-warning-table {
    table-layout: fixed;
  }

  .custausu-settings-page .custausu-license-dev-warning-table th {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 10px 4px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .custausu-settings-page .custausu-license-dev-warning-table td {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 8px 10px 14px;
    overflow: visible;
  }

  .custausu-support-diagnostics-box,
  .custausu-support-diagnostics-box *,
  .custausu-support-diagnostics-form,
  .custausu-support-diagnostics-export-actions {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .custausu-support-diagnostics-box {
    width: 100%;
  }

  .custausu-support-diagnostics-head,
  .custausu-support-diagnostics-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-support-diagnostics-head > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .custausu-support-diagnostics-note,
  .custausu-support-diagnostics-warning,
  .custausu-support-diagnostics-active-panel,
  .custausu-support-diagnostics-active-panel p,
  .custausu-support-diagnostics-box code,
  .custausu-support-diagnostics-capability {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .custausu-support-diagnostics-badge {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }

  .custausu-support-diagnostics-form textarea,
  #custausu_support_diagnostics_token {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .custausu-support-diagnostics-actions .button,
  .custausu-support-diagnostics-actions .button-primary,
  .custausu-support-diagnostics-export-actions .button,
  .custausu-support-diagnostics-export-actions .button-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    height: auto;
    box-sizing: border-box;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
    text-align: center;
    justify-content: center;
  }
}

/* =============================================================================
   11. Remote Support Diagnostics log viewer
============================================================================= */

.custausu-support-diagnostics-logviewer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 14px 0 16px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 12px;
  background: #050814;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 24px rgba(15,23,42,.12);
}

.custausu-support-diagnostics-logviewer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.custausu-support-diagnostics-logviewer__title {
  margin: 0;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.custausu-support-diagnostics-logviewer__note {
  margin: 4px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.custausu-support-diagnostics-logviewer__counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(99,102,241,.16);
  color: #c7d2fe;
  border: 1px solid rgba(199,210,254,.22);
  font-size: 12px;
  font-weight: 800;
}

.custausu-support-diagnostics-logviewer__body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 460px;
  max-height: 460px;
  overflow: auto;
  box-sizing: border-box;
  background: #050814;
  overscroll-behavior: contain;
}

.custausu-support-diagnostics-logviewer__empty {
  padding: 18px;
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.55;
}

.custausu-support-diagnostics-logviewer__body::-webkit-scrollbar,
.custausu-support-diagnostics-logtable pre::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

.custausu-support-diagnostics-logviewer__body::-webkit-scrollbar-track,
.custausu-support-diagnostics-logtable pre::-webkit-scrollbar-track {
  background: #050814;
}

.custausu-support-diagnostics-logviewer__body::-webkit-scrollbar-thumb,
.custausu-support-diagnostics-logtable pre::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
  border: 2px solid #050814;
}

.custausu-support-diagnostics-logviewer__body::-webkit-scrollbar-thumb:hover,
.custausu-support-diagnostics-logtable pre::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.custausu-support-diagnostics-logtable {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #050814;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
}

.custausu-support-diagnostics-logtable thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 10px 12px;
  background: #111827;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,.10);
  text-align: left;
  font-weight: 800;
}

.custausu-support-diagnostics-logtable th:nth-child(1),
.custausu-support-diagnostics-logtable td:nth-child(1) {
  width: 165px;
}

.custausu-support-diagnostics-logtable th:nth-child(2),
.custausu-support-diagnostics-logtable td:nth-child(2) {
  width: 82px;
}

.custausu-support-diagnostics-logtable th:nth-child(3),
.custausu-support-diagnostics-logtable td:nth-child(3) {
  width: 150px;
}

.custausu-support-diagnostics-logtable th:nth-child(4),
.custausu-support-diagnostics-logtable td:nth-child(4) {
  width: 310px;
}

.custausu-support-diagnostics-logtable th:nth-child(5),
.custausu-support-diagnostics-logtable td:nth-child(5) {
  width: auto;
}

.custausu-support-diagnostics-logtable tbody tr:nth-child(odd) {
  background: rgba(255,255,255,.018);
}

.custausu-support-diagnostics-logtable tbody tr:nth-child(even) {
  background: rgba(255,255,255,.035);
}

.custausu-support-diagnostics-logtable td {
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #e5e7eb;
}

.custausu-support-diagnostics-logtable pre {
  margin: 0;
  max-height: 132px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: inherit;
  background: transparent;
  font: inherit;
}

.custausu-support-diagnostics-logtable__time pre {
  color: #fca5a5;
  font-weight: 800;
  white-space: pre;
}

.custausu-support-diagnostics-logtable__channel pre {
  display: inline-block;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(167,139,250,.13);
  color: #ddd6fe;
  font-weight: 800;
  white-space: pre-wrap;
}

.custausu-support-diagnostics-logtable__level pre {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: pre;
}

.custausu-support-diagnostics-logtable__level--error pre {
  color: #fecaca;
  background: rgba(239,68,68,.18);
}

.custausu-support-diagnostics-logtable__level--warn pre {
  color: #fde68a;
  background: rgba(245,158,11,.18);
}

.custausu-support-diagnostics-logtable__level--info pre {
  color: #bfdbfe;
  background: rgba(59,130,246,.18);
}

.custausu-support-diagnostics-logtable__level--debug pre {
  color: #bbf7d0;
  background: rgba(34,197,94,.16);
}

.custausu-support-diagnostics-logtable__message pre {
  color: #f8fafc;
  font-weight: 650;
}

.custausu-support-diagnostics-logtable__context pre {
  color: #cbd5e1;
}

@media screen and (max-width: 782px) {
  .custausu-support-diagnostics-logviewer__head {
    flex-direction: column;
  }

  .custausu-support-diagnostics-logviewer__body {
    height: 380px;
    max-height: 380px;
  }

  .custausu-support-diagnostics-logtable {
    min-width: 980px;
    font-size: 12px;
  }

  .custausu-support-diagnostics-logtable pre {
    max-height: 120px;
  }
}

/* =============================================================================
   12. Installation Doctor base UI
============================================================================= */

.custausu-doctor-panel {
  margin: 16px 0 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(102,45,145,.20);
  border-left: 5px solid #662d91;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9fd 100%);
  box-shadow:
    0 10px 26px rgba(17,24,39,.07),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.custausu-doctor-panel--ok {
  border-left-color: #166534;
}

.custausu-doctor-panel--info {
  border-left-color: #1d4ed8;
}

.custausu-doctor-panel--attention {
  border-left-color: #d97706;
}

.custausu-doctor-panel--warning,
.custausu-doctor-panel--critical {
  border-left-color: #b91c1c;
}

.custausu-doctor-panel:not([open]) {
  box-shadow: 0 6px 18px rgba(17,24,39,.06);
}

.custausu-doctor-panel > summary.custausu-doctor-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
}

.custausu-doctor-panel > summary.custausu-doctor-summary::-webkit-details-marker {
  display: none;
}

.custausu-doctor-panel > summary.custausu-doctor-summary::marker {
  content: "";
}

.custausu-doctor-panel,
.custausu-doctor-panel > summary.custausu-doctor-summary,
.custausu-doctor-panel--standby:not([open]),
.custausu-doctor-panel--standby:not([open]) > summary.custausu-doctor-summary {
  outline: none !important;
}

.custausu-doctor-panel:focus,
.custausu-doctor-panel:focus-visible,
.custausu-doctor-panel:focus-within,
.custausu-doctor-panel > summary.custausu-doctor-summary:focus,
.custausu-doctor-panel > summary.custausu-doctor-summary:focus-visible,
.custausu-doctor-panel--standby:not([open]):focus,
.custausu-doctor-panel--standby:not([open]):focus-visible,
.custausu-doctor-panel--standby:not([open]):focus-within,
.custausu-doctor-panel--standby:not([open]) > summary.custausu-doctor-summary:focus,
.custausu-doctor-panel--standby:not([open]) > summary.custausu-doctor-summary:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.custausu-doctor-summary__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custausu-doctor-summary__icon--image {
  width: 96px;
  height: 112px;
  min-width: 96px;
  margin: -8px 4px -16px -2px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.custausu-doctor-summary__icon-img {
  display: block;
  width: 86px;
  max-width: 86px;
  height: auto;
}

.custausu-doctor-summary__icon--fallback {
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 999px;
  background: #662d91;
  color: #fff;
  box-shadow: 0 8px 20px rgba(102,45,145,.18);
}

.custausu-doctor-summary__icon--fallback .dashicons {
  width: 34px;
  height: 34px;
  font-size: 34px;
}

.custausu-doctor-summary__main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.custausu-doctor-summary__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
  color: #1f2937;
}

.custausu-doctor-summary__desc {
  max-width: 980px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.custausu-doctor-summary__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.custausu-doctor-panel__body {
  padding: 18px 22px 20px;
  border-top: 1px solid rgba(102,45,145,.10);
  background: #fff;
}

.custausu-doctor-panel__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.custausu-doctor-panel__title {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.25;
  color: #662d91;
}

.custausu-doctor-panel__desc {
  margin: 0;
  max-width: 980px;
  color: #374151;
  line-height: 1.55;
  font-weight: 600;
}

.custausu-doctor-panel__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.custausu-doctor-export-btn.button-primary {
  background: #662d91 !important;
  border-color: #662d91 !important;
  color: #fff !important;
  min-height: 40px;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 750 !important;
}

.custausu-doctor-export-btn.button-primary:hover,
.custausu-doctor-export-btn.button-primary:focus {
  background: #552476 !important;
  border-color: #552476 !important;
  color: #fff !important;
}

.custausu-doctor-export-btn.is-loading,
a[href*="action=custausu_export_support_report"].is-loading {
  opacity: .78;
  pointer-events: none;
  cursor: progress;
}

.custausu-export-loading-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  color: #662d91;
  font-weight: 850;
  line-height: 1.3;
  vertical-align: middle;
}

.custausu-export-loading-note::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid rgba(102,45,145,.18);
  border-top-color: #662d91;
  border-radius: 999px;
  animation: casExportSpin .72s linear infinite;
  flex: 0 0 auto;
}

.custausu-export-loading-note.is-done {
  color: #166534;
}

.custausu-export-loading-note.is-done::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.custausu-export-loading-note.is-error {
  color: #b91c1c;
}

.custausu-export-loading-note.is-error::before {
  content: "!";
  width: 22px;
  height: 22px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

@keyframes casExportSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 782px) {
  .custausu-export-loading-note {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .custausu-doctor-panel > summary.custausu-doctor-summary {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px;
  }

  .custausu-doctor-summary__icon--image {
    width: 76px;
    height: 90px;
    min-width: 76px;
    margin: -4px 0 -10px;
  }

  .custausu-doctor-summary__icon-img {
    width: 70px;
    max-width: 70px;
  }

  .custausu-doctor-summary__badges {
    width: 100%;
    justify-content: flex-start;
  }

  .custausu-doctor-panel__body {
    padding: 14px;
  }

  .custausu-doctor-panel__head {
    align-items: stretch;
  }

  .custausu-doctor-panel__actions,
  .custausu-doctor-panel__actions .button,
  .custausu-doctor-export-btn.button-primary {
    width: 100%;
    text-align: center;
  }
}

/* =============================================================================
   13. Doctor cards, history, tables and cache guidance
============================================================================= */

.custausu-doctor-life-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "setup support"
    "safety support";
  gap: 12px;
  align-items: start;
  margin: 14px 0;
}

.custausu-doctor-life-card {
  border: 1px solid rgba(102,45,145,.18);
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
  border-radius: 12px;
  padding: 14px;
  align-self: start;
}

.custausu-doctor-life-card:first-child {
  border-color: rgba(15,118,110,.22);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.custausu-doctor-life-card:nth-child(2) {
  border-color: rgba(102,45,145,.20);
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
}

.custausu-doctor-life-card h3 {
  margin: 0 0 6px;
  color: #662d91;
  font-size: 15px;
}

.custausu-doctor-life-card:first-child h3 {
  color: #0f766e;
}

.custausu-doctor-life-card p {
  margin: 0;
  color: #374151;
  line-height: 1.55;
  font-weight: 500;
}

.custausu-doctor-life-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.custausu-doctor-life-card__actions .button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custausu-doctor-safe-mode-enable {
  border-color: #b91c1c !important;
  color: #7f1d1d !important;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(250,204,21,.32) 0,
      rgba(250,204,21,.32) 8px,
      rgba(127,29,29,.10) 8px,
      rgba(127,29,29,.10) 16px
    ),
    linear-gradient(180deg, #fff7ed 0%, #fee2e2 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 1px 0 rgba(0,0,0,.04);
  font-weight: 800;
}

.custausu-doctor-safe-mode-enable:hover,
.custausu-doctor-safe-mode-enable:focus {
  border-color: #991b1b !important;
  color: #7f1d1d !important;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(250,204,21,.45) 0,
      rgba(250,204,21,.45) 8px,
      rgba(127,29,29,.16) 8px,
      rgba(127,29,29,.16) 16px
    ),
    linear-gradient(180deg, #ffedd5 0%, #fecaca 100%) !important;
}

.custausu-doctor-support-preview {
  width: 100%;
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
  border: 1px solid rgba(102,45,145,.14);
  box-shadow:
    0 10px 24px rgba(17,24,39,.06),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.custausu-doctor-support-fallback-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 448px;
  aspect-ratio: 735 / 448;
  padding: 0;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}

.custausu-doctor-support-preview picture,
.custausu-doctor-support-preview__img {
  display: block;
  width: 100%;
}

.custausu-doctor-support-preview__img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 783px) {
  .custausu-doctor-life-card--support .custausu-doctor-support-preview {
    min-height: 430px;
  }

  .custausu-doctor-life-card--support .custausu-doctor-support-preview picture {
    min-height: 430px;
  }

  .custausu-doctor-life-card--support .custausu-doctor-support-preview__img {
    min-height: 430px;
    object-fit: contain;
    object-position: center;
  }
}

.custausu-doctor-change-card {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(217,119,6,.28);
  border-left: 5px solid #d97706;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.custausu-doctor-change-card__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.custausu-doctor-change-card__head h3 {
  margin: 0 0 5px;
  color: #9a3412;
  font-size: 16px;
}

.custausu-doctor-change-card__head p {
  margin: 0;
  color: #374151;
  line-height: 1.5;
  font-weight: 600;
}

.custausu-doctor-change-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custausu-doctor-change-list__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid rgba(217,119,6,.16);
}

.custausu-doctor-change-list__item:first-child {
  border-top: none;
}

.custausu-doctor-change-list__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #374151;
  line-height: 1.45;
}

.custausu-doctor-change-list__delta {
  display: inline-block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-doctor-change-list__message {
  color: #4b5563;
}

.custausu-doctor-change-list__more {
  margin-top: 8px;
  color: #9a3412;
  font-weight: 700;
}

.custausu-doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 14px;
  align-items: start;
}

.custausu-doctor-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
}

.custausu-doctor-card--full {
  grid-column: 1 / -1;
}

.custausu-doctor-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #1f2937;
}

.custausu-doctor-card__intro,
.custausu-doctor-empty {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.55;
}

.custausu-doctor-category-grid,
.custausu-doctor-cache-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}

.custausu-doctor-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 600px), 1fr));
}

.custausu-doctor-cache-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custausu-doctor-category-card,
.custausu-doctor-cache-card {
  overflow: hidden;
  border: 1px solid rgba(102,45,145,.14);
  border-radius: 12px;
  background: #fff;
  align-self: start;
}

.custausu-doctor-category-card--server {
  border-color: rgba(37,99,235,.30);
  box-shadow: inset 4px 0 0 rgba(37,99,235,.35);
}

.custausu-doctor-category-card--plugins {
  border-color: rgba(102,45,145,.30);
  box-shadow: inset 4px 0 0 rgba(102,45,145,.34);
}

.custausu-doctor-category-card--assets {
  border-color: rgba(217,119,6,.32);
  box-shadow: inset 4px 0 0 rgba(217,119,6,.36);
}

.custausu-doctor-cache-card {
  border-color: rgba(13,148,136,.30);
  box-shadow: inset 4px 0 0 rgba(13,148,136,.34);
}

.custausu-doctor-category-card__summary,
.custausu-doctor-cache-card__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
}

.custausu-doctor-category-card__summary::-webkit-details-marker,
.custausu-doctor-cache-card__summary::-webkit-details-marker {
  display: none;
}

.custausu-doctor-category-card__summary::marker,
.custausu-doctor-cache-card__summary::marker {
  content: "";
}

.custausu-doctor-category-card__summary::before,
.custausu-doctor-cache-card__summary::before {
  content: "▸";
  color: #662d91;
  font-weight: 900;
  transition: transform .15s ease;
}

.custausu-doctor-category-card[open] > .custausu-doctor-category-card__summary::before,
.custausu-doctor-cache-card[open] > .custausu-doctor-cache-card__summary::before {
  transform: rotate(90deg);
}

.custausu-doctor-category-card--server .custausu-doctor-category-card__summary {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.custausu-doctor-category-card--server .custausu-doctor-category-card__summary::before {
  color: #1d4ed8;
}

.custausu-doctor-category-card--plugins .custausu-doctor-category-card__summary {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.custausu-doctor-category-card--plugins .custausu-doctor-category-card__summary::before {
  color: #662d91;
}

.custausu-doctor-category-card--assets .custausu-doctor-category-card__summary {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.custausu-doctor-category-card--assets .custausu-doctor-category-card__summary::before {
  color: #b45309;
}

.custausu-doctor-cache-card .custausu-doctor-cache-card__summary {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.custausu-doctor-cache-card__summary::before {
  color: #0f766e;
}

.custausu-doctor-category-card__title,
.custausu-doctor-cache-card__title {
  flex: 1 1 auto;
  color: #1f2937;
  font-weight: 850;
}

.custausu-doctor-category-card__body,
.custausu-doctor-cache-card__body {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.custausu-doctor-cache-card__body p {
  margin: 0 0 10px;
  color: #374151;
  line-height: 1.5;
}

.custausu-doctor-cache-card__howto {
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(13,148,136,.18);
  background: rgba(240,253,250,.72);
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.custausu-doctor-cache-card__howto strong {
  color: #0f766e;
}

.custausu-doctor-life-card--setup {
  min-height: 0;
}

.custausu-doctor-life-card--setup {
  grid-area: setup;
}

.custausu-doctor-life-card--safety {
  grid-area: safety;
}

.custausu-doctor-life-card--support {
  grid-area: support;
}

.custausu-doctor-life-card--safety-active {
  border-color: rgba(217,119,6,.34);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: inset 4px 0 0 rgba(217,119,6,.38);
}

.custausu-doctor-life-card--safety-active h3 {
  color: #9a3412;
}

.custausu-doctor-life-card--safety-forced {
  border-color: rgba(185,28,28,.32);
  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
  box-shadow: inset 4px 0 0 rgba(185,28,28,.35);
}

.custausu-doctor-life-card--safety-forced h3 {
  color: #991b1b;
}

/* CAS Installation Doctor — Support references */
.custausu-doctor-support-reference-card {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(102, 45, 145, .18);
  border-radius: 14px;
  background: rgba(102, 45, 145, .045);
}

.custausu-doctor-support-reference-card strong {
  display: block;
  margin-bottom: 8px;
}

.custausu-doctor-support-reference-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custausu-doctor-support-reference-list li {
  margin: 5px 0;
}

.custausu-doctor-support-reference-list span {
  font-weight: 600;
}

.custausu-doctor-support-reference-list code {
  border-radius: 7px;
}

.custausu-doctor-recovery-readiness {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.custausu-doctor-recovery-readiness > h4 {
  margin: 0 0 8px;
}

.custausu-doctor-recovery-readiness > ul {
  margin: 0 0 10px 18px;
}

.custausu-doctor-recovery-details {
  margin-top: 8px;
}

.custausu-doctor-recovery-details > summary {
  cursor: pointer;
  font-weight: 700;
}

/* CAS Installation Doctor — Recovery guide */
.custausu-doctor-recovery-guide-card {
  margin: 16px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(102, 45, 145, .18);
  border-radius: 14px;
  background: rgba(102, 45, 145, .045);
}

.custausu-doctor-recovery-guide-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #2b1b3f;
}

.custausu-doctor-recovery-guide-card p {
  margin: 8px 0;
}

.custausu-doctor-recovery-guide-list {
  margin: 10px 0 10px 20px;
}

.custausu-doctor-recovery-guide-list li {
  margin: 10px 0;
}

.custausu-doctor-recovery-guide-list code {
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
}

.custausu-doctor-recovery-guide-note {
  padding-top: 10px;
  border-top: 1px solid rgba(102, 45, 145, .14);
  font-weight: 600;
}

@media (max-width: 782px) {
  .custausu-doctor-life-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "setup"
      "support"
      "safety";
  }
}

.custausu-doctor-history {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid rgba(13,148,136,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
}

.custausu-doctor-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: #0f766e;
}

.custausu-doctor-history__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.custausu-doctor-history__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(15,23,42,.08);
}

.custausu-doctor-history__item:first-child {
  border-top: none;
  padding-top: 0;
}

.custausu-doctor-history__severity {
  align-self: start;
  display: inline-flex;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 1.2;
}

.custausu-doctor-history__item--attention .custausu-doctor-history__severity,
.custausu-doctor-history__item--warning .custausu-doctor-history__severity {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.custausu-doctor-history__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.custausu-doctor-history__title {
  color: #374151;
  line-height: 1.35;
}

.custausu-doctor-history__delta {
  color: #64748b;
  font-weight: 750;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-doctor-history__message {
  color: #475569;
  line-height: 1.45;
}

.custausu-doctor-history__date {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 650;
}

.custausu-doctor-history__empty {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.custausu-doctor-table,
.custausu-health-table {
  table-layout: fixed;
  width: 100%;
}

.custausu-doctor-table th:nth-child(1),
.custausu-doctor-table td:nth-child(1) {
  width: 110px;
}

.custausu-doctor-table th:nth-child(2),
.custausu-doctor-table td:nth-child(2) {
  width: 210px;
}

.custausu-doctor-table td,
.custausu-health-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}

.custausu-health-table td code,
.custausu-health-table td .custausu-health-val,
.custausu-health-table td:nth-child(3) code,
.custausu-health-table td:nth-child(3) span {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-health-table th:nth-child(1),
.custausu-health-table td:nth-child(1) {
  width: 80px;
}

.custausu-health-table th:nth-child(2),
.custausu-health-table td:nth-child(2) {
  width: 24%;
}

.custausu-health-table th:nth-child(3),
.custausu-health-table td:nth-child(3) {
  width: 26%;
}

.custausu-health-table th:nth-child(4),
.custausu-health-table td:nth-child(4) {
  width: auto;
}

.custausu-doctor-severity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.custausu-doctor-severity--critical,
.custausu-doctor-severity--warning {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.custausu-doctor-severity--attention {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.custausu-doctor-severity--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.custausu-doctor-recommendation {
  display: inline-block;
  margin-top: 4px;
  color: #4b5563;
  line-height: 1.45;
}

.custausu-doctor-code-list {
  display: flex;
  margin-top: 8px;
  flex-direction: column;
  gap: 7px;
}

.custausu-doctor-code {
  display: block;
  padding: 7px 9px;
  border: 1px solid #d7dce3;
  background: #f8fafc;
  border-radius: 8px;
  color: #1f2937;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.custausu-doctor-code--muted {
  color: #6b7280;
  background: #f3f4f6;
}

@media (max-width: 1100px) {
  .custausu-doctor-grid,
  .custausu-doctor-category-grid,
  .custausu-doctor-cache-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .custausu-doctor-support-preview {
    margin-top: 16px;
    border-radius: 12px;
  }

  .custausu-doctor-change-card__head,
  .custausu-doctor-change-list__item {
    flex-direction: column;
  }

  .custausu-doctor-change-list__item {
    gap: 6px;
  }

  .custausu-doctor-life-grid {
    grid-template-columns: 1fr;
  }

  .custausu-doctor-life-card__actions {
    flex-direction: column;
  }

  .custausu-doctor-life-card__actions .button {
    width: 100%;
    text-align: center;
  }

  .custausu-doctor-category-card__summary,
  .custausu-doctor-cache-card__summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .custausu-doctor-category-card__badges {
    width: 100%;
    justify-content: flex-start;
  }

  .custausu-doctor-table {
    min-width: 760px;
  }

  .custausu-doctor-table th:nth-child(1),
  .custausu-doctor-table td:nth-child(1),
  .custausu-doctor-table th:nth-child(2),
  .custausu-doctor-table td:nth-child(2) {
    width: auto;
  }

  .custausu-doctor-history__item {
    grid-template-columns: 1fr;
  }

  .custausu-doctor-history__severity {
    justify-self: flex-start;
  }
}
/* -----------------------------------------------------------------------------
   14 CAS Doctor — Support request CTA
----------------------------------------------------------------------------- */

.custausu-doctor-support-request-btn {
  position: relative;
  isolation: isolate;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background:
    linear-gradient(135deg, #662d91 0%, #552476 48%, #ff7a1a 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.16);
  white-space: nowrap;
  box-shadow:
    0 3px 0 #3d1858,
    0 12px 24px rgba(102,45,145,.22),
    0 0 0 4px rgba(255,122,26,.08);
  transform: translateY(0);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}

.custausu-doctor-support-request-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.34), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 42%);
  opacity: .86;
  pointer-events: none;
}

.custausu-doctor-support-request-btn::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -32%;
  width: 30%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition: opacity .16s ease, left .42s ease;
  pointer-events: none;
}

.custausu-doctor-support-request-btn:hover,
.custausu-doctor-support-request-btn:focus {
  color: #ffffff;
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    0 4px 0 #3d1858,
    0 16px 30px rgba(102,45,145,.28),
    0 0 0 5px rgba(255,122,26,.13);
}

.custausu-doctor-support-request-btn:hover::after,
.custausu-doctor-support-request-btn:focus::after {
  left: 104%;
  opacity: 1;
}

.custausu-doctor-support-request-btn:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 #3d1858,
    0 9px 18px rgba(102,45,145,.22);
}

.custausu-doctor-support-request-btn > .dashicons {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 782px) {
  .custausu-doctor-support-request-btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
  }
}

/* -----------------------------------------------------------------------------
   CAS Doctor — Report action buttons
----------------------------------------------------------------------------- */

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn.button,
.custausu-doctor-report-action-btn.button {
  min-height: 42px;
  padding: 9px 15px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-sizing: border-box;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn .dashicons,
.custausu-doctor-report-action-btn .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
  line-height: 1;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--json.button,
.custausu-doctor-report-action-btn--json.button {
  border: 1px solid rgba(102,45,145,.34) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf7fd 100%) !important;
  color: #662d91 !important;
  box-shadow:
    0 8px 18px rgba(102,45,145,.08),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--html.button,
.custausu-doctor-report-action-btn--html.button {
  border: 1px solid rgba(255,122,26,.34) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
  color: #9a3412 !important;
  box-shadow:
    0 8px 18px rgba(255,122,26,.08),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn.button:hover,
.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn.button:focus,
.custausu-doctor-report-action-btn.button:hover,
.custausu-doctor-report-action-btn.button:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--json.button:hover,
.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--json.button:focus,
.custausu-doctor-report-action-btn--json.button:hover,
.custausu-doctor-report-action-btn--json.button:focus {
  border-color: rgba(102,45,145,.56) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3eafd 100%) !important;
  color: #552476 !important;
  box-shadow:
    0 11px 22px rgba(102,45,145,.13),
    0 0 0 4px rgba(102,45,145,.08) !important;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--html.button:hover,
.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn--html.button:focus,
.custausu-doctor-report-action-btn--html.button:hover,
.custausu-doctor-report-action-btn--html.button:focus {
  border-color: rgba(255,122,26,.58) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffedd5 100%) !important;
  color: #7c2d12 !important;
  box-shadow:
    0 11px 22px rgba(255,122,26,.13),
    0 0 0 4px rgba(255,122,26,.09) !important;
}

.custausu-doctor-life-card__actions .custausu-doctor-report-action-btn.button:active,
.custausu-doctor-report-action-btn.button:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.08) !important;
}

@media (max-width: 782px) {
  .custausu-doctor-life-card__actions .custausu-doctor-report-action-btn.button,
  .custausu-doctor-report-action-btn.button {
    width: 100%;
    min-height: 48px;
  }
}

/* =============================================================================
   15. Wizard / Health module cards
============================================================================= */

.custausu-module-card {
  margin: 14px 0 18px;
  border: 1px solid rgba(102,45,145,.20);
  border-left: 5px solid #d47a00;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9fd 100%);
  box-shadow:
    0 10px 26px rgba(17,24,39,.07),
    inset 0 1px 0 rgba(255,255,255,.72);
  overflow: hidden;
}

.custausu-module-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
}

.custausu-module-card__main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1 1 auto;
}

.custausu-module-card__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.custausu-module-card__icon {
  width: 86px;
  min-width: 86px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custausu-module-card__icon-img {
  display: block;
  width: 78px;
  max-width: 78px;
  height: auto;
}

.custausu-module-card__icon--fallback {
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 999px;
  background: #662d91;
  color: #fff;
  box-shadow: 0 8px 20px rgba(102,45,145,.18);
}

.custausu-module-card__icon--fallback .dashicons {
  width: 34px;
  height: 34px;
  font-size: 34px;
}

.custausu-module-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.custausu-module-card__title {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
  color: #1f2937;
}

.custausu-module-card__desc {
  margin: 0;
  max-width: 980px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.custausu-module-card__button.button-primary {
  background: #662d91 !important;
  border-color: #662d91 !important;
  color: #fff !important;
  min-height: 40px;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-weight: 750 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.custausu-module-card__button.button-primary:hover,
.custausu-module-card__button.button-primary:focus {
  background: #552476 !important;
  border-color: #552476 !important;
  color: #fff !important;
}

.custausu-module-card__chevron {
  font-size: 34px;
  line-height: 1;
  color: #662d91;
  opacity: .85;
  transition: transform .16s ease;
}

.custausu-module-card[open] .custausu-module-card__chevron {
  transform: rotate(90deg);
}

.custausu-module-card--wizard {
  border-left-color: #662d91;
}

.custausu-module-card--wizard .custausu-module-card__head {
  background: linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
}

.custausu-module-card--wizard .custausu-module-card__icon-img {
  filter: drop-shadow(0 8px 14px rgba(102,45,145,.20));
}

.custausu-module-card--wizard.custausu-module-card--compact .custausu-module-card__head {
  padding-top: 16px;
  padding-bottom: 16px;
}

.custausu-module-card--health {
  border-left-color: #0f766e;
}

.custausu-module-card--health .custausu-module-card__head {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.custausu-module-card--health .custausu-module-card__icon-img {
  filter: drop-shadow(0 8px 14px rgba(15,118,110,.18));
}

.custausu-wizard-panel.custausu-module-card {
  border-width: 1px;
  border-left-width: 5px;
}

.custausu-wizard-panel.custausu-module-card .custausu-wizard-panel__head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(102,45,145,.10);
}

.custausu-wizard-panel.custausu-module-card .custausu-module-card__inner {
  padding: 0 22px 18px;
}

.custausu-wizard-panel.custausu-module-card .custausu-wizard-steps {
  margin-top: 4px;
  margin-bottom: 0;
}

.custausu-health-card {
  display: block;
}

.custausu-health-card__summary {
  cursor: pointer;
  list-style: none;
}

.custausu-health-card__summary::-webkit-details-marker {
  display: none;
}

.custausu-health-card__summary::marker {
  content: "";
}

.custausu-health-card__body {
  padding: 0 22px 20px;
  border-top: 1px solid rgba(15,118,110,.10);
  background: #fff;
}

.custausu-health-card .custausu-health-box {
  margin-top: 16px;
}

.custausu-health-card .custausu-health-table {
  border-radius: 10px;
  overflow: hidden;
}

.custausu-health-card .custausu-hc-row.custausu-hc-ok {
  background: rgba(236,253,245,.28);
}

.custausu-health-card .custausu-hc-row.custausu-hc-info {
  background: rgba(239,246,255,.40);
}

.custausu-health-card .custausu-hc-row.custausu-hc-warn {
  background: rgba(255,247,237,.45);
}

.custausu-health-card .custausu-hc-row.custausu-hc-err {
  background: rgba(254,242,242,.50);
}

.custausu-health-card .custausu-hc-row.custausu-hc-preview {
  background: rgba(245,243,255,.45);
}

.custausu-hc-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ecc71;
  vertical-align: middle;
}

.custausu-hc-row.custausu-hc-warn .custausu-hc-dot {
  background: #f0ad4e;
}

.custausu-hc-row.custausu-hc-err .custausu-hc-dot {
  background: #d9534f;
}

.custausu-hc-row.custausu-hc-info .custausu-hc-dot {
  background: #5bc0de;
}

.custausu-hc-row.custausu-hc-preview .custausu-hc-dot {
  background: #8a63d2;
}

@media (max-width: 960px) {
  .custausu-module-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .custausu-module-card__side {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  .custausu-module-card {
    border-radius: 14px;
  }

  .custausu-module-card__head {
    padding: 14px;
    gap: 12px;
  }

  .custausu-module-card__main {
    align-items: flex-start;
    gap: 12px;
  }

  .custausu-module-card__icon {
    width: 66px;
    min-width: 66px;
    height: 76px;
  }

  .custausu-module-card__icon-img {
    width: 62px;
    max-width: 62px;
  }

  .custausu-module-card__title {
    font-size: 18px;
  }

  .custausu-module-card__desc {
    font-size: 13px;
  }

  .custausu-module-card__side .button,
  .custausu-module-card__button.button-primary {
    width: 100%;
    text-align: center;
  }

  .custausu-wizard-panel.custausu-module-card .custausu-module-card__inner,
  .custausu-health-card__body {
    padding: 0 14px 14px;
  }

  .custausu-health-card__side {
    flex-direction: column;
    align-items: stretch;
  }

  .custausu-health-card__side .custausu-badge {
    align-self: flex-start;
  }

  .custausu-module-card__chevron {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   CAS Health Check - mobile horizontal table readability
----------------------------------------------------------------------------- */

@media (max-width: 782px) {
  #custausu-section-health-check .custausu-table-wrap,
  #custausu-section-health-check .custausu-health-box,
  .custausu-health-card__body {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  #custausu-section-health-check .custausu-health-table,
  .custausu-health-card .custausu-health-table {
    width: 840px !important;
    min-width: 840px !important;
    max-width: none !important;
    table-layout: fixed !important;
  }

  #custausu-section-health-check .custausu-health-table th,
  #custausu-section-health-check .custausu-health-table td,
  .custausu-health-card .custausu-health-table th,
  .custausu-health-card .custausu-health-table td {
    white-space: normal !important;
    vertical-align: top !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  #custausu-section-health-check .custausu-health-table th:nth-child(1),
  #custausu-section-health-check .custausu-health-table td:nth-child(1),
  .custausu-health-card .custausu-health-table th:nth-child(1),
  .custausu-health-card .custausu-health-table td:nth-child(1) {
    width: 86px !important;
  }

  #custausu-section-health-check .custausu-health-table th:nth-child(2),
  #custausu-section-health-check .custausu-health-table td:nth-child(2),
  .custausu-health-card .custausu-health-table th:nth-child(2),
  .custausu-health-card .custausu-health-table td:nth-child(2) {
    width: 190px !important;
  }

  #custausu-section-health-check .custausu-health-table th:nth-child(3),
  #custausu-section-health-check .custausu-health-table td:nth-child(3),
  .custausu-health-card .custausu-health-table th:nth-child(3),
  .custausu-health-card .custausu-health-table td:nth-child(3) {
    width: 230px !important;
  }

  #custausu-section-health-check .custausu-health-table th:nth-child(4),
  #custausu-section-health-check .custausu-health-table td:nth-child(4),
  .custausu-health-card .custausu-health-table th:nth-child(4),
  .custausu-health-card .custausu-health-table td:nth-child(4) {
    width: 334px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  #custausu-section-health-check .custausu-health-table td:nth-child(4) code,
  #custausu-section-health-check .custausu-health-table td:nth-child(4) span,
  .custausu-health-card .custausu-health-table td:nth-child(4) code,
  .custausu-health-card .custausu-health-table td:nth-child(4) span {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

/* =============================================================================
   16. Doctor standby launcher and responsive plan banner layout
   -----------------------------------------------------------------------------
   Doctor and plan banner share the same stage.
   WP notices above the stage push the whole block down naturally.
============================================================================= */

.custausu-plan-doctor-stage {
  position: relative;
  margin: 18px 0 16px;
}

.custausu-plan-doctor-stage > .custausu-plan-banner {
  margin: 0 !important;
}

/* Closed Doctor launcher */
#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) {
  position: absolute !important;
  border: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  pointer-events: auto !important;
  z-index: 999 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) > summary.custausu-doctor-summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon--image {
  margin: 0 auto -2px !important;
  background: transparent !important;
  box-shadow: none !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon-img {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: drop-shadow(0 8px 14px rgba(102,45,145,.18));
  animation: none !important;
  transform: none !important;
  transform-origin: 50% 70%;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__main {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
  display: block !important;
  color: #662d91 !important;
  font-weight: 900 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__desc,
#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__badges {
  display: none !important;
}

/* Doctor halo: 360 ring + dynamic interactive spin */
#custausu-section-installation-doctor.custausu-doctor-panel--standby > summary.custausu-doctor-summary {
  overflow: visible;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby .custausu-doctor-summary__icon {
  position: relative;
  isolation: isolate;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby .custausu-doctor-summary__icon-img,
#custausu-section-installation-doctor.custausu-doctor-panel--standby .custausu-doctor-summary__icon .dashicons {
  position: relative;
  z-index: 2;
}

.custausu-doctor-summary__halo {
  position: absolute;
  inset: -32px -34px -30px -34px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
}

.custausu-doctor-summary__halo-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.custausu-doctor-summary__halo-ring {
  fill: none;
  stroke: #662d91;
  stroke-width: 5.8;
  stroke-linecap: round;
  stroke-dasharray: 0 415;
  stroke-dashoffset: 0;
  opacity: .98;
  transform: rotate(-90deg);
  transform-origin: 80px 79px;
  filter:
    drop-shadow(0 0 3px rgba(102,45,145,.18))
    drop-shadow(0 0 7px rgba(102,45,145,.10));
  animation: casDoctorHaloDrawOpenClose 4.8s linear infinite;
}

.custausu-doctor-summary__halo-cursor-orbit {
  transform-origin: 80px 79px;
  animation: casDoctorHaloCursorTravel 4.8s linear infinite;
}

.custausu-doctor-summary__halo-cursor {
  fill: #ff7a1a;
  stroke: rgba(255,255,255,.94);
  stroke-width: 1.35;
  transform-box: fill-box;
  transform-origin: center;
  filter:
    drop-shadow(0 0 9px rgba(255,122,26,1))
    drop-shadow(0 0 20px rgba(255,122,26,.86))
    drop-shadow(0 0 38px rgba(255,122,26,.56));
  animation: casDoctorHaloCursorPulse 4.8s linear infinite;
}

.custausu-doctor-summary__halo-text {
  fill: #ff7a1a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .5px;
  paint-order: stroke;
  stroke: rgba(102,45,145,.97);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]):not(.custausu-doctor-panel--doctor-flying):not(.custausu-doctor-panel--doctor-returning):not(.custausu-doctor-panel--halo-hidden) .custausu-doctor-summary__halo {
  opacity: 1;
  transform: scale(1);
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby[open] .custausu-doctor-summary__halo,
#custausu-section-installation-doctor.custausu-doctor-panel--doctor-flying .custausu-doctor-summary__halo,
#custausu-section-installation-doctor.custausu-doctor-panel--doctor-returning .custausu-doctor-summary__halo,
#custausu-section-installation-doctor.custausu-doctor-panel--halo-hidden .custausu-doctor-summary__halo {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(.96);
  animation: none !important;
}

@keyframes casDoctorHaloDrawOpenClose {
  0% {
    stroke-dasharray: 0 415;
    stroke-dashoffset: -207;
    animation-timing-function: linear;
  }

  12.5% {
    stroke-dasharray: 306 109;
    stroke-dashoffset: -207;
    animation-timing-function: cubic-bezier(.05, .95, .24, 1);
  }

  50% {
    stroke-dasharray: 414 1;
    stroke-dashoffset: -207;
    animation-timing-function: step-end;
  }

  50.01% {
    stroke-dasharray: 414 1;
    stroke-dashoffset: -207;
    animation-timing-function: linear;
  }

  62.5% {
    stroke-dasharray: 108 307;
    stroke-dashoffset: -513;
    animation-timing-function: cubic-bezier(.05, .95, .24, 1);
  }

  100% {
    stroke-dasharray: 0 415;
    stroke-dashoffset: -621;
  }
}

@keyframes casDoctorHaloCursorTravel {
  0% {
    transform: rotate(180deg);
    animation-timing-function: linear;
  }

  12.5% {
    transform: rotate(445deg);
    animation-timing-function: cubic-bezier(.05, .95, .24, 1);
  }

  50% {
    transform: rotate(539deg);
    animation-timing-function: step-end;
  }

  50.01% {
    transform: rotate(180deg);
    animation-timing-function: linear;
  }

  62.5% {
    transform: rotate(445deg);
    animation-timing-function: cubic-bezier(.05, .95, .24, 1);
  }

  100% {
    transform: rotate(539deg);
  }
}

@keyframes casDoctorHaloCursorPulse {
  0%, 100% {
    opacity: .92;
    transform: scale(.96);
  }

  12.5% {
    opacity: 1;
    transform: scale(1.04);
  }

  50%,
  50.01% {
    opacity: 1;
    transform: scale(1.13);
  }

  62.5% {
    opacity: 1;
    transform: scale(1.04);
  }
}

/* Open Doctor returns to normal flow below the plan banner */
.custausu-plan-doctor-stage > #custausu-section-installation-doctor[open] {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: none !important;
  z-index: auto !important;
  margin: 16px 0 18px !important;
}

@keyframes casDoctorOpenHeartBeat {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 8px 14px rgba(102,45,145,.18));
    animation-timing-function: cubic-bezier(.22, .9, .28, 1);
  }

  18% {
    transform: scale(1.105);
    filter: drop-shadow(0 13px 22px rgba(102,45,145,.28));
    animation-timing-function: cubic-bezier(.32, 0, .2, 1);
  }

  34% {
    transform: scale(.985);
    filter: drop-shadow(0 8px 14px rgba(102,45,145,.18));
    animation-timing-function: cubic-bezier(.22, .9, .28, 1);
  }

  52% {
    transform: scale(1.075);
    filter: drop-shadow(0 12px 20px rgba(102,45,145,.25));
    animation-timing-function: cubic-bezier(.32, 0, .2, 1);
  }

  72% {
    transform: scale(.995);
    filter: drop-shadow(0 8px 14px rgba(102,45,145,.18));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 14px rgba(102,45,145,.18));
  }
}

@keyframes casDoctorPanelArrival {
  0% {
    transform: translateY(-10px);
    box-shadow:
      0 0 0 rgba(102,45,145,0),
      inset 0 1px 0 rgba(255,255,255,.72);
  }

  55% {
    transform: translateY(0);
    box-shadow:
      0 18px 36px rgba(102,45,145,.16),
      inset 0 1px 0 rgba(255,255,255,.72);
  }

  100% {
    transform: translateY(0);
  }
}

/* Flying ghost */
.custausu-doctor-fly-ghost {
  position: fixed;
  z-index: 100000;
  pointer-events: none;
  object-fit: contain;
  will-change: left, top, width, height;
  filter: drop-shadow(0 14px 24px rgba(102,45,145,.26));
}

/* Hide only the real icon while the ghost flies */
#custausu-section-installation-doctor[open].custausu-doctor-panel--doctor-flying > summary.custausu-doctor-summary .custausu-doctor-summary__icon-img,
#custausu-section-installation-doctor.custausu-doctor-panel--doctor-returning > summary.custausu-doctor-summary .custausu-doctor-summary__icon-img {
  opacity: 0 !important;
  visibility: hidden !important;
}

#custausu-section-installation-doctor.custausu-doctor-panel--just-opened {
  animation: casDoctorPanelArrival 2.85s ease-out 1;
}

#custausu-section-installation-doctor.custausu-doctor-panel--heart-beat > summary.custausu-doctor-summary .custausu-doctor-summary__icon-img {
  opacity: 1 !important;
  visibility: visible !important;
  animation: casDoctorOpenHeartBeat 1.55s ease-out 1;
  transform-origin: 50% 70%;
}

/* Desktop large */
@media (min-width: 1101px) {
  .custausu-plan-doctor-stage > .custausu-plan-banner {
    padding-right: 390px !important;
    min-height: 116px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) {
    top: 36px !important;
    right: 164px !important;
    left: auto !important;
    width: 190px !important;
    max-width: 190px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon--image {
    width: 82px !important;
    height: 78px !important;
    min-width: 82px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon-img {
    width: 76px !important;
    max-width: 76px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__main,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    width: 190px !important;
    max-width: 190px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    font-size: 14px !important;
    line-height: 1.08 !important;
  }
}

/* Desktop / tablet medium */
@media (min-width: 783px) and (max-width: 1100px) {
  .custausu-plan-doctor-stage > .custausu-plan-banner {
    padding-right: 320px !important;
    min-height: 106px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) {
    top: 36px !important;
    right: 142px !important;
    left: auto !important;
    width: 160px !important;
    max-width: 160px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon--image {
    width: 66px !important;
    height: 64px !important;
    min-width: 66px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon-img {
    width: 62px !important;
    max-width: 62px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__main,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    width: 160px !important;
    max-width: 160px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    font-size: 12px !important;
    line-height: 1.08 !important;
  }
}

/* Mobile */
@media (max-width: 782px) {
  .custausu-plan-doctor-stage > .custausu-plan-banner {
    margin-top: 0 !important;
    padding: 150px 16px 18px 16px !important;
    min-height: 205px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) {
    top: 48px !important;
    right: 26px !important;
    left: auto !important;
    width: 148px !important;
    max-width: calc(100vw - 52px) !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) > summary.custausu-doctor-summary,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__main,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    width: 154px !important;
    max-width: 154px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon--image {
    width: 72px !important;
    height: 68px !important;
    min-width: 72px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon-img {
    width: 68px !important;
    max-width: 68px !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__title {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }

  .custausu-license-rosette {
    top: -8px !important;
    left: 22px !important;
    right: auto !important;
    min-width: 104px !important;
    min-height: 38px !important;
    padding: 9px 14px 10px 14px !important;
    font-size: 12px !important;
    transform: rotate(1.5deg) !important;
    z-index: 3 !important;
  }

  .custausu-license-rosette::after {
    box-shadow:
      58px 0 0 rgba(255,255,255,.82),
      inset 0 0 0 2px rgba(47,42,29,.10) !important;
  }

  .custausu-plan-banner__badges {
    display: none !important;
  }

  .custausu-plan-banner__message {
    max-width: 100% !important;
  }
}

/* Remove native focus ring from Doctor details/summary */
#custausu-section-installation-doctor,
#custausu-section-installation-doctor > summary.custausu-doctor-summary,
#custausu-section-installation-doctor:focus,
#custausu-section-installation-doctor:focus-visible,
#custausu-section-installation-doctor:focus-within,
#custausu-section-installation-doctor > summary.custausu-doctor-summary:focus,
#custausu-section-installation-doctor > summary.custausu-doctor-summary:focus-visible {
  outline: none !important;
}

#custausu-section-installation-doctor > summary.custausu-doctor-summary {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__icon-img,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__halo-ring,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__halo-cursor-orbit,
  #custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__halo-cursor,
  #custausu-section-installation-doctor.custausu-doctor-panel--heart-beat > summary.custausu-doctor-summary .custausu-doctor-summary__icon-img,
  #custausu-section-installation-doctor.custausu-doctor-panel--just-opened {
    animation: none !important;
  }

  #custausu-section-installation-doctor.custausu-doctor-panel--doctor-returning > summary.custausu-doctor-summary .custausu-doctor-summary__icon-img,
  .custausu-doctor-fly-ghost {
    display: none !important;
  }
}

/* -----------------------------------------------------------------------------
   CAS Doctor memory actions
----------------------------------------------------------------------------- */

.custausu-doctor-history__head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.custausu-doctor-history__limit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(217, 119, 6, .24);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

.custausu-doctor-history__limit-box p {
  margin: 0;
  color: #7c2d12;
  line-height: 1.5;
  font-weight: 650;
}

.custausu-doctor-history__limit-box strong {
  color: #9a3412;
}

.custausu-doctor-history__reset.button {
  flex: 0 0 auto;
  min-height: 34px;
  border-color: #b91c1c !important;
  color: #b91c1c !important;
  background: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

.custausu-doctor-history__reset.button:hover,
.custausu-doctor-history__reset.button:focus {
  background: #fef2f2 !important;
  border-color: #991b1b !important;
  color: #991b1b !important;
}

@media (max-width: 782px) {
  .custausu-doctor-history__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .custausu-doctor-history__head-actions {
    justify-content: flex-start;
  }

  .custausu-doctor-history__limit-box {
    align-items: stretch;
    flex-direction: column;
  }

  .custausu-doctor-history__reset.button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* CAS Installation Doctor — Open header welcome */
.custausu-doctor-summary__title--welcome {
  margin: 0;
  color: #662d91;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.01em;
}

#custausu-section-installation-doctor.custausu-doctor-panel--standby:not([open]) .custausu-doctor-summary__main--welcome {
  display: none !important;
}

#custausu-section-installation-doctor[open] .custausu-doctor-summary__main--welcome {
  display: flex !important;
}

@media (max-width: 782px) {
  .custausu-doctor-summary__title--welcome {
    font-size: 24px;
    line-height: 1.15;
  }
}

/* =============================================================================
   17. CAS Remote Messages — admin dashboard carousel
============================================================================= */

.custausu-rm-admin-top-wrap,
.custausu-rm-admin-top-restore {
  width: calc(100% - 36px);
  max-width: none;
  margin: 14px 0 16px;
}

.custausu-rm-admin-top {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(102, 45, 145, .18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 10%, rgba(102, 45, 145, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #faf7fd 100%);
  box-shadow:
    0 14px 34px rgba(17, 24, 39, .08),
    inset 0 1px 0 rgba(255, 255, 255, .78);
}

/* 17.1 Header */
.custausu-rm-admin-top > summary {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.custausu-rm-admin-top > summary::-webkit-details-marker {
  display: none;
}

.custausu-rm-admin-top > summary::before {
  content: "✦";
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #662d91, #da6900);
  box-shadow: 0 8px 18px rgba(102, 45, 145, .22);
}

.custausu-rm-admin-top__title {
  color: #662d91;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.custausu-rm-admin-top__subtitle {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

/* 17.2 Slider */
.custausu-rm-admin-top__body {
  padding: 0 18px 18px;
}

.custausu-rm-admin-top__slider {
  position: relative;
}

.custausu-rm-admin-top__slides {
  display: block;
  overflow: visible;
  padding: 4px 2px 12px;
}

.custausu-rm-admin-top__slide {
  display: none;
  grid-template-columns: minmax(220px, 38%) minmax(260px, 1fr);
  gap: 18px;
  min-width: 0;
  max-width: none;
  min-height: 220px;
  padding: 16px;
  border: 1px solid rgba(102, 45, 145, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
  animation: casRmSlideFadeIn .22s ease-out both;
}

.custausu-rm-admin-top__slide.is-active {
  display: grid;
}

@keyframes casRmSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 17.3 Image frame */
.custausu-rm-admin-top__slide picture {
  display: flex;
  height: 220px;
  min-height: 220px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(102, 45, 145, .12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(102, 45, 145, .04), transparent 55%),
    #ffffff;
}

.custausu-rm-admin-top__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* 17.4 Text content */
.custausu-rm-admin-top__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.custausu-rm-admin-top__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.custausu-rm-admin-top__meta span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(102, 45, 145, .09);
  color: #662d91;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.custausu-rm-admin-top__content h2 {
  margin: 0 0 8px;
  color: #24172f;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 900;
}

.custausu-rm-admin-top__content p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
}

.custausu-rm-admin-top__cta.button-primary {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #662d91, #da6900);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(102, 45, 145, .22);
}

/* 17.5 Navigation */
.custausu-rm-admin-top__nav {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 2px 0 8px;
}

.custausu-rm-admin-top__nav-btn.button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-color: rgba(102, 45, 145, .22);
  border-radius: 999px;
  background: #ffffff;
  color: #662d91;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(17, 24, 39, .06);
}

.custausu-rm-admin-top__nav-btn.button:hover,
.custausu-rm-admin-top__nav-btn.button:focus {
  border-color: transparent;
  background: linear-gradient(135deg, #662d91, #da6900);
  color: #ffffff;
}

.custausu-rm-admin-top__dots {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 8px;
}

.custausu-rm-admin-top__slider.is-paused .custausu-rm-admin-top__dots::before {
  content: "Paused";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 5px 10px;
  border: 1px solid rgba(102, 45, 145, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #662d91;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .08);
  backdrop-filter: blur(8px);
}

.custausu-rm-admin-top__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(102, 45, 145, .22);
  cursor: pointer;
}

.custausu-rm-admin-top__dot.is-active {
  width: 28px;
  background: linear-gradient(135deg, #662d91, #da6900);
}

.custausu-rm-admin-top__slider.is-paused .custausu-rm-admin-top__dots::after {
  content: "";
  display: inline-flex;
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-radius: 999px;
  background: rgba(102, 45, 145, .22);
}

/* 17.6 Dismiss / restore */
.custausu-rm-admin-top__dismiss {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.custausu-rm-admin-top__dismiss .button,
.custausu-rm-admin-top-restore__btn.button {
  border-radius: 999px;
}

.custausu-rm-admin-top-restore {
  display: flex;
  justify-content: flex-start;
  margin: 10px 0 14px;
}

.custausu-rm-admin-top-restore__btn.button {
  max-width: 100%;
  padding-inline: 16px;
  border-color: rgba(102, 45, 145, .24);
  background: #ffffff;
  color: #662d91;
  font-weight: 800;
  white-space: normal;
  text-align: left;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
}

.custausu-rm-admin-top-restore__btn.button:hover,
.custausu-rm-admin-top-restore__btn.button:focus {
  border-color: transparent;
  background: linear-gradient(135deg, #662d91, #da6900);
  color: #ffffff;
}

/* 17.7 Responsive */
@media (max-width: 782px) {
  .custausu-rm-admin-top-wrap,
  .custausu-rm-admin-top-restore {
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .custausu-rm-admin-top > summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }

  .custausu-rm-admin-top > summary::before {
    display: none;
  }

  .custausu-rm-admin-top__body {
    padding: 0 14px 16px;
  }

  .custausu-rm-admin-top__slide {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
  }

  .custausu-rm-admin-top__slide picture {
    height: 320px;
    min-height: 320px;
  }

  .custausu-rm-admin-top__content h2 {
    font-size: 21px;
  }

  .custausu-rm-admin-top__nav {
    padding-top: 4px;
  }

  .custausu-rm-admin-top__nav-btn.button {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .custausu-rm-admin-top-restore {
    padding: 0 12px;
  }

  .custausu-rm-admin-top-restore__btn.button {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    justify-content: center;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custausu-rm-admin-top__slide {
    animation: none;
  }
}

/* 17.8 Rich copy fields */
.custausu-rm-admin-top__content .custausu-rm-admin-top__subtitle-line {
  margin: -2px 0 8px;
  color: #662d91;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.custausu-rm-admin-top__content .custausu-rm-admin-top__body-secondary {
  margin: -6px 0 14px;
  color: #5b6472;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

/* 17.9 Mobile content balance */
@media (max-width: 782px) {
  .custausu-rm-admin-top__slide picture {
    height: 220px;
    min-height: 220px;
  }

  .custausu-rm-admin-top__content h2 {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.18;
  }

  .custausu-rm-admin-top__content .custausu-rm-admin-top__subtitle-line {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.35;
  }

  .custausu-rm-admin-top__content p {
    font-size: 14px;
    line-height: 1.42;
  }

  .custausu-rm-admin-top__content .custausu-rm-admin-top__body-secondary {
    font-size: 13px;
    line-height: 1.38;
  }
}

/* 17.10 Dismiss modal */
.custausu-rm-dismiss-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 17, 31, .46);
  backdrop-filter: blur(3px);
}

.custausu-rm-dismiss-modal.is-open {
  display: flex;
}

.custausu-rm-dismiss-modal__panel {
  width: min(560px, 94vw);
  padding: 24px;
  border: 1px solid rgba(217, 199, 239, .9);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
  box-shadow: 0 28px 80px rgba(24, 17, 31, .28);
}

.custausu-rm-dismiss-modal__panel h3 {
  margin: 0 0 10px;
  color: #662d91;
  font-size: 22px;
  font-weight: 900;
}

.custausu-rm-dismiss-modal__panel p {
  margin: 0;
  color: #24182f;
  font-size: 15px;
  line-height: 1.55;
}

.custausu-rm-dismiss-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.custausu-rm-dismiss-modal__actions .button {
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* CAS Remote Messages — preserve remote editor line breaks */

.custausu-rm-admin-top__content > p:not(.custausu-rm-admin-top__subtitle-line),
.custausu-rm-admin-top__body-secondary,
.custausu-rm-license-card__body,
.custausu-rm-license-card__secondary,
.custausu-rm-doctor-summary-card__body,
.custausu-rm-doctor-support-card__body,
.custausu-rm-doctor-support-card__secondary {
  white-space: pre-line !important;
}

/* =============================================================================
   18. CAS Remote Messages — License / Upgrade commercial placements
============================================================================= */
.custausu-license-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.custausu-license-layout:has(.custausu-license-layout__side) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.custausu-license-layout__main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.custausu-license-layout__side {
  min-width: 0;
  display: flex;
  align-self: start;
}

.custausu-license-rm-box {
  width: 100%;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #faf7fd 100%);
  box-sizing: border-box;
}

.custausu-license-rm-box .custausu-rm-placement {
  width: 100%;
  min-height: 100%;
}

@media (max-width: 1100px) {
  .custausu-license-layout,
  .custausu-license-layout:has(.custausu-license-layout__side) {
    grid-template-columns: minmax(0, 1fr);
  }

  .custausu-license-layout__side {
    width: 100%;
  }

  .custausu-license-rm-box {
    min-height: 0;
  }
}

/* 17.8 Free local Upgrade CAS card container */
.custausu-license-upgrade-cards-box {
  width: 100%;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #faf7fd 100%);
  box-sizing: border-box;
}

.custausu-license-upgrade-cards-box .custausu-free-upgrade-cards {
  width: 100%;
  min-height: 0;
}

@media (max-width: 1100px) {
  .custausu-license-upgrade-cards-box {
    min-height: 0;
  }
}

/* 17.9 Free local Upgrade CAS cards — no CAS RM placement */
.custausu-free-upgrade-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 14px;
}

.custausu-free-upgrade-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding: 22px 20px;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
  box-sizing: border-box;
}

.custausu-free-upgrade-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.88) 28%,
      rgba(255,255,255,.66) 52%,
      rgba(255,255,255,.18) 100%
    );
}

.custausu-free-upgrade-card__kicker,
.custausu-free-upgrade-card__title,
.custausu-free-upgrade-card__body,
.custausu-free-upgrade-card__secondary,
.custausu-free-upgrade-card__cta {
  position: relative;
  z-index: 2;
}

.custausu-free-upgrade-card__kicker {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(102,45,145,.08);
  color: #662d91;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.custausu-free-upgrade-card__title {
  margin: 0 0 10px;
  color: #21172b;
  font-size: 20px;
  line-height: 1.16;
  font-weight: 900;
  max-width: min(290px, 88%);
}

.custausu-free-upgrade-card__body,
.custausu-free-upgrade-card__secondary {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
  max-width: min(320px, 92%);
}

.custausu-free-upgrade-card__secondary {
  margin-top: 10px;
  color: #6b7280;
}

.custausu-free-upgrade-card__cta {
  margin-top: 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #662d91, #da6900) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(102,45,145,.18) !important;
}

.custausu-free-upgrade-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.custausu-free-upgrade-card__picture,
.custausu-free-upgrade-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.custausu-free-upgrade-card__img {
  object-fit: cover;
  object-position: center bottom;
}

@media (max-width: 1100px) {
  .custausu-free-upgrade-card__title {
    font-size: 18px;
    max-width: 92%;
  }

  .custausu-free-upgrade-card__body,
  .custausu-free-upgrade-card__secondary {
    max-width: 94%;
  }
}

@media (max-width: 782px) {
  .custausu-free-upgrade-card {
    min-height: 430px;
    padding: 18px 18px 20px;
  }

  .custausu-free-upgrade-card::before {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.97) 0%,
        rgba(255,255,255,.92) 36%,
        rgba(255,255,255,.72) 58%,
        rgba(255,255,255,.20) 100%
      );
  }

  .custausu-free-upgrade-card__title {
    font-size: 18px;
    line-height: 1.16;
    max-width: 94%;
  }

  .custausu-free-upgrade-card__body,
  .custausu-free-upgrade-card__secondary {
    font-size: 13px;
    line-height: 1.48;
    max-width: 95%;
  }

  .custausu-free-upgrade-card__secondary {
    margin-top: 8px;
  }

  .custausu-free-upgrade-card__cta {
    margin-top: 12px !important;
  }

  .custausu-free-upgrade-card__img {
    object-fit: cover;
    object-position: center bottom;
  }
}


/* 17.10 Free local Upgrade CAS card dismiss */
.custausu-free-upgrade-card {
  position: relative;
}

.custausu-free-upgrade-card__dismiss {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  margin: 0;
}

.custausu-free-upgrade-card__dismiss-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  text-align: center;
  line-height: 24px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  opacity: .65;
}

.custausu-free-upgrade-card__dismiss-btn:hover,
.custausu-free-upgrade-card__dismiss-btn:focus {
  opacity: 1;
  text-decoration: none;
}


/* =============================================================================
   19. CAS Remote Messages — Doctor placements
============================================================================= */

/* 19.1 Doctor summary compact card */
.custausu-rm-placement--doctor_summary {
  max-width: 720px;
  margin: 14px 0 12px;
}

.custausu-rm-placement--doctor_summary.custausu-rm-layout--compact {
  width: 100%;
}

.custausu-rm-doctor-summary-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 170px;
  padding: 24px 26px;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
  box-sizing: border-box;
}

.custausu-rm-doctor-summary-card__media,
.custausu-rm-doctor-summary-card__picture,
.custausu-rm-doctor-summary-card__img {
  display: block;
}

.custausu-rm-doctor-summary-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.custausu-rm-doctor-summary-card__picture {
  width: 100%;
  height: 100%;
}

.custausu-rm-doctor-summary-card__img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
}

.custausu-rm-doctor-summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 44%, rgba(255,255,255,.18) 100%);
}

.custausu-rm-doctor-summary-card__content,
.custausu-rm-doctor-summary-card__kicker,
.custausu-rm-doctor-summary-card__title,
.custausu-rm-doctor-summary-card__body {
  position: relative;
  z-index: 2;
}

.custausu-rm-doctor-summary-card__content {
  display: grid;
  align-content: center;
  gap: 7px;
  max-width: min(460px, 64%);
}

.custausu-rm-doctor-summary-card__kicker {
  color: #662d91;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.custausu-rm-doctor-summary-card__title {
  display: block;
  margin: 0;
  color: #21172b;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
}

.custausu-rm-doctor-summary-card__body {
  display: block;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 782px) {
  .custausu-rm-placement--doctor_summary {
    max-width: none;
    margin: 14px 0;
  }

  .custausu-rm-doctor-summary-card {
    min-height: 220px;
    padding: 16px 22px 24px;
    align-content: start;
  }

  .custausu-rm-doctor-summary-card__content {
    max-width: 100%;
    gap: 8px;
    align-content: start;
  }

  .custausu-rm-doctor-summary-card::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.34) 100%);
  }

  .custausu-rm-doctor-summary-card__img {
    object-position: center center;
  }
}

/* 19.2 Doctor support hero card */
.custausu-rm-placement--doctor_support {
  width: 100%;
  margin-top: 0;
}

.custausu-rm-placement--doctor_support.custausu-rm-layout--hero {
  width: 100%;
}

.custausu-rm-doctor-support-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 448px;
  aspect-ratio: 735 / 448;
  padding: 26px 36px 34px;
  border: 1px solid rgba(102,45,145,.16);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
  box-sizing: border-box;
}

.custausu-rm-doctor-support-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.custausu-rm-doctor-support-card__picture,
.custausu-rm-doctor-support-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.custausu-rm-doctor-support-card__img {
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.045);
  transform-origin: center bottom;
}

.custausu-rm-doctor-support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 24% 18%,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.88) 30%,
      rgba(255,255,255,.46) 46%,
      rgba(255,255,255,.14) 60%,
      rgba(255,255,255,0) 76%
    );
}

.custausu-rm-doctor-support-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  max-width: min(430px, 52%);
}

.custausu-rm-doctor-support-card__kicker {
  display: inline-flex;
  justify-self: start;
  margin: 0 0 2px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(102,45,145,.08);
  color: #662d91;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.custausu-rm-doctor-support-card__title {
  margin: 0;
  color: #21172b;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
}

.custausu-rm-doctor-support-card__body,
.custausu-rm-doctor-support-card__secondary {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 650;
}

.custausu-rm-doctor-support-card__secondary {
  margin-top: 2px;
  color: #5b6472;
}

.custausu-rm-doctor-support-card__cta {
  position: relative;
  z-index: 2;
  justify-self: start;
  margin-top: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #662d91, #da6900) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(102,45,145,.18) !important;
}

@media (max-width: 782px) {
  .custausu-rm-doctor-support-card {
    min-height: 550px;
    aspect-ratio: auto;
    padding: 22px 24px 28px;
    border-radius: 18px;
  }

  .custausu-rm-doctor-support-card__media {
    width: 100%;
    height: 100%;
  }

  .custausu-rm-doctor-support-card__picture,
  .custausu-rm-doctor-support-card__img {
    width: 100%;
    height: 100%;
  }

  .custausu-rm-doctor-support-card__img {
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.055);
    transform-origin: center bottom;
  }

  .custausu-rm-doctor-support-card::before {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.97) 0%,
        rgba(255,255,255,.92) 30%,
        rgba(255,255,255,.56) 46%,
        rgba(255,255,255,.16) 60%,
        rgba(255,255,255,0) 76%
      );
  }

  .custausu-rm-doctor-support-card__content {
    max-width: 100%;
    gap: 9px;
  }

  .custausu-rm-doctor-support-card__kicker {
    font-size: 11px;
    padding: 7px 12px;
  }

  .custausu-rm-doctor-support-card__title {
    font-size: 22px;
    line-height: 1.16;
  }

  .custausu-rm-doctor-support-card__body,
  .custausu-rm-doctor-support-card__secondary {
    font-size: 15px;
    line-height: 1.48;
  }

  .custausu-rm-doctor-support-card__cta {
    width: 100%;
    justify-content: center;
  }
}


/* =============================================================================
   20. CAS Settings focus treatment
============================================================================= */
.custausu-wrap a:focus,
.custausu-wrap button:focus,
.custausu-wrap input:focus,
.custausu-wrap select:focus,
.custausu-wrap textarea:focus,
.custausu-admin-page a:focus,
.custausu-admin-page button:focus,
.custausu-admin-page input:focus,
.custausu-admin-page select:focus,
.custausu-admin-page textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

.custausu-wrap a:focus-visible,
.custausu-wrap button:focus-visible,
.custausu-wrap input:focus-visible,
.custausu-wrap select:focus-visible,
.custausu-wrap textarea:focus-visible,
.custausu-admin-page a:focus-visible,
.custausu-admin-page button:focus-visible,
.custausu-admin-page input:focus-visible,
.custausu-admin-page select:focus-visible,
.custausu-admin-page textarea:focus-visible {
  outline: 2px solid rgba(102,45,145,.32) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(102,45,145,.10) !important;
}


/* =============================================================================
   21. CAS Auth Pages tool — route consistency UI
============================================================================= */

.custausu-auth-pages-tool {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(102,45,145,.20);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9fd 100%);
}

.custausu-auth-pages-tool--needs-fix {
  border-color: rgba(185,28,28,.28);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.custausu-auth-pages-tool h3 {
  margin: 0 0 8px;
  color: #662d91;
  font-size: 18px;
}

.custausu-auth-pages-tool__lang-note {
  margin: 10px 0 14px;
  color: #4b5563;
  line-height: 1.55;
  font-weight: 600;
}

.custausu-auth-pages-tool__notice {
  margin: 12px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 750;
}

.custausu-auth-pages-tool__notice--ok {
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

.custausu-auth-pages-tool__notice--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.custausu-auth-pages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.custausu-auth-pages-card {
  padding: 14px;
  border: 1px solid rgba(102,45,145,.14);
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.custausu-auth-pages-card--ready {
  border-color: rgba(34,197,94,.22);
  background: linear-gradient(180deg, #fff 0%, #f7fffb 100%);
}

.custausu-auth-pages-card--missing,
.custausu-auth-pages-card--error {
  border-color: rgba(185,28,28,.28);
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
  box-shadow: inset 0 0 0 1px rgba(185,28,28,.04);
}

.custausu-auth-pages-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #1f2937;
}

.custausu-auth-pages-card__label {
  display: block;
  margin: 12px 0 8px;
}

.custausu-auth-pages-card__label span {
  display: block;
  margin-bottom: 5px;
  font-weight: 750;
  color: #374151;
}

.custausu-auth-pages-card__label input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.custausu-auth-pages-card__meta,
.custausu-auth-pages-card__fix-note {
  margin: 8px 0 0;
  color: #4b5563;
  line-height: 1.45;
}

.custausu-auth-pages-card__fix-note {
  padding-top: 8px;
  border-top: 1px solid rgba(185,28,28,.14);
  color: #991b1b;
  font-weight: 650;
}

.custausu-auth-pages-tool__disclaimer {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(217,119,6,.28);
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
  line-height: 1.5;
}

.custausu-auth-pages-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.custausu-route-consistency-error {
  border-color: rgba(185,28,28,.36) !important;
  background: rgba(254,242,242,.72) !important;
  box-shadow: inset 0 0 0 1px rgba(185,28,28,.05);
}

.custausu-route-consistency-error__input {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 1px rgba(185,28,28,.16) !important;
}

.custausu-route-consistency-error__note code {
  color: #991b1b;
}

@media (max-width: 1200px) {
  .custausu-auth-pages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .custausu-auth-pages-grid {
    grid-template-columns: 1fr;
  }

  .custausu-auth-pages-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .custausu-auth-pages-actions .button,
  .custausu-auth-pages-actions .button-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* =============================================================================
   22. Mobile field editor
============================================================================= */
.custausu-mobile-field-overlay {
  display: none;
}

@media (max-width: 782px) {
  .custausu-mobile-field-overlay {
    position: fixed;
    inset: 0;
    z-index: 100200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(20, 16, 30, .42);
    backdrop-filter: blur(8px);
  }

  .custausu-mobile-field-overlay.is-open {
    display: flex;
  }

  .custausu-mobile-field-overlay__panel {
    width: min(94vw, 720px);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(119, 78, 170, .25);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(25, 16, 44, .28);
  }

  .custausu-mobile-field-overlay__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(119, 78, 170, .16);
  }

  .custausu-mobile-field-overlay__head strong {
    min-width: 0;
    overflow: hidden;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .custausu-mobile-field-overlay__close {
    flex: 0 0 auto;
    border-color: rgba(220, 38, 38, .55) !important;
    color: #dc2626 !important;
    font-weight: 700;
  }

  .custausu-mobile-field-overlay__field {
    width: auto;
    min-height: 220px;
    margin: 14px 16px 8px;
    padding: 16px;
    resize: vertical;
    border: 2px solid #ef4444;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.55;
    box-shadow: none;
  }

  .custausu-mobile-field-overlay__field:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 1px #ef4444;
    outline: none;
  }

  .custausu-mobile-field-overlay__hint {
    margin: 0;
    padding: 0 16px 16px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
  }

  body.custausu-mobile-field-overlay-open {
    overflow: hidden;
  }
}



/* ==========================================================================
   CAS Settings admin footer guard
   Prevent the native WP admin footer from visually overlapping long CAS panels.
   Scoped to CAS Settings only.
   ========================================================================== */
body.toplevel_page_custausu-settings #wpbody-content {
  padding-bottom: 140px !important;
  overflow: visible !important;
}

body.toplevel_page_custausu-settings #wpfooter {
  position: static !important;
  clear: both !important;
  display: block !important;
  margin: 24px 20px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

/* CAS Doctor Assisted Support opt-in */
.custausu-doctor-support-request-btn.is-disabled,
.custausu-doctor-support-request-btn[aria-disabled="true"],
.custausu-doctor-support-request-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
  pointer-events: none;
  filter: grayscale(.2);
  box-shadow: none;
}

.custausu-doctor-assisted-support-status {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(100, 116, 139, .24);
  border-radius: 10px;
  background: rgba(248, 250, 252, .82);
}

.custausu-doctor-assisted-support-status.is-enabled {
  border-color: rgba(5, 150, 105, .28);
  background: rgba(236, 253, 245, .72);
}

.custausu-doctor-assisted-support-status.is-disabled {
  border-color: rgba(217, 119, 6, .28);
  background: rgba(255, 251, 235, .78);
}


#custausu-license-eye-hide {
  display: none;
}

/* Doctor plugin-warning acknowledgement */
.custausu-doctor-warning-ack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(102, 45, 145, 0.14);
}

.custausu-doctor-warning-ack__help {
  flex: 1 1 100%;
  margin: 0;
  color: #50575e;
}

.custausu-doctor-warning-ack__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #087f72;
  font-weight: 700;
}

.custausu-doctor-warning-ack__status .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.custausu-doctor-warning-ack__date {
  font-weight: 500;
  color: #50575e;
}

.custausu-doctor-warning-ack__action.button {
  white-space: normal;
}

.custausu-doctor-warning-ack.is-acknowledged {
  padding: 10px 12px;
  border: 1px solid rgba(8, 127, 114, 0.28);
  border-radius: 10px;
  background: rgba(8, 127, 114, 0.06);
}

.custausu-doctor-warning-ack-notice {
  margin: 0 0 18px;
}

@media (max-width: 782px) {
  .custausu-doctor-warning-ack {
    align-items: stretch;
  }

  .custausu-doctor-warning-ack__action.button {
    width: 100%;
    text-align: center;
  }
}

/* Community & Feedback — permanent Doctor panel */
.custausu-doctor-feedback {
  margin: 18px 0 22px;
  padding: 20px;
  border: 1px solid rgba(102, 45, 145, .22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(102, 45, 145, .055), rgba(12, 128, 112, .045));
}

.custausu-doctor-feedback__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.custausu-doctor-feedback__head .dashicons {
  width: 38px;
  height: 38px;
  color: #662d91;
  font-size: 38px;
}

.custausu-doctor-feedback__head h3 {
  margin: 0;
  color: #2b1e39;
  font-size: 20px;
  line-height: 1.25;
}

.custausu-doctor-feedback__head p {
  margin: 4px 0 0;
  color: #61586b;
  font-weight: 700;
}

.custausu-doctor-feedback__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.custausu-doctor-feedback__item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 168px;
  padding: 16px;
  border: 1px solid rgba(102, 45, 145, .14);
  border-radius: 16px;
  background: #fff;
}

.custausu-doctor-feedback__item h4 {
  margin: 0 0 8px;
  color: #33243f;
  font-size: 15px;
}

.custausu-doctor-feedback__item p {
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: #625a69;
  line-height: 1.55;
}

.custausu-doctor-feedback__item .button {
  min-height: 36px;
}

@media (max-width: 782px) {
  .custausu-doctor-feedback {
    padding: 16px;
  }

  .custausu-doctor-feedback__grid {
    grid-template-columns: 1fr;
  }

  .custausu-doctor-feedback__item {
    min-height: 0;
  }
}

/* CAS import report — migrated from admin-page-notices.php. */
.custausu-import-report {
  padding: 14px 16px;
}

.custausu-import-report__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.custausu-import-report__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.custausu-import-report__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custausu-import-report__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.custausu-import-report__badge--success {
  color: #166534;
  background: #ecfdf3;
}

.custausu-import-report__badge--warning {
  color: #b45309;
  background: #fff7ed;
}

.custausu-import-report__badge--error {
  color: #b91c1c;
  background: #fef2f2;
}

.custausu-import-report__list {
  margin: 0;
  padding-left: 18px;
}

.custausu-import-report__list-item {
  margin: 0 0 6px;
  line-height: 1.45;
}

.custausu-import-report__block {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 10px;
}

.custausu-import-report__block-title {
  margin: 0 0 10px;
  font-weight: 700;
}

.custausu-import-report__block--neutral {
  border-color: rgba(100,116,139,.28);
  background: #ffffff;
}

.custausu-import-report__block--neutral .custausu-import-report__block-title {
  color: #1f2937;
}

.custausu-import-report__block--info {
  border-color: rgba(37,99,235,.22);
  background: #f8fbff;
}

.custausu-import-report__block--info .custausu-import-report__block-title {
  color: #1d4ed8;
}

.custausu-import-report__block--warn {
  border-color: rgba(217,119,6,.25);
  background: #fffaf2;
}

.custausu-import-report__block--warn .custausu-import-report__block-title {
  color: #b45309;
}

.custausu-import-report__block--error {
  border-color: rgba(185,28,28,.22);
  background: #fff8f8;
}

.custausu-import-report__block--error .custausu-import-report__block-title {
  color: #b91c1c;
}

.custausu-import-report__empty {
  margin: 0;
}

