/* Shared FELNUWA wordmark; theme palettes and each page's layout stay local. */
:root{--brand-wordmark-font:Georgia,'Times New Roman',serif;--brand-wordmark-tracking:.16em}
.brand-wordmark,.studio-app .brand{font-family:var(--brand-wordmark-font)!important;font-weight:400!important;letter-spacing:var(--brand-wordmark-tracking)!important;text-transform:none}
/* Role-based storefront palettes echo the existing studio themes. Photography stays unfiltered. */
html[data-theme=A]{--brand-page:#faf9f6;--brand-surface:#f0efea;--brand-panel:#f5f3ed;--brand-ink:#292b29;--brand-muted:#62665f;--brand-line:#d9d7cf;--brand-action:#292b29;--brand-action-ink:#faf9f6;--brand-footer:#efede7;--brand-ribbon:#343a31}
html[data-theme=B]{--brand-page:#f3eee4;--brand-surface:#eae5d8;--brand-panel:#eee8dc;--brand-ink:#414933;--brand-muted:#62694f;--brand-line:#d3cbbb;--brand-action:#596747;--brand-action-ink:#fffaf0;--brand-footer:#e7dfcf;--brand-ribbon:#46513b}
html[data-theme=C]{--brand-page:#202321;--brand-surface:#2d2d29;--brand-panel:#292c28;--brand-ink:#f0ede5;--brand-muted:#c0c3b8;--brand-line:#50564d;--brand-action:#f2eae0;--brand-action-ink:#222222;--brand-footer:#191c1a;--brand-ribbon:#353c32}
html:has(.site-store){--paper:var(--brand-page);--white:var(--brand-surface);--ink:var(--brand-ink);--muted:var(--brand-muted);--line:var(--brand-line);--olive:var(--brand-action);--soft:var(--brand-panel);color-scheme:light}
html[data-theme=C]:has(.site-store){color-scheme:dark}
.site-store{background:var(--brand-page);color:var(--brand-ink)}
.site-store .site-header{background:var(--brand-page)}
.site-store .btn{background:var(--brand-action);border-color:var(--brand-action);color:var(--brand-action-ink)}
.site-store .btn:hover{background:var(--brand-action);color:var(--brand-action-ink);filter:brightness(.94)}
.site-store .preview-ribbon{background:var(--brand-ribbon);color:#f5f2e9}
.site-store .help-strip,.site-store .wear-section,.site-store .diy-entry{background:var(--brand-panel)}
.site-store footer{background:var(--brand-footer)}
.site-store .concept-tag{color:#262722}
.site-store .gallery-stage,.site-store .product-card .card-image{background:#e6e4de}
.site-store .gallery-stage button{color:#262722}
.site-store .selection-error{color:#e5a38c}
html:not([data-theme=C]) .site-store .selection-error{color:#984d3c}
.site-store dialog{background:var(--brand-page);color:var(--brand-ink)}
.site-store .theme-choice{display:flex;align-items:center;gap:12px;margin-top:18px;color:var(--brand-muted);font-size:11px}
.site-store .theme-choice select{min-height:44px;max-width:220px;padding:8px 12px;border:1px solid var(--brand-line);border-radius:4px;background:var(--brand-panel);color:var(--brand-ink);font:inherit}
.site-store .btn.outline{background:transparent;color:var(--brand-ink);border-color:var(--brand-line)}
.site-store .size[aria-pressed=true]{background:var(--brand-action);color:var(--brand-action-ink);border-color:var(--brand-action)}
/* Avoid intermediate low-contrast colours when changing palettes. */
.site-store .btn{transition:filter .2s}
/* Contrast audit: selected categories and actionable studio controls. */
html[data-theme=B] .studio-app #filters button.active{background:#596747;color:#fffaf0}
.studio-app .header-actions .quiet{color:var(--ink);opacity:1}
.studio-app .floating-history button:not(:disabled){color:var(--ink);opacity:1;border-color:var(--muted)}
.studio-app .floating-history button:disabled{opacity:.45}
.studio-app .material-expand,.studio-app .size-guide{color:var(--ink);opacity:1}
