
:root{--layout-container-max:1320px;--layout-reading-max:760px;--layout-gutter:24px;--layout-grid-gap:24px;--brand-sidebar-width:240px}
*,*::before,*::after{box-sizing:border-box}
html,body{min-width:0!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:90px}
html body{font-size:16px;overflow-x:visible!important}
html body main{min-width:0;overflow-x:visible!important}
html body :is(main>.wrap,main>section>.wrap,footer>.wrap,.sf-page-body>.wrap,.sf-ref-section>.wrap,.sf-reference-editorial>.wrap,.sf-repeat-cta.wrap){width:100%!important;max-width:1320px!important;margin-inline:auto!important;padding-inline:var(--layout-gutter)!important;min-width:0}
html body.sf-reference-home main .wrap.wrap{max-width:1320px!important}
html body .wrap .wrap{max-width:100%;min-width:0}
html body .content{width:100%!important;max-width:760px!important;margin-inline:auto!important;min-width:0;line-height:1.65;overflow-wrap:anywhere}
html body .content>h1:first-child{font-size:clamp(28px,3.6vw,46px);line-height:1.15}
html body :is(h1,h2,h3){text-wrap:balance;overflow-wrap:anywhere}
html body :is(p,li,a){overflow-wrap:anywhere}
html body .sf-text-layout{display:flex!important;flex-direction:column!important;width:100%!important;max-width:760px!important;margin-inline:auto!important;gap:24px!important}
html body .sf-text-layout>article{width:100%!important;max-width:760px!important;min-width:0}
html body .sf-related-links{position:static!important;min-width:0}
html body .sf-related-links .page-nav{display:flex;flex-wrap:wrap;gap:8px 20px;min-height:0}
html body :is(.cards,.grid,.sf-ref-grid){gap:var(--layout-grid-gap)}
html body :is(.hero,.split,.cards,.grid,.sf-ref-grid,.sf-ref-split,.foot-grid)>*{min-width:0}
html body img,html body video,html body iframe,html body svg{max-width:100%}
html body .table-scroll{max-width:100%;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
html body .slot-hero-bg::before{inset:0!important}
html body .sf-ref-chip{max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere}
html body .sf-ref-rail{max-width:100%;overflow-x:auto}
html body :is(.button,.burger,button){min-height:44px;min-width:44px;touch-action:manipulation}
html body .button.button,html body .burger.burger,html body .slot-overlay .button.button{min-height:44px!important;min-width:44px!important}
html body :is(.navlinks,.page-nav,.languages) a{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:flex-start;line-height:1.45;white-space:normal}
html body .languages a{justify-content:center}
html body a:focus-visible,html body button:focus-visible,html body select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
html body .foot-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:24px}
html body .foot-grid>*{min-width:0;overflow-wrap:anywhere}
html body.sf-dashboard.sf-sidebar-restored{--sidebar:var(--brand-sidebar-width);padding-left:var(--brand-sidebar-width)!important;margin-left:0!important}
html body.sf-sidebar-restored header{width:100%!important;left:auto!important;margin-left:0!important}
html body.sf-sidebar-restored header>.wrap>nav{justify-content:flex-end!important;min-height:76px!important}
html body.sf-sidebar-restored header .logo{display:none!important}
html body.sf-sidebar-restored header .sf-top-actions{display:flex!important;flex-wrap:wrap;gap:12px;margin-left:auto;align-items:center}
html body.sf-sidebar-restored header .sf-auth{display:flex!important;flex-wrap:wrap;gap:8px}
html body.sf-sidebar-restored header .header-mobile-cta{display:none!important}
html body.sf-sidebar-restored header .burger{display:none!important}
html body.sf-sidebar-restored .sf-sidebar{display:flex!important;flex-direction:column;gap:20px;position:fixed!important;inset:0 auto 0 0!important;width:var(--brand-sidebar-width)!important;height:100dvh!important;max-height:100dvh;background:var(--bg);border-right:1px solid color-mix(in srgb,var(--text) 14%,transparent);z-index:60;padding:20px 16px!important;overflow-y:auto;overscroll-behavior:contain;box-shadow:none}
html body.sf-sidebar-restored .sf-sidebar>.logo{display:flex;justify-content:center;min-width:0;padding:0 8px 12px;max-width:100%;margin:0}
html body.sf-sidebar-restored .sf-sidebar>.logo img{display:block;width:auto;height:auto;max-width:100%;max-height:76px;object-fit:contain}
html body.sf-sidebar-restored .sf-sidebar #nav.navlinks{display:flex!important;position:static!important;inset:auto!important;transform:none!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;margin:0!important;padding:0!important;width:100%!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;order:0!important}
html body.sf-sidebar-restored .sf-sidebar .sf-nav-group{display:contents!important}
html body.sf-sidebar-restored .sf-sidebar #nav>a,html body.sf-sidebar-restored .sf-sidebar .sf-nav-group>a{display:flex!important;gap:10px;align-items:center;padding:10px 12px!important;margin:0;font-size:14px;font-weight:500;line-height:1.45;min-height:44px;border-radius:8px;text-decoration:none;overflow-wrap:anywhere}
html body.sf-sidebar-restored .sf-sidebar #nav a:hover,html body.sf-sidebar-restored .sf-sidebar #nav a[aria-current="page"]{background:var(--surface);color:var(--accent)}
html body.sf-sidebar-restored .sf-sidebar .sf-nav-icon{width:18px;height:18px;flex:0 0 18px}
html body.sf-sidebar-restored .sf-sidebar .sf-sidebar-tools,html body.sf-sidebar-restored .sf-sidebar .sf-sidebar-actions{display:flex!important;flex-direction:column!important;gap:14px;align-items:stretch;padding-top:16px;border-top:1px solid color-mix(in srgb,var(--text) 12%,transparent);margin-top:10px}
html body.sf-sidebar-restored .sf-sidebar .languages{display:flex!important;flex-direction:row!important;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;margin:0!important}
html body.sf-sidebar-restored .sf-sidebar .languages a{display:inline-flex!important;width:auto!important;flex:0 0 auto;min-width:44px;min-height:44px;padding:8px!important;font-size:12px!important}
html body.sf-sidebar-restored .sf-sidebar .sf-auth{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;margin:0}
html body.sf-sidebar-restored .sf-sidebar .sf-auth .button{display:flex!important;justify-content:center;width:100%;min-height:44px;padding:11px 12px!important;white-space:normal;font-size:14px!important}
html body.sf-sidebar-restored .sf-sidebar-close,html body .sf-sidebar-scrim{display:none!important}
@media(max-width:1179px){
html body.sf-dashboard.sf-sidebar-restored{padding-left:0!important}
html body.sf-sidebar-restored header .logo{display:flex!important;max-width:180px;margin-right:auto}
html body.sf-sidebar-restored header .burger{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px}
html body.sf-sidebar-restored .sf-sidebar{display:none!important;width:min(300px,calc(100vw - 48px))!important;padding-top:20px!important;box-shadow:16px 0 48px #0005}
html body.sf-sidebar-restored.sf-drawer-open .sf-sidebar{display:flex!important}
html body.sf-sidebar-restored.sf-drawer-open .sf-sidebar-scrim{display:block!important;position:fixed;inset:0;z-index:55;width:100%;height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#0008}
html body.sf-sidebar-restored .sf-sidebar-close{display:flex!important;position:absolute;right:10px;top:10px;align-items:center;justify-content:center;background:var(--surface);color:var(--text);border:1px solid color-mix(in srgb,var(--text) 15%,transparent);border-radius:8px;font:inherit;font-size:24px;cursor:pointer}
html body.sf-sidebar-restored .sf-sidebar>.logo{max-width:calc(100% - 44px);min-height:44px}
html body.sf-sidebar-restored.sf-drawer-open{overflow:hidden!important}
}
@media(max-width:767px){:root{--layout-gutter:16px;--layout-grid-gap:16px}}
@media(max-width:560px){
html body header>.wrap>nav{gap:8px!important}
html body header .logo{min-width:0;max-width:min(140px,40vw)}
html body.sf-sidebar-restored header .logo{max-width:min(140px,40vw)!important}
html body.sf-sidebar-restored header .sf-top-actions{display:none!important}
html body.sf-sidebar-restored header .header-mobile-cta{display:inline-flex!important;order:1;margin-left:auto;min-width:44px;max-width:calc(100% - 190px);padding:9px!important;font-size:12px!important;white-space:normal!important}
html body.sf-sidebar-restored header .burger{order:2}
html body header .header-mobile-cta{min-height:44px!important;white-space:normal!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}html body .button,html body .game{transition:none!important}}
