/* Community Hub v10.3.3 — brighter dark-theme green palette.
   Dark mode only; keep light theme and the 10.1.2 light-surface contrast fixes intact. */
html[data-theme="dark"] {
  --hcm-bg:#18251f;
  --hcm-surface:#293d33;
  --hcm-surface-2:#344b3e;
  --hcm-line:#547361;
  --hcm-text:#f3f8f3;
  --hcm-muted:#ccddd0;
  --hcm-accent:#83dda3;
}
html[data-theme="dark"] body {background:#18251f!important;color:var(--hcm-text)!important}
html[data-theme="dark"] :is(.sidebar,.topbar) {background:#263c31!important;border-color:var(--hcm-line)!important}
html[data-theme="dark"] :is(.panel,.card,.post,.post-card,.feed-card,.listing,.listing-card,.event-card,.directory-card,.group-card,.notification-card,.home-box,.profile-card,.adminrow,.marketcard,.marketplace-card,.calendar-shell,.modal,.dialog,.message,.hcm61-admin-menu,.hcm61-admin-home) {background-color:var(--hcm-surface)!important;border-color:var(--hcm-line)!important;color:var(--hcm-text)!important}
html[data-theme="dark"] :is(.navlink,.navico) {color:#e0f4e5!important}
html[data-theme="dark"] :is(.navlink.active,.hcm61-admin-menu a.active) {background:#3d7757!important;color:#fff!important}
html[data-theme="dark"] .navlink:hover {background:#355b45!important;color:#fff!important}
html[data-theme="dark"] :is(button,.small,.chip,.post-more>summary):not(.primary):not(.btn-primary):not(.stage-button) {background:#385a46;color:#f6fff7;border-color:#66866f}
html[data-theme="dark"] :is(input,textarea,select,.search,.search input,.filter) {background:#263c31!important;color:#f5fcf6!important;border-color:#66866f!important}
html[data-theme="dark"] :is(input,textarea)::placeholder {color:#bed4c4!important;opacity:1}
html[data-theme="dark"] :is(.mobile-bottom-nav,.mobile-nav,.bottom-nav,.mobile-bottom-bar,.hcm-mobile-bottom-nav) {background:#294234!important;color:#f2fff5!important;border-color:#5c7c65!important}
html[data-theme="dark"] :is(.feed-sort a,.feed-sort button,.feed-sort .chip) {background:#3b6049!important;color:#f8fff9!important;border-color:#6b8d75!important}
html[data-theme="dark"] :is(.feed-sort a:hover,.feed-sort button:hover) {background:#477a59!important}
html[data-theme="dark"] :is(.hcm-comment-sheet,.hcm-sheet-list,.post-more-menu) {background:#293f33!important;border-color:#5a7b66!important;color:#f3f8f3!important}
html[data-theme="dark"] .hcm-theme-switcher select {background:#375943!important;color:#fff!important;border-color:#73977b!important}
/* Deliberately do not style .hcm101-module-nav or .hcm103-home-links:
   those use light surfaces and an explicit accessible dark-foreground palette. */
