/* Shared visual contract. Module CSS still owns grids, interactions and data states.
   Screen rules opt in through ml-laboratorio; exported reports use ml-capture-mode. */
:root {
  --lm-ui-yellow: #ffe600;
  --lm-ui-blue: #3483fa;
  --lm-ui-blue-strong: #2968c8;
  --lm-ui-link: #2968c8;
  --lm-ui-blue-soft: #edf4ff;
  --lm-ui-bg: #f7f8fa;
  --lm-ui-paper: #ffffff;
  --lm-ui-soft: #f3f5f8;
  --lm-ui-ink: #182d46;
  --lm-ui-muted: #66788b;
  --lm-ui-line: #e1e7ef;
  --lm-ui-radius: 10px;
  --lm-ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html.ml-dark-mode {
  --lm-ui-bg: #111720;
  --lm-ui-paper: #172233;
  --lm-ui-soft: #1d2b3d;
  --lm-ui-ink: #e0e8f4;
  --lm-ui-muted: #a2b2c6;
  --lm-ui-line: #2d3e54;
  --lm-ui-blue: #82abff;
  --lm-ui-link: #82abff;
  --lm-ui-blue-strong: #2968c8;
  --lm-ui-blue-soft: #263655;
}

@media screen {
  body.ml-laboratorio:not(.ml-capture-mode) {
    margin: 0;
    padding: 0;
    display: block;
    overflow: visible;
    background: var(--lm-ui-bg) !important;
    color: var(--lm-ui-ink) !important;
    font-family: var(--lm-ui-font) !important;
    -webkit-font-smoothing: antialiased;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page-column,
  .ml-laboratorio:not(.ml-capture-mode) .layout-main {
    background: transparent !important;
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .layout-main {
    width: 100%;
    max-width: 1520px !important;
    min-width: 0;
    margin: 0 auto !important;
    padding: 32px 28px 40px !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--lm-ui-ink);
    font-family: var(--lm-ui-font);
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page:not(.ml-panel) {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.page-bg, .csv-shell) {
    min-height: auto;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page :where(section, article, header, form, aside) {
    min-width: 0;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page img {
    max-width: 100%;
  }

  /* Headings and names remain readable even before the reveal script loads. */
  .ml-laboratorio:not(.ml-capture-mode) .ml-page [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header > div {
    min-width: 0;
    max-width: 100%;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header {
    min-width: 0;
    padding: 0 0 24px !important;
    margin-bottom: 24px;
    border: 0 !important;
    border-bottom: 1px solid var(--lm-ui-line) !important;
    border-radius: 0 !important;
    color: var(--lm-ui-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    text-align: left;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header::before,
  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header::after {
    content: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page-title {
    margin: 0;
    color: var(--lm-ui-ink) !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
    font-family: var(--lm-ui-font);
    font-size: clamp(26px, 2.5vw, 36px) !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.8px !important;
    text-align: left;
    text-transform: none !important;
    overflow-wrap: anywhere;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: var(--lm-ui-yellow);
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .layout-main .ml-page .ml-page-title {
    color: var(--lm-ui-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-panel :is(h2, h3, h4) {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .home-committee-card p {
    color: var(--lm-ui-muted);
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(p, small),
  .ml-laboratorio:not(.ml-capture-mode) :is(.home-hero-copy, .report-hero-copy, .ps-subtitle, .outbox-push-status) {
    color: var(--lm-ui-muted) !important;
    line-height: 1.65;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(p, small) strong {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.home-hero-main, .report-hero-main) {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(
    .she360-hero-copy, .home-hero-main, .report-hero-main, .csv-hero-copy, .dc-hero-copy
  ) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header .she360-hero-copy::after {
    content: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(div, section, article, aside):is(
    [class$="-copy"], [class$="-main"], [class$="-actions"], [class$="-summary"],
    [class$="-grid"], [class$="-content"], [class$="-stats"], [class$="-meta"]
  ) {
    background: transparent !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .she360-eyebrow {
    color: var(--lm-ui-blue-strong);
    background: var(--lm-ui-blue-soft);
    border-color: var(--lm-ui-line);
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .ml-panel, .ml-metric, .outbox-card, .outbox-info-block,
    .au-card, .au-metric, .cl-metric, .scm-kpis article,
    .spa-kpis article, .sam-kpis article, .dashboard-kpis article,
    .na-envios-kpis article, .na-summary-kpis article, .audit-summary article,
    .outbox-hero-summary > div, .report-overview, .quiz-mode-card, .quiz-hero-panel,
    .ranking-hero-panel, .profile-avatar-card, .wi-document, .support-item
  ) {
    background: var(--lm-ui-paper) !important;
    color: var(--lm-ui-ink);
    border: 1px solid var(--lm-ui-line) !important;
    border-radius: var(--lm-ui-radius) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.ml-panel, .ml-metric)::before,
  .ml-laboratorio:not(.ml-capture-mode) :is(.ml-panel, .ml-metric)::after {
    /* Status indicators remain real elements; remove ornamental card glows. */
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.home-card, .report-card, .ml-card):hover {
    transform: none;
    box-shadow: none !important;
    border-color: var(--lm-ui-blue) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.ml-metric.is-active, .outbox-card.is-selected) {
    border-color: var(--lm-ui-blue) !important;
    box-shadow: inset 0 0 0 1px var(--lm-ui-blue) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-metric {
    font-variant-numeric: tabular-nums;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-table-scroll {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--lm-ui-line) transparent;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page table th {
    background: var(--lm-ui-soft) !important;
    color: var(--lm-ui-muted) !important;
    border-color: var(--lm-ui-line);
    font-weight: 650;
    text-transform: none;
    letter-spacing: 0;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page :is(input, select, textarea) {
    font-family: var(--lm-ui-font);
    max-width: 100%;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
    select, textarea
  ) {
    background: var(--lm-ui-paper) !important;
    color: var(--lm-ui-ink) !important;
    border: 1px solid var(--lm-ui-line) !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page :is(button, [class*="btn"], [class*="button"]) {
    font-family: var(--lm-ui-font);
    font-weight: 600;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--lm-ui-blue) !important;
    outline-offset: 3px;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.am-glow, .background-glow, #bg-canvas, #home-particles) {
    display: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-header {
    border-right: 1px solid var(--lm-ui-line) !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-sidebar-head {
    background: var(--lm-ui-yellow) !important;
    border-color: #ebd800 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-sidebar-head :is(.ml-logo-title, .ml-logo-subtitle, .ml-menu-toggle) {
    color: #182d46 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-logo-mark {
    background: var(--lm-ui-yellow) !important;
    color: #182d46 !important;
    border: 1px solid rgba(24, 45, 70, .16);
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-link.active {
    background: var(--lm-ui-blue-soft) !important;
    color: var(--lm-ui-blue) !important;
    box-shadow: inset 3px 0 0 var(--lm-ui-blue) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-footer {
    border-color: var(--lm-ui-line);
    color: var(--lm-ui-muted) !important;
    background: transparent !important;
    font-size: 11px;
  }

  /* Legacy auth pages and specialised workspaces share the same outer layout. */
  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card {
    width: min(440px, 100%);
    margin: 8vh auto;
    padding: 28px !important;
    border-top: 3px solid var(--lm-ui-yellow) !important;
    min-height: auto;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card :is(.input__container, .input__search, .input__button__shadow) {
    min-width: 0;
    transform: none !important;
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .input__container {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 8px;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .shadow__input {
    display: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .input__container::before {
    content: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-field {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    text-align: left;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-field label {
    color: var(--lm-ui-muted);
    font-size: 12px;
    font-weight: 600;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .input__search {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .input__search::placeholder {
    text-transform: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .ml-btn {
    border: 1px solid var(--lm-ui-line);
    letter-spacing: 0;
    transform: none;
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card .input__button__shadow {
    padding: 10px;
    border: 1px solid var(--lm-ui-line);
    border-radius: 7px;
    background: var(--lm-ui-yellow);
  }

  .ml-laboratorio:not(.ml-capture-mode) .mc-tv-volumetria,
  .ml-laboratorio:not(.ml-capture-mode) .dashboard-presenca {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .ml-laboratorio:not(.ml-capture-mode) .presencas-container .filtros {
    flex-wrap: wrap;
  }

  .ml-laboratorio:not(.ml-capture-mode) .presencas-container .filtros :is(input, select, button) {
    min-width: 0;
    flex: 1 1 180px;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ps-dashboard-band {
    --lab-ink: var(--lm-ui-ink);
    --lab-muted: var(--lm-ui-muted);
    --lab-yellow: var(--lm-ui-yellow);
    --lab-panel: var(--lm-ui-paper);
    background: var(--lm-ui-soft);
    border: 1px solid var(--lm-ui-line);
    border-radius: var(--lm-ui-radius);
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ps-dashboard-band::before,
  .ml-laboratorio:not(.ml-capture-mode) .ps-dashboard-card::before {
    content: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ps-dashboard-band :is(h2, .ps-dashboard-card-head strong, .ps-dashboard-chart-head strong) {
    color: var(--lm-ui-ink);
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-auth-shell,
  .ml-laboratorio:not(.ml-capture-mode) .twofa-container,
  .ml-laboratorio:not(.ml-capture-mode) .ml-email-page {
    position: static;
    width: 100%;
    height: auto;
    min-height: 70vh;
    background: transparent;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-email-page form {
    width: min(440px, 100%);
    padding: 28px;
    border: 1px solid var(--lm-ui-line);
    border-top: 3px solid var(--lm-ui-yellow);
    border-radius: var(--lm-ui-radius);
    background: var(--lm-ui-paper);
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-error-page {
    padding: 28px;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-error-page p {
    margin: 16px 0;
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app {
    --voice-bg: var(--lm-ui-paper);
    --voice-top: var(--lm-ui-paper);
    --voice-sidebar: var(--lm-ui-soft);
    --voice-surface: var(--lm-ui-paper);
    --voice-surface-2: var(--lm-ui-soft);
    --voice-line: var(--lm-ui-line);
    --voice-text: var(--lm-ui-ink);
    --voice-muted: var(--lm-ui-muted);
    min-height: 80vh;
    border: 1px solid var(--lm-ui-line);
    border-radius: var(--lm-ui-radius);
    overflow: hidden;
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-room {
    background: var(--lm-ui-paper);
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app :is(.voice-icon-button, .voice-room__count,
    .voice-stream-toolbar, .voice-control, .voice-room-info, .voice-callbar,
    .voice-channel__count, .voice-screen-label, .voice-fps-segmented span) {
    color: var(--lm-ui-ink);
    background: var(--lm-ui-soft);
    border-color: var(--lm-ui-line);
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app :is(.voice-topbar__channel, .voice-channel,
    .voice-empty strong, .voice-stream-toolbar__title strong) {
    color: var(--lm-ui-ink);
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app .voice-channel.is-selected {
    color: var(--lm-ui-blue-strong);
    background: var(--lm-ui-blue-soft);
    border-color: var(--lm-ui-line);
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app .voice-control[aria-pressed="true"] {
    color: #a12736;
    background: #fceef0;
    border-color: #efbec7;
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-app .voice-fps-segmented input:checked + span {
    color: #182d46;
    background: var(--lm-ui-yellow);
    border-color: #c4b600;
  }

  .ml-laboratorio:not(.ml-capture-mode) .voice-topbar {
    padding: 0 !important;
    margin-bottom: 0;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.outbox-kicker, .home-kicker, .report-kicker, .csv-kicker) {
    color: var(--lm-ui-blue) !important;
    font-weight: 650;
    letter-spacing: .06em;
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-hero-summary span {
    color: var(--lm-ui-muted);
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-btn--ghost {
    background: var(--lm-ui-paper);
    color: var(--lm-ui-blue);
    border-color: var(--lm-ui-line);
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-btn--notify {
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-btn--notify:not(.is-active):not(.is-blocked) {
    background: var(--lm-ui-yellow) !important;
    color: #182d46 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-btn--notify.is-active {
    background: #087a55 !important;
    color: #fff !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-btn--notify.is-blocked {
    background: #b42318 !important;
    color: #fff !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.outbox-loading, .outbox-empty) {
    background: var(--lm-ui-paper);
    color: var(--lm-ui-muted);
    border-color: var(--lm-ui-line);
    border-radius: var(--lm-ui-radius);
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-tab.is-active {
    background: var(--lm-ui-blue-strong) !important;
    color: #fff !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-sidebar-head .ml-menu-toggle {
    background: var(--lm-ui-paper) !important;
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.profile-save-button, .csv-primary-button,
    .ranking-filter-btn.is-active, .ml-email-page button, .she360-panel form button:not(.danger),
    .ml-btn.primary, .ml-btn.success) {
    color: #fff !important;
    background: var(--lm-ui-blue-strong) !important;
    border-radius: 7px;
    box-shadow: none;
  }

  .ml-laboratorio:not(.ml-capture-mode) .she360-panel .button.danger {
    background: #b42318;
    color: #fff;
  }

  .ml-laboratorio:not(.ml-capture-mode) .she360-panel .btn-exportar {
    background: #087a55;
    color: #fff;
  }

  .ml-laboratorio:not(.ml-capture-mode) .outbox-message {
    color: var(--lm-ui-ink);
    background: var(--lm-ui-soft);
    border-color: var(--lm-ui-line);
  }

  @media (max-width: 760px) {
    .ml-laboratorio:not(.ml-capture-mode) .layout-main {
      padding: 24px 14px 32px !important;
    }

    .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header {
      margin-bottom: 20px;
      padding-bottom: 20px !important;
    }

    .ml-laboratorio:not(.ml-capture-mode) .ml-auth-card {
      margin: 24px auto;
      padding: 22px !important;
    }

    .ml-laboratorio:not(.ml-capture-mode) .mc-tv-volumetria,
    .ml-laboratorio:not(.ml-capture-mode) .dashboard-presenca {
      grid-template-columns: 1fr;
    }

    .ml-laboratorio:not(.ml-capture-mode) .painel-hero {
      flex-direction: column;
      grid-template-columns: minmax(0, 1fr);
    }

    .ml-laboratorio:not(.ml-capture-mode) .painel-actions {
      min-width: 0;
      flex-wrap: wrap;
      gap: 8px;
    }

    .ml-laboratorio:not(.ml-capture-mode) .presencas-container .cards-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .ml-laboratorio:not(.ml-capture-mode) .ml-support-trigger {
      width: 40px;
      height: 40px;
      padding: 10px;
      justify-content: center;
    }

    .ml-laboratorio:not(.ml-capture-mode) .ml-support-trigger > span {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ml-laboratorio:not(.ml-capture-mode) .ml-page,
    .ml-laboratorio:not(.ml-capture-mode) .ml-page * {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}

/* Flattened headers and cards must also replace their legacy light text.
   Keep action buttons and capture documents under their own colour contracts. */
@media screen {
  .ml-laboratorio:not(.ml-capture-mode) .ml-page-header :is(span, label, strong, b):not(:where(
    a *, button *, [class*="btn"] *, [class*="button"] *
  )),
  .ml-laboratorio:not(.ml-capture-mode) .ml-page-title * {
    color: var(--lm-ui-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .report-overview, .wi-hero-stats, .wi-library-summary, .exams-hero-stat, .spa-reading,
    .na-queue-hero-total, .ps-dashboard-lab-status, .profile-meta, .motion-monitor__summary
  ) :is(span, small),
  .ml-laboratorio:not(.ml-capture-mode) .ml-metric :is(span, small),
  .ml-laboratorio:not(.ml-capture-mode) .ml-page th :is(span, small),
  .ml-laboratorio:not(.ml-capture-mode) :is(.ps-dashboard-eyebrow, .resumo-label, .resumo-sub) {
    color: var(--lm-ui-muted) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.ml-metric, .na-queue-hero-total) strong,
  .ml-laboratorio:not(.ml-capture-mode) .repasse-kpi .kpi-value {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(
    .report-overview, .wi-hero-stats article, .wi-library-summary > div,
    .exams-hero-stat, .spa-reading, .na-queue-hero-total,
    .na-envios-reading, .na-summary-reading, .cop-hero-meta article, .am-hero-meta > span
  ) {
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .na-open-dashboard, .training-back, .profile-back-link, .fg-btn--outline,
    .na-source-shortcuts a
  ) {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-paper) !important;
    border-color: var(--lm-ui-line) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.na-open-dashboard, .na-source-shortcuts a) span {
    color: inherit !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-open-dashboard.na-open-summary {
    color: #182d46 !important;
    background: var(--lm-ui-yellow) !important;
    border-color: #d6c300 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .btn-fixar-leitura,
  .ml-laboratorio:not(.ml-capture-mode) .ml-page .na-fixed-reading {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .btn-fixar-leitura:disabled {
    opacity: 1;
    color: var(--lm-ui-muted) !important;
    border-style: dashed;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.btn-fixar-leitura, .na-source-shortcuts) small {
    color: var(--lm-ui-muted) !important;
    font-size: 11px;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-queue-hero .btn-atualizar-fila :is(strong, small) {
    color: #182d46 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-queue-hero .btn-atualizar-fila {
    background: var(--lm-ui-yellow) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .fg-badge, .cop-kicker, .motion-monitor__eyebrow, .profile-eyebrow, .she360-eyebrow,
    .scm-eyebrow, .radar-eyebrow, .training-eyebrow, .onway-eyebrow, .exams-kicker,
    .wi-library-kicker, .voice-room__eyebrow, .csv-kicker, .report-section-kicker,
    .section-kicker, .saca-kicker, .csv-step, .au-count, .cl-count, .au-reset,
    .training-meta, .section-counter, .wi-section-head p, .cage-report-breadcrumb a,
    .scm-breadcrumb, .scm-source b
  ) {
    color: var(--lm-ui-link) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.fg-badge, .cop-kicker, .profile-eyebrow, .fg-step-index) {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-blue-soft) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .spa-brand, .sam-brand, .movies-kicker, .yt-music-kicker, .support-page-kicker,
    .home-quick-panel-count
  ) {
    color: #182d46 !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(
    .movies-kicker, .yt-music-kicker, .support-page-kicker, .home-quick-panel-count
  ) {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-blue-soft) !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.spa-brand, .sam-brand) span {
    color: #182d46 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.csv-field, .csv-switch-row, .spa-empty-table) small {
    color: var(--lm-ui-muted) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-envios-focus-card :is(span, p, small) {
    color: var(--lm-ui-muted) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-envios-focus-card :is(strong, b) {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.texto, .tree-caption) :is(p, small, span) {
    color: var(--lm-ui-muted) !important;
  }

  /* Inner surfaces with fixed white/transparent backgrounds used to keep
     white text from dark-mode.css even after the parent had changed theme. */
  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .health-kv > div, .command-management-link, .command-mini-grid > div,
    .wi-replace-check, .csv-merge-rule, .csv-trust-strip > div, .movies-player-meta,
    .fg-mini-metric, .fg-table-row, .report-toolbar-status, .mc-sync-enabled-wrap,
    .ps-dashboard-metrics > div, .ps-dashboard-empty, .ps-footer, .ps-mobile-hint,
    .am-topbar, .am-shift-monitor, .am-shift-monitor__status, .am-shift-loading,
    .es-hero-meta > span, .profile-meta > div, .profile-upload-trigger,
    .pt-summary > article, .pt-tabs a, .radar-scan-query, .radar-query-warning,
    .na-route-config > summary, .csv-upload-field, .na-queue-heading > span,
    .na-envios-route-summary > div, .cage-report-source-pills > span,
    .saca-connection-status, .saca-qr-link, .saca-integration-steps > li,
    .saca-card-head > strong, .support-empty, .yt-music-format-options label,
    .yt-music-cookie-status > span, .spa-filter-guide, .spa-cause-shortcuts button,
    .spa-bulk-result, .spa-pagination a, .spa-file-picker, .spa-filter-actions a,
    .aging-strip > div, .dashboard-footer, .sam-footer, .spa-footer,
    .na-envios-footer, .na-summary-footer, .onway-page .workflow-step,
    .onway-page .upload-meta, .onway-page .gmail-connection,
    .onway-page .email-summary > article, .onway-page .result-tabs a b,
    .governance-distribution > article, .fg-avatar,
    .onway-training-page :is(.training-note, .training-checklist, .query-step, .sheet-toolbar),
    .onway-training-page .status-columns > div, .onway-training-page .lab-kpis > div
  ) {
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ml-page :is(
    .audit-hero a, .audit-filter a, .oi-hero a, .pt-hero a, .radar-actions a,
    .dashboard-actions a, .sam-actions a, .spa-actions a, .na-envios-actions a,
    .na-summary-actions a, .cage-report-action-buttons a, .btn-clear
  ) {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .am-topbar-copy strong, .am-turno-filter, .am-history-form-label,
    .am-shift-monitor h2, .am-shift-monitor__status, .am-shift-loading,
    .csv-field > span, .saca-date-field > span,
    .onway-page .workflow-step strong, .spa-cause-shortcuts button > span,
    .spa-pagination a, .spa-file-picker span, .spa-filter-actions a,
    .profile-meta span, .profile-upload-trigger, .governance-distribution h3,
    .mc-history-days-header h2, .motion-monitor__summary strong,
    .spa-bulk-panel > summary, .na-queue-heading > span, .radar-scan-query label,
    .onway-training-page :is(.training-note, .query-step, .sheet-toolbar, .training-checklist) strong
  ) {
    color: var(--lm-ui-ink) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .am-panel-eyebrow, .am-topbar-link:not(.am-topbar-link--primary), .pt-tabs a,
    .wi-library-search > span, .section-note, .home-quick-panel-head span,
    .fg-avatar, .command-management-link > span, .tree-caption strong,
    .quiz-summary-label, .ranking-section-kicker, .ranking-search > span
  ) {
    color: var(--lm-ui-link) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .am-shift-monitor__description, .am-shift-monitor__status small,
    .lista-vazia, .dashboard-footer, .sam-footer, .spa-footer,
    .na-envios-footer, .na-summary-footer, .movies-player-meta span,
    .whatsapp-sync-copy small, .onway-page .js-file-name, .spa-filter-guide,
    .onway-training-page .status-card strong, .onway-training-page .lab-kpis span
  ) {
    color: var(--lm-ui-muted) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .na-envios-card-heading, .na-summary-card-heading, .card-heading,
    .sam-card header, .spa-card header, .cage-report-table-heading,
    .cage-report-closed-card header
  ) > :is(strong, b, small, span) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .na-envios-card-heading, .na-summary-card-heading, .card-heading,
    .sam-card header, .spa-card header, .spa-upload-card
  ) > div > span,
  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .onway-training-page .training-checklist > span,
  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .layout-main :is(.scm-text-button, .au-reset) {
    color: var(--lm-ui-link) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.am-topbar-link--primary, .exam-card-action) {
    color: #fff !important;
    background: var(--lm-ui-blue-strong) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .onway-page .button-success {
    color: #fff !important;
    background: #087a55 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .am-turno-filter span {
    color: var(--lm-ui-muted) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(.fila-aviso, .wa-safety-note) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(.wa-safety-note span, .na-route-config > summary > strong) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .am-turno-filter, .am-topbar-link:not(.am-topbar-link--primary), .mc-history-days, .mc-history-detail,
    .motion-monitor__summary article, .movies-player-meta span, .lista-vazia,
    .spa-empty-table, .onway-page .file-picker, .na-route-config-body,
    .onway-training-page :is(.status-grid, .status-columns)
  ) {
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .saca-integration-steps li, .onway-training-page .sheet-toolbar span,
    .onway-training-page .status-columns span, .onway-training-page .training-note span,
    .spa-empty-table > span, .radar-scan-query label > span
  ) {
    color: var(--lm-ui-muted) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .layout-main .audits-page .au-reset,
  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .whatsapp-sync-copy span {
    color: var(--lm-ui-link) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.cage-report-breadcrumb > span, .spa-cause-shortcuts button > b) {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .onway-training-page :is(.status-columns span, .status-card em) {
    color: var(--lm-ui-muted) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-movement-legend .withdrawal {
    color: var(--lm-ui-muted);
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-cause-shortcuts button > strong,
  .ml-laboratorio:not(.ml-capture-mode) .onway-training-page .status-columns strong,
  .ml-laboratorio:not(.ml-capture-mode) .cage-report-breadcrumb > b {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .onway-training-page .status-card em {
    color: #182d46 !important;
    background: var(--lm-ui-yellow) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .onway-training-page :is(
    .status-card span, .sheet-toolbar span
  ) {
    color: var(--lm-ui-muted) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .mc-history-days-header > span, .mc-history-empty
  ) {
    color: var(--lm-ui-muted) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .radar-scan-query a, .onway-page .file-picker > span:not(.js-file-name)
  ) {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ml-page .quiz-secondary-link {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-soft) !important;
  }
}

@media print {
  .ml-laboratorio :is(.ml-header, .ml-footer, .ml-nav-backdrop, .ml-support-widget,
    .ml-ai-assistant, .ml-profile-reminder, .ml-whatsapp-admin-alert, .ml-loading-screen,
    .ml-global-toast, .outbox-hero-actions, .outbox-toolbar-actions, .outbox-card-actions,
    .outbox-asset-actions, .mc-tv-voice) {
    display: none !important;
  }

  .ml-laboratorio .ml-page-column {
    margin: 0 !important;
    width: 100% !important;
  }

  .ml-laboratorio .layout-main {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ml-laboratorio .outbox-message {
    max-height: none;
    overflow: visible;
  }

  .ml-laboratorio .outbox-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* Operational components must change foreground and surface together. */
@media screen {
  .ml-laboratorio:not(.ml-capture-mode) :is(
    .ib-upload, .ib-upload-form, .ib-upload label, .ib-scanner, .ib-stats > article,
    .ib-history-register, .profile-upload-box, .mc-sheet-sync-box, .quiz-main,
    .spa-table-heading, .sam-callout, .she360-week-note, .she360-alert.info, .kpi-box,
    .ib-scan-summary > div, .ib-scan-current.is-empty,
    .spa-table-wrap td, .spa-detail-product, .spa-detail-status-grid > article,
    .spa-detail-history
  ) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-paper) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .spa-table-wrap tbody tr:hover td, .spa-table-wrap tbody tr.is-high-value:hover td,
    .spa-history-cell > div > span, .spa-detail-history article,
    .csv-dropzone, .csv-hero-pills > span, .ps-dashboard-sorting-metrics > div,
    .na-inventory-upload-stats, .na-problem-cases-stats, .guia-destaque,
    .ib-history-register p
  ) {
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .ow-dashboard .share-bar small, .spa-table-wrap td strong, .spa-id-open strong,
    .spa-aging-bars > div > span, .spa-detail-product > strong,
    .spa-detail-status-grid strong, .spa-detail-history article strong,
    .sam-callout strong, .sam-callout b, .she360-container .kpi-number,
    .quiz-main-head h2, .csv-dropzone strong,
    .na-envios-week-column > strong, .na-envios-week-column > b
  ) {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(
    .spa-table-wrap td > span:not([class]), .spa-table-wrap td small,
    .spa-detail-status-grid :is(span, small), .spa-detail-history article span,
    .spa-file-picker small, .ib-history-register label > span
  ) {
    color: var(--lm-ui-muted) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-history-cell b {
    color: var(--lm-ui-link) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .pt-current-status-heading small {
    color: #fff !important;
    background: rgba(0, 0, 0, .18) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-envios-week-chart {
    border-color: var(--lm-ui-line);
    background-image: linear-gradient(to top, transparent 32.7%, var(--lm-ui-line) 33%, transparent 33.4%, transparent 65.8%, var(--lm-ui-line) 66.1%, transparent 66.5%);
  }

  .ml-laboratorio:not(.ml-capture-mode) .ml-page .ml-page-header :is(.am-hero-spotlight, .yt-music-status) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
    border: 1px solid var(--lm-ui-line);
    box-shadow: none !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .yt-music-status.is-ready {
    border-left: 3px solid #00a650 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .yt-music-status.is-missing {
    border-left: 3px solid #d23c50 !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .na-envios-coverage > div {
    width: 57px;
    height: 57px;
    place-content: center;
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-paper) !important;
    border-radius: 50%;
  }

  .ml-laboratorio:not(.ml-capture-mode) .cage-report-ring > div {
    width: 130px;
    height: 130px;
    place-content: center;
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-paper) !important;
    border-radius: 50%;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.cage-report-ring, .na-envios-coverage) :is(strong, span) {
    color: var(--lm-ui-ink) !important;
  }

  @media (max-width: 760px) {
    .ml-laboratorio:not(.ml-capture-mode) .cage-report-ring > div {
      width: 108px;
      height: 108px;
    }
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-detail-drawer > header {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-paper) !important;
    border-bottom: 3px solid var(--lm-ui-yellow);
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-detail-drawer > header h2 {
    color: var(--lm-ui-ink) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-detail-drawer > header button {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.spa-detail-drawer > header span, .spa-detail-product > span) {
    color: var(--lm-ui-link) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .spa-detail-drawer > header small {
    color: var(--lm-ui-muted) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ib-scan-current :is(strong, b, span, small) {
    color: inherit !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ib-permanence-link {
    color: var(--lm-ui-link) !important;
    background: var(--lm-ui-paper) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(.ib-scan-current, .ib-scan-row) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ib-scan-row :is(strong, span) {
    color: inherit !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ib-scan-current.is-success {
    color: #a0eac7 !important;
    background: #153a32 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ib-scan-current.is-info {
    color: #abcaff !important;
    background: #1c2f4b !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .ib-scan-current.is-warning, .ib-scan-current.is-high-value-alarm, .spa-detail-alert
  ) {
    color: #ffe08b !important;
    background: #392e18 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .spa-detail-alert :is(strong, span) {
    color: inherit !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ib-scan-current.is-overdue-promise {
    color: #e0c4ff !important;
    background: #342743 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .ib-scan-current.is-danger {
    color: #ffb5bf !important;
    background: #402331 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .ib-scan-current.is-today-non-allocated, .ib-scan-current.is-permanence-critical
  ) {
    color: #fff !important;
    background: #631d2d !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .spa-metric strong {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) :is(.ib-tabs a.is-active, .ib-pagination a.is-active) {
    color: #fff !important;
    background: var(--lm-ui-blue-strong) !important;
  }

  .ml-laboratorio:not(.ml-capture-mode) .ib-tabs a.is-active span {
    color: #fff !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) :is(
    .spa-severity, .spa-timeline-link, .spa-table-counter, .spa-filters,
    .spa-table-wrap, .ib-table tbody tr:nth-child(even)
  ) {
    color: var(--lm-ui-ink) !important;
    background: var(--lm-ui-soft) !important;
    border-color: var(--lm-ui-line) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .spa-severity.is-critical {
    color: #ff9ca5 !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .spa-timeline-link {
    color: var(--lm-ui-link) !important;
  }

  html.ml-dark-mode .ml-laboratorio:not(.ml-capture-mode) .spa-failure-cell strong {
    color: #ff9ca5 !important;
  }
}

/* Bridge legacy module tokens to the shared palette, scoped away from captures. */
@media screen {
  .ml-laboratorio:not(.ml-capture-mode),
  .ml-laboratorio:not(.ml-capture-mode) .ml-page {
    --ml-yellow: var(--lm-ui-yellow);
    --ml-yellow-dark: var(--lm-ui-yellow);
    --ml-blue: var(--lm-ui-blue-strong);
    --ml-blue-dark: var(--lm-ui-blue-strong);
    --ml-bg: var(--lm-ui-bg);
    --ml-text: var(--lm-ui-ink);
    --ml-muted: var(--lm-ui-muted);
    --ml-border: var(--lm-ui-line);
    --am-bg: var(--lm-ui-bg);
    --audit-bg: var(--lm-ui-bg);
    --bg: var(--lm-ui-bg);
    --bg-page: var(--lm-ui-bg);
    --card-bg: var(--lm-ui-bg);
    --col-bg: var(--lm-ui-bg);
    --cop-bg: var(--lm-ui-bg);
    --dash-bg: var(--lm-ui-bg);
    --dc-bg: var(--lm-ui-bg);
    --es-bg: var(--lm-ui-bg);
    --fech-bg: var(--lm-ui-bg);
    --fech-bg-soft: var(--lm-ui-bg);
    --fg-bg: var(--lm-ui-bg);
    --health-bg: var(--lm-ui-bg);
    --home-bg: var(--lm-ui-bg);
    --ib-bg: var(--lm-ui-bg);
    --meli-bg: var(--lm-ui-bg);
    --movies-bg: var(--lm-ui-bg);
    --na-bg: var(--lm-ui-bg);
    --oi-bg: var(--lm-ui-bg);
    --profile-bg: var(--lm-ui-bg);
    --ps-bg: var(--lm-ui-bg);
    --pt-bg: var(--lm-ui-bg);
    --quiz-warning-bg: var(--lm-ui-bg);
    --report-bg: var(--lm-ui-bg);
    --saca-bg: var(--lm-ui-bg);
    --sam-bg: var(--lm-ui-bg);
    --she-bg: var(--lm-ui-bg);
    --spa-bg: var(--lm-ui-bg);
    --sum-bg: var(--lm-ui-bg);
    --wa-bg: var(--lm-ui-bg);
    --wi-bg: var(--lm-ui-bg);
    --am-shadow-card: var(--lm-ui-paper);
    --am-surface: var(--lm-ui-paper);
    --am-surface-strong: var(--lm-ui-paper);
    --au-card: var(--lm-ui-paper);
    --audit-surface: var(--lm-ui-paper);
    --bg-card: var(--lm-ui-paper);
    --cl-card: var(--lm-ui-paper);
    --col-surface: var(--lm-ui-paper);
    --cop-paper: var(--lm-ui-paper);
    --csv-surface: var(--lm-ui-paper);
    --dash-surface: var(--lm-ui-paper);
    --dc-surface: var(--lm-ui-paper);
    --es-card: var(--lm-ui-paper);
    --fech-card: var(--lm-ui-paper);
    --fg-surface: var(--lm-ui-paper);
    --health-surface: var(--lm-ui-paper);
    --home-surface: var(--lm-ui-paper);
    --it-card: var(--lm-ui-paper);
    --movies-surface: var(--lm-ui-paper);
    --na-surface: var(--lm-ui-paper);
    --oi-surface: var(--lm-ui-paper);
    --outbox-surface: var(--lm-ui-paper);
    --ow-surface: var(--lm-ui-paper);
    --profile-card: var(--lm-ui-paper);
    --ps-paper: var(--lm-ui-paper);
    --pt-surface: var(--lm-ui-paper);
    --report-surface: var(--lm-ui-paper);
    --saca-card: var(--lm-ui-paper);
    --scm-paper: var(--lm-ui-paper);
    --she-surface: var(--lm-ui-paper);
    --she-surface-strong: var(--lm-ui-paper);
    --spa-surface: var(--lm-ui-paper);
    --sum-surface: var(--lm-ui-paper);
    --surface: var(--lm-ui-paper);
    --wa-surface: var(--lm-ui-paper);
    --ytm-surface: var(--lm-ui-paper);
    --am-amber-soft: var(--lm-ui-soft);
    --au-soft: var(--lm-ui-soft);
    --border-soft: var(--lm-ui-soft);
    --card-soft: var(--lm-ui-soft);
    --cl-soft: var(--lm-ui-soft);
    --col-danger-soft: var(--lm-ui-soft);
    --col-primary-soft: var(--lm-ui-soft);
    --col-purple-soft: var(--lm-ui-soft);
    --col-success-soft: var(--lm-ui-soft);
    --col-surface-soft: var(--lm-ui-soft);
    --col-warning-soft: var(--lm-ui-soft);
    --cop-line-soft: var(--lm-ui-soft);
    --csv-blue-soft: var(--lm-ui-soft);
    --danger-soft: var(--lm-ui-soft);
    --dc-surface-soft: var(--lm-ui-soft);
    --es-green-soft: var(--lm-ui-soft);
    --es-red-soft: var(--lm-ui-soft);
    --es-yellow-soft: var(--lm-ui-soft);
    --it-soft: var(--lm-ui-soft);
    --motion-soft: var(--lm-ui-soft);
    --outbox-soft: var(--lm-ui-soft);
    --ow-blue-soft: var(--lm-ui-soft);
    --primary-soft: var(--lm-ui-soft);
    --ps-line-soft: var(--lm-ui-soft);
    --ps-paper-strong: var(--lm-ui-soft);
    --quiz-blue-soft: var(--lm-ui-soft);
    --ranking-blue-soft: var(--lm-ui-soft);
    --scm-accent-soft: var(--lm-ui-soft);
    --scm-soft: var(--lm-ui-soft);
    --she-accent-soft: var(--lm-ui-soft);
    --she-danger-soft: var(--lm-ui-soft);
    --she-success-soft: var(--lm-ui-soft);
    --surface-soft: var(--lm-ui-soft);
    --wa-surface-alt: var(--lm-ui-soft);
    --am-ink: var(--lm-ui-ink);
    --au-ink: var(--lm-ui-ink);
    --audit-text: var(--lm-ui-ink);
    --cl-icon-ink: var(--lm-ui-ink);
    --cl-ink: var(--lm-ui-ink);
    --cl-tooltip-ink: var(--lm-ui-ink);
    --col-text: var(--lm-ui-ink);
    --cop-text: var(--lm-ui-ink);
    --csv-ink: var(--lm-ui-ink);
    --dash-ink: var(--lm-ui-ink);
    --dc-ink: var(--lm-ui-ink);
    --es-ink: var(--lm-ui-ink);
    --fech-text: var(--lm-ui-ink);
    --fg-ink: var(--lm-ui-ink);
    --health-text: var(--lm-ui-ink);
    --home-text: var(--lm-ui-ink);
    --ib-ink: var(--lm-ui-ink);
    --ink: var(--lm-ui-ink);
    --it-ink: var(--lm-ui-ink);
    --lab-ink: var(--lm-ui-ink);
    --motion-ink: var(--lm-ui-ink);
    --movies-ink: var(--lm-ui-ink);
    --na-ink: var(--lm-ui-ink);
    --oi-text: var(--lm-ui-ink);
    --outbox-ink: var(--lm-ui-ink);
    --ow-ink: var(--lm-ui-ink);
    --profile-danger-text: var(--lm-ui-ink);
    --profile-success-text: var(--lm-ui-ink);
    --profile-text: var(--lm-ui-ink);
    --ps-text: var(--lm-ui-ink);
    --pt-text: var(--lm-ui-ink);
    --quiz-ink: var(--lm-ui-ink);
    --quiz-text: var(--lm-ui-ink);
    --ranking-ink: var(--lm-ui-ink);
    --ranking-text: var(--lm-ui-ink);
    --report-text: var(--lm-ui-ink);
    --saca-ink: var(--lm-ui-ink);
    --sam-ink: var(--lm-ui-ink);
    --scm-ink: var(--lm-ui-ink);
    --she-text: var(--lm-ui-ink);
    --spa-ink: var(--lm-ui-ink);
    --sum-ink: var(--lm-ui-ink);
    --text: var(--lm-ui-ink);
    --text-main: var(--lm-ui-ink);
    --wa-text: var(--lm-ui-ink);
    --ytm-ink: var(--lm-ui-ink);
    --am-muted: var(--lm-ui-muted);
    --au-muted: var(--lm-ui-muted);
    --audit-muted: var(--lm-ui-muted);
    --cl-muted: var(--lm-ui-muted);
    --col-muted: var(--lm-ui-muted);
    --cop-muted: var(--lm-ui-muted);
    --csv-muted: var(--lm-ui-muted);
    --dash-muted: var(--lm-ui-muted);
    --dc-muted: var(--lm-ui-muted);
    --es-muted: var(--lm-ui-muted);
    --fech-muted: var(--lm-ui-muted);
    --fg-muted: var(--lm-ui-muted);
    --fg-ink-soft: var(--lm-ui-muted);
    --health-muted: var(--lm-ui-muted);
    --home-muted: var(--lm-ui-muted);
    --ib-muted: var(--lm-ui-muted);
    --it-muted: var(--lm-ui-muted);
    --lab-muted: var(--lm-ui-muted);
    --motion-muted: var(--lm-ui-muted);
    --movies-muted: var(--lm-ui-muted);
    --muted: var(--lm-ui-muted);
    --na-muted: var(--lm-ui-muted);
    --oi-muted: var(--lm-ui-muted);
    --outbox-muted: var(--lm-ui-muted);
    --ow-muted: var(--lm-ui-muted);
    --profile-muted: var(--lm-ui-muted);
    --ps-muted: var(--lm-ui-muted);
    --pt-muted: var(--lm-ui-muted);
    --report-muted: var(--lm-ui-muted);
    --saca-muted: var(--lm-ui-muted);
    --sam-muted: var(--lm-ui-muted);
    --scm-muted: var(--lm-ui-muted);
    --she-muted: var(--lm-ui-muted);
    --spa-muted: var(--lm-ui-muted);
    --sum-muted: var(--lm-ui-muted);
    --text-soft: var(--lm-ui-muted);
    --text-muted: var(--lm-ui-muted);
    --wa-muted: var(--lm-ui-muted);
    --wi-muted: var(--lm-ui-muted);
    --ytm-muted: var(--lm-ui-muted);
    --am-line: var(--lm-ui-line);
    --au-line: var(--lm-ui-line);
    --audit-border: var(--lm-ui-line);
    --border: var(--lm-ui-line);
    --cl-line: var(--lm-ui-line);
    --col-border: var(--lm-ui-line);
    --col-border-strong: var(--lm-ui-line);
    --cop-line: var(--lm-ui-line);
    --csv-line: var(--lm-ui-line);
    --dash-border: var(--lm-ui-line);
    --dc-line: var(--lm-ui-line);
    --es-line: var(--lm-ui-line);
    --fech-border: var(--lm-ui-line);
    --fg-border: var(--lm-ui-line);
    --health-border: var(--lm-ui-line);
    --home-border: var(--lm-ui-line);
    --ib-line: var(--lm-ui-line);
    --it-border: var(--lm-ui-line);
    --line: var(--lm-ui-line);
    --motion-line: var(--lm-ui-line);
    --movies-border: var(--lm-ui-line);
    --na-border: var(--lm-ui-line);
    --oi-border: var(--lm-ui-line);
    --outbox-line: var(--lm-ui-line);
    --ow-border: var(--lm-ui-line);
    --profile-border: var(--lm-ui-line);
    --ps-line: var(--lm-ui-line);
    --pt-border: var(--lm-ui-line);
    --quiz-border: var(--lm-ui-line);
    --ranking-border: var(--lm-ui-line);
    --report-border: var(--lm-ui-line);
    --saca-line: var(--lm-ui-line);
    --sam-border: var(--lm-ui-line);
    --scm-line: var(--lm-ui-line);
    --she-border: var(--lm-ui-line);
    --she-border-strong: var(--lm-ui-line);
    --spa-border: var(--lm-ui-line);
    --sum-border: var(--lm-ui-line);
    --wa-border: var(--lm-ui-line);
    --wi-line: var(--lm-ui-line);
    --ytm-border: var(--lm-ui-line);
    --am-blue: var(--lm-ui-blue-strong);
    --am-blue-dark: var(--lm-ui-blue-strong);
    --au-blue: var(--lm-ui-blue-strong);
    --audit-blue: var(--lm-ui-blue-strong);
    --cl-blue: var(--lm-ui-blue-strong);
    --col-primary: var(--lm-ui-blue-strong);
    --col-primary-dark: var(--lm-ui-blue-strong);
    --cop-blue: var(--lm-ui-blue-strong);
    --cop-blue-strong: var(--lm-ui-blue-strong);
    --csv-blue: var(--lm-ui-blue-strong);
    --csv-blue-dark: var(--lm-ui-blue-strong);
    --dash-blue: var(--lm-ui-blue-strong);
    --dc-blue: var(--lm-ui-blue-strong);
    --dc-blue-dark: var(--lm-ui-blue-strong);
    --es-blue: var(--lm-ui-blue-strong);
    --es-blue-dark: var(--lm-ui-blue-strong);
    --fech-primary: var(--lm-ui-blue-strong);
    --fech-primary-strong: var(--lm-ui-blue-strong);
    --fg-accent: var(--lm-ui-blue-strong);
    --fg-accent-strong: var(--lm-ui-blue-strong);
    --health-primary: var(--lm-ui-blue-strong);
    --home-blue: var(--lm-ui-blue-strong);
    --home-blue-dark: var(--lm-ui-blue-strong);
    --ib-blue: var(--lm-ui-blue-strong);
    --ib-blue-strong: var(--lm-ui-blue-strong);
    --it-blue: var(--lm-ui-blue-strong);
    --it-blue-dark: var(--lm-ui-blue-strong);
    --meli-blue: var(--lm-ui-blue-strong);
    --meli-blue-dark: var(--lm-ui-blue-strong);
    --motion-blue: var(--lm-ui-blue-strong);
    --movies-blue: var(--lm-ui-blue-strong);
    --na-blue: var(--lm-ui-blue-strong);
    --oi-blue: var(--lm-ui-blue-strong);
    --outbox-blue: var(--lm-ui-blue-strong);
    --outbox-blue-bright: var(--lm-ui-blue-strong);
    --ow-blue: var(--lm-ui-blue-strong);
    --primary: var(--lm-ui-blue-strong);
    --primary-strong: var(--lm-ui-blue-strong);
    --profile-blue: var(--lm-ui-blue-strong);
    --profile-blue-dark: var(--lm-ui-blue-strong);
    --ps-blue: var(--lm-ui-blue-strong);
    --pt-blue: var(--lm-ui-blue-strong);
    --quiz-blue: var(--lm-ui-blue-strong);
    --quiz-blue-strong: var(--lm-ui-blue-strong);
    --ranking-blue: var(--lm-ui-blue-strong);
    --ranking-blue-strong: var(--lm-ui-blue-strong);
    --report-blue: var(--lm-ui-blue-strong);
    --report-blue-dark: var(--lm-ui-blue-strong);
    --saca-blue: var(--lm-ui-blue-strong);
    --saca-blue-dark: var(--lm-ui-blue-strong);
    --sam-blue: var(--lm-ui-blue-strong);
    --scm-accent: var(--lm-ui-blue-strong);
    --spa-blue: var(--lm-ui-blue-strong);
    --sum-blue: var(--lm-ui-blue-strong);
    --tiers-blue: var(--lm-ui-blue-strong);
    --wa-primary: var(--lm-ui-blue-strong);
    --wa-primary-dark: var(--lm-ui-blue-strong);
    --wi-blue: var(--lm-ui-blue-strong);
    --ytm-blue: var(--lm-ui-blue-strong);
    --audit-yellow: var(--lm-ui-yellow);
    --cop-yellow: var(--lm-ui-yellow);
    --cop-yellow-strong: var(--lm-ui-yellow);
    --csv-yellow: var(--lm-ui-yellow);
    --dc-yellow: var(--lm-ui-yellow);
    --dc-yellow-strong: var(--lm-ui-yellow);
    --es-yellow: var(--lm-ui-yellow);
    --home-yellow: var(--lm-ui-yellow);
    --home-yellow-strong: var(--lm-ui-yellow);
    --ib-yellow: var(--lm-ui-yellow);
    --it-yellow: var(--lm-ui-yellow);
    --lab-yellow: var(--lm-ui-yellow);
    --meli-yellow: var(--lm-ui-yellow);
    --movies-yellow: var(--lm-ui-yellow);
    --na-yellow: var(--lm-ui-yellow);
    --outbox-yellow: var(--lm-ui-yellow);
    --profile-yellow: var(--lm-ui-yellow);
    --ps-yellow: var(--lm-ui-yellow);
    --ps-yellow-strong: var(--lm-ui-yellow);
    --quiz-yellow: var(--lm-ui-yellow);
    --ranking-yellow: var(--lm-ui-yellow);
    --report-yellow: var(--lm-ui-yellow);
    --report-yellow-strong: var(--lm-ui-yellow);
    --saca-yellow: var(--lm-ui-yellow);
    --sam-yellow: var(--lm-ui-yellow);
    --spa-yellow: var(--lm-ui-yellow);
    --sum-yellow: var(--lm-ui-yellow);
    --ytm-yellow: var(--lm-ui-yellow);
    --am-shadow-soft: none;
    --audit-shadow: none;
    --col-shadow: none;
    --cop-shadow: none;
    --dc-shadow: none;
    --dc-shadow-soft: none;
    --es-shadow: none;
    --fech-shadow: none;
    --fg-shadow: none;
    --health-shadow: none;
    --home-shadow: none;
    --oi-shadow: none;
    --profile-shadow: none;
    --ps-shadow: none;
    --pt-shadow: none;
    --quiz-card-shadow: none;
    --quiz-shadow: none;
    --ranking-card-shadow: none;
    --ranking-shadow: none;
    --report-shadow: none;
    --saca-shadow: none;
    --shadow: none;
    --she-shadow: none;
    --she-shadow-soft: none;
    --wa-shadow: none;
    --wi-shadow: none;
    --ytm-shadow: none;
    --scm-accent-soft: var(--lm-ui-blue-soft);
    --fech-radius-lg: 12px;
    --fech-radius-md: 10px;
    --fech-radius-sm: 7px;
  }
}
