/* GENERÁLT FÁJL – tools/build_theme.py. Világos téma (v2.0). */
@media (prefers-color-scheme: light){
:root:not([data-theme="dark"]){--bg:#f4f6f1;--surface:#ffffff;--surface2:#eef2ea;--line:#d3dccf;--text:#17201a;--muted:#56645a;--lime:#3a7511;--pink:#6f45a6;--viz-1:#2563c9;--ok:#1d7a3a;--warn:#8a5a00;--bad:#b42318;color-scheme:light}
:root:not([data-theme="dark"]) body{background:var(--bg);color:var(--text)}
:root:not([data-theme="dark"]) .m-root{--viz-1:#2563c9;--viz-gap:rgba(60,80,60,.10);--ok:#1d7a3a;--warn:#8a5a00;--bad:#b42318}
:root:not([data-theme="dark"]) button{background:#e7ece3}
:root:not([data-theme="dark"]) button:hover{background:#dbe3d5}
:root:not([data-theme="dark"]) .primary,:root:not([data-theme="dark"]) .m-toolbar button.selected,:root:not([data-theme="dark"]) .m-tabs button.selected{color:#fff;background:var(--lime);border-color:var(--lime)}
:root:not([data-theme="dark"]) .primary:hover{background:#2f610d}
:root:not([data-theme="dark"]) .sidebar{background:#eaefe6}
:root:not([data-theme="dark"]) .brand-icon{color:#fff}
:root:not([data-theme="dark"]) .nav-label,:root:not([data-theme="dark"]) .page-footer{color:#5f6c62}
:root:not([data-theme="dark"]) nav button b{background:#dde5d8}
:root:not([data-theme="dark"]) nav button.active,:root:not([data-theme="dark"]) .office-tabs .selected,:root:not([data-theme="dark"]) .chat-agent.selected{background:#dcebcf;color:#24500a}
:root:not([data-theme="dark"]) .slash{color:#7d8a80}
:root:not([data-theme="dark"]) .avatar{background:#e3eedb;border-color:#a9bf95}
:root:not([data-theme="dark"]) .stat:nth-child(3) strong{color:#8a5a00}
:root:not([data-theme="dark"]) .status{color:#3d4a40;background:#e3e9df}
:root:not([data-theme="dark"]) .status.in_progress,:root:not([data-theme="dark"]) .status.approved{color:#245c0c;background:#dcefcf}
:root:not([data-theme="dark"]) .status.waiting_approval,:root:not([data-theme="dark"]) .status.cancelling{color:#7a4f00;background:#fbeccb}
:root:not([data-theme="dark"]) .status.blocked,:root:not([data-theme="dark"]) .status.failed,:root:not([data-theme="dark"]) .status.interrupted,:root:not([data-theme="dark"]) .status.revision_requested{color:#9b2c1c;background:#fbe0da}
:root:not([data-theme="dark"]) .status.completed{color:#11665a;background:#d5efe9}
:root:not([data-theme="dark"]) .status.cancelled{color:#5c5c5c}
:root:not([data-theme="dark"]) .status.manual{color:#4b3f72;background:#e8e3f5}
:root:not([data-theme="dark"]) .empty-symbol{color:#8fa184}
:root:not([data-theme="dark"]) .task-card .description{color:#3d4a40}
:root:not([data-theme="dark"]) .result{background:#eef3ea}
:root:not([data-theme="dark"]) .notice{background:#eef4e6;color:#2f3b2a;border-color:#c9d6bb}
:root:not([data-theme="dark"]) .message{background:#f3f6f0}
:root:not([data-theme="dark"]) .message.user{background:#e1eed6}
:root:not([data-theme="dark"]) input,:root:not([data-theme="dark"]) select,:root:not([data-theme="dark"]) textarea{background:#fff;border-color:#b9c5b6;color:var(--text)}
:root:not([data-theme="dark"]) label{color:#3d4a40}
:root:not([data-theme="dark"]) dialog{border-color:#c3cec0}
:root:not([data-theme="dark"]) dialog::backdrop{background:#1d2a2280}
:root:not([data-theme="dark"]) #toast{background:#e6f1dc;color:#17201a;border-color:#9ab77a}
:root:not([data-theme="dark"]) #connection-error{background:#fbe0da;border-color:#e3a08f;color:#5a1a10}
:root:not([data-theme="dark"]) .login{background:var(--bg)}
:root:not([data-theme="dark"]) .login-art{text-shadow:8px 8px #c9dcb4}
:root:not([data-theme="dark"]) #login-error{color:#b42318}
:root:not([data-theme="dark"]) .board-column{background:#f7f9f5}
:root:not([data-theme="dark"]) #offline-banner{background:#8a4b1c;color:#fff}
:root:not([data-theme="dark"]) .m-tip{background:#fff}
:root:not([data-theme="dark"]) .m-item.email{border-left-color:#3a7511}
:root:not([data-theme="dark"]) .key-check-result.ok{color:#1d7a3a}
:root:not([data-theme="dark"]) .key-check-result.bad{color:#b42318}
:root:not([data-theme="dark"]) .v17-demo b{color:#9a4f00}
:root:not([data-theme="dark"]) .source-tag.test{color:#8a5a00}
:root:not([data-theme="dark"]) .launch-warning{background:#fbf3df;border-left-color:#b8860b}
}
:root[data-theme="light"]{--bg:#f4f6f1;--surface:#ffffff;--surface2:#eef2ea;--line:#d3dccf;--text:#17201a;--muted:#56645a;--lime:#3a7511;--pink:#6f45a6;--viz-1:#2563c9;--ok:#1d7a3a;--warn:#8a5a00;--bad:#b42318;color-scheme:light}
:root[data-theme="light"] body{background:var(--bg);color:var(--text)}
:root[data-theme="light"] .m-root{--viz-1:#2563c9;--viz-gap:rgba(60,80,60,.10);--ok:#1d7a3a;--warn:#8a5a00;--bad:#b42318}
:root[data-theme="light"] button{background:#e7ece3}
:root[data-theme="light"] button:hover{background:#dbe3d5}
:root[data-theme="light"] .primary,:root[data-theme="light"] .m-toolbar button.selected,:root[data-theme="light"] .m-tabs button.selected{color:#fff;background:var(--lime);border-color:var(--lime)}
:root[data-theme="light"] .primary:hover{background:#2f610d}
:root[data-theme="light"] .sidebar{background:#eaefe6}
:root[data-theme="light"] .brand-icon{color:#fff}
:root[data-theme="light"] .nav-label,:root[data-theme="light"] .page-footer{color:#5f6c62}
:root[data-theme="light"] nav button b{background:#dde5d8}
:root[data-theme="light"] nav button.active,:root[data-theme="light"] .office-tabs .selected,:root[data-theme="light"] .chat-agent.selected{background:#dcebcf;color:#24500a}
:root[data-theme="light"] .slash{color:#7d8a80}
:root[data-theme="light"] .avatar{background:#e3eedb;border-color:#a9bf95}
:root[data-theme="light"] .stat:nth-child(3) strong{color:#8a5a00}
:root[data-theme="light"] .status{color:#3d4a40;background:#e3e9df}
:root[data-theme="light"] .status.in_progress,:root[data-theme="light"] .status.approved{color:#245c0c;background:#dcefcf}
:root[data-theme="light"] .status.waiting_approval,:root[data-theme="light"] .status.cancelling{color:#7a4f00;background:#fbeccb}
:root[data-theme="light"] .status.blocked,:root[data-theme="light"] .status.failed,:root[data-theme="light"] .status.interrupted,:root[data-theme="light"] .status.revision_requested{color:#9b2c1c;background:#fbe0da}
:root[data-theme="light"] .status.completed{color:#11665a;background:#d5efe9}
:root[data-theme="light"] .status.cancelled{color:#5c5c5c}
:root[data-theme="light"] .status.manual{color:#4b3f72;background:#e8e3f5}
:root[data-theme="light"] .empty-symbol{color:#8fa184}
:root[data-theme="light"] .task-card .description{color:#3d4a40}
:root[data-theme="light"] .result{background:#eef3ea}
:root[data-theme="light"] .notice{background:#eef4e6;color:#2f3b2a;border-color:#c9d6bb}
:root[data-theme="light"] .message{background:#f3f6f0}
:root[data-theme="light"] .message.user{background:#e1eed6}
:root[data-theme="light"] input,:root[data-theme="light"] select,:root[data-theme="light"] textarea{background:#fff;border-color:#b9c5b6;color:var(--text)}
:root[data-theme="light"] label{color:#3d4a40}
:root[data-theme="light"] dialog{border-color:#c3cec0}
:root[data-theme="light"] dialog::backdrop{background:#1d2a2280}
:root[data-theme="light"] #toast{background:#e6f1dc;color:#17201a;border-color:#9ab77a}
:root[data-theme="light"] #connection-error{background:#fbe0da;border-color:#e3a08f;color:#5a1a10}
:root[data-theme="light"] .login{background:var(--bg)}
:root[data-theme="light"] .login-art{text-shadow:8px 8px #c9dcb4}
:root[data-theme="light"] #login-error{color:#b42318}
:root[data-theme="light"] .board-column{background:#f7f9f5}
:root[data-theme="light"] #offline-banner{background:#8a4b1c;color:#fff}
:root[data-theme="light"] .m-tip{background:#fff}
:root[data-theme="light"] .m-item.email{border-left-color:#3a7511}
:root[data-theme="light"] .key-check-result.ok{color:#1d7a3a}
:root[data-theme="light"] .key-check-result.bad{color:#b42318}
:root[data-theme="light"] .v17-demo b{color:#9a4f00}
:root[data-theme="light"] .source-tag.test{color:#8a5a00}
:root[data-theme="light"] .launch-warning{background:#fbf3df;border-left-color:#b8860b}
:root[data-theme="dark"]{color-scheme:dark}
