:root{color-scheme:light;--surface:#fff;--surface-soft:#edf3f4;--accent-ink:#fff}button,.button,.mark,.menu-counter{color:var(--accent-ink)}a{color:var(--green)}.brand-logo{width:42px;height:42px;object-fit:contain;flex-shrink:0}.brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(65vw,600px)}.theme-choice{margin:18px 0}.branding-fields,.branding-previews{display:grid;grid-template-columns:1fr 1fr;gap:22px}.branding-fields input[type=color]{height:52px;padding:5px;width:100%}.logo-remove{display:flex;align-items:center;gap:10px;margin:18px 0}.logo-remove input{width:20px;height:20px}.brand-preview{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;color:#163047}.brand-preview[data-preview=dark]{background:#15202c;color:#e5edf5;border-color:#344659}.preview-brand{display:flex;align-items:center;gap:12px}.preview-name{overflow-wrap:anywhere}.preview-logo{width:46px;height:46px;object-fit:contain}.branding-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.preview-button{pointer-events:none}html[data-theme=dark]{color-scheme:dark;--ink:#e5edf5;--muted:#a7bacb;--line:#344659;--canvas:#0e1721;--surface:#182533;--surface-soft:#253646}html[data-theme=dark] :is(.site-header,.panel,.menu-drawer,.affiliate-help-content,.affiliate-help-panel,.choice-field){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(input,select,textarea){background:#111d29;color:var(--ink);border-color:#51667a}html[data-theme=dark] :is(.secondary,.menu-profile,.project-tabs,.auth-tabs,pre,.production,.menu-links a:hover,.menu-account a:hover){background:var(--surface-soft);color:var(--ink);border-color:var(--line)}html[data-theme=dark] :is(.menu-links a,.menu-account a,.menu-heading,.menu-close,.menu-profile strong,.auth-panel p,th){color:var(--ink)}html[data-theme=dark] :is(.project-tabs a,.auth-tabs a){color:var(--ink)}html[data-theme=dark] :is(.project-tabs a[aria-current],.menu-links a[aria-current=page],.auth-tabs a[aria-current]){background:var(--green);color:var(--accent-ink)}html[data-theme=dark] :is(.notice,.badge,.menu-pending){background:#183e33;color:#bcf0d4}html[data-theme=dark] .alert{background:#44242c;color:#ffd4d7}html[data-theme=dark] .danger-outline{background:var(--surface);color:#ffafba}html[data-theme=dark] :is(td,th,.reference-sites){border-color:var(--line)}html[data-theme=dark] :is(input:disabled,select:disabled){background:#263340;color:#a7bacb}html[data-theme=dark] .menu-toggle{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .affiliate-help-toggle{background:var(--surface-soft);color:var(--green)}html[data-theme=dark] .brand{color:var(--ink)}html[data-theme=dark] .menu-icon,html[data-theme=dark] .menu-icon:before,html[data-theme=dark] .menu-icon:after{background:var(--ink)}.brand-preview button{border:none}@media(max-width:700px){.branding-fields,.branding-previews{grid-template-columns:1fr}.branding-actions>*{width:100%}.brand-preview{padding:20px}.brand-name{max-width:65vw}}
.menu-links a[aria-current=page]{background:var(--green);color:var(--accent-ink)}.site-header .menu-counter{background:var(--green);color:var(--accent-ink)}.menu-heading strong{overflow-wrap:anywhere}
