/* Preserve P6's four Vietnam-time phases and their original palette values. */
html[data-theme=morning] body{--bg:#f5f1e8!important;--surface:#fffcf6!important;--text:#2c302d!important;--muted:#5e6057!important;--accent:#76603b!important;--phase-glass:#fffcf6b8;--phase-glow:#cfb17938}
html[data-theme=day] body{--bg:#f3f5f5!important;--surface:#fcfdfd!important;--text:#152838!important;--muted:#4e5f6b!important;--accent:#74603e!important;--phase-glass:#fcfdfdb8;--phase-glow:#9eb2bc38}
html[data-theme=sunset] body{--bg:#292621!important;--surface:#333029!important;--text:#f4eee3!important;--muted:#cbc2b2!important;--accent:#e0c18a!important;--phase-glass:#333029b8;--phase-glow:#ad743b29}
html[data-theme=night] body{--bg:#0b1520!important;--surface:#132130!important;--text:#eef1ed!important;--muted:#bdc8cf!important;--accent:#d5c6a7!important;--phase-glass:#132130b8;--phase-glow:#5b7d992e}
html[data-theme] body{--z7-gold:var(--accent);--z7-text:var(--text);--z7-secondary:var(--muted);background:var(--bg)!important;color:var(--text)!important;transition:background-color .7s,color .7s}
html[data-theme] body :is(.home-section,.home-perspective,.home-focus,.home-services,.home-why,.home-method,.site-footer,.page-hero,.v3-country-section,.section){background:var(--bg)!important;color:var(--text)!important}
html[data-theme] body :is(.about-copy,.footer-identity,.contact-simple,.review-capability-detail,.why-principle,.z8-law-item,.market-strip a,.service-block){background:var(--phase-glass)!important;color:var(--text)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
html[data-theme] body :is(.home-section,.home-perspective,.site-footer,.page-hero,.v3-country-section,.section) :is(h1,h2,h3,h4,p,li,summary){color:inherit!important}
html[data-theme] body .site-footer :is(a,.footer-column h2){color:var(--text)}
html[data-theme] body :is(.section-note,.approach-context,.footer-brand p){color:var(--muted)!important}
html[data-theme] body :is(.service-photo-card,.insight-grid article,.review-teasers article){--text:inherit;color:var(--text)!important}
html[data-theme] body .city-hero{color:#fff6e7;--text:#fff6e7;--accent:#f0d49c;--z7-gold:#f0d49c;--z7-secondary:#ede8dd}
html[data-theme] body .z6-bar{background:linear-gradient(120deg,#ffffff20,#111c2c55);backdrop-filter:blur(24px) saturate(125%);-webkit-backdrop-filter:blur(24px) saturate(125%)}
html[data-theme] body .z11-contact-dialog{background:radial-gradient(280px circle at var(--glow-x,70%) var(--glow-y,0%),var(--phase-glow),transparent 80%),var(--phase-glass);color:var(--text)}
html[data-theme] body .z11-contact-dialog :is(h2,strong,small,p,a,button){color:var(--text)}
html[data-theme] body .z11-contact-dialog svg{color:var(--accent)}
@keyframes z11-brand-light{0%,65%{background-position:100% 0}95%,100%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){}
/* Legacy inner styles use body classes and section IDs; keep both in the time palette. */
html[data-theme] body.review-inner main#main,html[data-theme] body.review-inner main#main .section,html[data-theme] body :is(#services,#insights,#markets,#why,#method,#contact,#focus){background:var(--bg)!important;color:var(--text)!important}
html[data-theme] body.review-inner main#main :is(.z7-capability,.v31-capability,.principle-card,.service-block),html[data-theme] body .map-market-list{background:var(--phase-glass)!important;color:var(--text)!important}
html[data-theme] body .z6-bar{background:linear-gradient(120deg,#26323de8,#182531b8)!important;color:#fff4df}
html[data-theme] body .z6-bar .z6-contact{background:linear-gradient(135deg,#fff3d326,#ffffff09)!important;color:#fff4df!important}
html[data-theme=morning] body .z11-contact-dialog img,html[data-theme=day] body .z11-contact-dialog img{filter:brightness(.48) saturate(.9)}
html[data-theme] body .site-footer .footer-column nav a:hover{color:var(--accent)!important}
html[data-theme] body.review-inner main#main .z7-capability-body{background:var(--phase-glass)!important;color:var(--text)!important}
