/* Steuersoft Tools — Dark Mode */
/* Anwendung via html[data-theme="dark"]. Toggle in /theme.js. */

html[data-theme="dark"] {
  /* CSS-Variablen — werden von allen Tool-Pages genutzt */
  --bg: #1a1d1c;
  --text: #e4e6e0;
  --muted: #888;
  --card: #252826;
  --border: #383b39;
  color-scheme: dark;
}

/* Body-Hintergrund (Tool + Index) */
html[data-theme="dark"] body { background: #1a1d1c; color: #e4e6e0; }

/* Header */
html[data-theme="dark"] header { background: #0a0d0c !important; color: #fff; }

/* === Tool-Pages (CSS-Variablen-basiert) === */
html[data-theme="dark"] .card { background: #252826; border-color: #383b39; color: #e4e6e0; }
html[data-theme="dark"] .card h2 { color: #4ade80; }
html[data-theme="dark"] .info-box { background: #1a3520; border-left-color: #1ec85a; color: #d0d2cc; }
html[data-theme="dark"] .result-panel { background: #1f2421; border-color: #383b39; }
html[data-theme="dark"] .result-main { color: #4ade80; }
html[data-theme="dark"] .result-sub { color: #888; }
html[data-theme="dark"] .result-grid div { background: #2a2d2b; border-color: #383b39; color: #e4e6e0; }
html[data-theme="dark"] .result-grid span { color: #888; }
html[data-theme="dark"] .result-grid strong { color: #fff; }
html[data-theme="dark"] .breakdown { background: #1a1d1c; border: 1px solid #383b39; color: #d0d2cc; }
html[data-theme="dark"] .form-grid label { color: #888; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: #2a2d2b; color: #e4e6e0; border-color: #383b39;
}
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  outline: 2px solid #1ec85a; outline-offset: -1px;
}
html[data-theme="dark"] table.afa th { background: #1a3520; color: #fff; }
html[data-theme="dark"] table.afa td,
html[data-theme="dark"] table.afa th { border-color: #383b39; color: #e4e6e0; }
html[data-theme="dark"] mark { background: #574d00; color: #ffe066; }
html[data-theme="dark"] .back { color: #4ade80; }
html[data-theme="dark"] .rg { color: #888; }
html[data-theme="dark"] .ok { color: #4ade80; }
html[data-theme="dark"] .warn { color: #f87171; }
html[data-theme="dark"] #testPanel { background: #2a2611; border-color: #574d00; color: #ffe066; }
html[data-theme="dark"] .pass { color: #4ade80; }
html[data-theme="dark"] .fail { color: #f87171; }

/* === Index-Page === */
html[data-theme="dark"] section { background: #252826; border-color: #383b39; color: #e4e6e0; }
html[data-theme="dark"] section p, html[data-theme="dark"] section li { color: #d0d2cc; }
html[data-theme="dark"] .tool-card { background: #252826; border-color: #383b39; color: #e4e6e0; }
html[data-theme="dark"] .tool-card:hover { border-color: #1ec85a; box-shadow: 0 4px 20px rgba(30,200,90,0.2); }
html[data-theme="dark"] .tool-info h3 { color: #fff; }
html[data-theme="dark"] .tool-info p { color: #aaa; }
html[data-theme="dark"] .tool-icon { background: #1a3520; border-color: #2a5530; }
html[data-theme="dark"] .tool-icon.lohi { background: #3a2a00; border-color: #574d00; }
html[data-theme="dark"] .category-title { color: #888; border-bottom-color: #383b39; }
html[data-theme="dark"] .badge-std { background: #1a3520; color: #4ade80; border-color: #2a5530; }
html[data-theme="dark"] .badge-lohi { background: #3a2a00; color: #fbbf24; border-color: #574d00; }
html[data-theme="dark"] .badge-new { background: #1ec85a; color: #0a0d0c; }
html[data-theme="dark"] footer { background: #0a0d0c; color: #888; border-top-color: #383b39; }
html[data-theme="dark"] footer a { color: #888; }

html[data-theme="dark"] h1 { color: #fff; }
html[data-theme="dark"] .subtitle { color: #aaa; }
html[data-theme="dark"] .intro { color: #aaa; border-bottom-color: #383b39; }
html[data-theme="dark"] .disclaimer-box { background: #2a2611; border-color: #574d00; }
html[data-theme="dark"] .disclaimer-box h2 { color: #fff; }
html[data-theme="dark"] .disclaimer-box p { color: #d0d2cc; }
html[data-theme="dark"] section h2 { color: #fff; border-bottom-color: #1ec85a; }

/* Search */
html[data-theme="dark"] .search-box input {
  background: #252826 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>") no-repeat 16px center;
  color: #e4e6e0; border-color: #383b39;
}
html[data-theme="dark"] .search-box input:focus { border-color: #1ec85a; box-shadow: 0 0 0 3px rgba(30,200,90,0.2); }
html[data-theme="dark"] .search-info { color: #aaa; }

/* Jump-Menu / Tag-Chips */
html[data-theme="dark"] .jump-menu { border-bottom-color: #383b39; }
html[data-theme="dark"] .jump-chip { background: #252826; border-color: #383b39; color: #aaa; }
html[data-theme="dark"] .jump-chip:hover { background: #1ec85a; color: #0a0d0c; border-color: #1ec85a; }
html[data-theme="dark"] .tag-chip { background: #252826; border-color: #383b39; color: #aaa; }
html[data-theme="dark"] .tag-chip:hover { border-color: #1ec85a; color: #4ade80; }
html[data-theme="dark"] .tag-chip.active { background: #1ec85a; color: #0a0d0c; border-color: #1ec85a; }
html[data-theme="dark"] .filter-bar .label { color: #888; }
html[data-theme="dark"] .stats-banner { background: linear-gradient(90deg, #1a3520 0%, #252826 100%); border-color: #2a5530; color: #d0d2cc; }
html[data-theme="dark"] .stats-banner strong { color: #4ade80; }

/* Fav-Star */
html[data-theme="dark"] .fav-star { color: #555; }
html[data-theme="dark"] .fav-star.active { color: #fbbf24; }
html[data-theme="dark"] .fav-star:hover { background: rgba(251,191,36,0.15); color: #fbbf24; }

/* Print-Bar */
html[data-theme="dark"] .print-bar button { background: #1ec85a; color: #0a0d0c; }
html[data-theme="dark"] .print-bar button:hover { background: #4ade80; }

/* === Toggle-Button === */
/* Damit die Absolut-Positionierung im Header greift + Platz für den Button */
header { position: relative; padding-right: 70px; }

/* In-Header (per JS) — oben rechts im grünen Banner */
#theme-toggle.in-header {
  position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%; cursor: pointer; font-size: 1.05rem; z-index: 50;
  background: rgba(255,255,255,0.18); color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  transition: all 0.15s;
}
#theme-toggle.in-header:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.08); }
html[data-theme="dark"] #theme-toggle.in-header { background: rgba(251,191,36,0.16); color: #fbbf24; border-color: rgba(251,191,36,0.35); }
html[data-theme="dark"] #theme-toggle.in-header:hover { background: rgba(251,191,36,0.28); }

/* Fallback (kein <header>) — fixed oben rechts */
#theme-toggle:not(.in-header) {
  position: fixed; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid #d0d0d0; background: #fff; color: #555;
  cursor: pointer; font-size: 1.1rem; z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
  font-family: -apple-system, "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
}
#theme-toggle:not(.in-header):hover { transform: scale(1.08); }
html[data-theme="dark"] #theme-toggle:not(.in-header) { background: #252826; border-color: #383b39; color: #fbbf24; }

/* ---- Wissensdatenbanken (BMF/BFH/BSG/FG/Bundesgerichte) — Filter & Liste ---- */
html[data-theme="dark"] .search-bar { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .filter-grid { border-top-color: #2a2d2b; }
html[data-theme="dark"] .search-input input { background: #15181a; border-color: #2f3331; color: #e5e7eb; }
html[data-theme="dark"] .search-input input::placeholder { color: #7a7a72; }
html[data-theme="dark"] .search-input input:focus { border-color: #1ec85a; box-shadow: 0 0 0 3px rgba(30,200,90,0.15); }
html[data-theme="dark"] .search-meta { color: #aaa; }
html[data-theme="dark"] .filter-label { color: #888; }
html[data-theme="dark"] .chip { background: #15181a; border-color: #2f3331; color: #c5c5be; }
html[data-theme="dark"] .chip:hover { border-color: #1ec85a; color: #4ade80; background: #1f2421; }
html[data-theme="dark"] .chip.active { background: #1ec85a; color: #0a0d0c; border-color: #1ec85a; font-weight: 700; }
html[data-theme="dark"] .chip-clear { color: #fbbf24; border-color: #5a4a1a; background: #2a2418; }
html[data-theme="dark"] .toggle-row { color: #aaa; }
html[data-theme="dark"] .toggle-row label { color: #c5c5be; }
html[data-theme="dark"] .export-btn { background: #15181a; border-color: #2f3331; color: #c5c5be; }
html[data-theme="dark"] .export-btn:hover { border-color: #1ec85a; color: #4ade80; }
html[data-theme="dark"] .list { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .entry { border-bottom-color: #2a2d2b; }
html[data-theme="dark"] .entry:hover { background: #22262a; }
html[data-theme="dark"] .entry-date { color: #aaa; }
html[data-theme="dark"] .entry-title { color: #e5e7eb; }
html[data-theme="dark"] .entry-title a { color: #4ade80; }
html[data-theme="dark"] .entry-meta { color: #888; }
html[data-theme="dark"] .entry-meta code { background: #15181a; color: #c5c5be; }
html[data-theme="dark"] .tag-st { background: rgba(74,222,128,0.18); color: #4ade80; }
html[data-theme="dark"] .tag-vf { background: rgba(96,165,250,0.18); color: #93c5fd; }
html[data-theme="dark"] .tag-tool { background: rgba(251,191,36,0.16); color: #fcd34d; }
html[data-theme="dark"] .tag-tool:hover { background: rgba(251,191,36,0.28); }
html[data-theme="dark"] .snippet { background: #15181a; color: #c5c5be; border-left-color: #1ec85a; }
html[data-theme="dark"] .snippet mark { background: #5a4a1a; color: #fcd34d; }
html[data-theme="dark"] .warn-aufgehoben { background: #3a1a1a; border-color: #5a2a2a; color: #fca5a5; }
html[data-theme="dark"] .page-btn { background: #15181a; border-color: #2f3331; color: #c5c5be; }
html[data-theme="dark"] .page-btn:hover { border-color: #1ec85a; }
html[data-theme="dark"] .page-btn.active { background: #1ec85a; color: #0a0d0c; border-color: #1ec85a; }
html[data-theme="dark"] .empty { color: #888; }
html[data-theme="dark"] .error { background: #2a2418; border-color: #5a4a1a; color: #fcd34d; }
html[data-theme="dark"] footer { color: #888; border-top-color: #2f3331; }
html[data-theme="dark"] footer a { color: #4ade80; }
html[data-theme="dark"] .meta-line { color: #888; }
html[data-theme="dark"] .filter-collapse-btn { background: #15181a; border-color: #2f3331; color: #aaa; }
html[data-theme="dark"] .filter-collapse-btn:hover { border-color: #1ec85a; color: #4ade80; }

/* ---- AEAO / UStAE / Karteikarten — Karteikarten-Layout ---- */
html[data-theme="dark"] .intro-box { background: #1a2530; border-color: #2a3a4a; border-left-color: #4a90c9; color: #b8c5d0; }
html[data-theme="dark"] .intro-box strong { color: #6ba7d6; }
html[data-theme="dark"] .intro-box a { color: #6ba7d6; }
html[data-theme="dark"] .section-head { background: linear-gradient(90deg,#0f3a18,#1a5530); }
html[data-theme="dark"] .para-card { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .para-card:hover { border-color: #1ec85a; }
html[data-theme="dark"] .para-card.has-changes { background: #1f2421; border-left-color: #1ec85a; }
html[data-theme="dark"] .para-card.no-changes { background: #181a19; opacity: 1; }
html[data-theme="dark"] .para-card.no-changes .para-num,
html[data-theme="dark"] .para-card.no-changes .para-titel { color: #888 !important; }
html[data-theme="dark"] .para-num { color: #4ade80; }
html[data-theme="dark"] .para-titel { color: #d0d2cc; }
html[data-theme="dark"] .para-newest { color: #888; }
html[data-theme="dark"] .para-badge { background: #1ec85a; color: #0a0d0c; }
html[data-theme="dark"] .para-badge.zero { background: #2a2d2b; color: #888; }
/* UStAE-Akzent (violett) */
html[data-theme="dark"] body[data-tool="ustae"] .para-num,
html[data-theme="dark"] .para-card .para-num[data-acc="ustae"] { color: #d97aaf; }
/* Detail-Modal */
html[data-theme="dark"] .detail-modal { background: rgba(0,0,0,0.75); }
html[data-theme="dark"] .detail-inner { background: #1c1f1d; }
html[data-theme="dark"] .detail-head { background: #0f3a18; }
html[data-theme="dark"] .detail-body { color: #d0d2cc; }
html[data-theme="dark"] .detail-body h3 { color: #888; border-bottom-color: #2f3331; }
html[data-theme="dark"] .stammtext-link { background: #1a2530; border-color: #2a3a4a; color: #6ba7d6; }
html[data-theme="dark"] .stammtext-link:hover { background: #22303d; }
html[data-theme="dark"] .change-entry { background: #15181a; border-left-color: #1ec85a; }
html[data-theme="dark"] .change-entry .meta-row { color: #888; }
html[data-theme="dark"] .change-entry .meta-row .date { color: #4ade80; }
html[data-theme="dark"] .change-entry .meta-row code { background: #0d0f0e; color: #c5c5be; }
html[data-theme="dark"] .change-entry .titel-line { color: #e5e7eb; }
html[data-theme="dark"] .change-entry .ausz { color: #aaa; }
html[data-theme="dark"] .change-entry .ausz.spezifisch { background: #14301e; color: #d0d2cc; border-left-color: #1ec85a; }
html[data-theme="dark"] .change-entry .ausz.spezifisch::before { color: #6ee7b7; }
html[data-theme="dark"] .change-entry .ausz.schreiben::before { color: #888; }
/* UStAE-Variante (rosa-violett Akzent) */
html[data-theme="dark"] body[data-tool="ustae"] .change-entry .ausz.spezifisch,
html[data-theme="dark"] .change-entry .ausz.spezifisch[data-tool="ustae"] { background: #2a1825; border-left-color: #d97aaf; }
html[data-theme="dark"] .change-entry .pdf-link { background: #1ec85a; color: #0a0d0c; }
html[data-theme="dark"] .change-entry .pdf-link:hover { background: #4ade80; }
html[data-theme="dark"] .weitere-paras { color: #888; }
html[data-theme="dark"] .weitere-paras code { background: rgba(30,200,90,0.18); color: #4ade80; }
html[data-theme="dark"] .empty-changes { color: #888; }

/* ---- Karteikarten-Tool (violetter Akzent) ---- */
html[data-theme="dark"] .card-header { background: linear-gradient(135deg,#2a1e5a,#4a3585); }
html[data-theme="dark"] .card-header .stammtext-btn { background: rgba(255,255,255,0.18); }
html[data-theme="dark"] .card-header .stammtext-btn:hover { background: rgba(255,255,255,0.3); }
html[data-theme="dark"] .count-card { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .count-card .n { color: #b39ddb; }
html[data-theme="dark"] .count-card .l { color: #888; }
html[data-theme="dark"] .count-card.zero .n { color: #555; }
html[data-theme="dark"] .source-section { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .source-section h2 { color: #b39ddb; border-bottom-color: #2f3331; }
html[data-theme="dark"] .source-section h2 .n { background: #5d3fae; color: #fff; }
html[data-theme="dark"] .source-section h2 .n.zero { background: #2a2d2b; color: #888; }
html[data-theme="dark"] .entry { border-bottom-color: #2a2d2b; }
html[data-theme="dark"] .entry .meta { color: #888; }
html[data-theme="dark"] .entry .meta .date { color: #b39ddb; }
html[data-theme="dark"] .entry .meta code { background: #0d0f0e; color: #c5c5be; }
html[data-theme="dark"] .entry .titel-line { color: #d0d2cc; }
html[data-theme="dark"] .entry .titel-line a { color: #b39ddb; }
html[data-theme="dark"] .entry .pdf-link { background: #5d3fae; color: #fff; }
html[data-theme="dark"] .entry .pdf-link:hover { background: #7a5fc5; }
html[data-theme="dark"] .snippet { background: #15181a; color: #aaa; border-left-color: #5d3fae; }
html[data-theme="dark"] .snippet mark { background: #5a4a1a; color: #fcd34d; }
html[data-theme="dark"] .empty { color: #888; }
html[data-theme="dark"] .loading { color: #888; }
html[data-theme="dark"] .quick-chip { background: #15181a; border-color: #2f3331; color: #c5c5be; }
html[data-theme="dark"] .quick-chip:hover { border-color: #b39ddb; color: #b39ddb; background: #1f2421; }
html[data-theme="dark"] .quick-chip.active { background: #5d3fae; color: #fff; border-color: #5d3fae; }
html[data-theme="dark"] .search-row select,
html[data-theme="dark"] .search-row input { background: #15181a; border-color: #2f3331; color: #e5e7eb; }
html[data-theme="dark"] .search-row select:focus,
html[data-theme="dark"] .search-row input:focus { border-color: #b39ddb; box-shadow: 0 0 0 3px rgba(179,157,219,0.18); }
html[data-theme="dark"] .search-btn { background: #5d3fae; }
html[data-theme="dark"] .search-btn:hover { background: #7a5fc5; }
html[data-theme="dark"] .field-group label { color: #888; }

/* ---- EinspruchGrundlagen — Tabs, Intro-Box, Static-Tables ---- */
html[data-theme="dark"] .intro { background: #2a2418; border-color: #5a4a1a; color: #fcd34d; }
html[data-theme="dark"] .intro strong { color: #fde68a; }
html[data-theme="dark"] .intro a { color: #fcd34d; }
html[data-theme="dark"] .tabs { border-bottom-color: #2f3331; }
html[data-theme="dark"] .tab-btn { color: #aaa; }
html[data-theme="dark"] .tab-btn:hover { color: #e5e7eb; }
html[data-theme="dark"] .tab-btn.active { color: #4ade80; background: #1c1f1d; border-color: #2f3331; border-bottom-color: #1c1f1d; }
html[data-theme="dark"] .static-table { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .static-table table { color: #d0d2cc; }
html[data-theme="dark"] .static-table th { background: #15181a; color: #888; border-bottom-color: #2f3331; }
html[data-theme="dark"] .static-table td { border-bottom-color: #2a2d2b; color: #d0d2cc; }
html[data-theme="dark"] .static-table tr:hover td { background: #22262a; }
html[data-theme="dark"] .static-table .norm { color: #c4b5fd; }
html[data-theme="dark"] .static-table a { color: #4ade80; }
html[data-theme="dark"] .static-table a:hover { color: #6ee7b7; }
html[data-theme="dark"] .static-table code { background: #0d0f0e; color: #c4b5fd; padding: 1px 5px; border-radius: 3px; }
/* Allgemeines Surface-Fallback für noch nicht explizit gestylte Tabellen-Container */
html[data-theme="dark"] table.norm-table th,
html[data-theme="dark"] table.norm-table td { color: #d0d2cc; border-color: #2a2d2b; }

/* ---- LhvCockpit (lhv.tools.steuersoft.de) ---- */
html[data-theme="dark"] .intro { background: #2a2418; border-color: #5a4a1a; color: #fde68a; }
html[data-theme="dark"] .intro strong { color: #fcd34d; }
html[data-theme="dark"] .warn-box { background: #3a1a1a; border-color: #5a2a2a; color: #fca5a5; }
html[data-theme="dark"] .warn-box strong { color: #fecaca; }
html[data-theme="dark"] .warn-box a { color: #fca5a5 !important; }
html[data-theme="dark"] .werte-bar { background: #1c1f1d; border-color: #2f3331; }
html[data-theme="dark"] .werte-bar-title { color: #aaa; }
html[data-theme="dark"] .wert { background: #2a2418; border-color: #5a4a1a; }
html[data-theme="dark"] .wert-l { color: #fcd34d; }
html[data-theme="dark"] .wert-v { color: #fde68a; }
html[data-theme="dark"] .wert-s { color: #d0c08a; }
html[data-theme="dark"] .section-head { border-bottom-color: #2f3331; background: none !important; }
html[data-theme="dark"] .section-title { color: #fcd34d; }
html[data-theme="dark"] .section-sub { color: #888; }
html[data-theme="dark"] .tool-card { background: #1c1f1d; border-color: #2f3331; color: #d0d2cc; }
html[data-theme="dark"] .tool-card:hover { border-color: #fcd34d; box-shadow: 0 2px 12px rgba(252,211,77,0.18); }
html[data-theme="dark"] .tool-title { color: #fcd34d; }
html[data-theme="dark"] .tool-desc { color: #aaa; }
html[data-theme="dark"] .tool-meta { color: #888; }
html[data-theme="dark"] .search-box { background: #15181a; border-color: #2f3331; color: #e5e7eb; }
html[data-theme="dark"] .search-box:focus { border-color: #fcd34d; box-shadow: 0 0 0 3px rgba(252,211,77,0.18); }
html[data-theme="dark"] .search-box::placeholder { color: #888; }
/* Inline-styled Boxen im Cockpit (Befugnis-Widget, Saison-Box, Mandanten-Checkliste, befRes) */
html[data-theme="dark"] #befugnisCheck { color: #d0d2cc !important; }
html[data-theme="dark"] [id="befugnisCheck"]::before { color: #fcd34d; }
html[data-theme="dark"] div:has(> #befugnisCheck),
html[data-theme="dark"] div:has(> #saisonBox),
html[data-theme="dark"] details:has(> summary) { background: #1c1f1d !important; border-color: #5a4a1a !important; }
html[data-theme="dark"] #befugnisCheck label { color: #d0d2cc; }
html[data-theme="dark"] #befRes { background: #14301e !important; color: #6ee7b7 !important; border-left-color: #1ec85a !important; }
html[data-theme="dark"] #befRes[style*="fbecec"],
html[data-theme="dark"] #befRes.warn-red { background: #3a1a1a !important; color: #fca5a5 !important; border-left-color: #a02020 !important; }
html[data-theme="dark"] #saisonBox { background: #1a2530 !important; border-color: #2a3a4a !important; color: #6ba7d6 !important; }
html[data-theme="dark"] #saisonBox strong { color: #93c5fd !important; }
html[data-theme="dark"] details summary { color: #fcd34d !important; }
html[data-theme="dark"] details ul { color: #aaa; }
html[data-theme="dark"] details strong { color: #d0d2cc; }
/* Reform-Highlight-Box bleibt bunt (orange Gradient) — Text wird angepasst */
html[data-theme="dark"] div[style*="cc8800"] { box-shadow: 0 4px 14px rgba(204,136,0,0.25); }

/* Print: immer hell drucken, Toggle ausblenden */
@media print {
  html[data-theme="dark"] body { background: #fff !important; color: #000 !important; }
  html[data-theme="dark"] .card,
  html[data-theme="dark"] section,
  html[data-theme="dark"] .info-box,
  html[data-theme="dark"] .result-panel,
  html[data-theme="dark"] .breakdown { background: #fff !important; color: #000 !important; border-color: #ccc !important; }
  html[data-theme="dark"] header { background: #fff !important; color: #000 !important; }
  html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 { color: #000 !important; }
  #theme-toggle { display: none !important; }
}
