:root[data-theme="dark"]{color-scheme:dark;--ink:#e8f0ec;--muted:#a8bab2;--forest:#9bd4b8;--deep:#0b1712;--lime:#b2d5a0;--orange:#ef9978;--red:#f79c8e;--amber:#efbd74;--line:#33483e;--paper:#17231f;--bg:#101815;--pale:#23392e;--blue:#8bc8e8;--shadow:0 12px 36px rgba(0,0,0,.2)}
#themeToggle{font:inherit;cursor:pointer;background:transparent;color:#e2eee7;min-height:36px;white-space:nowrap}#themeToggle:focus-visible{outline:2px solid #d4eaaa;outline-offset:3px}
[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
[data-theme="dark"] .eyebrow,[data-theme="dark"] .kicker,[data-theme="dark"] .field label,[data-theme="dark"] .field>span,[data-theme="dark"] .recipe-line-note{color:#b2c8bb}
[data-theme="dark"] .tab,[data-theme="dark"] .button,[data-theme="dark"] .flow .step,[data-theme="dark"] .api-item,[data-theme="dark"] .api-task label,[data-theme="dark"] .recipe-filters button,[data-theme="dark"] .toggleDays button,[data-theme="dark"] .filetag,[data-theme="dark"] .cd-day{background:#1c2c24;color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .tab .num{background:#304638;color:#c3ddca}
[data-theme="dark"] .tab.active,[data-theme="dark"] .button.primary,[data-theme="dark"] .toggleDays button.on,[data-theme="dark"] .recipe-filters button.on{background:#24594b;border-color:#428971;color:#f3fff7}
[data-theme="dark"] .tab.active .num{background:#34715d;color:#e1f8c8}
[data-theme="dark"] .button.orange{background:#7f4830;color:#fff5ec;border-color:#bd7950}
[data-theme="dark"] .button:hover,[data-theme="dark"] .cd-day:hover{border-color:#76ae90}
[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),[data-theme="dark"] select,[data-theme="dark"] textarea,[data-theme="dark"] #cdDetail input[type="text"]{background:#122019!important;color:var(--ink)!important;border-color:#486150!important}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#9bafa3;opacity:1}
[data-theme="dark"] input.editable,[data-theme="dark"] .editable,[data-theme="dark"] .biginput{background:#302d1d!important;border-color:#897e47!important}
[data-theme="dark"] .weekpanel input{background:transparent!important}
[data-theme="dark"] .data th,[data-theme="dark"] .movement-table th[data-product-col]{background:#26392e;color:#c5d7cb}
[data-theme="dark"] .data td{border-color:#2d4135}[data-theme="dark"] .data tr:hover td{background:#203128}
[data-theme="dark"] .data .unit,[data-theme="dark"] .footer,[data-theme="dark"] .field small,[data-theme="dark"] .mini,[data-theme="dark"] .note{color:var(--muted)}
[data-theme="dark"] .infobar{background:#203b2b;border-color:#3b6246;color:#d0e8d5}
[data-theme="dark"] .warningbox,[data-theme="dark"] .badge.amber,[data-theme="dark"] .badge.demo{background:#42331d;border-color:#73552b;color:#f7d49a}
[data-theme="dark"] .dangerbox,[data-theme="dark"] .badge.red{background:#42261f;border-color:#81473a;color:#ffbeb0}
[data-theme="dark"] .badge{background:#263f29;color:#c1e5b1}[data-theme="dark"] .badge.blue{background:#203948;color:#b9e0f5}[data-theme="dark"] .badge.gray{background:#2e3b33;color:#c0d0c6}
[data-theme="dark"] .empty,[data-theme="dark"] .drop,[data-theme="dark"] .receiptday,[data-theme="dark"] .daycard,[data-theme="dark"] .permission-row,[data-theme="dark"] .ai-review,[data-theme="dark"] .purchase-email{background:#192a20;border-color:var(--line);color:var(--ink)}
[data-theme="dark"] .drop:hover,[data-theme="dark"] .recipe-item:hover{background:#22372a}
[data-theme="dark"] .drop .glyph,[data-theme="dark"] .pilltabs,[data-theme="dark"] .barrow .track,[data-theme="dark"] .compare .rail{background:#2a4031;color:#c4dfc8}
[data-theme="dark"] .pilltabs button{color:#b8cebf}[data-theme="dark"] .pilltabs button.on,[data-theme="dark"] .recipe-item.active,[data-theme="dark"] .cd-day.selected{background:#304f3a;color:#e9f7ed;border-color:#739878;box-shadow:none}
[data-theme="dark"] .recipe-item{color:var(--ink)}[data-theme="dark"] .daycard.sun{background:#342b1e;border-color:#78613a}
[data-theme="dark"] .movement-table td.entry{color:#b3ddc3}[data-theme="dark"] .movement-table td.out{color:#f3b297}[data-theme="dark"] .movement-table td.balance{background:#254832;color:#d5f3d2}
[data-theme="dark"] .stock-file .remove-file{background:#40271f;color:#ffb7a5;border-color:#855042}
[data-theme="dark"] .read-only-note{background:#213744;color:#c2dfea;border-color:#466273}
[data-theme="dark"] .demand-days .daycard{color:#eef8ee}[data-theme="dark"] .demand-days small{color:#d1e4d1}
[data-theme="dark"] .heat-0{background:#14532d;border-color:#4ade80}[data-theme="dark"] .heat-1{background:#365314;border-color:#a3e635}[data-theme="dark"] .heat-2{background:#713f12;border-color:#facc15}[data-theme="dark"] .heat-3{background:#7c2d12;border-color:#fb923c}[data-theme="dark"] .heat-4{background:#7f1d1d;border-color:#f87171}[data-theme="dark"] .demand-days small{color:#f3eee5}
[data-theme="dark"] .login-page{background:radial-gradient(circle at 15% 12%,#223d2b 0,transparent 36%),#101815;color:#e8f0ec}[data-theme="dark"] .login-card{background:#17231f;border-color:#33483e}[data-theme="dark"] .login-content h1{color:#e8f0ec}[data-theme="dark"] .login-content .intro,[data-theme="dark"] .login-note{color:#afc2b7;border-color:#33483e}[data-theme="dark"] .login-content .error{background:#42261f;color:#ffbeb0}
@media print{html[data-theme="dark"]{color-scheme:light}html[data-theme="dark"] body{background:white!important;color:black!important}#themeToggle{display:none}}

[data-theme="dark"] .daycard.sales-loaded{background:#1b303b;border-color:#4c829e}
