:root{--fm-bg:#f5f2eb;--fm-surface:#fffdf8;--fm-soft:#eeeadf;--fm-text:#292b23;--fm-muted:#6c6d60;--fm-border:#dddacf;--fm-accent:#525a32;--fm-on-accent:#fff;--fm-hover:#e5e2d4;color-scheme:light}
:root[data-appearance=dark]{--fm-bg:#191c18;--fm-surface:#22261f;--fm-soft:#2d3228;--fm-text:#f0eee3;--fm-muted:#b8bba9;--fm-border:#414737;--fm-accent:#c3ce99;--fm-on-accent:#242b17;--fm-hover:#38402e;color-scheme:dark}
html body{background:var(--fm-bg)!important;color:var(--fm-text)!important}html body :is(.app,.panel,.results-panel,.card,.top,.account-entry,.media-card,.v30-product-card,dialog,main>section){background:var(--fm-surface)!important;color:var(--fm-text)!important;border-color:var(--fm-border)!important}html body :is(h1,h2,h3,strong,label,summary,.card-title,.brand h1,.brand strong){color:var(--fm-text)!important}html body :is(p,small,.status,.intro,.source-hint,.card-meta,.gallery-header){color:var(--fm-muted)!important}html body :is(button,input,select,textarea,.search,.quiet-tools,.result,.product-save-details,.item-preview,.account-link,.counter,.tag,.badge,.media-tabs,.v30-tabs,.naming-health,.link-entry,.advanced-actions){background:var(--fm-soft)!important;color:var(--fm-text)!important;border-color:var(--fm-border)!important}html body input::placeholder{color:var(--fm-muted)!important}html body :is(a,.brand,.sync-last-backup){color:var(--fm-accent)!important}html body :is(.collect-btn.primary,#openManualEditor,.lens-button,#captureVideoFrame,#sendCode,#enable,#copy,#codeForm button,.file-button,.btn){background:var(--fm-accent)!important;color:var(--fm-on-accent)!important;border-color:var(--fm-accent)!important}html body #videoFrames{background:var(--fm-soft)!important;border-color:var(--fm-border)!important}html body :is(.preview,.image){background:var(--fm-soft)!important;border-color:var(--fm-border)!important}html body :is(button,a,input,summary,select):focus-visible{outline:2px solid var(--fm-accent)!important;outline-offset:3px}html body .appearance-toggle{font:600 12px system-ui,sans-serif;padding:10px 13px;border:1px solid var(--fm-border);border-radius:22px;cursor:pointer;white-space:nowrap;margin:0}html body .header{gap:12px!important}html body #notice{background:var(--fm-soft)!important;color:var(--fm-text)!important}html body :is(button,a,summary){transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}html body button:hover{filter:brightness(.96)}html body .danger{color:#c24e46!important}html body [hidden]{display:none!important}@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html[data-appearance] body .app .header,html[data-appearance] body #mediaLibrary,html[data-appearance] body #productLibrary,html[data-appearance] body .media-card .card-body,html[data-appearance] body #productLibrary .v30-product-info{background:var(--fm-surface)!important;color:var(--fm-text)!important}html[data-appearance] body .app button,html[data-appearance] body .app .account-link,html[data-appearance] body .app .search,html[data-appearance] body .app .filter,html[data-appearance] body .app select{background:var(--fm-soft)!important;color:var(--fm-text)!important;border-color:var(--fm-border)!important}html[data-appearance] body .app #openManualEditor,html[data-appearance] body .app .collect-btn.primary,html[data-appearance] body .app .filter.active,html[data-appearance] body .app .find-product{background:var(--fm-accent)!important;color:var(--fm-on-accent)!important}html[data-appearance] body .app .search input{background:transparent!important;border:0!important;outline:none!important;color:var(--fm-text)!important}html[data-appearance] body .app .search input:focus-visible{outline:0!important}html[data-appearance] body .app .search:focus-within{outline:2px solid var(--fm-accent)!important;outline-offset:2px}html[data-appearance] body .app .card-title{color:var(--fm-text)!important}html[data-appearance] body .app .mood-nav-button{background:transparent!important}html[data-appearance] body .app .header .mood-heading{color:var(--fm-text)!important}html[data-appearance] body .app .sync-last-backup{color:var(--fm-muted)!important}

html[data-appearance] body #mediaLibrary .collections-panel,html[data-appearance] body #mediaLibrary .selection-toolbar,html[data-appearance] body #productLibrary :is(.v41-hero,.v41-quickadd,.v32-organize,.v31-stats,.v31-toolbar,.v34-tools,.v30-product-filters,.v42-import,.v33-import,.v32-bulk-bar,.v34-compare),html[data-appearance] body :is(.v37-dialog,.v37-item,.v37-item-head,.v37-item-body,.v37-links,.v40-offer,.v37-canvas-wrap){background:var(--fm-surface)!important;color:var(--fm-text)!important;border-color:var(--fm-border)!important}
html[data-appearance] body #mediaLibrary .collections-panel :is(strong,h2,h3,label),html[data-appearance] body #productLibrary :is(h2,h3,h4,strong,label,summary){color:var(--fm-text)!important}html[data-appearance] body #mediaLibrary .collections-panel :is(p,small),html[data-appearance] body #productLibrary :is(p,small){color:var(--fm-muted)!important}html[data-appearance] body .app button:disabled{opacity:1!important;background:var(--fm-soft)!important;color:var(--fm-muted)!important;cursor:not-allowed!important}html[data-appearance] body .app .collections-panel select{background:var(--fm-soft)!important;color:var(--fm-text)!important;border-color:var(--fm-border)!important}.duplicate-notice{display:block;margin:10px 0;font:12px/1.5 Arial,sans-serif;color:var(--fm-muted)}
