/* Skin is one choice, not a combination of mode and holiday. */
:root{--skin-accent:var(--green);--skin-on-accent:#fff;--skin-header:#fffffff7;--skin-glow:transparent}
/* Warm section backgrounds soften Light while keeping the alternating green sections distinct. */
html[data-skin="light"] main > :is(#services,#cooperation,#about){background:#f2ede3}
html[data-skin="military-day"] main > :is(#services,#cooperation,#about){background:#eee7d9}
html[data-skin="dragon-boat"] main > :is(#services,#cooperation,#about){background:#f0ecdf}
/* Distinct stone/sage cards and solid green workflow nodes keep Light easy to scan. */
html[data-skin="light"] .expertise-card{--expertise-surface:#d6e4d2;--expertise-hover:#c9dbc4;background:var(--expertise-surface)}
html[data-skin="light"] .expertise-card:nth-child(even){--expertise-surface:#e4e1d9;--expertise-hover:#d8d4ca}
html[data-skin="light"] .expertise-summary,
html[data-skin="light"] .expertise-card[open]>.expertise-panel-body{background:var(--expertise-surface)}
html[data-skin="light"] .expertise-summary:hover{--expertise-surface:var(--expertise-hover)}
html[data-skin="light"] .expertise-flow-number{background:#184e45;border-color:#184e45;color:#faf7ef;box-shadow:0 0 0 5px var(--expertise-surface)}
html[data-skin="light"] .expertise-flow::before{background:#769581}
html[data-skin="light"] .expertise-summary-note{border-color:#a6b5a1}
html[data-skin="light"] :is(.expertise-kicker,.expertise-summary h3,.expertise-summary-note,.expertise-flow-step,.expertise-panel-body p,.expertise-panel-body ul li){color:#293b32}
:root[data-skin="military-day"]{color-scheme:light;--ink:#263526;--green:#435738;--muted:#52604a;--paper:#f7f6ef;--section-tint:#edf0e4;--line:#c4ccb8;--sage:#e2e8d6;--white:#fffef8;--skin-accent:#435738;--skin-on-accent:#fffdf3;--skin-header:#f7f6eff7;--skin-glow:#b59a4e18}
/* Military Day uses a calm light surface; fixed pale contact accents need a dark foreground. */
html[data-skin="military-day"] .about-art{background:var(--sage)}
html[data-skin="military-day"] .about-art-word em{color:var(--green)}
html[data-skin="military-day"] .product-card .product-card-teaser{background:var(--skin-accent);color:var(--skin-on-accent)}
:root[data-skin="dark"]{color-scheme:dark;--ink:#e4eee9;--green:#9dd7bd;--muted:#b0c3ba;--paper:#14251f;--section-tint:#101d19;--line:#344b40;--sage:#243e32;--white:#182b23;--skin-accent:#9dd7bd;--skin-on-accent:#10291f;--skin-header:#14251ff7;--skin-glow:#82c9a811}
:root[data-skin="halloween"]{color-scheme:dark;--ink:#f6edff;--green:#ffb56d;--muted:#c9b9d5;--paper:#231a30;--section-tint:#191322;--line:#4a385a;--sage:#392847;--white:#291e36;--skin-accent:#ffb56d;--skin-on-accent:#2c1720;--skin-header:#21182df7;--skin-glow:#a96bde16}
:root[data-skin="christmas"]{color-scheme:dark;--ink:#f4f1e6;--green:#e2c98b;--muted:#b9cbc9;--paper:#10262a;--section-tint:#0b1823;--line:#36544d;--sage:#203e38;--white:#132d2c;--skin-accent:#b43c50;--skin-on-accent:#fff;--skin-header:#0c2026f7;--skin-glow:#d6b15c18}
:root[data-skin="mid-autumn"]{color-scheme:dark;--ink:#f5f0e4;--green:#eed59b;--muted:#bcc7de;--paper:#182644;--section-tint:#111b38;--line:#3b4d70;--sage:#28385a;--white:#1c2c4b;--skin-accent:#eed59b;--skin-on-accent:#192542;--skin-header:#15213df7;--skin-glow:#efd79b1c}
:root[data-skin="dragon-boat"]{color-scheme:light;--ink:#173e36;--green:#1e6556;--muted:#4f6c60;--paper:#f4f8ed;--section-tint:#e6f1e6;--line:#c1d6c4;--sage:#d6e8d5;--white:#fbfdf5;--skin-accent:#1e6556;--skin-on-accent:#fff;--skin-header:#fbfdf5f7;--skin-glow:#64bfa51c}
:root[data-skin="new-year"]{color-scheme:dark;--ink:#f5f2ed;--green:#f0d28a;--muted:#c0c8e2;--paper:#151c3d;--section-tint:#0e1430;--line:#3c4971;--sage:#26345b;--white:#1b2547;--skin-accent:#f0d28a;--skin-on-accent:#161d3c;--skin-header:#111a35f7;--skin-glow:#a694ee20}
/* Warm vermilion and brighter gold give every zodiac a festive red-paper palette. */
:root[data-skin^="lunar-"]{color-scheme:dark;--ink:#fff1df;--green:#ffda8a;--muted:#ffe1c7;--paper:#98271f;--section-tint:#8e211b;--line:#d47b58;--sage:#a93829;--white:#a52a20;--skin-accent:#ffda8a;--skin-on-accent:#682218;--skin-header:#8e211bf7;--skin-glow:#ffda8a1a}
.skin-control{position:relative;flex-shrink:0;font:600 .875rem/1.4 var(--sans);color:var(--ink)}
.skin-control>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;list-style:none;cursor:pointer;white-space:nowrap;background:var(--paper)}
.skin-control>summary::-webkit-details-marker{display:none}.skin-control>summary::after{content:"⌄";color:var(--muted)}
.skin-dot{width:10px;height:10px;border-radius:50%;background:var(--skin-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--skin-accent) 12%,transparent)}
.skin-menu{position:absolute;left:0;top:calc(100% + 10px);width:210px;padding:8px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 36px #0002;z-index:45}
.skin-menu{max-height:calc(100dvh - var(--header-height,94px) - 30px);overflow-y:auto;overscroll-behavior:contain}
.skin-menu p{padding:7px 10px 10px;font-size:.75rem;letter-spacing:.08em;color:var(--muted);border-bottom:1px solid var(--line);margin-bottom:5px}
.skin-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:6px;text-align:left;font:inherit;min-height:44px;color:var(--ink)}
.skin-menu button:hover,.skin-menu button[aria-pressed="true"]{background:var(--sage)}.skin-menu button[aria-pressed="true"]::after{content:"✓";margin-left:auto;color:var(--green)}
.skin-swatch{width:22px;height:22px;border-radius:50%;border:1px solid #8885;background:var(--swatch)}
.brand{position:relative}
html:not([data-skin="light"]) .site-header{background:var(--skin-header)}
html:not([data-skin="light"]) :is(.hero h1 em,.eyebrow,.hero-topics,.hero-bottom,.art-caption,.expertise-kicker,.expertise-summary h3,.expertise-summary-note){color:var(--muted)}
html:not([data-skin="light"]) .hero h1 em{color:var(--green)}
html:not([data-skin="light"]) .hero{background-image:radial-gradient(ellipse at 80% 30%,var(--skin-glow),transparent 65%)}
html:not([data-skin="light"]) :is(.art-label,.language-menu,.product-menu,.solution-card,.product-card,.product-search-input,.product-dialog,.legal-dialog,.legal-dialog-heading,.product-comparison-dialog,.home-solution-entry,.solution-scene,.cooperation-panel-surface,.solution-question,.solution-result,.special-project-card,.social-rail,.share-copy-fallback){background:var(--white);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.home-solution-entry:hover,.solution-card:hover,.product-card-art,.expertise-icon,.expertise-summary-toggle,.expertise-card[open] .expertise-summary-toggle,.expertise-card>.expertise-panel-body h4,.product-card-functions li,.product-module-tags li,.solution-question-options button,.product-compare-choice){background:var(--sage);color:var(--green);border-color:var(--line)}
html:not([data-skin="light"]) :is(.expertise-card,.expertise-summary-note,.hero-bottom,.hero-topics span+span,.product-screenshot-grid figure,.about-diagram-picture,.product-information li,.solution-scene,.home-solution-entry){border-color:var(--line)}
html:not([data-skin="light"]) .expertise-flow-number{box-shadow:0 0 0 5px var(--white)}
html:not([data-skin="light"]) .expertise-flow::before{background:var(--line)}
/* Each palette keeps distinct alternating surfaces and solid, high-contrast workflow nodes. */
:root[data-skin="military-day"]{--expertise-odd:#d7dfc9;--expertise-even:#dedbd0}
:root[data-skin="dragon-boat"]{--expertise-odd:#cfe2ce;--expertise-even:#dedfd2}
:root[data-skin="dark"]{--expertise-odd:#243e32;--expertise-even:#25343e}
:root[data-skin="halloween"]{--expertise-odd:#392847;--expertise-even:#382f24}
:root[data-skin="christmas"]{--expertise-odd:#203e38;--expertise-even:#382a36}
:root[data-skin="mid-autumn"]{--expertise-odd:#28385a;--expertise-even:#3e3545}
:root[data-skin="new-year"]{--expertise-odd:#26345b;--expertise-even:#3d3548}
:root[data-skin^="lunar-"]{--expertise-odd:#78313a;--expertise-even:#542d36}
html:not([data-skin="light"]) .expertise-card{--expertise-base:var(--expertise-odd);--expertise-surface:var(--expertise-base);background:var(--expertise-surface);border-color:var(--green)}
html:not([data-skin="light"]) .expertise-card:nth-child(even){--expertise-base:var(--expertise-even)}
html:not([data-skin="light"]) .expertise-summary,
html:not([data-skin="light"]) .expertise-card[open]>.expertise-panel-body{background:var(--expertise-surface);color:var(--ink)}
html:not([data-skin="light"]) .expertise-summary:hover{--expertise-surface:color-mix(in srgb,var(--expertise-base) 94%,var(--ink))}
html:not([data-skin="light"]) .expertise-flow-number{background:var(--green);color:var(--paper);border-color:var(--green);box-shadow:0 0 0 5px var(--expertise-surface)}
html:not([data-skin="light"]) .expertise-flow::before{background:var(--green)}
html:not([data-skin="light"]) .expertise-summary-note{border-color:var(--green)}
html:not([data-skin="light"]) .expertise-domain{color:var(--green)}
html:not([data-skin="light"]) :is(.expertise-kicker,.expertise-summary h3,.expertise-summary-note,.expertise-flow-step,.expertise-panel-body p,.expertise-panel-body ul li){color:var(--ink)}
html:not([data-skin="light"]) :is(.button-primary,.nav-contact,.product-comparison-launcher>button,.product-cover-badge,.about-diagram-tab[aria-selected=true],.cooperation-tabs button[aria-selected=true],.product-tabs button[aria-selected=true]){background:var(--skin-accent);color:var(--skin-on-accent);border-color:var(--skin-accent)}
html:not([data-skin="light"]) :is(.button-primary,.nav-contact):hover{filter:brightness(1.1)}
html:not([data-skin="light"]) :is(.contact-section,main>#contact,.cooperation-lead){background:var(--sage);color:var(--ink)}
html:not([data-skin="light"]) :is(.contact-section,.cooperation-lead) :is(h2,h3,p,a,.eyebrow,.text-link){color:var(--ink)}
html:not([data-skin="light"]) :is(.site-footer,.language-control summary,.about-diagram-tab,.social-rail-toggle,.social-links a){background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.language-menu a:hover,.product-menu a:hover){background:var(--sage)}
html:not([data-skin="light"]) .expertise-watermark{color:color-mix(in srgb,var(--green) 9%,transparent)}
html[data-skin="halloween"] .hero-art>img{filter:hue-rotate(202deg) saturate(.85) brightness(1.2)}
html[data-skin="dark"] .hero-art>img{filter:brightness(1.15)}
html[data-skin="christmas"] .hero h1 em{color:#e2c98b}
html[data-skin="christmas"] .hero-art>img{filter:saturate(.8) brightness(.9)}
html[data-skin="christmas"] .hero{background-image:radial-gradient(ellipse at 78% 35%,#d6b15c18,transparent 58%),radial-gradient(ellipse at 100% 0,#a3344215,transparent 50%)}
html[data-skin="mid-autumn"] .hero-art>img{filter:hue-rotate(25deg) saturate(.65) brightness(1.05)}
html[data-skin="new-year"] .hero-art>img{filter:hue-rotate(55deg) saturate(.65) brightness(1.05)}
html[data-skin^="lunar-"] .hero-art>img{filter:hue-rotate(260deg) saturate(.8)}
.skin-effects{position:fixed;inset:0;z-index:60;overflow:hidden;pointer-events:none;contain:strict}
.skin-effects *{pointer-events:none}.skin-particle{position:absolute;display:block;will-change:transform,opacity}.skin-particle img{display:block;width:100%;height:auto}
.skin-frame-sequence{aspect-ratio:3/4;overflow:hidden}.skin-frame-sequence img{position:absolute;left:0;top:0;width:400%;max-width:none;height:200%}
.skin-effects[hidden]{display:none}
/* Shared reading surfaces, including catalogs and independent product/project pages. */
html:not([data-skin="light"]) :is(.page-hero,.page-section-tint,.story-card,.story-card-copy,.story-dialog,.story-detail-body,.product-detail-nav,.product-detail-facts,.product-detail-page .product-capabilities>ul>li,.product-detail-page .product-screenshot-grid>figure,.product-image-dialog,.product-image-viewport,.solution-modes button,.catalog-scene-filters button,.project-document,.project-document .project-chapter,.project-document .project-path-card,.project-document .project-steps li,.project-document .project-table-wrap){background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.solution-summary,.solution-recommendation,.catalog-total,.scene-count,.product-development-contact,.product-image-enlarge,.product-image-dialog button,.product-comparison-scroll thead th){background:var(--sage);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.footer-bottom,.footer-top>p,.card-number,.scene-number,.product-feature-number,.catalog-overview-heading .eyebrow,.contact-label,.contact-hours-value,.story-date,.line-icon){color:var(--muted)}
html:not([data-skin="light"]) :is(.skip-link,.catalog-scene-filters button[aria-pressed=true],.solution-modes button[aria-selected=true]){background:var(--skin-accent);color:var(--skin-on-accent)}
html:not([data-skin="light"]) .solution-modes button[aria-selected=true] small{color:inherit}
html:not([data-skin="light"]) :is(.project-document .project-chapter h2,.project-document .project-chapter:last-child,.project-document .project-chapter:last-child h2){background:var(--sage);color:var(--ink);border-color:var(--line)}
/* Pair graphic surfaces with their own foreground instead of inheriting fixed pale green. */
/* The About illustration deliberately retains its pale brand background in every palette. */
html .about-art{background:#e8eee1;color:#193d36}
html .about-art-word em{color:#4e6742}
/* The preview tile must win over alternating product-card artwork backgrounds. */
html .product-card .product-card-art.product-card-teaser{background:#194d43;color:#f5f7ef}
html[data-skin="light"] :is(.art-caption,.scene-number,.product-feature-number){color:#52674f}
/* Follow the theme through the complete needs wizard, including selected and completed states. */
html:not([data-skin="light"]) :is(.solution-explorer,.page-needs .solution-explorer,.solution-surface,.page-product-hero,.page-feature-panel,.page-related){background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.explorer-choice,.explorer-module-choice,.explorer-secondary,.standalone-toolbar input[type=search],.standalone-toolbar .catalog-reset){background:var(--white);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) :is(.explorer-choice:hover,.explorer-choice:has(input:checked),.explorer-module-choice:has(input:checked),.explorer-selection,.explorer-progress li>span,.page-count){background:var(--sage);color:var(--ink);border-color:var(--green)}
html:not([data-skin="light"]) :is(.explorer-choice-number,.explorer-secondary){color:var(--green)}
html:not([data-skin="light"]) :is(.explorer-progress li[aria-current=step]>span,.explorer-progress .is-complete>span){background:var(--skin-accent);color:var(--skin-on-accent)}
/* Contact accents previously assumed a dark green background; pair them with each skin. */
html:not([data-skin="light"]) :is(.contact-heading h2 em,.contact-links a>span:last-child,.contact-careers a>span:last-child){color:var(--ink)}
html:not([data-skin="light"]) .contact-redesign .contact-hours-value>span:last-child{color:var(--muted)}
html:not([data-skin="light"]) .contact-direct>a>span:last-child{color:var(--ink)}
html[data-skin="dragon-boat"] .contact-section :is(.contact-label,.contact-hours-value,.contact-hours-value>span:last-child){color:var(--ink)}
html:not([data-skin="light"]) .product-share-actions>:is(a,button){background:var(--white);color:var(--green);border-color:var(--line)}
html:not([data-skin="light"]) .product-share-actions>:is(a,button):hover{background:var(--sage)}
html .home-program-entry .program-entry-art,html .special-project-art{background:var(--skin-accent);color:var(--skin-on-accent)}
html .project-orbit>g[stroke]{stroke-width:1.7}
/* Partner trademarks keep a neutral white surface and readable dark captions in every skin. */
html .partner-logo-card figcaption{color:#193d36}
html:not([data-skin="light"]) :is(.partner-region,.partner-region-link){background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) .partner-region-link[aria-pressed=true]{background:var(--skin-accent);color:var(--skin-on-accent);border-color:var(--skin-accent)}
html:not([data-skin="light"]) .partner-county{fill:var(--sage);stroke:var(--line)}
html:not([data-skin="light"]) .partner-county.has-partners{fill:var(--muted)}
html:not([data-skin="light"]) .partner-county.is-selected{fill:var(--skin-accent)}
/* Project reading pages: headings, alternating rows and callouts follow the active palette. */
html:not([data-skin="light"]) .project-document .project-hero{background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) .project-document .project-hero .eyebrow{color:var(--muted)}
html:not([data-skin="light"]) .project-document .project-hero .project-orbit{color:var(--green)}
html:not([data-skin="light"]) .project-document .project-toc nav{background:var(--paper);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) .project-document .project-toc a{color:var(--muted);border-color:var(--line)}
html:not([data-skin="light"]) .project-document .project-toc a:hover{color:var(--ink);background:var(--sage)}
html:not([data-skin="light"]) .project-document :is(.project-chapter:nth-child(even),.project-path-card:nth-child(2),.project-path-card:nth-child(3),.project-steps li:nth-child(even)){background:var(--white);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) .project-document .project-chapter h2{background:var(--sage);color:var(--ink);border-color:var(--line)}
html:not([data-skin="light"]) .project-document :is(.project-table tbody tr:nth-child(even),.project-points,.project-chapter:last-child .project-points){background:var(--sage);color:var(--ink)}
html:not([data-skin="light"]) .project-document :is(.project-table th,.project-table td,.project-points li){border-color:var(--line)}
html:not([data-skin="light"]) .project-document .project-table thead{background:var(--skin-accent);color:var(--skin-on-accent)}
html:not([data-skin="light"]) .project-document .project-completion{background:var(--sage);color:var(--green)}
html:not([data-skin="light"]) .project-document .project-care-steps li::before{box-shadow:0 0 0 5px var(--paper)}
html:not([data-skin="light"]) .project-document .project-care-steps::before{border-color:var(--line)}
@media(min-width:1441px){.header-inner:has(.skin-control){gap:18px}.navigation:has(.skin-control){gap:16px}.navigation:has(.skin-control)>a{white-space:nowrap}.header-inner:has(.skin-control) .brand-logo{width:205px}.header-inner:has(.skin-control) .header-actions{gap:12px}}
@media(min-width:1441px) and (max-width:1550px){.navigation:has(.skin-control){gap:10px;font-size:1rem}.header-inner:has(.skin-control){width:calc(100% - 40px);gap:12px}.header-inner:has(.skin-control) .brand-logo{width:180px}.navigation:has(.skin-control) .nav-contact{padding-inline:12px!important}}
@media(max-width:1440px){html:not([data-skin="light"]) .navigation{background:var(--white)}.skin-control{width:100%}.skin-control>summary{width:max-content}.skin-menu{position:static;margin-top:8px;width:min(100%,280px)}}
@media(prefers-reduced-motion:reduce){.skin-effects{display:none}}
@media print{.skin-control,.skin-effects{display:none!important}}
