/* Language controls share the site's dark, rounded controls. All assets stay local. */
/* Phones keep the authored type sizes in landscape (iOS otherwise inflates text). */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.vx-language{position:relative;display:inline-flex;align-items:center;flex:none;--vx-unit:1px}
.vx-language-name{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vx-language-control{position:relative;display:inline-flex;max-width:100%;color:#f3f5f7}
.vx-language-control::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.vx-language select{appearance:none;-webkit-appearance:none;font-family:var(--vx-font-sans);font-size:14px;line-height:1.3;color:#f3f5f7;background:#151619;color-scheme:dark;border:1px solid rgba(255,255,255,.25);border-radius:9999px;min-height:40px;max-width:160px;padding:6px 36px 6px 12px;cursor:pointer;direction:ltr}
.vx-language select:focus-visible{outline:2px solid var(--vx-lime);outline-offset:3px}
/* Chromium's customizable select styles the open list as a site panel; other browsers keep their native list. */
@supports (appearance:base-select){
  .vx-language select,.vx-language select::picker(select){appearance:base-select}
  .vx-language select{display:inline-flex;align-items:center;transition:border-color .15s ease}
  .vx-language select::picker-icon{display:none}
  .vx-language select:hover,.vx-language select:open{border-color:var(--vx-lime)}
  .vx-language select:open{outline:none}
  .vx-language-control:has(select:open)::after{transform:translateY(-25%) rotate(-135deg)}
  .vx-language select::picker(select){box-sizing:border-box;position-area:block-end span-inline-start;position-try-fallbacks:flip-block,flip-inline,flip-block flip-inline;min-width:max(anchor-size(width),176px);max-height:min(392px,calc(100dvh - 24px));margin:8px 0;padding:6px;overflow:auto;border:1px solid var(--vx-hairline-strong);border-radius:6px;background:#151619;color:#f3f5f7;font-family:var(--vx-font-sans);color-scheme:dark;scrollbar-width:thin}
  .vx-language option{display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;border-radius:4px;font-family:var(--vx-font-sans);font-size:14px;font-weight:400;line-height:1.3;color:#f3f5f7;background:transparent;direction:ltr;text-align:left;cursor:pointer;outline:none}
  html[dir="rtl"] .vx-language option{direction:rtl;text-align:right}
  .vx-language option:hover{background:rgba(255,255,255,.07)}
  .vx-language option:focus-visible{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 2px var(--vx-lime)}
  .vx-language option:checked{color:var(--vx-lime);font-weight:500}
  .vx-language option::checkmark{order:1;margin-inline-start:auto;color:var(--vx-lime);font-size:14px}
  .vx-language option:not(:checked)::checkmark{visibility:hidden}
  @media (max-width:899.98px){.site-header .nav .vx-language select::picker(select){position-area:block-end}}
}
@media (prefers-reduced-motion:reduce){.vx-language select{transition:none}}
.vx-language-error:not(:empty){position:absolute;inset-block-start:100%;inset-inline-end:0;min-width:220px;max-width:300px;padding:12px;border:1px solid var(--vx-error-line);border-radius:6px;background:var(--vx-error-deep);color:#fff;font-size:14px;line-height:1.5;z-index:50}
.lg-top,.lg-top nav{flex-wrap:wrap}
.lg-doc,.lg-foot{overflow-wrap:anywhere}
.lg-doc h2{min-width:0}
html[dir="rtl"]{text-align:start}
html[dir="rtl"] .lg-doc ul{padding-left:0;padding-right:1.2em}
html[dir="rtl"] .guide .live{margin-inline-start:auto;margin-inline-end:0}
html[dir="rtl"] .vx-account-dialog input[type="email"],html[dir="rtl"] code{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .vx-account-close{right:auto;left:12px}
html[dir="rtl"] .foot-back svg,html[dir="rtl"] .btn svg{flex-shrink:0}
html[dir="rtl"] .hp{left:auto!important;right:-10000px!important}
html[dir="rtl"] a[href^="mailto:"]{direction:ltr;unicode-bidi:isolate;display:inline-block;max-width:100%;vertical-align:bottom}
html[dir="rtl"] [data-download-meta] b{unicode-bidi:isolate}
@media(min-width:900px) and (pointer:fine),(min-width:900px) and (pointer:none){
  /* Longer translations get actual room, not clipped text or smaller unreadable type. */
  /* Devices strip: translated titles wrap inside their cards and the intro instead of shrinking. */
  html:not([lang="en"]) .ds-intro{width:250rem}
  html:not([lang="en"]) .ds-intro h2{font-size:var(--vx-text-subheading);line-height:27rem;white-space:normal}
  html:not([lang="en"]) .ds-intro p{white-space:normal;line-height:18rem}
  html:not([lang="en"]) .ds-intro p br{display:none}
  html:not([lang="en"]) .ds-txt{white-space:normal}
  html:not([lang="en"]) .lead{white-space:normal;width:650rem;font-size:17rem;line-height:23rem}
  html:not([lang="en"]) .lead br{display:none}
  html:not([lang="en"]) .card h3{font-size:15rem;max-width:calc(100% - 98rem);white-space:normal;line-height:20rem}
  html:not([lang="en"]) .card p{font-size:10.5rem;line-height:15rem;max-width:calc(100% - 64rem);white-space:normal;top:39rem}
  html:not([lang="en"]) .card p br{display:none}
  html[dir="rtl"] .hero .title{width:620rem}
  /* Long headline translations: smaller display type so line 1 ends before the TV (English ends ≈620rem),
     with the saved height split above and below so the eyebrow and lead keep their rhythm. */
  html[lang="es"] .title{font-size:64rem}
  html[lang="es"] .title span{top:117rem}
  html[lang="es"] .title em{top:191.2rem}
  html[lang="fr"] .title{font-size:70rem}
  html[lang="fr"] .title span{top:110.5rem}
  html[lang="fr"] .title em{top:191.7rem}
  html[dir="rtl"] .title span,html[dir="rtl"] .title em{width:100%}
  html[dir="rtl"] .eyebrow{width:620rem}
  html[dir="rtl"] .card h3,html[dir="rtl"] .card p{left:12rem;right:56rem;text-align:right}
  html[dir="rtl"] .card .ic{left:auto;right:12rem}
  html[dir="rtl"] .card .go{right:auto;left:12rem}
  html[dir="rtl"] .stats .stat{direction:rtl}
}
@media(max-width:899.98px),(pointer:coarse){
  .card{grid-template-columns:32px minmax(0,1fr) 30px}
  .card h3,.card p{overflow-wrap:anywhere}
  .lg-top{justify-content:center}
  .lg-top nav{justify-content:center;gap:12px}
  html[dir="rtl"] .lead,html[dir="rtl"] .eyebrow,html[dir="rtl"] .title{text-align:right}
}
@media print{.vx-language{display:none}}
@media(max-width:699.98px){html[lang="es"] .title{font-size:clamp(28px,9.6vw,50px)}}
