/* 사이트 공통 화면 모드 */
.home-page .profile-name { font-size: inherit; }
html:not([data-theme="dark"]) .home-page .auth-menu .profile-trigger { color: #193653 !important; border-color: #d7e3f0 !important; }
.site-header .auth-menu { align-items: center; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border: 1px solid #d7e3f0;
  border-radius: 11px;
  background: #fff;
  color: #193653;
  cursor: pointer;
}
.theme-toggle:hover { background: #f3f7fd; border-color: #a9c7e9; }
.theme-toggle:focus-visible { outline: 3px solid #78aef2; outline-offset: 3px; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }

@media (min-width: 801px) {
  .site-header .header-inner { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
  .site-header .header-inner:not(:has(> .admin-site-link)) { column-gap: 8px; }
  .site-header .header-inner > .theme-toggle { order: 4; }
}
@media (max-width: 800px) {
  .site-header .header-inner > .theme-toggle { order: 3; }
  .site-header .header-inner:not(:has(> .admin-site-link)):not(:has(> .header-notifications[data-authenticated="true"]:not([hidden]))) > .theme-toggle { margin-left: auto; }
  .site-header .header-inner > .mobile-menu-toggle { margin-left: 0; }
}
@media (max-width: 480px) {
  .site-header .header-inner:has(> .admin-site-link) > .admin-site-link { display: none; }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --navy: #e8f0fb;
  --ink: #e2eaf5;
  --muted: #a9b8ca;
  --blue: #81b6ff;
  --blue-dark: #a8ccff;
  --blue-soft: #1c3656;
  --page: #101b2a;
  --panel: #18283b;
  --line: #30435a;
  --shadow: 0 16px 40px rgba(0, 0, 0, .22);
}
html[data-theme="dark"] body { background: #101b2a; color: var(--ink); }
html[data-theme="dark"] .site-header { background: rgba(12, 23, 37, .97); border-color: #293b50; }
html[data-theme="dark"] .brand small { color: #a5b5c9; }
html[data-theme="dark"] .brand-mark { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22740%22%20height%3D%22685%22%20viewBox%3D%22272%20176%20740%20685%22%20fill%3D%22none%22%3E%20%3Ctitle%3EARCHIQTY%20symbol%3C%2Ftitle%3E%20%3Cpath%20fill%3D%22%23B5C4D6%22%20d%3D%22M558.5%20840.5C407%20817%20292.5%20683%20292.5%20524C292.5%20343%20441%20196%20625%20196C809%20196%20957.5%20343%20957.5%20524C957.5%20585%20940%20643%20906.5%20691L822%20607.5C832.5%20582%20838%20554%20838%20524C838%20406%20743%20310.5%20625%20310.5C507%20310.5%20411.5%20406%20411.5%20524C411.5%20614%20470.5%20690.5%20558.5%20716.5Z%22%2F%3E%20%3Cpath%20fill%3D%22%236DA5EA%22%20d%3D%22M598.5%20425.5L757%20518.5V840.5H598.5Z%22%2F%3E%20%3Cpath%20fill%3D%22%23B5C4D6%22%20d%3D%22M791%20636.5L993%20840.5H791Z%22%2F%3E%20%3C%2Fsvg%3E"); }
html[data-theme="dark"] .main-nav a { color: #bdcad9; }
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a:focus-visible { color: #e9f3ff; background: #203852; }
html[data-theme="dark"] .main-nav a.is-active { background: #2863aa; color: #fff; }
html[data-theme="dark"] .nav-toggle { color: #bdcad9; }
html[data-theme="dark"] .main-nav .nav-dropdown,
html[data-theme="dark"] .has-mobile-menu .mobile-navigation { background: #192a3e; border-color: #354c66; }
html[data-theme="dark"] .main-nav .nav-dropdown a { color: #d0dceb; }
html[data-theme="dark"] .main-nav .nav-dropdown a:hover,
html[data-theme="dark"] .main-nav .nav-dropdown a:focus-visible { color: #fff; background: #29435f; }
html[data-theme="dark"] .mobile-navigation .main-nav { border-color: #354c66; }
html[data-theme="dark"] .mobile-navigation .nav-dropdown { background: #22374e; }
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .notification-trigger,
html[data-theme="dark"] .header-inner > .mobile-menu-toggle { background: #1b2c40; border-color: #405671; color: #e3edf9; }
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .notification-trigger:hover { background: #29425e; border-color: #7199c9; }
html[data-theme="dark"] .notification-panel,
html[data-theme="dark"] .profile-popover { background: #192a3e; border-color: #405671; color: #e3edf9; }
html[data-theme="dark"] .notification-panel > strong,
html[data-theme="dark"] .notification-panel li a { color: #e3edf9; }
html[data-theme="dark"] .notification-summary,
html[data-theme="dark"] .notification-panel li span,
html[data-theme="dark"] .notification-more { color: #b1c1d3; }
html[data-theme="dark"] .notification-panel li { border-color: #354c66; }
html[data-theme="dark"] .auth-menu .profile-trigger { background: #1b2c40 !important; border-color: #405671 !important; color: #e3edf9 !important; }
html[data-theme="dark"] .auth-menu .profile-popover :is(.profile-admin, .profile-edit-mode, .profile-switch, .profile-logout) {
  background: #263c55;
  border: 1px solid #536b87;
  color: #edf4fc;
}
html[data-theme="dark"] .auth-menu .profile-popover :is(.profile-admin, .profile-edit-mode, .profile-switch, .profile-logout):hover {
  background: #315271;
  border-color: #81b6ff;
  color: #fff;
}
html[data-theme="dark"] .auth-menu .profile-caption { color: #b5c4d6; }
html[data-theme="dark"] .auth-menu .profile-feedback { color: #ffb6a9; }
html[data-theme="dark"] .auth-dialog .auth-card { background: #192a3e; border-color: #405671; }
html[data-theme="dark"] .auth-dialog .auth-brand,
html[data-theme="dark"] .auth-dialog .auth-panel h2 { color: #e8f0fb; }
html[data-theme="dark"] .auth-dialog .auth-brand span { color: #81b6ff; }
html[data-theme="dark"] .auth-dialog .auth-panel > p,
html[data-theme="dark"] .auth-dialog .auth-signup-note { color: #b5c4d6; }
html[data-theme="dark"] .auth-dialog .auth-close { background: #263c55; color: #d7e4f2; }
html[data-theme="dark"] .auth-dialog .auth-consents { border-color: #405671; }
html[data-theme="dark"] .auth-dialog .auth-consents legend,
html[data-theme="dark"] .auth-dialog .auth-check,
html[data-theme="dark"] .auth-dialog .auth-check strong,
html[data-theme="dark"] .auth-dialog .auth-check a { color: #c2d1e1; }
html[data-theme="dark"] .auth-dialog .auth-consent-all { background: #263c55; border-color: #405671; color: #e8f0fb; }

html[data-theme="dark"] .hero {
  background-color: #111f31;
  background-image: linear-gradient(rgba(136, 181, 233, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(136, 181, 233, .035) 1px, transparent 1px);
  border-color: #293b50;
}
html[data-theme="dark"] .hero-copy { color: #b5c4d6; }
html[data-theme="dark"] .hero-search { background: #1b2d42; border-color: #567398; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
html[data-theme="dark"] .hero-search input { color: #f0f5fc; }
html[data-theme="dark"] .hero-search input::placeholder { color: #a8b9cd; }
html[data-theme="dark"] .hero-search button { background: #2765b6; color: #fff; }
html[data-theme="dark"] .hero-search button:hover { background: #3477ce; }
html[data-theme="dark"] .quick-search { color: #b1c0d2; }
html[data-theme="dark"] .quick-search button { background: #253b54; color: #d2dfed; }
html[data-theme="dark"] .quick-search button:hover { background: #315271; color: #fff; }
html[data-theme="dark"] .services-section { background: #101b2a; border-color: #293b50; }
html[data-theme="dark"] .service-card { background: #192a3d; border-color: #30475e; }
html[data-theme="dark"] .service-card:hover { border-color: #739ccc; }
html[data-theme="dark"] .service-number { color: #9eb2c8; }
html[data-theme="dark"] .service-icon { color: #a4c9ff; background: #243e5b; }
html[data-theme="dark"] .service-tag { color: #9cc5ff; }
html[data-theme="dark"] .site-footer { background: #0a1421; border-top: 1px solid #293b50; }

/* 공통 본문과 검색 */
html[data-theme="dark"] :is(.page-hero, .about-hero) {
  background-color: #111f31;
  background-image: linear-gradient(rgba(136,181,233,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(136,181,233,.035) 1px, transparent 1px);
  border-color: #293b50;
}
html[data-theme="dark"] :is(.page-hero p, .section-title p, .result-summary, .term-description, .term-meta dd) { color: #b5c4d6; }
html[data-theme="dark"] :is(.quick-terms > span, .term-card header p, .guide-sidebar-topics button span, .mypage-breadcrumb) { color: #b5c4d6; }
html[data-theme="dark"] .board-search-meta #clear-board-search { color: #b5c4d6; }
html[data-theme="dark"] .guide-sidebar-topics button[aria-current="true"] span { color: #fff; }
html[data-theme="dark"] .dashboard-breadcrumb { color: #a6cdff; }
html[data-theme="dark"] :is(.surface, .term-card, .trade-page-card, .trade-detail-panel, .calculator-card, .tool-panel, .conversion-panel, .mypage-identity, .mypage-local-nav, .mypage-section, .mypage-guest, .legal-toc, .dashboard-body, .admin-panel) {
  background: #192a3d; border-color: #30475e; color: #e2eaf5;
}
html[data-theme="dark"] :is(.notice, .result-summary, .portal-search, .quick-terms button, .dictionary-initials button, .term-badge, .term-verdict, .guide-list-number, .guide-list-arrow, .guide-callout, .checklist-item, .education-lesson, .education-price-card.featured, .education-apply-card, .support-status, .support-account) {
  background: #20364d; border-color: #405671; color: #d0deed;
}
html[data-theme="dark"] :is(.portal-search input, .hero-search input) { color: #f0f5fc; background: transparent; }
html[data-theme="dark"] :is(.portal-search input, .hero-search input)::placeholder { color: #a8b9cd; opacity: 1; }
html[data-theme="dark"] :is(.primary-button, .button-primary, .portal-search button[type="submit"], .support-panel button.primary-button, .category-list button[aria-pressed="true"], .standards-category[aria-expanded="true"], .standards-category[aria-pressed="true"], .guide-sidebar button[aria-current="true"], .support-sidebar a[aria-current], .dictionary-initials button[aria-pressed="true"]) { background: #2765b6; border-color: #2765b6; color: #fff; }
html[data-theme="dark"] :is(.education-best, .admin-tabs button[aria-current="true"], .board-page-numbers [aria-current="page"], .trade-page-card[aria-pressed="true"], .auth-submit) { background: #2765b6; border-color: #2765b6; color: #fff; }
html[data-theme="dark"] :is(.primary-button, .button-primary):hover { background: #3477ce; }
html[data-theme="dark"] :is(.quick-terms button:hover, .category-list button:hover, .guide-sidebar button:hover, .support-sidebar a:hover) { background: #294560; color: #eaf3ff; }
html[data-theme="dark"] :is(.guide-sidebar button, .standards-trade-list button, .category-list button, .support-sidebar a) { color: #c5d4e4; }
html[data-theme="dark"] :is(.standards-trade-list button[aria-current="true"], .guide-sidebar button[aria-current="true"], .support-sidebar a[aria-current]) { color: #fff; }
html[data-theme="dark"] :is(.standards-category, .standards-placeholder, .standards-entry-index, .allowance-intro) { background: #20364d; border-color: #405671; color: #e2eaf5; }
html[data-theme="dark"] .standards-placeholder.has-entries { background: transparent; border: 0; }
html[data-theme="dark"] :is(.standards-entry, .standards-entry-group, .allowance-group) { background: #192a3d; border-color: #405671; color: #e2eaf5; }
html[data-theme="dark"] :is(.standards-entry-index p, .allowance-intro p, .standards-entry-body p) { color: #d0deed; }
html[data-theme="dark"] :is(.standards-entry-links a, .allowance-intro a, .standards-entry-body strong, .standards-entry-subitem h4) { color: #a6cdff; }
html[data-theme="dark"] .standards-entry-links a:hover { background: #294560; }
html[data-theme="dark"] .standards-entry-links a[aria-current="true"] { background: #2765b6; color: #fff; }
html[data-theme="dark"] .standards-entry-body p.standards-entry-meta { background: #20364d; border-color: #405671; }
html[data-theme="dark"] :is(.standards-entry h3, .standards-entry-subitem + .standards-entry-subitem, .allowance-list) { border-color: #405671; }

/* 안내·가이드·약관 */
html[data-theme="dark"] :is(.about-hero h1, .about-section h2, .about-cta h2, .about-section .section-lead, .about-section .future-vision, .service-grid-about h3, .philosophy h2) { color: #e8f0fb; }
html[data-theme="dark"] :is(.about-hero p, .about-section p, .about-cta p, .philosophy p, .name-grid span) { color: #b5c4d6; }
html[data-theme="dark"] :is(.about-section, .about-section.soft, .philosophy, .about-cta, .legal-hero) { background: #101b2a; border-color: #293b50; }
html[data-theme="dark"] :is(.name-grid article, .service-grid-about article, .audience-list li, .principle-grid strong, .future-tags li, blockquote, .guide-title-list .guide-list-link, .guide-article, .revision-flow li, .legal-related a) { background: #192a3d; border-color: #405671; color: #e2eaf5; }
html[data-theme="dark"] :is(.about-eyebrow, .about-kicker, .about-signature, .name-grid strong, .about-name h2 span, .card-index, .service-grid-about a, .philosophy .about-kicker) { color: #9cc5ff; }
html[data-theme="dark"] :is(.guide-title-list .guide-list-link:hover, .legal-related a:hover) { background: #233c55; }
html[data-theme="dark"] :is(.guide-list-copy > span, .article-section p, .article-section li, .guide-callout p, .legal-hero p, .legal-toc a, .legal-meta) { color: #bdcbdc; }
html[data-theme="dark"] .guide-warning, html[data-theme="dark"] .legal-notice { background: #403726; border-color: #806a40; color: #f0d8ab; }
html[data-theme="dark"] .guide-warning strong { color: #f0d8ab; }
html[data-theme="dark"] .legal-table th { background: #20364d; }

/* 입력란·고객센터·내 정보 */
html[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .admin-inline-rich) { background-color: #142438; border-color: #536b87; color: #edf4fc; }
html[data-theme="dark"] :is(input, textarea)::placeholder { color: #a8b9cd; opacity: 1; }
html[data-theme="dark"] :is(.support-panel button:not(.primary-button), .mypage-pagination button, .conversion-tabs button, .dictionary-initials button, .education-anchor-nav a) { background: #20364d; border-color: #405671; color: #dce8f5; }
html[data-theme="dark"] :is(.support-board-table th, .post-info-row dt, .legal-table th) { background: #20364d; color: #d0deed; }
html[data-theme="dark"] .post-content { background: #192a3d; border-color: #405671; }
html[data-theme="dark"] .post-body { color: #e2eaf5; }
html[data-theme="dark"] #post-date { color: #bdcbdc; }
html[data-theme="dark"] .post-attachments h4 { background: #20364d; color: #d0deed; }
html[data-theme="dark"] .post-comments { background: #192a3d; border-color: #405671; }
html[data-theme="dark"] .discussion-detail .post-comments { background: transparent; }
html[data-theme="dark"] .support-comment { background: #20364d; border-color: #536b87; color: #e8f0fb; }
html[data-theme="dark"] .support-comment-reply { border-left-color: #81b6ff; }
html[data-theme="dark"] :is(.support-comment .comment-body, .support-comment .comment-private-title) { color: #e8f0fb; }
html[data-theme="dark"] :is(.comment-date, .support-comment .post-meta, .comment-reply-label, .comment-edit-status, #comments-status) { color: #bdcbdc; }
html[data-theme="dark"] .comment-reply-target { background: #20364d; color: #e2eaf5; }
html[data-theme="dark"] :is(.education-lesson ul, .education-apply-card dt, .education-apply-status, .education-small-note, .mypage-breadcrumb a, .mypage-status, .mypage-identity-caption, .mypage-identity > p:last-of-type, .mypage-local-nav a, .mypage-help, .mypage-activity-meta, .mypage-guest p) { color: #b9c8d9; }
html[data-theme="dark"] :is(.mypage-main) { background: #101b2a; }
html[data-theme="dark"] :is(.mypage-identity dd, .mypage-section-heading h2, .mypage-activity-title, .mypage-account-note strong, .mypage-form label, .mypage-withdrawal label) { color: #e2eaf5; }
html[data-theme="dark"] :is(.mypage-avatar, .term-verdict, .conversion-tabs) { background: #20364d; border-color: #405671; color: #c8dcf3; }
html[data-theme="dark"] :is(.mypage-text-link, .term-verdict strong, .education-apply-card dd) { color: #a6cdff; }
html[data-theme="dark"] :is(.education-apply-card option, select option) { background: #142438; color: #edf4fc; }
html[data-theme="dark"] .dictionary-initials,
html[data-theme="dark"] .board-search-controls { background: #20364d; border-color: #405671; }
html[data-theme="dark"] :is(.board-search-controls input, .board-search-controls select) { background: transparent; color: #edf4fc; }
/* 검색 입력 영역이 바깥 검색창과 같은 배경으로 보이도록 합니다. */
html[data-theme="dark"] :is(.hero-search, .portal-search, .board-search-controls) :is(input:not([type="checkbox"]):not([type="radio"]), select) { background-color: transparent; }
html[data-theme="dark"] #panel-unit { --unit-ink: #e8f0fb; --unit-muted: #b5c4d6; --unit-line: #405671; --unit-accent: #81b6ff; }
html[data-theme="dark"] #panel-unit .calculator-card { background: #192a3d; border-color: #405671; }
html[data-theme="dark"] #panel-unit :is(.field input, .field select) { background: #142438; border-color: #536b87; color: #edf4fc; }
html[data-theme="dark"] #panel-unit :is(.tool-status, .result-box) { background: #20364d; border-color: #405671; color: #d0deed; }
html[data-theme="dark"] #panel-unit .result-box { border-left-color: #81b6ff; }
html[data-theme="dark"] #panel-unit :is(.field > span, .result-box > span, .result-box small, .formula-note) { color: #bdcbdc; }
html[data-theme="dark"] .tool-tabs button { color: #c5d4e4; }
html[data-theme="dark"] :is(.tool-tabs button[aria-selected="true"], .conversion-tabs button[aria-selected="true"]) { background: #2765b6; color: #fff; }
html[data-theme="dark"] :is(.calculator-card .field > span, .tool-panel-heading p, .formula-note, .result-box small, .result-box > span) { color: #bdcbdc; }
html[data-theme="dark"] :is(.result-box, .tool-status) { background: #20364d; border-color: #405671; color: #d0deed; }

/* 관리자 대시보드와 현장 편집창 */
html[data-theme="dark"] :is(.admin-main, .dashboard-shell) { color: #e2eaf5; }
html[data-theme="dark"] :is(.dashboard-demo, .telegram-connection, .overview-progress, .overview-metric, .overview-panel, .overview-site, .overview-data-empty, .content-live-intro) { background: #20364d; border-color: #405671; color: #d0deed; }
html[data-theme="dark"] :is(.dashboard-table th, .member-table th, .support-board-table th) { background: #20364d; color: #d0deed; }
html[data-theme="dark"] :is(.dashboard-table td, .dashboard-table th, .dashboard-stats, .member-table td, .member-table th) { border-color: #405671; }
html[data-theme="dark"] :is(.dashboard-description, .dashboard-lead, .dashboard-section-note, .overview-progress-label, .overview-progress-note, .overview-metric span, .overview-data-empty, .telegram-condition small) { color: #bdcbdc; }
html[data-theme="dark"] :is(.dashboard-stats strong, .overview-metric strong, .overview-panel h3, .overview-site h3, .overview-inquiry-list strong, .overview-traffic-bars strong) { color: #e8f0fb; }
html[data-theme="dark"] :is(.overview-site-list a, .seo-pager button, .admin-actions button:not(.primary-button), .admin-toolbar button, .admin-list-panel button) { background: #263c55; border-color: #405671; color: #dce8f5; }
html[data-theme="dark"] .overview-site-list a:hover { background: #315271; }
html[data-theme="dark"] .admin-site-link { background: #1b2c40; border-color: #405671; color: #dce8f5; }
html[data-theme="dark"] .admin-site-link:hover { background: #29425e; }
html[data-theme="dark"] .admin-inline-dialog { background: #192a3d; border-color: #405671; color: #e2eaf5; }
html[data-theme="dark"] :is(.admin-inline-dialog p, .admin-inline-fields small) { color: #b5c4d6; }
html[data-theme="dark"] :is(.admin-inline-fields label, .admin-inline-fields .admin-inline-field) { color: #e2eaf5; }
html[data-theme="dark"] .admin-inline-actions button:not([type="submit"]) { background: #263c55; border-color: #536b87; color: #e8f0fb; }
html[data-theme="dark"] .admin-inline-actions button[type="submit"] { background: #2765b6; border-color: #2765b6; color: #fff; }
html[data-theme="dark"] .admin-login-content { background: #192a3d; }
html[data-theme="dark"] #login-panel .admin-login-content h1 { color: #e8f0fb; }
html[data-theme="dark"] :is(.admin-login-lead, .admin-login-note, .admin-login-divider, #login-panel #login-form label) { color: #bdcbdc; }
html[data-theme="dark"] :is(.dashboard-tabs a, .seo-check-tabs button) { color: #bdcbdc; }
html[data-theme="dark"] :is(.dashboard-tabs a[aria-current="page"], .seo-check-tabs button[aria-selected="true"]) { color: #b5d5ff; border-color: #81b6ff; }
html[data-theme="dark"] :is(.dashboard-section h3, .content-live-intro h3, .member-intro h3, .community-intro h3, .community-section-heading h3, .seo-check-row b, .member-summary-card strong, .community-card strong, .content-live-table td strong) { color: #e8f0fb; }
html[data-theme="dark"] :is(.content-live-intro p, .content-live-intro .content-live-scope, .member-intro p, .community-intro p, .member-note, .community-empty, .seo-page-info, .member-summary-card span, .member-summary-card small, .community-card span, .community-card small, .dashboard-stats span, .content-live-table td small, .seo-check-row div, .seo-manual-item small) { color: #bdcbdc; }
html[data-theme="dark"] :is(.content-live-summary, .community-list-count, .content-pagination span, .community-filter, .taxonomy-tag-form label, .dashboard-form label) { color: #d7e4f2; }
html[data-theme="dark"] :is(.member-intro, .member-summary-card, .member-permission-card, .community-intro, .community-card, .dashboard-form, .dashboard-stats div, .dashboard-period, .taxonomy-tag-form, .dashboard-chart-card, .analytics-summary) { background: #20364d; border-color: #405671; }
html[data-theme="dark"] :is(.content-live-table td a, .taxonomy-table td a, .community-card a, .community-table a, .overview-data-link) { color: #a6cdff; }
html[data-theme="dark"] #dashboard-view :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { background: #142438; border-color: #536b87; color: #edf4fc; }
html[data-theme="dark"] .dashboard-secondary-button { background: #263c55; border-color: #536b87; color: #e8f0fb; }

/* 회원 목록과 통계의 실제 데이터 */
html[data-theme="dark"] :is(.member-table, .dashboard-table table, .dashboard-table tbody, .dashboard-table td) { background: #192a3d; color: #e2eaf5; }
html[data-theme="dark"] :is(.member-filters label, .member-table td small, .member-count, .member-result-count, .dashboard-period label) { color: #bdcbdc; }
html[data-theme="dark"] :is(.analytics-live, .analytics-panel) { color: #e2eaf5; }
html[data-theme="dark"] .analytics-panel { background: #192a3d; border-color: #405671; }
html[data-theme="dark"] :is(.analytics-summary-lead span, .analytics-summary-lead small, .analytics-summary-details dt, .analytics-note, .analytics-trend-note, .analytics-trend-label, .analytics-section-heading span, .analytics-ranking-line span, .analytics-breakdown-list dt, .analytics-status, .analytics-empty) { color: #bdcbdc; }
html[data-theme="dark"] :is(.analytics-summary-lead strong, .analytics-summary-details dd, .analytics-panel h3, .analytics-ranking-line strong, .analytics-breakdown-list dd) { color: #e8f0fb; }
html[data-theme="dark"] .analytics-ranking-line::before { color: #bdcbdc; }
html[data-theme="dark"] :is(.analytics-summary-details, .analytics-summary-details div, .analytics-trend-list, .analytics-ranking-item, .analytics-breakdown-list div, .analytics-live-panel .dashboard-table) { border-color: #405671; }
html[data-theme="dark"] :is(.analytics-ranking-track, .analytics-breakdown-track) { background: #405671; }
html[data-theme="dark"] .analytics-live-panel .dashboard-table th { background: #20364d; color: #d0deed; }
