/* Components follow the same four time palettes, including nested text. */
/* Visual review: semantic line breaks and phase-aware brand typography. */
html[data-theme] body #services .section-note{width:100%;max-width:56rem!important;margin-inline:auto;text-wrap:balance;word-break:normal;overflow-wrap:normal;line-break:strict}
html[data-theme] body #services .section-note .copy-sentence{display:block}
html[data-theme] body #services .section-note .copy-phrase{display:inline-block;max-width:100%}
html[data-theme] body main#main :is(#services-title,#insights-title,#perspective-title,#markets-title,#why-title,#focus-title,#method-title,#contact-title){color:var(--accent)!important;text-wrap:balance}
html[data-theme] body .site-footer :is(.footer-brand strong,.footer-column h2,.footer-column h2 a){color:var(--accent)!important}
html[data-theme] body .site-footer .footer-column nav a{color:var(--text)!important}
html[data-theme] body .site-footer .footer-bottom{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body .site-footer .footer-bottom .footer-identity{background:linear-gradient(120deg,var(--phase-glow),transparent 65%),var(--phase-glass)!important;border:0!important;box-shadow:inset 0 1px 1px #ffffff35,0 16px 44px #0000000a!important;color:var(--text)!important}
html[data-theme] body .site-footer .footer-bottom .footer-identity :is(p,p:first-child,a,button,span,strong){color:var(--text)!important}
html[data-theme] body .site-footer .footer-bottom .footer-identity :is(svg,.z7-icon){color:var(--accent)!important}
html[data-theme] body :is([data-market-select],.v31-country-nav a,.market-strip a){background:linear-gradient(135deg,var(--phase-glow),transparent),var(--phase-glass)!important;color:var(--text)!important;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:inset 0 1px 1px #fff5,0 6px 20px #0001;transition:transform .28s,box-shadow .28s,background .28s}
html[data-theme] body :is([data-market-select],.v31-country-nav a,.market-strip a) :is(span,strong){color:inherit!important}
html[data-theme] body :is([data-market-select][aria-checked=true],[data-market-select][aria-selected=true],.v31-country-nav a[aria-current=true],.v31-country-nav a.active){background:var(--accent)!important;color:var(--bg)!important}
html[data-theme] body :is([data-market-select],.v31-country-nav a,.market-strip a):is(:hover,:focus-visible){transform:translateY(-3px) scale(1.055);box-shadow:0 0 28px var(--phase-glow),inset 0 1px 2px #fff8}
html[data-theme] body .z7-content-dialog{background:var(--phase-glass)!important;color:var(--text)!important;border:0!important;backdrop-filter:blur(36px) saturate(130%);-webkit-backdrop-filter:blur(36px) saturate(130%)}
html[data-theme] body .z7-content-dialog :is(h2,h3,h4,p,small,.z8-law-status,.z8-law-date){color:var(--text)!important}
html[data-theme] body .z8-law-item{background:var(--surface)!important;color:var(--text)!important;border:0!important;box-shadow:0 8px 28px #0001}
html[data-theme] body :is(.z8-law-item a,.z8-law-results>a){color:var(--accent)!important;font-weight:650;text-underline-offset:5px}
html[data-theme] body .z8-law-tabs button{color:var(--text)!important;background:var(--phase-glass)!important;border-color:color-mix(in srgb,var(--accent) 35%,transparent)!important}
html[data-theme] body .z8-law-tabs button[aria-selected=true]{background:var(--accent)!important;color:var(--bg)!important}
html[data-theme] body .z7-content-dialog .z8-law-badge{color:#182838!important;background:#e9d3a7!important}
html[data-theme] body .z6-bar{--accent:#eed8af;--text:#fff6e7;--muted:#e7e5de}
html[data-theme] body .z6-bar :is(.z7-icon,.z6-lang-toggle svg){color:#eed8af!important}
html[data-theme] body .footer-identity{border:0!important;box-shadow:none!important}
html[data-theme] body .z7-contact-actions :is(a,button){background:var(--phase-glass)!important;color:var(--text)!important;border-color:color-mix(in srgb,var(--accent) 30%,transparent)!important;transition:transform .28s,box-shadow .28s}
html[data-theme] body .z7-contact-actions :is(a,button):is(:hover,:focus-visible){transform:scale(1.055);box-shadow:0 0 24px var(--phase-glow)}
html[data-theme] body .z7-contact-row svg{color:var(--accent)!important}
html[data-theme] body .z7-country-outline{width:210px!important;height:210px!important;max-width:none!important;filter:none!important}
html[data-theme] body .city-caption{gap:20px!important}
html[data-theme] body .z11-cursor-glow{background:radial-gradient(circle,var(--phase-glow),transparent 68%)}
html[data-theme=morning] body .z11-cursor-glow,html[data-theme=day] body .z11-cursor-glow{mix-blend-mode:multiply}
html[data-theme] body .site-footer .footer-column nav a{padding:4px 0;margin:3px 0;font-size:18px;line-height:1.6}
html[data-theme] body .site-footer .footer-column nav a:hover{transform:scale(1.1);text-shadow:0 0 18px var(--phase-glow)}
html[data-theme] body .z11-contact-trigger:hover,html[data-theme] body .z11-top:hover{transform:scale(1.12);box-shadow:0 0 32px #eac38166}
@media(max-width:700px){html[data-theme] body .z7-country-outline{width:150px!important;height:150px!important}html[data-theme] body .city-caption{gap:14px!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] body :is([data-market-select],.v31-country-nav a,.market-strip a,.z7-contact-actions a,.z7-contact-actions button,.z11-contact-trigger,.z11-top):is(:hover,:focus-visible){transform:none!important;transition:none!important}}
html[data-theme] body [data-market-select][aria-pressed=true]{background:var(--accent)!important;color:var(--bg)!important}
html[data-theme] body .city-hero{min-height:700px!important;height:100svh!important}
html[data-theme] body .city-hero-content{min-height:0!important;padding-top:140px!important;padding-bottom:260px!important}
html[data-theme] body .city-caption{bottom:28px!important}
@media(max-width:700px){html[data-theme] body .city-hero{height:auto!important;min-height:800px!important}html[data-theme] body .city-hero-content{padding-top:130px!important;padding-bottom:300px!important}html[data-theme] body .city-caption{bottom:24px!important}}
/* Long country names and contact actions must fit narrow translated layouts. */
html[data-theme] body .site-footer .footer-column nav a:is(:hover,:focus-visible){color:var(--accent)!important}
html[data-theme] body .footer-bottom{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body .site-footer .footer-bottom .footer-identity p.z7-contact-row,html[data-theme] body .footer-identity span{color:var(--text)!important}
html[data-theme] body .z9-film-controls{right:96px!important}
@media(max-width:700px){
 html[data-theme] body .z7-hero-country{max-width:calc(100vw - 40px);min-width:0;white-space:normal;flex-shrink:1}
 html[data-theme] body .z7-hero-country [data-city-name]{min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
 html[data-theme] body .z7-country-outline{flex-shrink:0}
 html[data-theme] body .z9-film-controls{right:80px!important}
}
@media(max-width:360px){
 dialog.z11-contact-dialog{padding:18px}
 .z11-contact-dialog h2{font-size:23px}
 .z11-socials{grid-template-columns:1fr;gap:0}
 .z11-wechat{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px}
 .z11-copy{grid-column:2;justify-self:start;max-width:none}
 .z11-channel small,.z11-wechat small{font-size:16px}
 .z11-map-actions{flex-direction:column;align-items:flex-start;gap:0}
}
