/* Single brand accent: copper. Controls are neutral; green communicates confirmation. */
:root[data-theme] :is(.primary,.sidebar nav .nav-add svg){background:var(--button);color:var(--button-text)}
:root[data-theme] .primary:hover{background:var(--button-hover)}
:root[data-theme] :is(.sidebar nav button.active,.filter-chips button[aria-pressed=true],.view-switch button[aria-pressed=true]){background:var(--selected);color:var(--text);border-color:var(--border)}
:root[data-theme] :is(.sidebar nav button:hover,.secondary:hover,.icon-button:hover){background:var(--selected)}
:root[data-theme] :is(.banner,.goal-context,.confirm-inline,.ownership-note,.check-circle.owned){background:var(--selected);color:var(--text);border-color:var(--border)}
:root[data-theme] :is(.ownership-note p,.goal-summary .section-heading){color:var(--muted)}
:root[data-theme] :is(.saved-card,.banner.success){background:var(--success-bg);color:var(--success);border-color:color-mix(in srgb,var(--success) 30%,var(--surface))}
:root[data-theme] .saved-card>div>strong{color:var(--success)}
:root[data-theme] :is(.issue-statuses .owned-status,.issue-statuses .missing-status){background:transparent;color:var(--text)}
:root[data-theme] .catalogue-card .issue-statuses .missing-status{color:var(--muted)}
:root[data-theme] :is(.filter-panel,.specimen-tags span,.variant-line strong){background:var(--selected);color:var(--muted);border-color:var(--border)}
:root[data-theme] :is(.checkbox-row input,.check-row input[type=checkbox],.showcase-picks input,.photo-editor input[type=range]){accent-color:var(--accent)}
:root[data-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--copper)}
:root[data-theme] .local-pill>span{background:var(--muted)}
:root[data-theme] :is(.banner.error,.inline-error){background:#fae9e7;color:#9b3636;border-color:#d8b2ac}
:root[data-theme=dark] :is(.banner.error,.inline-error){background:#402a27;color:#f0b6ab;border-color:#79544b}
:root[data-theme=dark] .specimen-form .form-actions{background:color-mix(in srgb,var(--surface) 96%,transparent)}
:root[data-theme] .search{color:var(--muted)}
:root[data-theme] :is(.coin-placeholder,.coin-line){background:var(--selected);color:var(--muted);border-color:var(--border)}
:root[data-theme] .catalogue-card>.coin-placeholder.small{background:transparent}

/* Empty states share the neutral interface, with a restrained copper icon. */
:root[data-theme] .empty-state .empty-mark{background:transparent;color:var(--copper);border-color:var(--border)}
:root[data-theme] .workspace .goal-summary{background:var(--selected);color:var(--text);border-color:var(--border)}


/* Focus the complete search control, including its icon. */
:root[data-theme] .search:focus-within{outline:2px solid var(--copper);outline-offset:2px}
:root[data-theme] .search input:focus-visible{outline:none}

/* Keep each photo and its actions together in a quiet, rounded card. */
.photo-inputs>div{min-width:0;border:1px solid var(--border);border-radius:12px;padding:6px}
.photo-inputs>div>img{display:block;border-radius:7px}

.photo-inputs .file-input{padding-left:4px;padding-right:4px;gap:6px}
