/* Neutral black dark mode with subdued dividers and readable controls across menus. */
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]){--ui-line:#292d33!important;--ui-surface:#111317!important;--ui-soft:#1a1d22!important;--ui-ink:#e7eaf0!important;--ui-muted:#929aa8!important;--ap-bg:#111317!important;--ap-border:#292d33!important;--ap-text:#e7eaf0!important;--ap-muted:#929aa8!important;--bp-line:#292d33!important;--mc-line:#292d33!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(main.content,dialog,.profile-menu,.notification-panel,.workspace-drawer,.book-drawer) :is(div,section,article,header,footer,table,th,td,form,button,a,summary,details,input,select,textarea,label){border-color:#292d33!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(dialog,.profile-menu,.notification-panel){border-color:#292d33!important;background:#111317!important;color:#e7eaf0!important;box-shadow:0 20px 60px #0006!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage{--ap-bg:#111317!important;--ap-border:#292d33!important;--ap-text:#e7eaf0!important;--ap-muted:#929aa8!important;color:#e7eaf0!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage :is(button,input,select,textarea,.appeal-date-range,.appeals-pagination,.appeals-table,.appeals-filters,.appeal-popup){color:#d9dfe8!important;border-color:#292d33!important;background:#111317!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage :is(button.primary,#appealPages button.active){background:#272d36!important;color:#f4f6fa!important;border-color:#353d49!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage .appeal-tabs button.active{color:#e7eaf0!important;border-bottom-color:#7e8c9f!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage .appeal-stat-icon{background:#242b35!important;color:#9aadc4!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage .appeals-stats>div:nth-child(2) i{background:#14263b!important;color:#68aaff!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage .appeals-stats>div:nth-child(3) i{background:#142c22!important;color:#6acb9e!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #appealsPage .appeals-stats>div:nth-child(4) i{background:#351b24!important;color:#ee8299!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #staffUserTable .team-child td{background:#151a21!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #staffUserTable .team-toggle-cell:before,html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #staffUserTable .team-toggle-cell:after{background:#343e4d!important}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(main.content,dialog) :is(input,select,textarea){background:#16191e!important;color:#dfe5ee!important;border-color:#303640!important;color-scheme:dark}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(main.content,dialog) :is(input,select,textarea):focus-visible{outline:2px solid #486384!important;outline-offset:2px}
html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) .profile-menu :is(.menu-user,.bp-menu-label,.menu-sep){background:#15191f!important;border-color:#292d33!important}html body:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) :is(main.content,dialog,.profile-menu) button:not(.primary):not([class*=danger]){color:#c9d2df!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) main.content .page table :is(td,th){border-color:#252c36!important;box-shadow:none!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) main.content .page table th{background:#1a2028!important;color:#a6b3c5!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) main.content .page table td{background:#11161d!important;color:#dae2ef!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) main.content .page table tr:hover td{background:#19212c!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #chatArchivesPage#chatArchivesPage :is(.ca-person>span,.ca-agent-avatar){background:#202a37!important;color:#b4c7df!important;border-color:#303d4f!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) main.content .page table button{background:#19212b!important;color:#b6c6db!important;border:1px solid #303c4e!important;box-shadow:none!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #chatArchivesPage#chatArchivesPage#chatArchivesPage table td{background:#11161d!important;color:#dae2ef!important;border-color:#252c36!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #chatArchivesPage#chatArchivesPage#chatArchivesPage table th{background:#1a2028!important;color:#a6b3c5!important;border-color:#252c36!important}
html body.mc-v852:is(.dark,[data-ui-mode=dark],[data-admin-theme=dark-mode]) #chatArchivesPage#chatArchivesPage#chatArchivesPage table tr:hover td{background:#19212c!important}
