/* Owner-selected public palette. Colour only; no service or layout activation. */
:root{color-scheme:light;--bg-page:#F9F8F6;--bg-surface:#FFFFFF;--brand-primary:#0F172A;--brand-accent:#B48A3E;--cta-primary:#1E40AF;--cta-hover:#1E3A8A;--text-main:#1E293B;--text-muted:#64748B;--border-subtle:#E2E8F0;--status-success:#15803D;--status-success-bg:#DCFCE7;--status-warning:#B45309;--status-warning-bg:#FEF3C7;--status-error:#B91C1C;--status-error-bg:#FEE2E2;--ink:var(--brand-primary);--muted:var(--text-main);--green:var(--cta-primary);--lime:var(--cta-primary);--cream:var(--text-main);--line:var(--border-subtle);--sand:var(--bg-page);--bg:var(--bg-page);--panel:var(--bg-surface);--text:var(--text-main);background:var(--bg-page);color:var(--text-main)}
html:has(body.shs-theme){color-scheme:light}
body.shs-theme{background:var(--bg-page);background-image:none;color:var(--text-main)}
body.shs-theme::before{content:none}
body.shs-theme :is(h1,h2,h3,h4,h1 em,h2 em){color:var(--brand-primary)}
body.shs-theme :is(p,li,dt,dd,label,small,summary){color:inherit}
body.shs-theme a{color:var(--cta-primary)}
body.shs-theme :is(.seller-section,.problem,.workflow-section,.features-section,.logistics-section,.trust-section,.pilot-section,.faq-section,.seller-privacy-section,.akushika-section,.hero-backdrop,.closing,.practice-intro){background:var(--bg-page);background-image:none;color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.social-strip,.market-bar,.workspace-language,.account-bar,.draft-storage,.practice-entry,.workspace-footer,.public-footer,footer){background:var(--bg-surface);background-image:none;color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.stage-bar,.site-header,.public-header,.topbar,header:not(.store-header)){background:var(--brand-primary);color:var(--bg-surface);border-color:var(--border-subtle)}
body.shs-theme :is(.site-header,.public-header,.topbar,header:not(.store-header)){border-bottom:3px solid var(--brand-accent)}
body.shs-theme :is(.site-header,.public-header,.topbar,header:not(.store-header)) :is(a,p,span,.menu-toggle){color:var(--bg-surface)}
body.shs-theme :is(.site-header,.public-header,.topbar) .brand-symbol{color:var(--brand-primary)}
body.shs-theme :is(.stage-divider,.stage-bar .status-dot){background:var(--brand-accent);color:var(--bg-surface)}
body.shs-theme :is(.hero-logo,.hero-brand-logo,.closing-logo,footer .brand-logo){background:var(--brand-primary);border-radius:10px;padding:14px 20px;box-sizing:content-box;max-width:calc(100% - 40px)}
body.shs-theme :is(.hero-lead,.hero-description,.hero-note,.hero .text-link,.section-heading>p,.problem-copy p,.features-grid p,.pilot-copy>p,.service-copy>p,.service-list span,.cost-principles p,.logistics-next p,.faq-items p,.privacy-layout p,.aku-copy>p,.seller-card p,.seller-section-foot p,.interest-card .field-help,.interest-card .interest-status,.form-note,.fit-result p,.footer-main p span,.footer-bottom,.photo-credits,.illustration-note,.service-status,.pilot-stage p,.local-status span,.assistant-heading p,.greeting p,.support p,.ai-panel>p,.consent,.preview-footnote,.practice-entry p,.draft-storage>p){color:var(--text-main)}
body.shs-theme .aku-copy>.aku-lead{color:var(--text-main)!important}
body.shs-theme :is(.eyebrow,.small-label,.feature-number,.hero .eyebrow,.trust-intro .eyebrow,.closing .eyebrow,.service-copy>.small-label,.service-list li::before,.seller-card-copy .small-label,.privacy-layout .eyebrow,.aku-copy h2 em,.workspace-label,.mode-label,.help,.practice-access){color:var(--cta-primary)}
body.shs-theme :is(.eyebrow>span,.hero .eyebrow>span){background:var(--brand-accent)}
body.shs-theme :is(button,.button,.link-button,.primary,.sample-cta){background:var(--cta-primary);color:var(--bg-surface);border-color:var(--cta-primary);background-image:none}
body.shs-theme :is(button,.button,.link-button,.primary):hover:not(:disabled){background:var(--cta-hover);color:var(--bg-surface);border-color:var(--cta-hover)}
body.shs-theme :is(.outline,.quiet,.secondary,.sample-button,.preview-picker button,.steps button,.view-switch button,.views button,.chat-choices button,.chat-clear,.mode button[aria-pressed=false],:where(#cancel,#cancel-create,#refresh,#use-saved,#new-shop,#signout,#interest-recheck,#interest-retry)){background:var(--bg-surface);color:var(--cta-primary);border-color:var(--text-muted)}
body.shs-theme :is(.preview-picker button[aria-pressed=true],.view-switch [aria-pressed=true],.views [aria-pressed=true],.mode [aria-pressed=true],.steps [aria-current=step]){background:var(--cta-primary);color:var(--bg-surface);border-color:var(--cta-primary)}
body.shs-theme :is(.journey-tabs button,.service-tabs button){background:var(--bg-surface);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.journey-tabs button[aria-selected=true],.service-tabs button[aria-selected=true]){background:var(--cta-primary);color:var(--bg-surface);border-color:var(--cta-primary)}
body.shs-theme :is(.journey-tabs button,.service-tabs button) span{color:inherit}
body.shs-theme :is(.journey-tabs button span,.journey-tabs button:not(:last-child)::after){color:inherit}
body.shs-theme :is(.panel,.order-card,.stock-card,.seller-card,.hero-art,.store-preview,.journey-example,.fit-card,.service-panel,.fulfilment-example,.aku-example,.assistant-panel,.proposal-panel,.product-row,.product-entry,.preview-product,.store-shell,.store-header,.store-hero,.store-about,.store-delivery,.store-footer,.store-label,.empty-product,.chat-panel,.chat-compose,.price-card,.starter-feature,.plan-offer,.plan-includes,dialog){background:var(--bg-surface);background-image:none;color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.panel,.order-card,.stock-card,.seller-card,.hero-art,.store-preview,.journey-example,.fit-card,.service-panel,.fulfilment-example,.aku-example,.assistant-panel,.proposal-panel,.product-row,.product-entry,.preview-product,.store-shell,.chat-panel,.plan-offer,.plan-includes) :is(.hint,.small,.muted){color:var(--text-muted)}
body.shs-theme :is(.store-top div>span,.store-menu,.product-details .small-label,.product-meta,.social-note,.example-top,.example-label,.example-link,.journey-example p,.trust-intro p,.trust-list p,.form-note,.fit-result .result-note,.fulfilment-example .example-top,.order-facts dt,.example-footnote,.aku-example-header div>span,.aku-example-label,.aku-review-note,.aku-review-note strong,.aku-availability,.preview-product strong,.preview-product p,.preview-product .stock,.store-hero p,.store-section-heading>span,.empty-product small,.product-art>small,.browser-bar>span,.account-bar span,.proposal-panel>p,.comparison-text strong,.plan-status,.plan-offer .eyebrow,.plan-path small,.plan-path a>span,.plan-path b,.plan-step>span,.plan-includes li::before){color:var(--text-main)}
body.shs-theme :is(.hero-photo>figcaption,.packing-photo figcaption,.service-photo figcaption){background:var(--brand-primary);color:var(--bg-surface)}
body.shs-theme :is(.hero-photo>figcaption,.packing-photo figcaption,.service-photo figcaption) :is(p,span,small,em,a){color:var(--bg-surface)}
body.shs-theme .photo-badge{background:var(--bg-surface);color:var(--brand-primary)}
body.shs-theme :is(.photo-flower,.mini-star){color:var(--brand-accent)}
body.shs-theme :is(.planned-label,.badge,.tag,.state,.readiness-label,.aku-badge,.feature-tags span,.size-samples span,.check-outcomes span,.store-label,.draft-badge,.practice-code){background:var(--bg-page);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.product-art,.product-placeholder,.preview-stage,.browser-bar,.workspace-status,.notice,.connection-note,.change-summary,.comparison-text,.aku-message,.chat-message,.fit-result,.review-box,.simulation){background:var(--bg-page);background-image:none;color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.aku-response,.chat-message.question,.checklist .tick,.steps span){background:var(--bg-surface);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.aku-response>span,.chat-message .speaker,.chat-message.question .speaker,.store-preview-prompt span){color:var(--cta-primary)}
body.shs-theme :is(.steps button[aria-current=step] span,.plan-offer .link-button){background:var(--cta-primary);color:var(--bg-surface)}
body.shs-theme :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.interest-card input:not([type=checkbox]),.interest-card textarea,.fit-card select,.proposal-panel input,.proposal-panel textarea){background:var(--bg-surface);color:var(--text-main);border-color:var(--text-muted)}
body.shs-theme :is(input,textarea)::placeholder{color:var(--text-muted);opacity:1}
body.shs-theme :is(input[type=checkbox],input[type=radio],progress){accent-color:var(--cta-primary)}
body.shs-theme :is(.market-bar,.market-controls,.workspace-language) :is(label,p){color:var(--text-main)}
body.shs-theme :is(.market-bar,.workspace-language) a{color:var(--cta-primary)}
body.shs-theme .market-bar .preference-status{color:var(--text-muted)}
body.shs-theme :is(.features-grid article,.cost-principles article,.logistics-next,.faq-items details,.faq-items details:last-child,.journey-tabs,.service-list li,.trust-list article,.aku-availability,.proposal-comparison,.plan-path a,.plan-row,.plan-includes li,.pricing-layout>section.panel){border-color:var(--border-subtle)}
body.shs-theme :is(.aku-example,.assistant-panel,.chat-panel,.starter-feature,.practice-entry){border-top:3px solid var(--brand-accent)}
body.shs-theme .plan-offer{border-bottom:3px solid var(--brand-accent)}
body.shs-theme .plan-status{border-left-color:var(--brand-accent)}
body.shs-theme :is(.workspace-status[data-error=true],.auth-notice[data-error=true],.notice[data-error=true],.fit-result[data-kind=error],#status[data-error=true],#account-draft-status[data-error=true]){background:var(--status-error-bg);color:var(--status-error);border-color:var(--status-error)}
body.shs-theme .checklist .done .tick{background:var(--status-success-bg);color:var(--status-success);border-color:var(--status-success)}
body.shs-theme .checklist .done{color:var(--status-success)}
body.shs-theme :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--cta-primary);outline-offset:3px;box-shadow:0 0 0 2px var(--bg-surface)}
body.shs-theme :is(.site-header,.public-header,.topbar,header:not(.store-header)) :is(a,button):focus-visible{outline-color:var(--bg-surface);box-shadow:0 0 0 2px var(--brand-primary)}
body.shs-theme :is(.skip,.skip-link){background:var(--brand-primary);color:var(--bg-surface)}
@media(max-width:760px){body.shs-theme #main-nav{background:var(--brand-primary);border-color:var(--border-subtle)}}

/* Public homepage details inherited from the earlier green theme. */
body.shs-theme :is(.social-strip strong,.social-names,.aku-help span,.example-link>span){color:var(--text-main)}
body.shs-theme :is(.hero-photo,.packing-photo,.service-photo,.hero-photo-window,.product-stage,.example-link,.interest-card .interest-status,.social-note){background:var(--bg-page);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme .store-avatar{background:var(--brand-primary);color:var(--bg-surface)}
body.shs-theme :is(.status-dot,.product-meta i){background:var(--brand-accent)}
body.shs-theme .stage-divider{background:transparent;color:var(--bg-surface)}
body.shs-theme .service-tabs button:hover{box-shadow:inset 0 -3px var(--brand-accent)}
body.shs-theme #main-nav>a:not(.button):hover{color:var(--bg-surface)}
/* Workspace details and state controls retain their existing behaviour. */
body.shs-theme :is(.draft-storage-details,.draft-storage-details summary,.draft-storage-details p,.ai-panel-title span,.store-about p){color:var(--text-main)}
body.shs-theme :is(.view-switch,.steps){background:var(--bg-surface);border-color:var(--border-subtle)}
body.shs-theme .store-hero figure{background:var(--brand-primary)}
body.shs-theme .store-hero figcaption{color:var(--bg-surface)}
body.shs-theme .steps button{border-color:var(--border-subtle)}
body.shs-theme .steps button[aria-current=step]{background:var(--cta-primary);color:var(--bg-surface);border-color:var(--cta-primary)}
body.shs-theme :is(.view-switch button[aria-pressed=true],.views button[aria-pressed=true]){background:var(--cta-primary);color:var(--bg-surface)}
body.shs-theme :is(.site-header,.public-header,.topbar,header:not(.store-header)) .badge{background:var(--bg-page);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme .workspace-language a[aria-current]{background:var(--cta-primary);color:var(--bg-surface)}
/* Privacy, enquiry and catalogue views use the same public palette. */
body.shs-theme .stage-bar .stage-divider{background:transparent;color:var(--bg-surface)}
body.shs-theme :is(.seller-section-foot .text-link,.seller-section-foot .text-link span,.trust-list article>span,.empty-product>span,.privacy-heading>p:last-child,.privacy-main strong,.privacy-pill,.privacy-number,#shop-name){color:var(--text-main)}
body.shs-theme :is(.privacy-card,.privacy-status,section:has(>#status),.workspace-nav){background:var(--bg-surface);color:var(--text-main);border-color:var(--border-subtle)}
body.shs-theme :is(.privacy-card p,.privacy-status p){color:var(--text-main)}
body.shs-theme :is(.topbar .quiet span,.topbar .privacy-back span){color:var(--cta-primary)}
body.shs-theme main>img.brand{background:var(--brand-primary);border-radius:10px;padding:14px}
body.shs-theme .topbar .outline span{color:var(--cta-primary)}
body.shs-theme .steps button[aria-current=step]{box-shadow:inset 0 -3px var(--brand-accent)}
/* These two existing ID rules need an explicit override of the old green. */
body.shs-theme .interest-card :is(#interest-recheck,#interest-retry){background:var(--cta-primary);color:var(--bg-surface);border-color:var(--cta-primary)}
body.shs-theme .interest-card :is(#interest-recheck,#interest-retry):hover:not(:disabled){background:var(--cta-hover);border-color:var(--cta-hover)}
body.shs-theme :is(input[type=checkbox],input[type=radio]){background:var(--bg-surface);color:var(--text-main);border-color:var(--text-muted);accent-color:var(--cta-primary)}
