/* Neutral controls, compact header; price-change semantic colors are retained. */
:root{--accent:#34383e;--accent-hover:#24272c;--accent-ink:#fff;--line:#dedfe2;--muted:#686d75}
:root[data-theme=dark]{--accent:#d5d7db;--accent-hover:#e8eaed;--accent-ink:#202226;--line:#41454c;--muted:#afb3ba}
body header{min-height:64px;padding:12px max(20px,calc((100vw - 1600px)/2 + 32px));gap:12px}
body header .header-tools{width:100%;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body header .header-tools button{min-height:36px;padding:8px 12px;border-radius:8px;font-size:13px;line-height:1.3;font-weight:600;white-space:nowrap}
body header #collect-now{order:0;margin-right:auto;background:var(--accent);border:1px solid var(--accent);color:var(--accent-ink)}
body header #tilda-sync-button{order:1}body header #avito-sync-button{order:2}body header #vk-sync-button{order:3}body header #theme-toggle{order:4}body header #account{order:5}
:root body button.tilda-sync-launch,:root body button.avito-launch,:root body button.vk-launch{background:var(--panel)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important}
:root body button.tilda-sync-launch:hover,:root body button.avito-launch:hover,:root body button.vk-launch:hover{background:var(--soft)!important;border-color:var(--muted)!important}
body button{border-radius:8px;box-shadow:none;font-weight:600}
body button.primary{background:var(--accent);color:var(--accent-ink)}body button.primary:hover{background:var(--accent-hover)}
body button:disabled,body button.primary:disabled,body header #collect-now:disabled{opacity:1;background:var(--soft)!important;color:var(--muted)!important;border-color:var(--line)!important;cursor:not-allowed}
body main{padding-top:20px}
body .view-tabs{gap:20px;margin-bottom:18px}body .view-tabs button{font-size:14px;padding:11px 2px 12px}
body #price-editor .category-tabs{gap:6px;margin-bottom:16px}body .category-tabs button{padding:8px 12px;font-size:12px;border-radius:8px}
body #preview-selected{padding:10px 15px;font-size:13px}
.collection-panel{margin:0 0 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:12px}
.collection-panel summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;margin:0;padding:11px 14px;color:var(--ink);line-height:1.5}
.collection-panel summary::before{content:'›';font-size:18px;line-height:1;transition:transform .15s}.collection-panel[open] summary::before{transform:rotate(90deg)}
.collection-panel .collect-meta{color:var(--muted);margin-left:auto;font-size:11px}
.collection-panel .collect-actions{padding:0 14px 12px}.collection-panel .collect-actions button{padding:7px 10px;font-size:12px}
.collection-sources{list-style:none;padding:0 14px 12px;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px 20px}
.collection-sources li{display:flex;flex-direction:column;gap:3px;padding:9px 0;border-top:1px solid var(--line);line-height:1.4}.collection-sources small{color:var(--muted)}
.offer-check-warning{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:5px}
@media(max-width:1000px){body header .header-tools{justify-content:flex-start}body header #collect-now{margin-right:0}body header #theme-toggle{margin-left:auto}body header .header-tools button{font-size:12px}}
@media(max-width:600px){body header{padding:10px 14px}body header #collect-now{width:100%;order:0}body header #tilda-sync-button,body header #avito-sync-button,body header #vk-sync-button{flex:1;white-space:normal}body header #theme-toggle{margin-left:0}body .view-tabs{gap:8px}body .view-tabs button{font-size:12px}.collection-panel .collect-meta{margin-left:0;width:100%}}
@media(prefers-reduced-motion:reduce){.collection-panel summary::before{transition:none}}

body header .brand{display:none!important}
