:root{font:16px/1.5 system-ui,sans-serif;color:#20262e;background:#fff}*{box-sizing:border-box}body{margin:0}main{max-width:1320px;margin:auto;padding:32px 24px}header{margin:0 0 24px;max-width:1000px}h1{font-size:clamp(30px,4vw,48px);line-height:1.12;margin:0 0 12px;letter-spacing:-.025em}header p{margin:0;max-width:900px}h2{font-size:26px;line-height:1.2;margin:0;padding:20px 24px 4px}.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}article{min-width:0;background:#f5f5f7;border-radius:24px;overflow:hidden}article>p{margin:0;padding:4px 24px 22px}.viewport{position:relative;height:360px;width:100%;overflow:hidden;touch-action:pan-y}.viewport canvas{display:block;width:100%;height:100%}.loading{position:absolute;inset:0;display:grid;place-items:center;font:inherit}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.views{display:flex;gap:4px;background:#f5f5f7;padding:4px;border-radius:99px}button{font:inherit;color:inherit;cursor:pointer;background:transparent;border:0;border-radius:99px;padding:10px 16px;min-height:44px}button[aria-pressed=true],#play{background:#20262e;color:#fff}.toolbar label{margin-left:auto;display:flex;align-items:center;gap:10px;cursor:pointer;min-height:44px}input{width:18px;height:18px;accent-color:#406a92}footer{font-size:14px;margin-top:12px;color:#626e79}footer p{margin:0 0 4px}button:focus-visible,input:focus-visible{outline:2px solid #406a92;outline-offset:3px}@media(max-width:680px){main{padding:24px 16px}.comparison{grid-template-columns:1fr;gap:20px}.viewport{height:320px}.toolbar label{margin-left:0}h2{font-size:24px}article>p{font-size:15px}.toolbar button{padding:8px 12px}}html.embedded,html.embedded body{height:100%;overflow:hidden}.embedded main{width:100%;height:100%;padding:0}.embedded header,.embedded h2,.embedded article>p,.embedded .toolbar,.embedded footer{display:none}.embedded .comparison,.embedded article,.embedded .viewport{height:100%;width:100%;max-height:none;min-height:0;border-radius:0}.embedded .comparison{display:block}.embedded[data-model=external] article:nth-child(2),.embedded[data-model=internal] article:nth-child(1){display:none}
