/* ============================================================================
   ehr-credify#420 (RCM V247) - dark mode.
   On when <html data-theme="dark">: the head's window.rcmApplyTheme(), from the signed-in person's own
   Appearance (users.personalTheme, on their Provider Profile in the EHR; /api/state me.theme).
   - The tokens below re-color everything the page draws with var(--...).
   - Between the dark:generated markers: the rules that hard-code a color, from
     scripts/gen-dark-theme.mjs. Regenerate after changing those rules (test/unit/dark-theme.test.mjs checks).
   Palette (the EHR's): a green-tinted near-black page, slightly lighter cards, light text; the brand
   greens, red, amber and blue lifted so they read on dark. The deep-green bars keep their green.
   ============================================================================ */
:root[data-theme='dark'] {
  color-scheme: dark;
  --brand: #5cc49c;
  --brand-fill: #0d4a34;
  --primary: #27a07a;
  --accent: #34b88d;
  --accent2: #4cc79e;
  --mint: #15302a;
  --mint2: #1d3d33;
  --text: #e6efe9;
  --muted: #9db3a8;
  --muted2: #7f978b;
  --surface: #0f1714;
  --border: #2a3a33;
  --white: #17211d;
  --caution: #f0a23b;
  --problem: #ef6b5e;
  --primary-dark: #1f8f6b;
  --problem-dark: #d65a4d;
  --problem-soft: #3a1d1b;
  --caution-text: #f0b04a;
  --caution-soft: #33280f;
  --blue: #7aa5f2;
  --blue-dark: #5b8def;
  --blue-soft: #1a2742;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
  /* colors the page's scripts write inline (style="background:var(--inl-paper,#fff)"): each falls back to its
     light color, so these exist only here */
  --inl-paper: #17211d;
  --inl-surface: #16201c;
  --inl-mint: #15302a;
  --inl-text: #e6efe9;
  --inl-muted: #9db3a8;
  --inl-border: #2a3a33;
}
/* Form controls the browser draws: dark fields, light text, a visible placeholder (zero specificity). */
:where(:root[data-theme='dark']) :where(input, select, textarea) {
  background-color: var(--white);
  color: var(--text);
  border-color: var(--border);
}
:where(:root[data-theme='dark']) :where(input, textarea)::placeholder {
  color: var(--muted2);
}
:where(:root[data-theme='dark']) option {
  background: var(--white);
  color: var(--text);
}
/* The paper documents stay paper: the CMS-1500 form, the client invoice, the ERA and the statement card read as the
   printed page in either theme. Their tokens go back to the light values inside them (the generator skips them). */
:root[data-theme='dark'] :is(.form1500, #ptInvDoc, .era-doc, .stmt-card) {
  color-scheme: light;
  --brand: #0a3d2b;
  --brand-fill: #0a3d2b;
  --primary: #1a8a66;
  --accent: #22a87e;
  --accent2: #3dbd94;
  --mint: #edfaf4;
  --mint2: #d4f4e8;
  --text: #0d1f18;
  --muted: #527060;
  --muted2: #8aaa9a;
  --surface: #f4f7f5;
  --border: #dde8e3;
  --white: #ffffff;
  --caution: #d97706;
  --problem: #b04a3c;
  --primary-dark: #15795a;
  --problem-dark: #8c3830;
  --problem-soft: #f5eae8;
  --caution-text: #92400e;
  --caution-soft: #fef6e7;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --blue-soft: #dbeafe;
  --inl-paper: #ffffff;
  --inl-surface: #f4f7f5;
  --inl-mint: #f1faf5;
  --inl-text: #0d1f18;
  --inl-muted: #527060;
  --inl-border: #dde8e3;
  color: #0d1f18;
}

