/* Dark mode for the member area. Follows the owner's DripDash theme choice; real members stay light. */
html[data-theme=dark]{background:#171d35;color-scheme:dark}
html[data-theme=dark] .mh-app-body,html[data-theme=dark] body{--mh-paper:#171d35;--mh-warm:#2d3853;--mh-ink:#f1f5f2;--mh-dim:#b9c9c6;--mh-navy:#f1f5f2;--mh-green:#9fe49a;--mh-teal:#9fe49a;--mh-line:#485573;--bg:#171d35;--bg-2:#171d35;--panel:#222b46;--panel-2:#2d3853;--panel-3:#2d3853;--line:#485573;--line-soft:#485573;--text:#f1f5f2;--muted:#b9c9c6;--faint:#93a5a6;--mint:#9fe49a;--green:#6FED65;--on-green:#171d35;--green-soft:#183d35;background:#171d35;color:#f1f5f2}
html[data-theme=dark] :is(.mh-app-sidebar,.mh-app-header,.mh-topbar,.mh-menu-dialog,.mh-menu-dialog>a,.mh-menu-dialog form button,.mh-bottom-nav,.mh-home-shortcuts>a,.mh-home-learning>a,.mh-home-panel,.mh-channel-card,.mh-chat-room-card,.mh-feature-card,.mh-community-callout,.mh-course-card,.mh-space-card,.mh-space-line,.scan,.card,.foot){background:#222b46!important;color:#f1f5f2;border-color:#485573!important}
html[data-theme=dark] .mh-app-body .foot{background:#171d35!important}
html[data-theme=dark] :is(h1,h2,h3,h4,b,strong){color:inherit}
html[data-theme=dark] .mh-app-brand,html[data-theme=dark] .mh-member-mini{color:#f1f5f2}
html[data-theme=dark] :is(.mh-app-nav a,.mh-nav-button){color:#b9c9c6}
html[data-theme=dark] :is(.mh-app-nav a,.mh-nav-button,.mh-more>summary):hover{background:#2d3853;color:#f1f5f2}
html[data-theme=dark] .mh-app-nav a[aria-current=page]{background:#183d35;color:#ddfff3}
html[data-theme=dark] .mh-member-mini>span{background:#183d35;color:#ddfff3}
html[data-theme=dark] :is(.mh-menu-dialog>a,.mh-menu-dialog form button):hover{background:#183d35!important;color:#ddfff3}
html[data-theme=dark] .mh-menu-dialog::backdrop{background:#0009}
html[data-theme=dark] .mh-menu-dialog>a,html[data-theme=dark] .mh-menu-dialog form button{border-bottom-color:#485573!important}
html[data-theme=dark] .mh-header-actions>a,html[data-theme=dark] .mh-header-actions button{color:#b9c9c6}
html[data-theme=dark] .mh-app-body :is(.post-body,.post-body.rich,.snippet,.rich,.post-full,.scan-row,.scan-head){color:#d7e2e6}
html[data-theme=dark] .mh-app-body :is(.post-body a,.rich a){color:#9fe49a}
html[data-theme=dark] .mh-app-body :is(pre,code){background:#2d3853;color:#f1f5f2}
html[data-theme=dark] .mh-continue-card{background:#183d35;border-color:#4f9884;color:#f1f5f2}
html[data-theme=dark] .mh-continue-card :is(small,strong,i){color:#9fe49a}
html[data-theme=dark] :is(input,textarea,select){background:#171d35;color:#f1f5f2;border-color:#74879a}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#93a5a6}
html[data-theme=dark] .mh-previewbar{background:#183d35;color:#ddfff3}html[data-theme=dark] .mh-previewbar b{color:#fff}
html[data-theme=dark] :is(.mh-library-card,.mh-chat,.dm-workspace,.mh-chat-compose){background:#222b46!important;color:#f1f5f2;border-color:#485573!important}
html[data-theme=dark] :is(.mh-chat-rooms,.dm-list){background:#171d35!important;color:#f1f5f2;border-color:#485573!important}
html[data-theme=dark] .mh-chat-room{color:#d7e2e6}html[data-theme=dark] .mh-chat-room.active{background:#183d35!important;color:#ddfff3}
html[data-theme=dark] :is(.mh-chat-avatar,.dm-monogram){background:#183d35!important;color:#ddfff3}
html[data-theme=dark] .mh-chat-readonly{background:#4d3c10!important;border-color:#8a6d1f!important;color:#ffdf8a}
html[data-theme=dark] .mh-synthetic{background:#183d35!important;border-color:#4f9884!important;color:#ddfff3}
html[data-theme=dark] .mh-library-cover{background:#2d3853!important;color:#f1f5f2}
html[data-theme=dark] .mh-app-body :is(.button,a.button){background:#6FED65;border-color:#6FED65;color:#171d35}
html[data-theme=dark] :is(.mh-kicker,.mh-channel-card>span,.mh-channel-card em,.mh-discussion-list a>span:first-child,.mh-chat-room>span,.mh-library-cover small,.mh-outline-link span){color:#9fe49a!important}
html[data-theme=dark] :is(.mh-chat-body p,.mh-chat-compose p,.mh-chat-room small,.foot,.foot span){color:#b9c9c6!important}
html[data-theme=dark] .mh-chat-team{background:#171d35!important;color:#f1f5f2;border-color:#485573!important}html[data-theme=dark] :is(.mh-team-work,.mh-team-text small,.mh-chat-team summary span){color:#b9c9c6}html[data-theme=dark] .mh-team-dot{border-color:#171d35}
html[data-theme=dark] :is(.mh-chat-projects select,.mh-project-add input){background:#222b46;color:#f1f5f2;border-color:#485573}html[data-theme=dark] .mh-project-empty{color:#b9c9c6}
