/* One shared palette for the site and all nested shop surfaces. */
:root,[data-theme=light]{--paper:#fffefb;--ink:#382638;--soft:#655a64;--muted:#655a64;--edge:#ded3dc;--butter:#fff4c9;--card:#faf6ef;--header-surface:#fff4c9;--department-watercolor:#e8ece3;--department-drawing:#f1e9df;--action:#382638;--action-text:#fffaf4;--focus:#885a22}
html[data-theme=dark]{--paper:#201b24;--ink:#f6edf5;--soft:#d1c2d3;--muted:#d1c2d3;--edge:#57455e;--butter:#302437;--card:#2c2332;--header-surface:#2c2132;--department-watercolor:#293b36;--department-drawing:#3b2c36;--action:#efd5a3;--action-text:#2b2030;--focus:#f5d396;--clay:#e4b88c;--lavender:#d3bddf}
html[data-theme=light] body main.shop-landing,html:not([data-theme=dark]) body main.shop-landing{--ink:#382638;--paper:#fffefb;--soft:#655a64;--muted:#655a64;--edge:#ded3dc;--card:#faf6ef;color:var(--ink)}
html[data-theme=dark] body main.shop-landing{--ink:#f6edf5;--paper:#201b24;--soft:#d1c2d3;--muted:#d1c2d3;--edge:#57455e;--card:#2c2332;color:var(--ink)}
html body:has(.shop-landing){background:var(--paper)!important;color:var(--ink)!important}
html body>header.studio-header,html body:has(.shop-landing)>header.studio-header{background:var(--header-surface)!important;border-bottom:1px solid var(--edge)!important;color:var(--ink)}
html body .studio-header .studio-nav{background:transparent!important;color:var(--ink)!important}
html body .studio-header :is(a,summary,.theme-toggle,.mobile-menu-toggle){color:var(--ink)!important}
html body .studio-header .studio-nav-panel{background:var(--card)!important;border-color:var(--edge)!important;box-shadow:0 15px 35px #0003}
html body .studio-header .studio-nav-panel a:hover{background:var(--butter)!important}
html body .shop-landing :is(h1,h2,h3,h4,.atelier-assurances strong,.atelier-actions>a:not(.atelier-primary),.atelier-scene figcaption a,.shop-eyebrow,.shop-department-cta,.shop-categories button){color:var(--ink)!important}
html body .shop-landing :is(p,.atelier-signature,.atelier-description,.atelier-note,.atelier-scene figcaption,.atelier-scene figcaption span:last-child,.edition-format){color:var(--soft)!important}
html body .shop-landing .atelier-primary{background:var(--action);color:var(--action-text)!important;border:1px solid var(--action);box-shadow:0 4px 14px #0001}
html body .shop-landing .atelier-assurances{border-color:var(--edge)}
html body .shop-landing .shop-department{background:var(--department-watercolor);color:var(--ink)!important;border:1px solid var(--edge)}
html body .shop-landing .shop-department:nth-child(2){background:var(--department-drawing)}
html body .shop-landing .catalog-filters{background:var(--card)!important;border-color:var(--edge)}
html body .shop-landing .shop-categories button[aria-pressed=true]{background:var(--action);color:var(--action-text)!important;border-color:var(--action)}
html[data-theme=dark] body :is(input,select,textarea){color:var(--ink)!important;background:var(--card)!important;border-color:var(--edge)!important}
html[data-theme=dark] body input::placeholder,html[data-theme=dark] body textarea::placeholder{color:#bdacc1;opacity:1}
html[data-theme=dark] body :is(.store-purchase,.store-buy-box,.store-price-panel,.store-purchase-panel,.pm-summary,.pm-description,.pm-facts,.ux-recommendations,.catalog-filters,.lesson-toc,.toc,.callout,.note-box){color:var(--ink);border-color:var(--edge)}
html[data-theme=dark] body .button:not(.alt),html[data-theme=dark] body button[type=submit]{background:var(--action)!important;color:var(--action-text)!important;border-color:var(--action)!important}
html[data-theme=dark] body .button.alt{color:var(--ink)!important;border-color:var(--edge)!important;background:transparent!important}
html[data-theme=dark] body :is(.shop-filter-panel>summary,.store-purchase,.store-purchase-panel){background:var(--card)!important}
html body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus);outline-offset:4px}
html[data-theme=dark] body .shop-department:hover{box-shadow:0 0 0 2px #d8bd8d}
@media(prefers-reduced-motion:no-preference){.theme-toggle{transition:background-color .15s,color .15s}}

html[data-theme=dark] body .etsy-testimonials{background:#29222e;border:1px solid var(--edge)}
html[data-theme=dark] body .testimonial{background:#332a3a;border-color:var(--edge)}
html[data-theme=dark] body .testimonial-stars{color:#e7c68c}
html[data-theme=dark] body .testimonials-heading>div>span,html[data-theme=dark] body .testimonials-heading span,html[data-theme=dark] body .testimonials-heading .eyebrow{color:var(--soft)}
html[data-theme=dark] body :is(.guide-meta span,.eyebrow,.guide-toc a>span,.studio-panel figcaption>span,.section-number,.practice-card>span){color:#dcc3a4!important}
html[data-theme=dark] body .pm-thumbs button{background:var(--card);color:var(--ink);border-color:var(--edge)}
html[data-theme=dark] body .pm-thumbs button[aria-pressed=true]{border-color:#efd5a3}

html[data-theme=light] body .testimonial-stars{color:#866127}
html[data-theme=light] body .testimonial-product small{color:#716358}
html[data-theme=light] body p.note{color:#655a64}
