/* Plataforma Destrave — modo escuro. ARQUIVO GERADO por dev/gerar-escuro.py a partir do destrave.css; não edite aqui.
   Ajustes manuais: assets/dark-extra.css (copiado para o fim deste arquivo). */
.dst-dark{--dst-ink:#f2efe8;--dst-paper:#121212;--dst-card:#1c1c1c;--dst-line:#34312b;--dst-muted:#a8a296;--dst-gold-ink:var(--dst-accent-d,#ffcf4d);--dst-ok:#5fd39a;color-scheme:dark}
.dst-dark .dst-resume:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-bar i:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-button:hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-button:focus-visible:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-button.is-primary:hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-button.is-primary:focus-visible:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-lessons li>a:hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-lessons li>a:focus-visible:not(:where(.dst-bglight,.dst-bglight *)){background:#2a2722}
.dst-dark .dst-check:not(:where(.dst-bglight,.dst-bglight *)){border:2px solid #4a453c}
.dst-dark .dst-file:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-complete.is-done:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f}
.dst-dark .dst-complete.is-done:hover:not(:where(.dst-bglight,.dst-bglight *)){background:#1c3a27}
.dst-dark .dst-stats li.is-ok:not(:where(.dst-bglight,.dst-bglight *)){border-color:#2f5a41;background:#16301f}
.dst-dark .dst-stats li.is-wait:not(:where(.dst-bglight,.dst-bglight *)){border-color:#6b5010}
.dst-dark .dst-test:not(:where(.dst-bglight,.dst-bglight *)){border-left:5px solid #4a453c}
.dst-dark .dst-chip:not(:where(.dst-bglight,.dst-bglight *)){background:#242220}
.dst-dark .dst-chip.is-released:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f}
.dst-dark .dst-chip.is-protocol:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-toast:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-login-body:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-login-card:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-login-card input[type=email]:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-login-card input[type=password]:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark .dst-login-error:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814;border:1px solid #6b2a22;color:#ff9d92}
.dst-dark .dst-promo:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-login-card input[type=text]:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark .dst-login-ok:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f;border:1px solid #2f5a41}
.dst-dark .dst-notice.is-error:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814;border-color:#6b2a22;color:#ff9d92}
.dst-dark .dst-form input:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-form select:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-pix-form input:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-pix-box textarea:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark .dst-pix-qr:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-pix-paid:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f;border:1px solid #2f5a41}
.dst-dark .dst-card-desc .dst-card-btn:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c;color:#f2efe8 !important}
.dst-dark .dst-sale:nth-of-type(even):not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-sale-lead:not(:where(.dst-bglight,.dst-bglight *)){color:#d6d1c6}
.dst-dark .dst-sale-hero:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b !important}
.dst-dark .dst-sale:nth-of-type(odd) .dst-sale-cards li:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-sale-faq details p:not(:where(.dst-bglight,.dst-bglight *)){color:#d6d1c6}
.dst-dark .dst-sale-final:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b !important}
.dst-dark .dst-slide-dot.is-active:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-count:not(:where(.dst-bglight,.dst-bglight *)){background:#242220}
.dst-dark .dst-cat.is-active:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-start li.is-done:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f;border-color:#1c3a27}
.dst-dark .dst-start-n:not(:where(.dst-bglight,.dst-bglight *)){background:#3a362f}
.dst-dark .dst-gate:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-gate-x:hover:not(:where(.dst-bglight,.dst-bglight *)){background:#242220}
.dst-dark .dst-gate>p:not(:where(.dst-bglight,.dst-bglight *)){color:#d6d1c6}
.dst-dark .dst-gate-login input[type=email]:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-gate-login input[type=password]:not(:where(.dst-bglight,.dst-bglight *)){border:1px solid #4a453c}
.dst-dark .dst-google-btn:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c !important;border:1.5px solid #4a453c !important}
.dst-dark .dst-google-btn:hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-google-btn:focus-visible:not(:where(.dst-bglight,.dst-bglight *)){background:#242220 !important}
.dst-dark .dst-google-note:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-muted,#a8a296)}
.dst-dark .dst-google-or:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-muted,#a8a296)}
.dst-dark .dst-google-or:not(:where(.dst-bglight,.dst-bglight *))::before,.dst-dark .dst-google-or:not(:where(.dst-bglight,.dst-bglight *))::after{background:var(--dst-line,#3a362f)}
.dst-dark .dst-login-info:not(:where(.dst-bglight,.dst-bglight *)){color:#ffcf4d}
.dst-dark .dst-ck:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-ck-choice span:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark .dst-ck-panel:not(:where(.dst-bglight,.dst-bglight *)){background:#161616}
.dst-dark .dst-ck-sym:not(:where(.dst-bglight,.dst-bglight *)){background:#0b0b0b}
.dst-dark .dst-ck-address input:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark #dst-card-brick:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-ck-secure>span:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f;color:#5fd39a}
.dst-dark .dst-ck-box:not(:where(.dst-bglight,.dst-bglight *)){background:#161616}
.dst-dark .dst-ck-tag:not(:where(.dst-bglight,.dst-bglight *)){color:#ffcf4d}
.dst-dark .dst-ck-icon:not(:where(.dst-bglight,.dst-bglight *)){background:#16301f;color:#5fd39a}
.dst-dark .dst-ck-box.is-bad .dst-ck-icon:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814;color:#ff9d92}
.dst-dark .dst-ck-3ds:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-ck-test:not(:where(.dst-bglight,.dst-bglight *)){background:#3a3016;border:1px solid #6b5010}
.dst-dark .dst-fold-all button:hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-fold-all button:focus-visible:not(:where(.dst-bglight,.dst-bglight *)){background:#2a2722;border-color:#4a453c}
.dst-dark .dst-module.is-open .dst-module-chev:not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c}
.dst-dark .dst-module-bar:not(:where(.dst-bglight,.dst-bglight *)){background:#34312b}
.dst-dark .dst-start-dots i:not(:where(.dst-bglight,.dst-bglight *)){background:#3a362f;color:#f2efe8}
.dst-dark .dst-filter-dot:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-quiz .dst-notice.is-error:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814}
.dst-dark .dst-quiz-compare b.is-good:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-quiz-compare small.is-good:not(:where(.dst-bglight,.dst-bglight *)){color:#5fd39a}
.dst-dark .dst-quiz-alert:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814}
.dst-dark .dst-quiz-bar i:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-support-form textarea:not(:where(.dst-bglight,.dst-bglight *)){border:1.5px solid #4a453c;background:#1c1c1c}
.dst-dark .dst-support-form .dst-error:not(:where(.dst-bglight,.dst-bglight *)){background:#3a1814;border:1px solid #6b2a22;color:#ff9d92}
.dst-dark .dst-homevideo .landing-video-play:not(:where(.dst-bglight,.dst-bglight *))::after{color:var(--dst-on-gold,#141414)}
.dst-dark .dst-sale-video .landing-video-play:not(:where(.dst-bglight,.dst-bglight *))::after{color:var(--dst-on-gold,#141414)}
.dst-dark .dst-sale-hero.tone-light .dst-sale-lead:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-sale-final.tone-light .dst-sale-lead:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-sale-hero.tone-light .dst-sale-facts:not(:where(.dst-bglight,.dst-bglight *)){color:#d6d1c6}
.dst-dark .dst-slide.has-bg.tone-light:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-slide.has-bg.tone-light h2:not(:where(.dst-bglight,.dst-bglight *)){color:#f2efe8}
.dst-dark .dst-slide.has-bg.tone-light p:not(:where(.dst-bglight,.dst-bglight *)){color:#d6d1c6}
.dst-dark .dst-slide.has-bg.tone-light .dst-promo-kicker:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-accent-l,#ffcf4d)}
.dst-dark .dst-epub-progress i:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-dark .dst-tip:not(:where(.dst-bglight,.dst-bglight *)){color:#f2efe8}
.dst-dark .dst-epub .dst-epub-c mark.dst-hl.is-sent:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-on-gold,#141414)}
.dst-dark .dst-epub-hlbar:not(:where(.dst-bglight,.dst-bglight *)){background:var(--dst-card,#1c1c1c)}
.dst-dark .dst-epub-notebar:not(:where(.dst-bglight,.dst-bglight *)){background:var(--dst-card,#1c1c1c)}
.dst-dark .dst-epub-pen:not(:where(.dst-bglight,.dst-bglight *)){background:var(--dst-card,#1c1c1c)}
.dst-dark .dst-mats.dst-bg:not(:where(.dst-bglight,.dst-bglight *)){color:#f2efe8}
.dst-dark .dst-mats.dst-bgdark .panel-action:not(.panel-action-primary):hover:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-mats.dst-bgdark .panel-action:not(.panel-action-primary):focus-visible:not(:where(.dst-bglight,.dst-bglight *)){border-color:#1c1c1c!important}
.dst-dark .dst-mats.dst-bglight .panel-action:not(.panel-action-primary):not(:where(.dst-bglight,.dst-bglight *)){background:#1c1c1c!important;color:#f2efe8!important}
.dst-dark .dst-sale.simg-bg .dst-sale-cards li:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-sale.simg-bg .dst-sale-quotes li:not(:where(.dst-bglight,.dst-bglight *)){color:#f2efe8}
.dst-dark .dst-hero.dst-bg.tone-light h1:not(:where(.dst-bglight,.dst-bglight *)),.dst-dark .dst-hero.dst-bg.tone-light p:not(.dst-eyebrow):not(:where(.dst-bglight,.dst-bglight *)){color:#f2efe8}
.dst-dark .dst-hero.dst-bg.tone-light .dst-eyebrow:not(:where(.dst-bglight,.dst-bglight *)){color:var(--dst-accent-l,#ffcf4d)}
/* ---- ajustes manuais (dark-extra.css) ---- */
/* Quadros de leitura e escrita que vêm do Raio-X (etapas do Protocolo, materiais, leitor de PDF, diário, evolução):
   continuam claros, como folhas sobre a página escura. Dentro deles voltam as cores do modo claro. */
.dst-dark .portal-section,.dst-dark .protocol-safety,.dst-dark .pj-sheet,.dst-dark .ps-finish,.dst-dark .pr-overlay,.dst-dark .pr-reader,.dst-dark .pr-modal,
.dst-dark .dst-lesson-journal,.dst-dark .ui-layer,.dst-dark .thr-ui-layer,.dst-dark [class^="thr-alert"],.dst-dark .pj-page{
  --dst-ink:#141414;--dst-paper:#faf8f3;--dst-card:#fff;--dst-line:#e6e1d6;--dst-muted:#6b665c;--dst-gold-ink:var(--dst-accent-l,#7a5600);--dst-ok:#1f7a4d;--dst-gold-soft:color-mix(in srgb,var(--dst-gold) 14%,#fff);color:#141414;color-scheme:light}
.dst-dark .dst-lesson-journal{background:#faf8f3;border-radius:var(--dst-radius);padding:clamp(14px,2.6vw,22px)}
/* Cabeçalho das páginas de Protocolo e de diário (fica sobre o fundo escuro). */
.dst-dark .portal-hero .eyebrow{color:#7fd0e4}
.dst-dark .portal-hero p:not(.eyebrow),.dst-dark .portal-hero .hero-copy{color:#c9c4b8}
.dst-dark .portal-hero h1{color:#f2efe8}
.dst-dark .portal-hero a:not(.dst-button):not([class*="button"]){color:#f2efe8}
/* Botão do Google: fica branco, com texto escuro, também no modo escuro. */
.dst-dark .dst-google-btn{background:#fff !important;color:#1f1f1f !important;border-color:#fff !important}
.dst-dark .dst-google-btn:hover,.dst-dark .dst-google-btn:focus-visible{background:#ece8de !important}

/* 0.32.1 — faixa do título dos blocos: um tom mais clara que o fundo. */
.dst-row-head{background:rgba(255,255,255,.075)}

/* 0.38.0 — teste da aula no modo escuro. */
.dst-quiz .dst-notice.is-error{background:#3a1c19;border-color:#7a3a33;color:#f3c1bb}
.dst-quiz-missing{color:#ff9d94}

/* 0.39.0 — Meu diário no modo escuro. */
.dst-jday>summary,.dst-jday>header{background:rgba(255,255,255,.06)}

/* 0.40.0 — testes no modo escuro. */
.dst-quiz-compare b.is-good,.dst-quiz-compare small.is-good{color:#6fd3a0}
.dst-quiz-compare b.is-bad,.dst-quiz-compare small.is-bad{color:#ff9d94}
.dst-quiz-alert{background:#3a1c19;border-color:#7a3a33;border-left-color:#ff8479;color:#ffd9d4}

/* 0.48.0 — suporte */
.dst-support-form textarea{background:#101010;border-color:#3a3a3a;color:#f2efe8}
.dst-support-form .dst-error{background:#3a1512;border-color:#7a2a22;color:#ffd0c9}

/* 0.54.1 — bloco com fundo claro escolhido no painel: os ajustes manuais acima voltam ao claro dentro dele. */
.dst-bglight .dst-row-head,.dst-row.dst-bglight>.dst-row-head{background:rgba(0,0,0,.045)}
.dst-bglight .dst-support-form textarea,.dst-support.dst-bglight .dst-support-form textarea{background:#fff;border-color:#cfc8b8;color:#141414}
.dst-bglight .dst-support-form .dst-error{background:#fdecea;border-color:#f1b5ae;color:#8a1f14}
.dst-bglight .dst-tcard.is-released .dst-tcard-img .dst-chip,.dst-bglight .dst-start li.is-done .dst-start-n,.dst-start.dst-bglight li.is-done .dst-start-n{background:#1f7a4d;color:#fff}
/* 0.53.0 — selos verdes com texto branco: no escuro o verde do tema é claro, então o fundo volta ao verde fechado. */
.dst-tcard.is-released .dst-tcard-img .dst-chip,.dst-start li.is-done .dst-start-n{background:#1f7a4d;color:#fff}
/* 0.54.0 — slide com fundo claro próprio: continua com texto escuro também no tema escuro (o slide não muda com o tema). */
.dst-body .dst-slide.has-bg.tone-light:not(.img-bg),.dst-body .dst-slide.has-bg.tone-light:not(.img-bg) h2{color:#141414}
.dst-body .dst-slide.has-bg.tone-light:not(.img-bg) p{color:#3b3833}
.dst-body .dst-slide.has-bg.tone-light:not(.img-bg) .dst-promo-kicker{color:var(--dst-accent-l,#7a5600)}
/* 0.99 — página da etapa do Protocolo: os materiais da etapa são uma "folha" clara, como os outros quadros que vêm do Raio-X; o texto de apoio acompanha a página escura. */
.dst-dark.dst-pstep-page .dst-lesson .ps-docs{--dst-ink:#141414;--dst-paper:#faf8f3;--dst-card:#fff;--dst-line:#e6e1d6;--dst-muted:#6b665c;--dst-gold-ink:var(--dst-accent-l,#7a5600);--dst-ok:#1f7a4d;color:#141414;color-scheme:light}
.dst-dark.dst-pstep-page .dst-pstep-text{color:inherit;opacity:.85}
.dst-dark.dst-pstep-page .dst-lesson .ps-docs a:not(.panel-action-primary),.dst-dark.dst-pstep-page .dst-lesson .ps-docs button:not(.panel-action-primary){color:#141414!important}

/* ---- blocos com fundo claro escolhido no painel (.dst-bglight): as regras escuras acima não valem dentro deles; aqui voltam as variáveis do tema claro ---- */
.dst-dark .dst-bglight{--dst-ink:#141414;--dst-paper:#faf8f3;--dst-card:#fff;--dst-line:#e6e1d6;--dst-muted:#6b665c;--dst-gold-ink:var(--dst-accent-l,#7a5600);--dst-ok:#1f7a4d;--dst-gold-soft:color-mix(in srgb,var(--dst-gold) 14%,#fff);color:#141414;color-scheme:light}
