/* Community Hub 11.1.0 — Vibrant Graphite.
   A dark-mode-only, additive visual layer. No markup or functionality changes.
   Loaded last, after existing theme and profile feature sheets. */
html[data-theme="dark"] {
  color-scheme:dark;
  --bg:#15181f; --white:#252c36; --ink:#f5f7fb; --muted:#b7c3d0;
  --line:#465161; --green:#20c997; --navy:#1a2733;
  --hcm-bg:#15181f; --hcm-surface:#252c36; --hcm-surface-2:#303948;
  --hcm-line:#465161; --hcm-text:#f4f6fa; --hcm-muted:#c0cad5;
  --hcm-accent:#33e1ae; --hcm-teal:#37c9de; --hcm-amber:#f3be60;
  --hcm-violet:#ad9aff; --hcm-coral:#ff858b;
}
html[data-theme="dark"] body {background:radial-gradient(ellipse at 90% 0%,rgba(43,116,134,.16),transparent 40%),radial-gradient(ellipse at 0% 65%,rgba(77,56,119,.10),transparent 35%),#15181f!important;color:#f4f6fa!important}
html[data-theme="dark"] :is(.sidebar,.topbar){background:#1c222b!important;border-color:#3c4756!important;color:#eef3fa!important;box-shadow:0 8px 30px rgba(0,0,0,.15)!important}
html[data-theme="dark"] :is(.panel,.card,.post,.post-card,.feed-card,.stat,.stats-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,.conversation,.threadlist,.feed-composer,.composer,.hcm61-admin-menu,.hcm61-admin-home,.hcm61-admin-brand,.hcm-comment-sheet,.hcm-sheet-list,.post-more-menu,.standard,.empty){background-color:#252c36!important;border-color:#465161!important;color:#f4f6fa!important;box-shadow:0 6px 25px rgba(0,0,0,.12)!important}
html[data-theme="dark"] :is(.sidebar,.topbar,.panel,.card,.post,.post-card,.listing-card,.event-card,.group-card,.notification-card){border-color:#465161!important}
html[data-theme="dark"] :is(.navlink,.navico){color:#dce5ef!important}
html[data-theme="dark"] :is(.navlink.active,.hcm61-admin-menu a.active){background:#176e62!important;color:#fff!important;box-shadow:inset 3px 0 0 #55f1c4!important}
html[data-theme="dark"] .navlink:hover{background:#303d4c!important;color:#56e2c3!important}
html[data-theme="dark"] :is(a:not(.navlink),.eyebrow,.hcm119-kicker){accent-color:#20c997}
html[data-theme="dark"] :is(h1,h2,h3,h4,h5,h6,strong,b,legend,label,.title,.cardtitle,.page-title){color:#f4f6fa}
html[data-theme="dark"] :is(p,small,.muted,.meta,.postmeta,.eyebrow,.subtitle,.text-muted,.secondary){color:#c0cad5}
html[data-theme="dark"] :is(input,textarea,select,.search,.search input,.filter,input[type="file"],.filepick){background:#1b222d!important;color:#f4f6fa!important;border-color:#526073!important}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#aebbc9!important;opacity:1}
html[data-theme="dark"] :is(input,textarea,select):focus-visible{outline:2px solid #42dcb8;outline-offset:2px;border-color:#42dcb8!important;box-shadow:0 0 0 3px rgba(32,201,151,.17)!important}
html[data-theme="dark"] :is(button,.small,.chip,.post-more>summary):not(.primary):not(.btn-primary):not(.stage-button){background:#303a49!important;color:#f0f5fa!important;border-color:#5a687b!important}
html[data-theme="dark"] :is(button,.small,.chip,.post-more>summary):not(.primary):not(.btn-primary):not(.stage-button):hover{background:#3a485b!important;border-color:#4edbc1!important}
html[data-theme="dark"] :is(.primary,.btn-primary,button[type="submit"],.hcm119-main-action){background:#08715f!important;color:#fff!important;border-color:#34d6ab!important}
html[data-theme="dark"] :is(.primary,.btn-primary,button[type="submit"],.hcm119-main-action):hover{background:#0b806d!important}
html[data-theme="dark"] :is(.navlink,button,a,input,textarea,select):focus-visible{outline:2px solid #64e8ce;outline-offset:2px}
html[data-theme="dark"] :is(.mobile-bottom-nav,.mobile-nav,.bottom-nav,.mobile-bottom-bar,.hcm-mobile-bottom-nav){background:#202833!important;color:#eaf1f8!important;border-color:#516073!important}
html[data-theme="dark"] :is(.mobile-bottom-nav,.mobile-nav,.bottom-nav,.mobile-bottom-bar,.hcm-mobile-bottom-nav) a.active{color:#54e7c2!important}
html[data-theme="dark"] :is(.hcm-comment-sheet,.hcm-sheet-compose,.hcm-sheet-tools,.hcm-sheet-header,.post-more-menu){background:#29313e!important;color:#f4f6fa!important;border-color:#536177!important}
html[data-theme="dark"] :is(.commentform,.commentform input,.hcm-sheet-compose input){background:#1d2531!important;color:#f4f6fa!important;border-color:#566579!important}
html[data-theme="dark"] :is(.calendar-toolbar,.cal-cell){background:#252c36!important;border-color:#465161!important}
html[data-theme="dark"] th{background:#303b4a!important}
html[data-theme="dark"] tr:nth-child(even) td{background:#293240!important}
html[data-theme="dark"] :is(.thread.selected,.thread:hover){background:#2b4551!important}
html[data-theme="dark"] .bubblemsg:not(.mine){background:#313c4d!important;color:#f4f6fa!important}
html[data-theme="dark"] .bubblemsg.mine{background:#165d5a!important;color:#fff!important;border-color:#269f90!important}
html[data-theme="dark"] :is(.dateblock,.event-date){background:#203d55!important;color:#b9eaff!important}
html[data-theme="dark"] :is(.notification.unread,.notice.unread){border-left-color:#f3be60!important}
html[data-theme="dark"] :is(.welcome,.featurebanner){background:linear-gradient(115deg,#244356,#214c51 50%,#3f3564)!important;border-color:#536477!important;color:#fff!important}
html[data-theme="dark"] :is(.welcome,.featurebanner) :is(p,h1,h2,span){color:#f4f6fa}
html[data-theme="dark"] :is(.hcm-theme-switcher select){background:#303b4b!important;color:#eff5fb!important;border-color:#68788b!important}
/* Profile CSS from 11.0.9 sets independent forest-green values. */
html[data-theme="dark"] .hcm119-hero{background:#252c36!important;border-color:#526073!important;box-shadow:0 18px 46px rgba(0,0,0,.24)!important}
html[data-theme="dark"] .hcm119-cover:not([style*="background-image"]){background:linear-gradient(115deg,#195e71 0%,#2a5877 40%,#54447c 78%,#2d4863 100%)!important}
html[data-theme="dark"] .hcm119-cover-placeholder{color:#e9f6ff!important}
html[data-theme="dark"] .hcm119-cover-edit{background:#1d2939!important;color:#fff!important;border-color:#9fc7d5!important}
html[data-theme="dark"] .hcm119-avatar{border-color:#252c36!important;background:#384a60!important}
html[data-theme="dark"] .hcm119-profile :is(.hcm119-edit-card,.hcm119-cover-card,.hcm119-settings-card){background:#252c36!important;border-color:#526073!important;color:#f4f6fa!important}
html[data-theme="dark"] .hcm119-profile .hcm119-main-action{background:#08715f!important;color:#fff!important}
html[data-theme="dark"] .hcm119-profile .hcm119-kicker{color:#78e9d7!important}
html[data-theme="dark"] .hcm119-profile :is(.hcm119-card-head p,.hcm119-settings-card p){color:#c7d1df!important}
/* Distinct feature accents: intentionally not applied to the newsletter publication canvas. */
html[data-theme="dark"] :is(.marketplace-card,.marketcard,.listing-card){border-top:2px solid #37c9de!important}
html[data-theme="dark"] :is(.event-card,.eventgrid > *){border-top:2px solid #6daeff!important}
html[data-theme="dark"] :is(.group-card,.groupgrid > *){border-top:2px solid #67d7aa!important}
html[data-theme="dark"] :is(.notification-card,.notification){border-top-color:#f3be60!important}
/* Newsletter editors must keep the actual printable page canvas light. */
html[data-theme="dark"] :is(.nl-page,.newsletter-page,.hcm103-page,.hcm-newsletter-paper){color:#223343}
html[data-theme="dark"] :is(.nl-page,.newsletter-page,.hcm103-page,.hcm-newsletter-paper) :is(h1,h2,h3,h4,p,small,strong){color:inherit}
/* Status colors stay meaningful and contrast with the slate surfaces. */
html[data-theme="dark"] :is(.error,.danger){border-color:#ed7f88!important}
html[data-theme="dark"] :is(.success){border-color:#34c99b!important}
@media(max-width:720px){html[data-theme="dark"] :is(.sidebar,.topbar){box-shadow:0 4px 18px rgba(0,0,0,.23)!important}html[data-theme="dark"] :is(.panel,.post,.post-card,.card){box-shadow:0 3px 12px rgba(0,0,0,.12)!important}}
@media(prefers-reduced-motion:reduce){html[data-theme="dark"] *{transition-duration:0.01ms!important;animation-duration:0.01ms!important}}
