:root[data-theme=day]{color-scheme:light;--bg:#f2f5f8;--side:#fff;--panel:#fff;--panel2:#e7eef5;--line:#cbd6e2;--text:#152a40;--muted:#4e6479;--accent:#087c60;--danger:#b9213a;--warn:#946000;--blue:#0065a9}
[data-theme=day] input,[data-theme=day] select,[data-theme=day] textarea,[data-theme=day] code{background:#f6f9fc;color:var(--text)}
[data-theme=day] .workspace>header{background:#fff}
[data-theme=day] .login-view{background:radial-gradient(circle at 50% 30%,#e3f1ed,#f2f5f8 65%)}
[data-theme=day] dialog{background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme=day] button:not(.secondary):not(.ghost):not(.danger){color:#fff}
[data-theme=day] button.secondary,[data-theme=day] .ghost{background:#e3ebf3;color:var(--text)}
[data-theme=day] #toast{background:#e3ebf3;color:var(--text)}[data-theme=day] #toast.error{background:#ffe2e7}
[data-theme=day] a{color:var(--blue)}[data-theme=day] nav a{color:var(--muted)}[data-theme=day] nav a.active{color:var(--text)}
[data-theme=day] .pill.good{background:#d9f3e8;color:#125b43}[data-theme=day] .pill.warn{background:#fff0cc;color:#755000}[data-theme=day] .pill.bad{background:#ffe1e6;color:#912037}
[data-theme=day] #sessionWarning{background:#fff0cc;color:#513d12;border-color:#d5ba74}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.theme-toggle{white-space:nowrap;min-height:40px}.login-theme{position:absolute;right:20px;top:20px}
.commerce-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.commerce-help{max-width:85ch;line-height:1.65}.commerce-empty{padding:25px;color:var(--muted)}
.voucher-sheet{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.voucher-ticket{border:1px dashed var(--line);padding:20px;border-radius:12px}.voucher-ticket strong{display:block;font:700 16px monospace;overflow-wrap:anywhere;margin:10px 0}
.integration-status{border-left:3px solid var(--accent);padding:14px 18px;background:var(--panel2);border-radius:8px;margin:12px 0}
@media(max-width:700px){.header-actions{width:100%;flex-wrap:wrap}.header-actions .search{width:100%;order:2}.header-actions .theme-toggle{margin-left:auto}}
@media print{body *{visibility:hidden}#voucherPrint,#voucherPrint *{visibility:visible}#voucherPrint{position:absolute;left:0;top:0;width:100%;color:#000;background:#fff}.voucher-ticket{break-inside:avoid;border-color:#888}#voucherPrint button{display:none}}
