
/* William Frezze: seletor de cores mobile; desktop inalterado. */
.wf-mobile-theme-switch{display:none}
@media (max-width:900px){
  /* Impede o escurecimento automático em navegadores que respeitam only light. */
  html{color-scheme:only light}
  .wf-mobile-theme-switch{display:flex;align-self:center;align-items:stretch;z-index:3;position:relative;width:min(100%,370px);padding:4px;gap:4px;margin:24px auto 29px;border:1px solid #d5c1a3a8;background:#0b222de8;box-shadow:0 10px 25px #0003;border-radius:5px}
  .wf-mobile-theme-switch button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;min-width:0;min-height:45px;padding:10px 9px;background:transparent;border:1px solid transparent;border-radius:3px;color:#efe7da;font:600 clamp(11px,3vw,13px)/1.35 'DM Sans',Arial,sans-serif;letter-spacing:.02em;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,color .2s}
  .wf-mobile-theme-switch button[aria-pressed="true"]{background:#ddc5a4;border-color:#ddc5a4;color:#102a35}
  .wf-mobile-theme-switch button:focus-visible{outline:2px solid white;outline-offset:3px}
  .wf-mobile-theme-switch svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  html[data-mobile-theme="dark"] body{background:#0b222d;color:#f5f2eb}
  html[data-mobile-theme="dark"] .intro,html[data-mobile-theme="dark"] .about{background:#102a35;color:#f5f2eb}
  html[data-mobile-theme="dark"] .timeline{background:#112c37;color:#f5f2eb}
  html[data-mobile-theme="dark"] .practice{background:#163642;color:#f5f2eb}
  html[data-mobile-theme="dark"] .journal{background:#173540;color:#f5f2eb}
  html[data-mobile-theme="dark"] .intro p.intro-heading,
  html[data-mobile-theme="dark"] .intro .intro-mark,
  html[data-mobile-theme="dark"] .editorial-quote,
  html[data-mobile-theme="dark"] .editorial-quote p,
  html[data-mobile-theme="dark"] .about h2,
  html[data-mobile-theme="dark"] .about .lead,
  html[data-mobile-theme="dark"] .about .emphasis-word,
  html[data-mobile-theme="dark"] .timeline h2,
  html[data-mobile-theme="dark"] .timeline .milestone h3,
  html[data-mobile-theme="dark"] .journal h2,
  html[data-mobile-theme="dark"] .journal h3,
  html[data-mobile-theme="dark"] .journal-content a,
  html[data-mobile-theme="dark"] .journal-invitation-link{color:#f6f0e6}
  html[data-mobile-theme="dark"] .intro .intro-mark,
  html[data-mobile-theme="dark"] .journal-invitation-link{background-image:linear-gradient(to bottom,transparent 28%,#685238 28%,#685238 84%,transparent 84%)}
  html[data-mobile-theme="dark"] .intro .intro-detail,
  html[data-mobile-theme="dark"] .editorial-quote footer,
  html[data-mobile-theme="dark"] .about .prose,
  html[data-mobile-theme="dark"] .timeline .milestone p,
  html[data-mobile-theme="dark"] .journal .journal-invitation,
  html[data-mobile-theme="dark"] .journal .journal-content p,
  html[data-mobile-theme="dark"] .practice .section-head>p{color:#cbd7d6}
  html[data-mobile-theme="dark"] .intro .eyebrow,
  html[data-mobile-theme="dark"] .about .eyebrow,
  html[data-mobile-theme="dark"] .timeline .eyebrow,
  html[data-mobile-theme="dark"] .journal .eyebrow,
  html[data-mobile-theme="dark"] .practice .eyebrow,
  html[data-mobile-theme="dark"] .timeline .milestone-label,
  html[data-mobile-theme="dark"] .practice .practice-instruction{color:#ddc5a4}
  html[data-mobile-theme="dark"] .timeline .milestone{border-color:#45606a}
  html[data-mobile-theme="dark"] .journal-content{border-top-color:#54717a}
  html[data-mobile-theme="dark"] .practice .practice-list>.practice-row{color:#f5f2eb;background:#23414c;border-color:#6c7c79}
  html[data-mobile-theme="dark"] .practice .practice-list>.practice-row[data-selected="true"],
  html[data-mobile-theme="dark"] .practice .practice-list>.practice-row:hover,
  html[data-mobile-theme="dark"] .practice .practice-list>.practice-row:focus-visible{color:#fff8ed;background:#385360;border-color:#b39770;box-shadow:inset 0 -2px #b39770}
  html[data-mobile-theme="dark"] .practice .practice-row .label{color:#f5f2eb}
  html[data-mobile-theme="dark"] .practice .practice-row .n,
  html[data-mobile-theme="dark"] .practice .practice-row .mark{color:#ddc5a4}
  html[data-mobile-theme="dark"] .practice .practice-detail{background:#09202b;color:#f5f2eb}
  html[data-mobile-theme="dark"] .practice .practice-detail a,
  html[data-mobile-theme="dark"] .practice .practice-detail h3{color:#f5f2eb}
  html[data-mobile-theme="dark"] .about .inline-link,
  html[data-mobile-theme="dark"] .timeline a,
  html[data-mobile-theme="dark"] .journal .inline-link{color:#e6c8a2}
  @media(prefers-reduced-motion:reduce){.wf-mobile-theme-switch button{transition:none}}
}