/* dark:generated:start */
/* GENERATED from public/index.html (232 rules): edit the source rule, then run node scripts/gen-dark-theme.mjs */
/* ---- <style> block 1 (230 rules) ---- */
:where(:root[data-theme="dark"]) .uchip-av {
  color: #6addba;
}
:where(:root[data-theme="dark"]) .uchip.viewing .uchip-av {
  color: #f6bc51;
}
:where(:root[data-theme="dark"]) .uchip-menu {
  background: #17211c;
  color: var(--text,#cce8e1);
  border: 1px solid var(--border,#30433a);
}
:where(:root[data-theme="dark"]) .um-me {
  border-bottom: 1px solid #233128;
}
:where(:root[data-theme="dark"]) .um-me-sub {
  color: #aebdb8;
}
:where(:root[data-theme="dark"]) .um-viewing {
  background: #342c1c;
  color: #f6be51;
}
:where(:root[data-theme="dark"]) .um-viewing b {
  color: #f6be51;
}
:where(:root[data-theme="dark"]) .um-stop {
  background: #17211c;
  color: #f6b651;
}
:where(:root[data-theme="dark"]) .um-stop:hover {
  background: #3e3421;
}
:where(:root[data-theme="dark"]) .um-label {
  color: #94b2a3;
}
:where(:root[data-theme="dark"]) .um-search {
  border: 1px solid #30433a;
}
:where(:root[data-theme="dark"]) .um-user:hover,
:where(:root[data-theme="dark"]) .um-user:focus-visible {
  background: #1c3327;
}
:where(:root[data-theme="dark"]) .um-user-role {
  color: #aebdb8;
}
:where(:root[data-theme="dark"]) .um-note {
  color: #aebdb8;
}
:where(:root[data-theme="dark"]) .gs-t mark {
  background: #254435;
}
:where(:root[data-theme="dark"]) .gs-s mark {
  background: #254435;
}
:where(:root[data-theme="dark"]) .panel-sticky {
  background: #222922;
}
:where(:root[data-theme="dark"]) #insPayBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .ipm-inp {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .ipm-sel {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .ipm-footer {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #ipmInsDrop,
:where(:root[data-theme="dark"]) #ipmTypeDrop {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pdm-eob-inp {
  background: #162926;
}
:where(:root[data-theme="dark"]) .pdm-eob-inp:focus {
  background: #17211c;
}
:where(:root[data-theme="dark"]) tr.pdm-edit-row {
  background: #1a312a;
}
:where(:root[data-theme="dark"]) .pt-cr-seg button {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pln-inp {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #plnClientDrop {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pt-pmt-inp {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #acpBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .acp-inp {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .acp-sel {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .acp-grid td {
  border-bottom: 1px solid #23322a;
}
:where(:root[data-theme="dark"]) .acp-grid tr:hover td {
  background: #162926;
}
:where(:root[data-theme="dark"]) .acp-footer {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .acp-pat-drop {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #ppBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pp-patstrip-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pp-cpt-table td {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pp-cpt-inp {
  border: 1px solid #3c5549;
}
:where(:root[data-theme="dark"]) .pp-cpt-inp:focus {
  background: #182c21;
}
:where(:root[data-theme="dark"]) .pp-cpt-inp.pp-cell-err:focus {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pp-cpt-code {
  border: 1px solid #3c5549;
}
:where(:root[data-theme="dark"]) .pp-right {
  background: #1a2127;
}
:where(:root[data-theme="dark"]) .pp-balance-block {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pp-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .pdm-table tbody tr:nth-child(even) td {
  background: #1a2721;
}
:where(:root[data-theme="dark"]) .pill.excl {
  background: #351f1d;
}
:where(:root[data-theme="dark"]) .modchip {
  color: #f6b551;
  background: #382f1e;
}
:where(:root[data-theme="dark"]) .banner.valid {
  color: #67dfb8;
}
:where(:root[data-theme="dark"]) .banner.cond {
  color: #eeb058;
}
:where(:root[data-theme="dark"]) .banner.excl {
  background: #351f1d;
  color: #dc756a;
  border: 1px solid #51302c;
}
:where(:root[data-theme="dark"]) .banner.excl .bic {
  background: #51302c;
}
:where(:root[data-theme="dark"]) .box-hit {
  background: #234133 !important;
}
:where(:root[data-theme="dark"]) .idg-fx {
  color: #edb65a;
}
:where(:root[data-theme="dark"]) .rt-badge.inactive {
  background: #3b2020;
}
:where(:root[data-theme="dark"]) .alert-act-btn.go {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .alert-act-btn.restore {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .rt-expiry-banner {
  background: #332c1b;
}
:where(:root[data-theme="dark"]) .rt-expiry-banner b {
  color: #f6c151;
}
:where(:root[data-theme="dark"]) .rpt-match-exact {
  color: #63e3b2;
}
:where(:root[data-theme="dark"]) .rpt-match-weak {
  background: #341c1c;
}
:where(:root[data-theme="dark"]) .rpt-issue.warn {
  background: #39301f;
  color: #e5b662;
}
:where(:root[data-theme="dark"]) .rpt-status-active {
  color: #5fe7b5;
}
:where(:root[data-theme="dark"]) .audit-act-pill {
  border: 1px solid #2b503f;
}
:where(:root[data-theme="dark"]) .audit-type-rate {
  color: #5fe7b5;
}
:where(:root[data-theme="dark"]) .audit-type-provider {
  color: #7193d5;
}
:where(:root[data-theme="dark"]) .audit-type-code {
  background: #261b33;
  color: #ac6bdb;
}
:where(:root[data-theme="dark"]) .audit-type-settings {
  background: #1b2732;
  color: #b1b9c7;
}
:where(:root[data-theme="dark"]) .toggle .knob {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .py-date-expired {
  background: #291616;
}
:where(:root[data-theme="dark"]) .py-date-expiring {
  background: #2e2b19;
}
:where(:root[data-theme="dark"]) .cms-msg {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .rcm-pill-new {
  color: #f0af57;
}
:where(:root[data-theme="dark"]) .rcm-pill-blocked {
  color: #cc827b;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="scheduled"] {
  color: #a9b4be;
  background: #202932;
  border-color: #35414b;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="confirmed"] {
  color: #72aad4;
  background: #1d2b35;
  border-color: #2b414f;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="checkedin"] {
  color: #72d4b2;
  background: #1f3a2f;
  border-color: #305849;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="checkedout"] {
  color: #7c76d0;
  background: #191e2f;
  border-color: #272d48;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="completed"] {
  color: #d0dbd6;
  background: #25352d;
  border-color: #364d42;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="noshow"] {
  color: #d47c73;
  background: #341f1c;
  border-color: #4d2e29;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="latecancel"] {
  color: #e19f65;
  background: #372b1e;
  border-color: #53422d;
}
:where(:root[data-theme="dark"]) .apt-status[data-st="cancelled"] {
  color: #acbeb4;
  background: #233125;
  border-color: #354b3d;
}
:where(:root[data-theme="dark"]) #cdmSummaryBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .cdm-tl-dot.grey {
  background: #23322a;
  color: #a8c2b5;
}
:where(:root[data-theme="dark"]) .cdm-tl-dot.purple {
  background: #201b33;
  color: #976adc;
}
:where(:root[data-theme="dark"]) #cdmCheckStatusBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .cdm-void-box {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .cdm-opt-item.danger:hover {
  background: #2b1717;
}
:where(:root[data-theme="dark"]) .dn-kpi {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dn-kpi.warn   .dn-kpi-val {
  color: #e19f65;
}
:where(:root[data-theme="dark"]) .dn-table tr:hover td {
  background: #172a1b;
}
:where(:root[data-theme="dark"]) .dn-work-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dna-box {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dna-field input,
:where(:root[data-theme="dark"]) .dna-field select,
:where(:root[data-theme="dark"]) .dna-field textarea {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .note-scope-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .nsp-box {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .anl-chip.good {
  background: #203b27;
  color: #71d68b;
}
:where(:root[data-theme="dark"]) .anl-chip.warn {
  background: #382e1e;
  color: #f6b151;
}
:where(:root[data-theme="dark"]) .anl-chip.bad {
  background: #331e1b;
  color: #eb655b;
}
:where(:root[data-theme="dark"]) .ara-bucket.current {
  background: #1b3328;
  color: #6bdcb7;
}
:where(:root[data-theme="dark"]) .ara-bucket.b0 {
  background: #1b3328;
  color: #6bdcb7;
}
:where(:root[data-theme="dark"]) .ara-bucket.b31 {
  background: #312b1a;
  color: #ee9958;
}
:where(:root[data-theme="dark"]) .ara-bucket.b61 {
  background: #34291c;
  color: #f69551;
}
:where(:root[data-theme="dark"]) .ara-bucket.over {
  background: #2f1919;
  color: #d8796f;
}
:where(:root[data-theme="dark"]) .woq-status.pending {
  background: #382e1e;
  color: #f6b151;
}
:where(:root[data-theme="dark"]) .woq-status.approved {
  background: #203b27;
  color: #71d68b;
}
:where(:root[data-theme="dark"]) .woq-status.rejected {
  background: #331e1b;
  color: #eb655b;
}
:where(:root[data-theme="dark"]) .woq-act-btn.approve {
  border-color: #305939;
  color: #71d68b;
  background: #203b27;
}
:where(:root[data-theme="dark"]) .woq-act-btn.approve:hover {
  background: #305939;
}
:where(:root[data-theme="dark"]) .woq-act-btn.reject {
  border-color: #4e2a2e;
  color: #eb655b;
  background: #331e1b;
}
:where(:root[data-theme="dark"]) .woq-act-btn.reject:hover {
  background: #4e2a2e;
}
:where(:root[data-theme="dark"]) .ri-icon.amber {
  background: #312b1a;
}
:where(:root[data-theme="dark"]) .ri-count.amber {
  background: #312b1a;
}
:where(:root[data-theme="dark"]) .ri-row {
  border-bottom: 1px solid #222f28;
}
:where(:root[data-theme="dark"]) .ri-open-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .rpt-pill.rpt-pill-new {
  color: #e7935f;
  background: #312c1a;
}
:where(:root[data-theme="dark"]) .ri-summary-bar {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dna-action-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dn-act-pill.corrected {
  background: #201b33;
  color: #976adc;
}
:where(:root[data-theme="dark"]) .dn-act-pill.patient {
  background: #351d2b;
  color: #e16697;
}
:where(:root[data-theme="dark"]) .dn-chart-card {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dn-sum-card {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dn-bar-track {
  background: #222f28;
}
:where(:root[data-theme="dark"]) .dnr-rule {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dnr-btn {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dnr-btn.danger:hover {
  background: #2b1717;
}
:where(:root[data-theme="dark"]) .dnr-row select,
:where(:root[data-theme="dark"]) .dnr-row input {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dnr-remove {
  border: 1px solid #31473c;
  background: #17211c;
}
:where(:root[data-theme="dark"]) .dnr-remove:hover {
  background: #2f1919;
  border-color: #4e2a2a;
}
:where(:root[data-theme="dark"]) .cdm-sum-head {
  border-bottom: 1px solid #2f443a;
}
:where(:root[data-theme="dark"]) .cdm-sum-footer {
  border-top: 1px solid #2f443a;
}
:where(:root[data-theme="dark"]) .cdm-sum-section h4 {
  color: #94b2a3;
}
:where(:root[data-theme="dark"]) .cdm-sum-field span {
  color: #dfe9e4;
}
:where(:root[data-theme="dark"]) .cdm-ins-row-p.cdm-ins-row-sel {
  background: #325c4d;
}
:where(:root[data-theme="dark"]) .cdm-del-btn {
  border-color: #633636 !important;
}
:where(:root[data-theme="dark"]) .cdm-del-btn:hover {
  background: #452525 !important;
}
:where(:root[data-theme="dark"]) #cdmRulesBanner.br-error {
  background: #2c1818;
  border: 1px solid #562f2f;
}
:where(:root[data-theme="dark"]) #cdmRulesBanner.br-warning {
  background: #312c1a;
}
:where(:root[data-theme="dark"]) .br-type-ME {
  background: #351d2b;
  color: #e16697;
}
:where(:root[data-theme="dark"]) .br-type-AR {
  background: #201b33;
  color: #976adc;
}
:where(:root[data-theme="dark"]) .br-type-PL {
  background: #203c2a;
}
:where(:root[data-theme="dark"]) .br-type-SC {
  background: #30261a;
  color: #e58362;
}
:where(:root[data-theme="dark"]) .br-type-PO {
  background: #1a2631;
  color: #b0baca;
}
:where(:root[data-theme="dark"]) .br-type-DR {
  background: #2d181a;
  color: #e56186;
}
:where(:root[data-theme="dark"]) .br-type-DP {
  background: #19252e;
  color: #54baf3;
}
:where(:root[data-theme="dark"]) #cshBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .csh-bucket-warn {
  background: #37311e;
  color: #f6c651;
}
:where(:root[data-theme="dark"]) #scrubRulesBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .scrub-banner {
  background: #311e1a;
}
:where(:root[data-theme="dark"]) .scrub-rule.unconfirmed {
  background: #311e1a;
}
:where(:root[data-theme="dark"]) .era-pill[data-st="R"] {
  background: #534c2d;
  color: #f6be51;
}
:where(:root[data-theme="dark"]) .era-pill[data-st="X"] {
  background: #3e3222;
}
:where(:root[data-theme="dark"]) .era-match.matched {
  background: #244328;
}
:where(:root[data-theme="dark"]) .era-match.unmatched {
  background: #462626;
}
:where(:root[data-theme="dark"]) .cdm-rev-link:hover {
  background: #2d1818;
}
:where(:root[data-theme="dark"]) #rvBox {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .rv-inp,
:where(:root[data-theme="dark"]) .rv-select {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .rv-csel {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #rvCSelDrop {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #pdmAuditStrip {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #credify-tip .ct-box {
  color: #91b5a6;
}
:where(:root[data-theme="dark"]) .apt-hovercode {
  border-bottom: 1px dashed #3e584c;
}
:where(:root[data-theme="dark"]) .ch-swatch {
  border: 1px solid #2c4238;
  box-shadow: inset 0 0 0 2px #17211c;
}
:where(:root[data-theme="dark"]) .ch-color-pop {
  background: #17211c;
  border: 1px solid #2c4238;
}
:where(:root[data-theme="dark"]) .cp-sw.sel {
  box-shadow: 0 0 0 2px #17211c,0 0 0 4px var(--primary);
}
:where(:root[data-theme="dark"]) .cp-native {
  border: 1px solid #2c4238;
}
:where(:root[data-theme="dark"]) .cp-hex {
  border: 1px solid #2c4238;
}
:where(:root[data-theme="dark"]) .palette-modal {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .palette-head {
  border-bottom: 1px solid #2c4238;
}
:where(:root[data-theme="dark"]) .palette-eyebrow {
  color: #6bdcb7;
}
:where(:root[data-theme="dark"]) .palette-title {
  color: #d5ede4;
}
:where(:root[data-theme="dark"]) .palette-x {
  border: 1px solid #2c4238;
  background: #17211c;
  color: #adc3b7;
}
:where(:root[data-theme="dark"]) .palette-x:hover {
  color: #d5ede4;
}
:where(:root[data-theme="dark"]) .palette-name {
  color: #d5ede4;
}
:where(:root[data-theme="dark"]) .palette-desc {
  color: #adc3b7;
}
:where(:root[data-theme="dark"]) .palette-chip {
  box-shadow: inset 0 0 0 2px #17211c;
}
:where(:root[data-theme="dark"]) .palette-sw:hover .palette-chip {
  box-shadow: inset 0 0 0 2px #17211c,0 3px 9px rgba(0,0,0,.16);
}
:where(:root[data-theme="dark"]) .palette-sw.sel .palette-chip {
  box-shadow: inset 0 0 0 2px #17211c,0 0 0 2px #1a8a66;
}
:where(:root[data-theme="dark"]) .palette-hex {
  color: #adc3b7;
}
:where(:root[data-theme="dark"]) .palette-foot {
  border-top: 1px solid #2c4238;
  background: #1f2b23;
}
:where(:root[data-theme="dark"]) .bq-pill-era {
  background: #254434;
  color: #5aecc3;
}
:where(:root[data-theme="dark"]) .bq-pill-appt {
  background: #201b33;
  color: #9669dd;
}
:where(:root[data-theme="dark"]) .bq-status-done {
  background: #254434;
  color: #5aecc3;
}
:where(:root[data-theme="dark"]) #panel-billerqueue {
  --rule: #3c5949;
}
:where(:root[data-theme="dark"]) .bq-band {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-seg button.on {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-srch input {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-tile {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-asgn-dd {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-asgn-search {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-ap {
  border: 1px solid #34614f;
}
:where(:root[data-theme="dark"]) .bq-card {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-bandhdr .c {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-chip.c-clm {
  border-color: #2a374e;
}
:where(:root[data-theme="dark"]) .bq-chip.c-dn {
  border-color: #4c2d29;
}
:where(:root[data-theme="dark"]) .bq-chip.c-era {
  border-color: #34604f;
}
:where(:root[data-theme="dark"]) .bq-chip.c-appt {
  border-color: #605334;
}
:where(:root[data-theme="dark"]) .bq-chip.c-stmt {
  background: #241c33;
  color: #967acd;
  border-color: #322748;
}
:where(:root[data-theme="dark"]) .bq-chip.c-cred {
  background: #272f2c;
}
:where(:root[data-theme="dark"]) .bq-av.un {
  border: 1.5px dashed #603934;
}
:where(:root[data-theme="dark"]) .bq-av.stack {
  border: 1.5px solid #17211c;
}
:where(:root[data-theme="dark"]) .bq-av.pr {
  background: #272f2c;
}
:where(:root[data-theme="dark"]) .bq-recs {
  background: #16281f;
}
:where(:root[data-theme="dark"]) .bq-rpill.p-done {
  background: #254434;
  color: #5aecc3;
}
:where(:root[data-theme="dark"]) .bq-quiet {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-empty {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-rule-card {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-thr-input {
  background: #17211c;
}
:where(:root[data-theme="dark"]) .bq-task-modal {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash {
  --age1: #27493d;
  --grid: #263730;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .sugg {
  background: #332a1b;
  border: 1px solid #625135;
  color: #edb65a;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .sugg b {
  color: #edb559;
}
:where(:root[data-theme="dark"]) #panel-monthend .dash {
  --age1: #27493d;
  --grid: #263730;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .needs {
  color: #628be4;
  background: #1c2433;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .gap {
  background: repeating-linear-gradient(135deg,var(--surface),var(--surface) 9px,#233128 9px,#233128 18px);
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .btn.r {
  border-color: #603a34;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .c-amb {
  background: #332a1b;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .cl.s1 {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .prow.s1 {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #panel-dashboard .dash .exc.s1 {
  background: #17211c;
}
:where(:root[data-theme="dark"]) #stgDashGroup .t-out {
  background: #332a1b;
}
:where(:root[data-theme="dark"]) #stgDashGroup .dash-sugg.warn {
  background: #332a1b;
  border-color: #625135;
  color: #edb65a;
}
:where(:root[data-theme="dark"]) #stgDashGroup .dash-sugg.warn b {
  color: #edb559;
}
:where(:root[data-theme="dark"]) #panel-claims .cs-chip {
  border: 1px solid #34614f;
  color: #67dfbb;
}
:where(:root[data-theme="dark"]) #panel-statements {
  --rule: #3c5949;
}
:where(:root[data-theme="dark"]) #panel-statements .st-ri.picked:hover {
  background: #2b5040;
}
:where(:root[data-theme="dark"]) #panel-statements .st-incl .st-cb.on svg {
  color: #5fe7b7;
}
:where(:root[data-theme="dark"]) #cdmActSubmit:hover {
  background: #2d5346;
  border-color: #2d5346;
}
:where(:root[data-theme="dark"]) .cdm-sec .cdm-tbl tbody tr:hover td {
  background: #172b1f;
}
/* ---- <style> block 2 (2 rules) ---- */
:root[data-theme="dark"] .csh-send-error {
  background: #2c1b18;
  border: 1px solid #52312c;
}
:root[data-theme="dark"] .sub-chip-live[data-st="send_failed"],
:root[data-theme="dark"] .sub-chip-live[data-st="partial"] {
  background: #2c1b18;
}
/* dark:generated:end */
