/* Permanent day/night control. The original light palette lives in the base
   stylesheets; brand-theme.css and home-digital.css supply the night version. */
:root{--dm-switch-bg:#15101d;--dm-switch-line:#645174;--dm-switch-text:#c9bdd5;--dm-switch-selected:#392640;--dm-switch-active:#f1d494}
:root[data-dm-theme=day]{color-scheme:light;--dm-switch-bg:#fff;--dm-switch-line:#d5cfeb;--dm-switch-text:#605976;--dm-switch-selected:#eee8fc;--dm-switch-active:#5132ad}
:root[data-dm-theme=night]{color-scheme:dark}
.dm-theme-switch{box-sizing:border-box;display:inline-flex;flex:none;align-items:center;justify-content:center;gap:3px;min-height:44px;max-width:100%;padding:4px!important;border:1px solid var(--dm-switch-line);border-radius:30px!important;background:var(--dm-switch-bg);color:var(--dm-switch-text);font:500 12px/1.3 'DM Sans UI','Digitmoi UI',Arial,sans-serif;cursor:pointer;white-space:nowrap;touch-action:manipulation}
.dm-theme-choice{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border-radius:24px;pointer-events:none}
.dm-theme-choice.is-active{background:var(--dm-switch-selected);color:var(--dm-switch-active)}
.dm-theme-choice svg{display:block;flex:none;width:16px;height:16px}
.dm-theme-switch:hover{border-color:var(--dm-switch-active)}
.dm-theme-switch:focus-visible{outline:3px solid var(--dm-switch-active);outline-offset:4px}
.header.dm-site-header.dm-has-theme{grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px}
.header.dm-site-header.dm-has-theme>.dm-theme-switch{grid-column:3;grid-row:1}
.header.dm-site-header.dm-has-theme>.customer-header-link{grid-column:4;grid-row:1}
.dm-theme-toolbar{display:flex;justify-content:flex-end;max-width:1260px;margin:16px auto;padding:0 24px;box-sizing:border-box}
.qr-content-header.dm-has-theme{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ds-topbar.dm-has-theme,.db-topbar.dm-has-theme,.dmcs-topbar.dm-has-theme{gap:14px;flex-wrap:wrap}
.client-header.dm-has-theme{gap:12px;flex-wrap:wrap}
/* New homepage content keeps a clear layout when the night layer is off. */
html[data-dm-theme=day] .experience-filaments{display:none}
html[data-dm-theme=day] .experience-card-tag{display:none}
html[data-dm-theme=day] .home-entry-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin:22px 0 12px}
html[data-dm-theme=day] .home-entry-actions .button{min-height:50px;min-width:215px;justify-content:space-between;padding:13px 22px;font-size:14px}
html[data-dm-theme=day] .home-value{text-align:center;padding-block:48px 6px}
html[data-dm-theme=day] .home-value>.eyebrow{color:var(--violet);margin-bottom:14px}
html[data-dm-theme=day] .home-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left}
html[data-dm-theme=day] .home-value-grid>div{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:12px;background:var(--white);padding:24px}
html[data-dm-theme=day] .home-value-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;color:var(--violet);background:var(--violet-soft);border-radius:10px}
html[data-dm-theme=day] .home-value-icon svg{width:26px;height:26px}
html[data-dm-theme=day] .home-value-grid strong{display:block;font-size:15px;line-height:1.4;margin-bottom:6px}
html[data-dm-theme=day] .home-value-grid p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
html[data-dm-theme=day] .home-experience[data-composition=digital] .experience-caption{max-width:43%;bottom:8%}
html[data-dm-theme=day] .home-experience[data-composition=digital] .experience-kicker{display:none}
html[data-dm-theme=day] .home-experience[data-composition=digital] .experience-caption>p{font-size:clamp(20px,2.25vw,30px);line-height:1.2;margin:0;max-width:390px}
@media(max-width:1100px){
 .header.dm-site-header.dm-has-theme{grid-template-columns:minmax(0,1fr) auto auto;gap:10px 12px}
 .header.dm-site-header.dm-has-theme>.dm-theme-switch{grid-column:2;grid-row:1}
 .header.dm-site-header.dm-has-theme>.customer-header-link{grid-column:3;grid-row:1}
 .header.dm-site-header.dm-has-theme>nav{grid-column:1/-1;grid-row:2}
 .dm-site-header.dm-has-theme .brand-tagline{display:none}
}
@media(max-width:700px){
 .dm-theme-switch{font-size:11px;min-height:44px}
 .dm-theme-choice{padding:7px 9px;gap:5px}
 .dm-theme-choice:not(.is-active){display:inline-flex}
 .header.dm-site-header.dm-has-theme{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
 .header.dm-site-header.dm-has-theme>.brand{grid-column:1;grid-row:1}
 .header.dm-site-header.dm-has-theme>.customer-header-link{grid-column:2;grid-row:1}
 .header.dm-site-header.dm-has-theme>nav{grid-column:1/-1;grid-row:2}
 .header.dm-site-header.dm-has-theme>.dm-theme-switch{grid-column:1/-1;grid-row:3;justify-self:center}
 .dm-site-header.dm-has-theme .brand-name{font-size:25px}
 .dm-site-header.dm-has-theme>.customer-header-link{font-size:11px;padding:10px}
 html[data-dm-theme=day] .home-entry-actions{gap:10px}
 html[data-dm-theme=day] .home-entry-actions .button{min-width:0;flex:1;font-size:12px;padding:13px 12px;gap:8px}
 html[data-dm-theme=day] .home-value{padding-top:34px}
 html[data-dm-theme=day] .home-value-grid{grid-template-columns:1fr;gap:12px}
 html[data-dm-theme=day] .home-value-grid>div{padding:20px}
 html[data-dm-theme=day] .home-experience[data-composition=digital] .experience-caption{max-width:88%;bottom:7%}
 html[data-dm-theme=day] .home-experience[data-composition=digital] .experience-caption>p{font-size:21px}
}
@media(max-width:360px){
 .dm-theme-switch{min-width:44px}
 .dm-theme-choice{padding:7px}
 .dm-theme-label{display:inline}
 .dm-site-header.dm-has-theme .brand-name{font-size:24px}
 .dm-site-header.dm-has-theme>.customer-header-link{font-size:11px;padding-inline:8px}
}
@media print{.dm-theme-switch,.dm-theme-toolbar{display:none!important}}
