/* rs-dark-buttons.css · filled brand buttons keep dark text in dark mode (the brand fills are light there, so white text washed out).
   2026-11-25 sweep (his "fix the faint text"). Link AFTER the page's own styles. Dark mode only; light mode untouched. */
@media (prefers-color-scheme:dark){
  .btn-copy,.btn-primary,.btn-clay,.bar-copy,.btn-accent,.btn-import,#cf-submit,#cf-submit-text,.tabs button[aria-pressed="true"],.hist-tab.active,.cta,
  #qcSubmit,#cmSubmit,#btnSavePrivacy,#publicNameSave,#referCopyBtn,#copyUrlBtn,#submitBtn{color:#06201e!important}
}
/* same sweep: small page-specific faint spots */
@media (prefers-color-scheme:dark){
  .fee-box{background:#1b2625!important}
  .fee-box,.fee-box *{color:#e3ebe9!important}
  .coming-soon-label{color:#06201e!important}
  .draft-banner{color:var(--text,#cfdad7)!important}
}
.org-wm{opacity:1!important;color:var(--muted)!important}
@media (prefers-color-scheme:dark){
  .lens-btn.active,#addBtn,#socialAddBtn{color:#06201e!important}
  .share-more-callout{background:var(--paper-3,#1b2625)!important;color:var(--text,#cfdad7)!important}
  .share-more-callout strong{color:var(--ink,#e3ebe9)!important}
}
/* company light look (data-rs-co-look) on a dark device: outlined small buttons & page text must stay dark on the light page */
@media (prefers-color-scheme:dark){
  :root[data-rs-co-look][data-theme="light"] .btn-small,:root[data-rs-co-look][data-theme="light"] .btn-small:not(.btn-danger){color:#1a2e2c!important}
  :root[data-rs-co-look][data-theme="light"] .btn-copy,:root[data-rs-co-look][data-theme="light"] .btn-primary{color:#fff!important}
}
@media (prefers-color-scheme:dark){ #emailSignIn.btn{color:var(--teal,#5FBFB4)!important} }
/* the page's own saved choice (data-theme) decides, not only the device: dark look = dark text on the light brand fills */
:root[data-theme="dark"] .btn-copy,:root[data-theme="dark"] .btn-primary,:root[data-theme="dark"] .btn-import,:root[data-theme="dark"] #cf-submit,:root[data-theme="dark"] #cf-submit-text,:root[data-theme="dark"] .tabs button[aria-pressed="true"],:root[data-theme="dark"] .bar-copy,:root[data-theme="dark"] .btn-clay,:root[data-theme="dark"] .btn-accent,:root[data-theme="dark"] .hist-tab.active,:root[data-theme="dark"] .cta,:root[data-theme="dark"] #qcSubmit,:root[data-theme="dark"] #cmSubmit,:root[data-theme="dark"] #btnSavePrivacy,:root[data-theme="dark"] #publicNameSave,:root[data-theme="dark"] #referCopyBtn,:root[data-theme="dark"] #copyUrlBtn,:root[data-theme="dark"] #save,:root[data-theme="dark"] #submitBtn,:root[data-theme="dark"] #cf-submit,:root[data-theme="dark"] #cf-submit-text,:root[data-theme="dark"] .bar-btn,:root[data-theme="dark"] #nbTopicAddBtn,:root[data-theme="dark"] #openImportWizardEvernote,:root[data-theme="dark"] #openImportWizard,:root[data-theme="dark"] .lens-btn.active,:root[data-theme="dark"] #addBtn,:root[data-theme="dark"] #socialAddBtn{color:#06201e!important}
.tabs button[aria-pressed="true"]{background:#0d6e6a;color:#fff}
@media (prefers-color-scheme:dark){ .tabs button[aria-pressed="true"]{background:#5FBFB4;color:#06201e} #save{background:#161E1D;color:#e3ebe9} }
@media (prefers-color-scheme:dark){ #nbTopicAddBtn{color:#06201e!important} }
/* pressed tab, every theme state (the page's saved choice can differ from the device) */
:root:not([data-theme="dark"]) .tabs button[aria-pressed="true"]{background:#0d6e6a!important;color:#fff!important}
:root[data-theme="dark"] .tabs button[aria-pressed="true"]{background:#5FBFB4!important;color:#06201e!important}
