/* Chrome of this documentation site. Not part of the brand: use brand.css for the website. */
html{scroll-behavior:smooth}
body{margin:0;background:#f4f4f4;color:#2f3133;font:400 16px/1.5 SG,"Schibsted Grotesk",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.top{position:sticky;top:0;z-index:50;background:#2f3133;color:#fff;display:flex;align-items:center;gap:28px;padding:0 24px;height:56px}
.top .home{display:flex;flex:none}
.top .home svg{height:17px;width:auto}
.top nav{display:flex;gap:20px;overflow-x:auto;white-space:nowrap;flex:1;scrollbar-width:none;font-size:14px;line-height:56px}
.top nav a{text-decoration:none;color:#bebebe}
.top nav a b{font-weight:900;color:#fff}
.top nav a:hover,.top nav a.on{color:#fff}
.top nav a.on{box-shadow:inset 0 -3px 0 #dc3338}
.top .build{display:flex;gap:8px;flex:none}
.top .build a{font:900 13px/1 SG,"Schibsted Grotesk",sans-serif;text-decoration:none;padding:9px 12px;border:1.5px solid #fff}
.top .build a.on,.top .build a:hover{background:#fff;color:#2f3133}
b,strong{font-weight:900}
i.c,.k{display:inline-block;width:.255em;height:.703em;margin:0 .22em 0 .14em;background:linear-gradient(var(--cc,#dc3338) 0 .255em,transparent .255em calc(100% - .255em),var(--cc,#dc3338) calc(100% - .255em));flex:none}
main{max-width:1360px;margin:0 auto;padding:40px 24px 80px}
.chap{display:grid;grid-template-columns:auto 1fr;gap:8px 32px;align-items:end;margin:8px 0 40px}
.chap .no{font:900 clamp(64px,10vw,132px)/.8 SG,"Schibsted Grotesk",sans-serif;letter-spacing:-.04em}
.chap h1{font:500 clamp(28px,4vw,52px)/1 SG,"Schibsted Grotesk",sans-serif;letter-spacing:-.02em;margin:0}
.chap p{grid-column:2;margin:0;max-width:60ch;font-weight:500}
.sheet{position:relative;width:100%;aspect-ratio:297/210;overflow:hidden;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.14),0 8px 28px rgba(0,0,0,.08)}
.sheet>.page{position:absolute;left:0;top:0;transform-origin:0 0;transform:scale(var(--k,1))}
.cap2{display:flex;justify-content:space-between;font-size:13px;line-height:1;margin:12px 0 44px;color:#555759}
.cap2 a{text-decoration:none}
.cap2 b{font-weight:900;color:#2f3133}
.toc{display:grid;gap:0;margin:48px 0}
.toc a{display:flex;align-items:flex-end;font:900 clamp(22px,3.4vw,40px)/1 SG,"Schibsted Grotesk",sans-serif;letter-spacing:-.012em;text-decoration:none;padding:14px 0 0}
.toc a span{flex:1;border-bottom:2px solid #2f3133;font-weight:500;font-size:.72em;padding-bottom:.2em;display:flex;justify-content:space-between;gap:16px}
.toc a span small{font-size:.5em;font-weight:400;color:#555759;align-self:flex-end;text-align:right}
.toc a:hover span{border-bottom-color:#dc3338}
.pager{display:flex;justify-content:space-between;gap:24px;margin-top:24px;font:900 20px/1 SG,"Schibsted Grotesk",sans-serif}
.pager a{text-decoration:none;display:flex;align-items:flex-end}
.pager a b{font-weight:500;border-bottom:2px solid #2f3133;padding-bottom:.2em}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.box{background:#fff;padding:28px;border:1px solid #bebebe}
.box h2{font:900 24px/1.05 SG,"Schibsted Grotesk",sans-serif;letter-spacing:-.015em;margin:0 0 12px}
.box p,.box li{font-size:15px}
.box ul{padding-left:1.1em;margin:8px 0 0}
h2.sec{display:flex;align-items:flex-end;font:900 18px/1 SG,"Schibsted Grotesk",sans-serif;margin:64px 0 8px}
h2.sec::after{content:"";flex:1;border-bottom:1.5px solid #2f3133}
.note{font-size:15px;max-width:72ch;margin:8px 0 24px}
.demo{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:0;margin:0 0 28px;border:1px solid #bebebe;background:#fff}
.demo>div{padding:28px;min-width:0}
.demo>.pad0{padding:0}
.demo pre{margin:0;padding:24px;background:#2f3133;color:#f4f4f4;font:12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:520px}
.demo.wide{grid-template-columns:1fr}
.sw{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.sw div{padding:14px;height:120px;display:flex;flex-direction:column;justify-content:flex-end;font:900 14px/1.3 SG,"Schibsted Grotesk",sans-serif}
.sw small{font-weight:400;display:block}
.note code,.box code{font:13px ui-monospace,Menlo,monospace;background:#e8e8e8;padding:1px 4px}
.demo pre code{font:inherit}
.files{columns:2 280px;font:13px/1.9 ui-monospace,Menlo,monospace;padding:0;list-style:none}
@media (max-width:820px){.demo{grid-template-columns:1fr}.top .build{display:none}}
@page{size:297mm 210mm;margin:0}
@media print{
 .top,.chap,.cap2,.pager,.toc,.two,h2.sec,.note{display:none!important}
 body{background:#fff} main{max-width:none;padding:0}
 .sheet{width:297mm;height:210mm;aspect-ratio:auto;box-shadow:none;break-after:page}
 .sheet>.page{transform:none!important}
}

/* Design system, version 2 */
.box a,.note a{text-decoration:underline;text-decoration-thickness:.09em;text-underline-offset:.2em}
.box a:hover,.note a:hover{text-decoration-color:#dc3338}
.ea-dither{position:relative;margin:0;aspect-ratio:3/2;overflow:hidden;background:#0a0a0a}
.ea-dither img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ea-dither__dots{image-rendering:pixelated;transition:opacity .6s cubic-bezier(.33,1,.68,1)}
.ea-dither:hover .ea-dither__dots,.ea-dither:focus .ea-dither__dots{opacity:0}
@media (prefers-reduced-motion:reduce){.ea-dither:hover .ea-dither__dots,.ea-dither:focus .ea-dither__dots{opacity:1}}
