/* 28 Nov 2026: Languages page on the sx system. Built by tools/languages_sx_2026_11_28.py. Prefix lg-. Studio window reuses .ac-win and kn-*. */
.sx .sx-ph img{transition:opacity .25s}
.sx-sec.sx-hero{padding:0!important}
/* switcher: material and languages left, live guide right */
.lg-sw{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:48px;padding:56px}
.lg-l{display:flex;flex-direction:column;align-items:flex-start;max-width:520px}
.lg-src{width:100%;padding:20px 22px;border-radius:16px;background:rgba(21,23,27,.62);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.lg-k{display:block;font-size:12.5px;color:rgba(255,255,255,.55);margin-bottom:8px}
.lg-src p{font-size:16px;line-height:1.5;color:#F7F7F5;margin:0}
.lg-arrow{color:var(--sx-faint);margin:14px 0 14px 22px}
.lg-chips{display:flex;flex-wrap:wrap;gap:8px}
.lg-chips button{appearance:none;height:40px;padding:0 16px;border:0;border-radius:12px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:rgba(255,255,255,.75);font:inherit;font-size:15px;cursor:pointer;transition:background .15s,color .15s}
.lg-chips button:hover{color:#fff;background:rgba(255,255,255,.11)}
.lg-chips button[aria-pressed=true]{background:rgba(255,255,255,.17);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.lg-chips button:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px}
.lg-r{display:flex;justify-content:center}
/* the words around the answer */
.lg-ui{padding:40px}
.lg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lg-c{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:16px;background:rgba(21,23,27,.62);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.lg-n{font-size:12.5px;color:rgba(255,255,255,.55)}
.lg-box{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border-radius:14px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:rgba(255,255,255,.6);font-size:15px}
.lg-box svg{flex:none;color:rgba(255,255,255,.55)}.lg-box span{min-width:0}
.lg-st{font-size:14px;color:rgba(255,255,255,.5)}
.lg-bs{display:flex;flex-wrap:wrap;gap:8px}
.lg-bs span{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:10px;background:rgba(255,255,255,.08);color:#F7F7F5;font-size:13.5px}
/* Test window */
.lg-tw{display:flex;justify-content:center;padding:48px 40px}
.lg-win{width:100%;max-width:720px;height:auto;min-height:0;background:#14161B;box-shadow:0 30px 80px -30px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.07)}
.lg-win .ac-rail{display:none}.lg-win .ac-main{min-width:0}
.lg-win .ac-tabs i{font-style:normal;color:rgba(255,255,255,.5);margin-left:4px}
.lg-q{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.02);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.lg-qi{font-size:15px;color:#F7F7F5;padding:4px 0}
.lg-ql span{display:block;font-size:12.5px;color:rgba(255,255,255,.55);margin-bottom:6px}
.lg-qa{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);font-size:14px;line-height:1.5;color:rgba(255,255,255,.8)}
.lg-mw{position:relative;margin-left:-8px}
.lg-mt{appearance:none;display:inline-flex;align-items:center;gap:0;height:32px;padding:0 8px;border:0;border-radius:8px;background:none;color:rgba(255,255,255,.55);font:inherit;font-size:12.5px;cursor:default}
.lg-mt svg{margin-left:6px}.lg-mt small{font-size:12.5px;color:rgba(255,255,255,.4)}
.lg-menu{margin-top:6px;width:min(100%,300px);max-height:400px;overflow:auto;padding:6px;border-radius:12px;background:#1C1E23;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px -12px rgba(0,0,0,.8)}
.lg-mh{padding:10px 8px 4px;font-size:11.5px;color:rgba(255,255,255,.55)}
.lg-menu button{appearance:none;width:100%;display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 8px;border:0;border-radius:8px;background:none;color:#F7F7F5;font:inherit;font-size:13.5px;text-align:left;cursor:pointer;flex-wrap:wrap}
.lg-menu button:hover{background:rgba(255,255,255,.07)}
.lg-menu button span{flex:1}.lg-menu em{font-style:normal;font-size:12px;color:rgba(255,255,255,.5)}
.lg-menu button[aria-checked=true] i{opacity:1}.lg-menu button i{opacity:0;display:inline-flex;margin-left:auto}
.lg-menu button:first-of-type em{flex-basis:100%;padding-bottom:4px}
.lg-res{margin-top:12px;padding:14px 18px;border-radius:16px;background:rgba(21,23,27,.62);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.lg-rh{font-size:13px;color:rgba(255,255,255,.55);margin-bottom:6px}.lg-res p{margin:0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.75)}
.sx-row a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media (max-width:1100px){.lg-sw{grid-template-columns:1fr;padding:40px 24px;gap:32px}.lg-l{max-width:none}.lg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.lg-sw{padding:32px 16px}.lg-ui{padding:16px}.lg-grid{grid-template-columns:1fr}.lg-tw{padding:24px 12px}.lg-win .ac-main{padding:18px 14px}.lg-win .ac-tabs span:nth-child(-n+2){display:inline-flex}.lg-menu{width:100%}}
/* 30 Nov 2026: Type, talk or call, beside the real call screen */
/* Type, talk or call: shared head, stage, phone and row (30 Nov 2026) */
.lg-callst{display:flex;justify-content:center;padding:56px 24px}
.lg-callst video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.lg-ways{margin-top:56px}
@media (max-width:720px){.lg-callst{padding:40px 16px}.lg-callst .sx-ph{width:280px}.lg-ways{margin-top:40px}}
.lg-tst{padding:56px}
.lg-tv{position:relative;max-width:1040px;margin:0 auto;aspect-ratio:900/560;border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 80px -30px rgba(0,0,0,.7)}
.lg-tv video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:720px){.lg-tst{padding:16px}.lg-tv{border-radius:12px}}
.lg-pair{gap:48px}
@media (max-width:720px){.lg-pair{gap:12px;padding:24px 12px}.lg-pair .sx-ph{width:calc(50% - 6px);max-width:200px;border-radius:24px}}
/* Talk / Call pair: each clip labelled directly under it */
.lg-duo{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.lg-dc{margin:0}
.lg-dc .lg-callst{padding:40px 24px}
.lg-dc .sx-ph{width:260px}
.lg-dc figcaption{display:flex;gap:14px;align-items:flex-start;margin-top:24px;padding-right:24px}
.lg-gi{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.72)}
.lg-dc h3{margin:6px 0 6px;font-size:17px;font-weight:600;line-height:1.3}
.lg-dc p{margin:0;color:var(--t2,rgba(255,255,255,.62));font-size:15px;line-height:1.55}
.lg-dc p a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media (max-width:720px){.lg-duo{grid-template-columns:1fr;gap:48px}.lg-dc .lg-callst{padding:32px 16px}.lg-dc .sx-ph{width:240px}.lg-dc figcaption{padding-right:0}}
/* 30 Nov 2026: language switch, same pattern as the home page's Languages section, on the Alias guide */
.lg-lst{padding:48px 40px 40px}
.lg-asks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 auto 44px;max-width:640px}
.lg-asks button{font:inherit;cursor:pointer;padding:9px 14px;border-radius:12px;font-size:14px;color:rgba(255,255,255,.82);background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);transition:background .15s,color .15s,border-color .15s}
.lg-asks button:hover{border-color:rgba(255,255,255,.3);color:#fff}
.lg-asks button[aria-pressed=true]{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.42)}
.lg-asks button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lg-pair2{display:grid;grid-template-columns:1fr 1fr;max-width:600px;margin:0 auto}
.lg-pair2 figure{margin:0;position:relative}
.lg-pair2 figure:first-child{transform:translate(8%,8%) scale(.9);opacity:.5}
.lg-pair2 figure:last-child{transform:translateX(-8%);z-index:2}
.lg-pair2 figcaption{text-align:center;padding-top:14px;font-size:14px;color:rgba(255,255,255,.6)}
.lg-lph{--s:1;position:relative;width:100%;aspect-ratio:390/780;border-radius:calc(44px*var(--s));overflow:hidden;background:#0B0C10;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 1px 0 0 rgba(255,255,255,.22) inset,0 40px 90px -30px rgba(0,0,0,.85)}
.lg-lin{position:absolute;left:0;top:0;width:390px;height:780px;transform:scale(var(--s));transform-origin:0 0}
.lg-lin iframe{width:390px;height:780px;border:0;display:block;background:#0B0C10}
@media (max-width:720px){.lg-lst{padding:28px 12px 24px}.lg-asks{margin-bottom:28px}}
/* 30 Nov 2026: clips are 1:2 like home's call frame; the 390/760 frame cropped the top and its corner clipped the menu */
.lg-dc .sx-ph{aspect-ratio:1/2;height:auto;border-radius:34px}
