
    :root {
      --app-primary: #348157;
      --app-secondary: #286b50;
      --app-background: #f4f7f5;
      --app-loading-background: #286b50;
      --app-surface: #ffffff;
      --app-text: #20372a;
      --app-muted: #748179;
      --app-border: #e7ede9;
    }

    /* O canvas (html) fica verde para que o carregamento e a troca de
       páginas nunca mostrem um quadro branco. O body mantém o fundo do app. */
    :root:not([data-theme="dark"]) html {
      overflow-x: hidden;
      background-color: var(--app-loading-background);
      scrollbar-width: none;
    }

    :root:not([data-theme="dark"]) body {
      overflow-x: hidden;
      background-color: var(--app-background);
      color: var(--app-text);
      scrollbar-width: none;
    }

    :root:not([data-theme="dark"]) html::-webkit-scrollbar {
      display: none;
    }

    :root:not([data-theme="dark"]) .settings-page,
    :root:not([data-theme="dark"]) .language-page,
    :root:not([data-theme="dark"]) .password-page {
      background: var(--app-background) !important;
    }

    :root:not([data-theme="dark"]) body.home-page-body,
    :root:not([data-theme="dark"]) .home-page {
      background: color-mix(in srgb, var(--app-background) 88%, var(--app-primary) 12%) !important;
    }

    :root:not([data-theme="dark"]) .auth-loading {
      background: color-mix(in srgb, var(--app-background) 96%, transparent) !important;
      color: var(--app-secondary) !important;
    }

    :root:not([data-theme="dark"]) .auth-loading-spinner {
      border-color: color-mix(in srgb, var(--app-primary) 20%, transparent) !important;
      border-top-color: var(--app-primary) !important;
    }

    :root:not([data-theme="dark"]) .app-header,
    :root:not([data-theme="dark"]) .app-page-header,
    :root:not([data-theme="dark"]) .app-bottom-nav,
    :root:not([data-theme="dark"]) .app-account-menu,
    :root:not([data-theme="dark"]) .home-shortcut,
    :root:not([data-theme="dark"]) .home-appointment-card,
    :root:not([data-theme="dark"]) .home-empty-appointment,
    :root:not([data-theme="dark"]) .home-news-card,
    :root:not([data-theme="dark"]) .settings-section,
    :root:not([data-theme="dark"]) .language-options,
    :root:not([data-theme="dark"]) .password-card {
      border-color: var(--app-border) !important;
      background-color: var(--app-surface) !important;
    }

    @media (min-width: 481px) {
      :root:not([data-theme="dark"]) .auth-card {
        border-color: var(--app-border);
        background-color: var(--app-surface);
      }
    }

    :root:not([data-theme="dark"]) .home-welcome {
      border-color: var(--app-border) !important;
      background: var(--app-surface) !important;
    }

    :root:not([data-theme="dark"]) .home-welcome h1,
    :root:not([data-theme="dark"]) .home-section-heading h2,
    :root:not([data-theme="dark"]) .home-appointment-details h3,
    :root:not([data-theme="dark"]) .home-empty-appointment h3,
    :root:not([data-theme="dark"]) .settings-intro h2,
    :root:not([data-theme="dark"]) .language-intro h2,
    :root:not([data-theme="dark"]) .password-intro h2,
    :root:not([data-theme="dark"]) .password-field > label {
      color: var(--app-text) !important;
    }

    :root:not([data-theme="dark"]) .home-shortcut-icon,
    :root:not([data-theme="dark"]) .home-appointment-date,
    :root:not([data-theme="dark"]) .home-empty-icon,
    :root:not([data-theme="dark"]) .settings-section-icon,
    :root:not([data-theme="dark"]) .settings-action-icon,
    :root:not([data-theme="dark"]) .language-option-selected,
    :root:not([data-theme="dark"]) .password-intro-icon {
      background-color: color-mix(in srgb, var(--app-primary) 12%, var(--app-surface)) !important;
    }

    .app-account-menu .sidenav-profile {
      background: linear-gradient(145deg, var(--app-secondary), var(--app-primary)) !important;
    }

    .home-eyebrow,
    .settings-eyebrow,
    .language-eyebrow,
    .password-eyebrow,
    .home-appointment-date,
    .app-account-menu .sidenav-nav li a.is-active,
    .app-account-menu .sidenav-nav li a:hover,
    .app-bottom-nav-item.is-active > a,
    .app-bottom-nav-item > a:hover,
    .footer-nav ul li.active a,
    .footer-nav ul li.active a span,
    .footer-nav ul li a:hover,
    .footer-nav ul li a:focus,
    .footer-nav ul li a:hover span,
    .footer-nav ul li a:focus span {
      color: var(--app-primary) !important;
    }

    :root:not([data-theme="dark"]) .app-account-menu .sidenav-nav li a.is-active,
    :root:not([data-theme="dark"]) .app-bottom-nav-item.is-active .app-bottom-nav-icon {
      background-color: color-mix(in srgb, var(--app-primary) 12%, var(--app-surface)) !important;
    }

    .btn-success,
    .password-save-button,
    .home-book-button {
      border-color: var(--app-primary) !important;
      background-color: var(--app-primary) !important;
    }

    .btn-success:hover,
    .btn-success:focus-visible,
    .password-save-button:not(:disabled):hover,
    .home-book-button:hover,
    .home-book-button:focus-visible {
      border-color: var(--app-secondary) !important;
      background-color: var(--app-secondary) !important;
    }

    .footer-nav ul li a span {
      color: var(--app-muted);
    }

    :root:not([data-theme="dark"]) .home-subtitle,
    :root:not([data-theme="dark"]) .home-appointment-details p,
    :root:not([data-theme="dark"]) .home-appointment-note,
    :root:not([data-theme="dark"]) .settings-intro p,
    :root:not([data-theme="dark"]) .settings-row-copy small,
    :root:not([data-theme="dark"]) .language-intro p,
    :root:not([data-theme="dark"]) .password-intro p {
      color: var(--app-muted) !important;
    }

  