/* Shared semantic color roles. Photography and layout remain unchanged. */
.palette-active{background:var(--bg);color:var(--ink)}
.palette-active .site-header,.palette-active .wellness .site-header{background:var(--bg);color:var(--ink)}
.palette-active .inquiry{--bg:inherit;--surface:inherit;--ink:inherit;--line:inherit;background:var(--surface);color:var(--ink);border-color:var(--line)}
.palette-active .btn,.palette-active .button{background:var(--cta);color:var(--cta-ink);border-color:var(--cta)}
.palette-active .btn.secondary{background:transparent;color:var(--ink);border-color:var(--line)}
.palette-active .tabs button.active{background:var(--cta);color:var(--cta-ink);border-color:var(--cta)}
.palette-active .tag,.palette-active em,.palette-active .section-tag{color:var(--cta)}
.palette-active .visual-stage,.palette-active .hero,.palette-active .immersive{color:#fff}
.palette-active .visual-stage .tag,.palette-active .hero .eyebrow,.palette-active .immersive .section-tag{color:#fff}
.palette-active .site-footer,.palette-active>footer:not(.palette-panel footer),.palette-active .endcap{background:var(--band);color:var(--band-ink)}
.palette-active .endcap .section-tag{color:var(--band-ink)}
.palette-active .doctor,.palette-active .treatment-grid article,.palette-active .cost,.palette-active .cost .two article,.palette-active .care-options details,.palette-active .ev-location,.palette-active .grooming,.palette-active .pet-paths article,.palette-active .food-menu article,.palette-active .ordering aside,.palette-active .sourcing{background:var(--surface);color:var(--ink)}
.palette-active .skin-panel,.palette-active .agent-band,.palette-active .wellness-contact{background:var(--band)!important;color:var(--band-ink)}
.palette-active .agent-band .tag,.palette-active .wellness-contact>.tag{color:var(--band-ink)}
.palette-active .listing,.palette-active .recommend{background:var(--surface);color:var(--ink)}
.palette-active .weekly,.palette-active .pet-contact,.palette-active .spec-band{background:var(--palette-accent);color:var(--accent-ink)}
.palette-active .weekly .tag,.palette-active .pet-contact .tag{color:var(--accent-ink)}
.palette-active .pet-contact .inquiry,.palette-active .grooming .hours{background:var(--surface);color:var(--ink)}
.palette-active .pets-hero{background:var(--surface)}
.palette-active .giant,.palette-active .checklist strong{color:var(--cta)}
.palette-active .ev-workshop{color:#fff}.palette-active .ev-workshop .tag{color:#fff}
/* Original six layouts: replace hard-coded paint without changing geometry. */
.palette-active .menu-stage,.palette-active .cafe-special,.palette-active .renovation-process,.palette-active .studio-services,.palette-active .studio-clients,.palette-active .wedding-gallery,.palette-active .homestay-night{background:var(--band);color:var(--band-ink)}
.palette-active .menu-stage .section-tag,.palette-active .renovation-process .section-tag,.palette-active .studio-services .section-tag,.palette-active .studio-clients .section-tag{color:var(--band-ink)}
.palette-active .renovation-process .step{background:var(--band);color:var(--band-ink)}
.palette-active .compare-section,.palette-active .cafe-visit,.palette-active .renovation-stats,.palette-active .renovation-testimonial,.palette-active .studio-duo,.palette-active .wedding-dress,.palette-active .homestay-facilities,.palette-active .facility-grid>div,.palette-active .homestay-review,.palette-active .academy-results,.palette-active .academy-crafts{background:var(--surface);color:var(--ink)}
.palette-active .renovation-portfolio,.palette-active .wedding-venue,.palette-active .wedding-rsvp,.palette-active .academy-teachers,.palette-active .academy-faq{background:var(--bg);color:var(--ink)}
.palette-active .visit-card,.palette-active .course-card{background:var(--surface);color:var(--ink)}
.palette-active .result-number,.palette-active .service-lines span,.palette-active .renovation-process .step b{color:var(--cta)}
/* Picker chrome is deliberately independent of all selected themes. */
.palette-trigger,.palette-panel{font-family:Arial,OfflineThai,Tahoma,sans-serif;color:#182235;color-scheme:light;box-sizing:border-box}
.palette-trigger{position:fixed;right:24px;bottom:24px;z-index:1001;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #d5dce5;border-radius:40px;padding:13px 19px;box-shadow:0 5px 25px #0002;cursor:pointer;font-size:14px;font-weight:700;min-height:52px}
.palette-dots{display:flex;padding-left:5px}.palette-dots i{width:19px;height:19px;margin-left:-5px;border:1px solid #0001;border-radius:50%}
.palette-panel{position:fixed;z-index:1002;right:0;top:0;bottom:0;width:390px;max-width:100%;background:#fff;box-shadow:-12px 0 40px #0002;display:flex;flex-direction:column;line-height:1.4;letter-spacing:normal;text-align:left}
.palette-panel[hidden]{display:none!important}.palette-panel *{box-sizing:border-box;letter-spacing:normal}
.palette-panel header{display:flex;justify-content:space-between;gap:20px;padding:24px 22px 12px;border-bottom:1px solid #edf0f4;background:#fff;color:#182235}
.palette-panel h2{font-family:Arial,OfflineThai,Tahoma,sans-serif;font-size:24px;line-height:1.3;font-weight:700;color:#182235;margin:0 0 7px}
.palette-panel p{font-size:13px;margin:0;color:#596579;max-width:none}
.palette-close{background:none;border:0;color:#182235;font-size:28px;line-height:1;width:38px;height:38px;cursor:pointer}
.palette-panel .palette-current{padding:15px 22px;font-size:13px;color:#182235}
.palette-options{overflow-y:auto;flex:1;padding:0 14px 12px;overscroll-behavior:contain}
.palette-option{display:block;width:100%;padding:12px 12px 10px;margin:0 0 9px;background:#f8f9fb;color:#182235;border:1px solid #e3e7ed;border-radius:9px;text-align:left;cursor:pointer;font:14px/1.3 Arial,OfflineThai,Tahoma,sans-serif}
.palette-option:hover{background:#f0f3f8}.palette-option.selected{background:#edf2fb;border-color:#24497d;box-shadow:inset 0 0 0 1px #24497d}
.palette-row{display:flex;align-items:center;gap:12px;margin-bottom:9px}.palette-row b{font-weight:700;flex:1}.palette-check{visibility:hidden;background:#24497d;color:white;border-radius:50%;width:20px;height:20px;text-align:center;font-size:13px;line-height:20px}.selected .palette-check{visibility:visible}
.palette-swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.palette-swatches>span{min-width:0}.palette-swatches i{display:block;height:22px;border-radius:4px;border:1px solid #0002}.palette-swatches small{display:block;margin-top:4px;font:9px/1.2 Arial,sans-serif;color:#526078;text-align:center}
.palette-panel footer{padding:14px 18px 18px;border-top:1px solid #edf0f4;display:block;background:#fff;color:#596579}
.palette-panel footer p{font-size:10px;white-space:nowrap;margin-bottom:6px}.palette-panel footer small{font-size:12px}
@media(min-width:701px){body:has(.palette-panel:not([hidden]))>.palette-trigger{right:410px}}
@media(max-width:700px){.palette-trigger{right:15px;bottom:15px;padding:12px 16px}.palette-panel{top:auto;height:min(78dvh,730px);width:100%;border-radius:22px 22px 0 0;box-shadow:0 -15px 50px #0003}.palette-panel header{padding-top:23px;border-radius:22px 22px 0 0}.palette-panel header:before{content:'';position:absolute;width:44px;height:4px;border-radius:5px;background:#d7dde6;left:calc(50% - 22px);top:8px}.palette-options{padding:0 16px 12px}.palette-swatches small{font-size:10px}.palette-panel footer{padding-bottom:max(15px,env(safe-area-inset-bottom))}}
.palette-active .ceremony,.palette-active .courses,.palette-active .cafe-gallery,.palette-active .why-points div{background:var(--surface);color:var(--ink)}
.palette-active .stay,.palette-active .course,.palette-active .course:nth-child(2),.palette-active .course:nth-child(3){background:var(--bg);color:var(--ink)}
.palette-active .studio-quote{background:var(--cta);color:var(--cta-ink)}
.palette-active .cafe-special{color:#fff}
.palette-active .renovation-process .step b,.palette-active .studio-services .service-lines span{color:var(--band-ink)}
.palette-active .inquiry input,.palette-active .inquiry select,.palette-active .inquiry textarea{background:var(--bg);color:var(--ink);border-color:var(--line)}
