html[data-theme]{--skin-accent:#7c3aed;--skin-strong:#6230bb;--skin-soft:#f0eafb;--skin-bg:#f7f7fb;--skin-border:#e3ddeb;--skin-text:#293044;--skin-muted:#706780}
html[data-theme=blue]{--skin-accent:#2563eb;--skin-strong:#1d4ed8;--skin-soft:#eaf1ff;--skin-bg:#f4f7fd;--skin-border:#dce5f3;--skin-muted:#64748b}
html[data-theme=green]{--skin-accent:#168068;--skin-strong:#106652;--skin-soft:#e6f4ef;--skin-bg:#f3f8f6;--skin-border:#d7e8e1;--skin-muted:#5f7b71}
html[data-theme=rose]{--skin-accent:#b64470;--skin-strong:#963257;--skin-soft:#fcecf2;--skin-bg:#fcf6f8;--skin-border:#eedce4;--skin-muted:#856777}
html[data-theme=slate]{--skin-accent:#53647d;--skin-strong:#35465e;--skin-soft:#eaf0f5;--skin-bg:#f5f7f9;--skin-border:#dce2ea;--skin-muted:#657285}
html[data-theme] body{--brand:var(--skin-accent);--weak:var(--skin-soft);--line:var(--skin-border);--sub:var(--skin-muted);--blue:var(--skin-accent);--blue-dark:var(--skin-strong);--primary:var(--skin-accent);--accent:var(--skin-accent);--bg:var(--skin-bg);--border:var(--skin-border);--pm-blue:var(--skin-accent);--pm-ink:var(--skin-text);--pm-muted:var(--skin-muted);background:var(--skin-bg);color:var(--skin-text)}
html[data-theme] body :is(.primary,.btn-primary,.btn-dl,.btn.main,.pm-primary,.pm-mark){background:var(--skin-accent)!important;border-color:var(--skin-accent)!important;color:white!important}
html[data-theme] #portal-bar.quote-navigation button.primary,html[data-theme] #ljc-submit{background:var(--skin-accent)!important;border-color:var(--skin-accent)!important;color:white!important}
html[data-theme] :is(.pm-nav.active,.pm-tab.active,.tag,.approval-badge,.approval-amounts){background:var(--skin-soft)!important;color:var(--skin-strong)!important;border-color:var(--skin-border)!important}
html[data-theme] #portal-editor main>section>h2,html[data-theme] #ljc-editor .card>h2{background:var(--skin-soft);color:var(--skin-strong)}
html[data-theme] :is(#portal-editor,#ljc-editor) :is(input,select,textarea){border-color:var(--skin-border);accent-color:var(--skin-accent)}
html[data-theme] :is(#portal-editor,#ljc-editor) :is(input,select,textarea):focus{border-color:var(--skin-accent);outline-color:var(--skin-accent)}
html[data-theme] :is(#talentTable,#ljc-talent-table) th{background:var(--skin-soft);color:var(--skin-muted)}
html[data-theme] :is(.card,#portal-editor main>section,.pm-table-wrap,.pm-metric,.pm-sidebar){border-color:var(--skin-border)}
html[data-theme] :is(.pm-brand,.quote-back){color:var(--skin-strong)}
#theme-switcher{position:fixed;right:20px;bottom:18px;z-index:10000;display:flex;align-items:center;gap:7px;padding:7px 11px;background:white;color:var(--skin-muted);border:1px solid var(--skin-border);border-radius:22px;box-shadow:0 3px 14px #16203314;font:12px/1.4 system-ui,"Microsoft YaHei",sans-serif;width:auto}
#theme-switcher select{width:auto;min-width:68px;margin:0;padding:3px 5px;border:0;background:white;color:var(--skin-strong);font:inherit;cursor:pointer}#theme-switcher:focus-within{outline:2px solid var(--skin-accent);outline-offset:2px}
@media(max-width:600px){#theme-switcher{right:10px;bottom:10px}}@media print{#theme-switcher{display:none!important}}

html[data-theme] :is(.seg button.active,.seg button.on,.taxseg button.active,.pm-btn-primary){background:var(--skin-accent)!important;color:#fff!important;border-color:var(--skin-accent)!important}
