@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2)format("woff2"),url(/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2)format("woff2"),url(/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#172e48;font-synthesis:none;--navy:#172e48;--muted:#627790;--line:#dde5ed;--surface:#f5f8fb;--teal:#168777;--amber:#9b6418;--danger:#b4483a;background:#fff;font-family:Inter Variable,Inter,system-ui,sans-serif;font-weight:400}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0}button,a,input,select{touch-action:manipulation}button,select,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);min-height:40px;color:var(--navy);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}button:hover:not(:disabled){background:#edf3f7;border-color:#a3b7c9}button:disabled{opacity:.42;cursor:not-allowed}.primary{background:var(--navy);color:#fff;border-color:var(--navy)}.primary:hover:not(:disabled){background:#294663;border-color:#294663}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #178fbd}p{margin:0 0 12px;line-height:1.6}h1,h2,h3,h4{letter-spacing:-.04em;margin:0}code,pre,.field-label,.inspector-title,.event-type,.chapter-count{font-family:IBM Plex Mono,monospace}code{overflow-wrap:anywhere;font-size:11px}pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:#eff4f8;border:1px solid #e0e8ef;border-radius:6px;max-height:240px;padding:12px;font-size:11px;line-height:1.65;overflow:auto}select{border:1px solid var(--line);max-width:100%;color:var(--navy);cursor:pointer;background:#fff;border-radius:6px;padding:10px 28px 10px 10px;font-size:13px}strong{font-weight:650}.site-header{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:16px;height:76px;margin:0 32px;display:flex}.brand{letter-spacing:-.035em;align-items:center;gap:13px;font-size:16px;font-weight:750;display:flex}.brand-mark{background:var(--navy);color:#fff;letter-spacing:-.08em;border-radius:8px;padding:10px 9px;font-size:21px;line-height:1}.site-header nav{align-items:center;gap:17px;font-size:13px;font-weight:600;display:flex}.site-header nav button{background:0 0;border:0}.site-header nav .nav-active{background:var(--navy);color:#fff;border-radius:6px;padding:11px 18px}.site-header nav .language{border-left:1px solid var(--line);border-radius:0;gap:6px}.language span{color:var(--muted)}.ecosystem{align-items:center;gap:5px;display:flex}main{max-width:1800px;margin:0 auto;padding:0 32px}.intro{justify-content:space-between;align-items:center;gap:50px;padding:29px 0 27px;display:flex}.intro h1{letter-spacing:-.05em;max-width:680px;font-size:clamp(29px,2.7vw,45px);font-weight:760;line-height:1.13}.intro>div{max-width:490px}.intro-lead{letter-spacing:-.02em;margin-bottom:5px;font-size:17px;font-weight:630}.intro-note{color:var(--muted);margin:0;font-size:12px}.scenario-bar{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:12px;margin-bottom:17px;padding:9px 13px;display:flex}.scenario-number{background:#e7edf4;border-radius:4px;padding:7px;font:500 12px IBM Plex Mono,monospace}.scenario-bar label{color:var(--muted);font-size:11px}.scenario-bar select{background:0 0;border:0;max-width:235px;font-size:13px;font-weight:650}.scenario-bar p{color:var(--muted);border-left:1px solid var(--line);flex:1;margin:0;padding-left:18px;font-size:12px}.scenario-bar button{white-space:nowrap;background:0 0}.lens-bar{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(4,1fr);margin-bottom:12px;display:grid;overflow:hidden}.lens-bar button{border:0;border-right:1px solid var(--line);background:0 0;border-radius:0;justify-content:flex-start;gap:10px;min-height:54px;padding:16px 25px;font-size:13px}.lens-bar button:last-child{border-right:0}.lens-bar button span{color:var(--muted);font-weight:450}.lens-bar button[aria-selected=true]{box-shadow:inset 0 3px var(--navy);background:#fff}.lens-bar button[aria-selected=true] span{color:var(--navy)}.runtime-grid{grid-template-columns:minmax(0,1fr) 345px;gap:14px;display:grid}.world-panel{background:#edf3f8;border:1px solid #e3ebf1;border-radius:8px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.run-heading{align-items:center;gap:10px;padding:18px 18px 8px;display:flex}.run-heading>div{flex:1}.run-heading strong{font-size:14px;display:block}.run-heading div>span{color:var(--muted);margin-top:4px;font-family:IBM Plex Mono,monospace;font-size:10px;display:block}.status-dot{background:#53799a;border-radius:50%;flex-shrink:0;width:10px;height:10px}.status-awaiting_approval .status-dot{background:#c08727}.status-needs_review .status-dot,.status-failed .status-dot{background:#b64f42}.status-complete .status-dot,.status-running .status-dot{background:#179b86}.speed-select{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.speed-select select{background:0 0;padding:7px 18px 7px 7px;font-size:10px}.world-tools{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:0 17px;font-size:10px;display:flex}.world-tools>div{align-items:center;gap:5px;display:flex}.world-tools button{background:0 0;border-color:#0000;min-height:30px;padding:5px 8px;font-size:10px}.scene{flex:1;width:100%;height:350px;min-height:260px;position:relative;overflow:hidden}.scene canvas{display:block}.loading{place-items:center;display:grid}.world-label{text-transform:uppercase;text-align:center;white-space:nowrap;color:#233f58;-webkit-user-select:none;user-select:none;letter-spacing:.01em;background:#edf3f8d9;border-radius:3px;max-width:130px;padding:3px 5px;font-size:9px;font-weight:750;line-height:1.3;display:block}.world-label.active{color:#086858;box-shadow:0 0 0 1px #74c4b2}.world-label small{margin-top:3px;font-size:7px;font-weight:450;display:block}.boundary-label{color:#8f5e1d;white-space:nowrap;background:#fff6dfd9;padding:3px;font:600 7px IBM Plex Mono,monospace}.world-legend{color:#536b80;justify-content:center;gap:18px;padding:11px 10px;font-size:9px;display:flex}.world-legend span{align-items:center;gap:5px;display:flex}.diamond{background:#149981;width:7px;height:7px;transform:rotate(45deg)}.line{background:#268c7d;width:12px;height:2px}.gate{border:2px solid #b28028;width:7px;height:10px}.world-message{background:#ffffffb8;border:1px solid #dce7ef;border-radius:6px;gap:12px;min-height:84px;margin:0 15px 15px;padding:14px 15px;display:flex}.world-message>span{color:var(--muted);padding-top:2px;font:12px IBM Plex Mono,monospace}.world-message strong{font-size:12px;line-height:1.45;display:block}.world-message p{color:var(--muted);margin:5px 0 0;font-size:11px;line-height:1.55}.inspector{border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;height:560px;padding:18px 17px 0;display:flex}.inspector-title{color:var(--muted);letter-spacing:.02em;justify-content:space-between;gap:8px;font-size:9px;display:flex}.inspector-title code{font-size:9px}.inspector h2{margin:12px 0 17px;font-size:21px;line-height:1.2}.inspector-content{scrollbar-width:thin;flex:1;min-height:0;padding-bottom:15px;padding-right:3px;overflow-y:auto}.inspector-content p{color:var(--muted);margin:7px 0 9px;font-size:11px;line-height:1.6}.field{margin-bottom:15px}.field-label{letter-spacing:.03em;color:var(--muted);margin-bottom:7px;font-size:9px;font-weight:500;display:block}.field>div{font-size:12px;line-height:1.55}.field>div>strong{font-size:13px}.metric-grid{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:0 15px;padding-top:14px;display:grid}.metric-grid .field>div{letter-spacing:-.04em;font-size:23px;font-weight:550}.budget-label{justify-content:space-between;align-items:center;display:flex}.budget-label span{color:var(--muted);font-size:10px}meter{width:100%;height:11px;margin-top:7px}meter::-webkit-meter-bar{background:#e6edf3;border:0}meter::-webkit-meter-optimum-value{background:#279b8a}.permissions{background:var(--surface);border-radius:6px;gap:8px;margin:0;padding:10px 12px;list-style:none;display:grid}.permissions li{align-items:center;gap:8px;display:flex}.permissions svg{color:var(--teal)}details{border-bottom:1px solid #e4ebf1;margin-bottom:7px;padding-bottom:6px}summary{cursor:pointer;overflow-wrap:anywhere;padding:8px 0;font-size:11px;font-weight:550;line-height:1.6}summary::marker{color:#6c8398}summary code{color:var(--muted);margin-left:8px;font-size:9px}.muted{color:var(--muted);font-size:10px}details details{padding-left:10px}.decision{border-left:2px solid var(--teal);background:#f2f8f5;margin:12px 0;padding:9px 10px;font-size:12px}.decision.deny{border-color:var(--amber);background:#fff9ef}.decision.deny strong{color:var(--amber)}.approval-inline{border-top:1px solid #ecd7ae;padding:15px 0}.approval-inline>strong{color:var(--amber);gap:7px;font-size:12px;display:flex}.button-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.approval-inline .button-row{grid-template-columns:1fr auto;display:grid}.theory-link{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 0;font-size:11px;font-weight:600;display:flex}.check summary{align-items:flex-start;gap:7px;padding:9px 0;font-weight:450;display:flex}.check svg{flex:none;margin-top:1px}.check summary span{flex:1}.check summary b{white-space:nowrap;text-transform:uppercase;margin-top:2px;font-size:8px;font-weight:500}.check.pass svg,.check.pass b{color:#157958}.check.fail svg,.check.fail b{color:#aa3f34}.check.not_checked svg,.check.not_checked b{color:#63758b}.check.warning svg,.check.warning b{color:#94611d}.check p{padding-left:23px}.check code{font-size:9px}.empty{background:var(--surface);border:1px dashed var(--line);border-radius:5px;padding:13px}.context-item summary{align-items:center;gap:5px;display:flex}.context-item summary span:nth-child(2){overflow-wrap:anywhere;flex:1}.context-item summary b{color:var(--teal);font-size:8px}.kind{color:#516b84;background:#edf2f6;border-radius:3px;padding:2px 4px;font:8px IBM Plex Mono,monospace}.context-item.untrusted .kind{color:#936019;background:#fff1d9}.source-content{background:var(--surface);border-radius:5px;padding:10px}.evidence-row{border-bottom:1px solid var(--line);gap:9px;padding:8px 0;display:flex}.evidence-row svg{color:var(--muted);margin-top:3px}.evidence-row strong,.evidence-row code,.evidence-row small{display:block}.evidence-row small{color:var(--muted);font-size:9px}.timeline{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:14px;overflow:hidden}.transport{align-items:center;gap:11px;padding:13px 14px 10px;display:flex}.transport button{padding:8px 10px;font-size:11px}.transport .button-row{flex-wrap:nowrap;gap:6px}.timeline-slider{flex:1;min-width:100px}.timeline-slider label{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.timeline-slider label span{text-overflow:ellipsis;max-width:50%;margin-left:auto;font:8px IBM Plex Mono,monospace;overflow:hidden}.timeline-slider input{accent-color:var(--teal);cursor:pointer;width:100%;height:21px}.icon-button{flex-shrink:0;width:39px}.selected{color:#106650!important;background:#e8f4f0!important;border-color:#90c7b8!important}.event-caption{border-top:1px solid #edf1f5;align-items:center;gap:14px;padding:10px 15px;display:flex}.event-type{letter-spacing:.04em;color:var(--muted);flex-shrink:0;font-size:8px}.event-caption p{margin:0;font-size:11px}.event-caption>strong{color:var(--amber);white-space:nowrap;margin-left:auto;font-size:9px}.trace-panel{border-top:1px solid var(--line);padding:17px}.trace-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.trace-heading h3{font-size:15px}.trace-heading label{font-size:11px}.trace-heading select{padding:6px;font-size:11px}.trace-layout{grid-template-columns:1fr 1fr;gap:20px;display:grid}.trace-list{max-height:350px;margin:0;padding:0;list-style:none;overflow:auto}.trace-list button{text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;grid-template-columns:80px 1fr;align-items:start;gap:4px 10px;width:100%;padding:10px;display:grid}.trace-list button code{font-size:9px}.trace-list button span{font-size:11px;line-height:1.45}.trace-list small{color:var(--muted);grid-column:2;font:8px IBM Plex Mono,monospace}.event-detail{max-height:350px;overflow:auto}.event-detail h4{margin-bottom:10px;font-size:14px}.event-detail p,.event-detail dl{font-size:11px}.event-detail dl{grid-template-columns:120px 1fr;gap:6px;display:grid}.event-detail dd{overflow-wrap:anywhere;margin:0}.lesson-strip{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:17px 2px;display:flex}.lesson-strip>svg{flex-shrink:0}.lesson-strip p{flex:1;margin:0;font-size:12px;font-weight:550}.lesson-strip button{white-space:nowrap;background:0 0;border:0;font-size:11px}footer{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;padding:17px 0 22px;font-size:10px;display:flex}footer>div{align-items:center;gap:12px;display:flex}footer a{color:#35516d;align-items:center;gap:2px;font-weight:600;display:flex}.skip-link{z-index:100;background:#fff;padding:12px;position:fixed;top:-80px;left:15px}.skip-link:focus{top:10px}dialog{border:1px solid var(--line);color:var(--navy);border-radius:12px;width:calc(100% - 30px);max-width:690px;max-height:90dvh;padding:25px;box-shadow:0 25px 100px #162e4833}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#14294066}.dialog-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.dialog-heading h2{font-size:23px}.dialog-heading button{flex-shrink:0;min-width:38px;padding:5px}.review p,.resource-store p,.learn p{font-size:13px;line-height:1.7}.review-warning{background:#fff5e4;border-left:3px solid #c29342;padding:14px}.review dl{grid-template-columns:95px 1fr;gap:12px;font-size:12px;line-height:1.6;display:grid}.review dt{color:var(--muted)}.review dd{margin:0}.review h3{margin:23px 0 12px;font-size:15px}.review blockquote{background:var(--surface);border-left:3px solid var(--teal);margin:0;padding:16px;font-size:13px;line-height:1.7}.review>.button-row{justify-content:flex-end;margin-top:20px}.resource-store summary{font-size:13px}.resource-store summary svg{vertical-align:middle;margin-right:8px}.chapter-nav{grid-template-columns:repeat(12,1fr);gap:4px;margin:0 0 25px;display:grid}.chapter-nav button{min-height:34px;padding:5px;font:11px IBM Plex Mono,monospace}.chapter-count{color:var(--muted);letter-spacing:.1em;font-size:10px}.learn h3{margin:11px 0 18px;font-size:36px}.learn .chapter-body{font-size:16px;line-height:1.75}.try-it{background:var(--surface);border:1px solid var(--line);border-radius:8px;margin-top:25px;padding:18px}.try-it>strong{font-size:12px}.try-it>p{margin:8px 0 12px}.chapter-controls{justify-content:space-between;margin:23px 0}.learn>details{margin-top:25px}.text-topology{grid-template-columns:repeat(3,1fr);gap:8px;margin:20px;padding:0;list-style:none;display:grid}.text-topology li{background:#ffffffa8;border:1px solid #d3e0e8;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;padding:12px 9px;font-size:10px;display:flex}.text-topology li>span{color:var(--muted);font:9px IBM Plex Mono,monospace}.text-topology li.current{background:#d9f0e9;border-color:#519983}.text-topology strong{color:#127157;font-size:8px}.draft-preview{margin-top:13px}.draft-preview p{overflow-wrap:anywhere}@media (width>=1550px){.scene{height:400px}.inspector{height:595px}.runtime-grid{grid-template-columns:minmax(0,1fr) 375px}.inspector-content p,.world-message p{font-size:12px}.world-label{font-size:10px}}@media (width<=1150px){.site-header{margin:0 22px}.site-header nav{gap:9px}.ecosystem{display:none!important}main{padding:0 22px}.intro{gap:30px}.intro h1{font-size:34px}.intro-lead{font-size:14px}.intro-note{font-size:11px}.runtime-grid{grid-template-columns:minmax(0,1fr) 310px;gap:10px}.lens-bar button{padding:14px 18px}.scene{height:320px}.world-legend{gap:9px;font-size:8px}.transport{gap:6px}.transport button{padding:8px}.scenario-bar p{font-size:11px}.scenario-bar label{display:none}.world-message{margin:0 10px 10px;padding:11px}.inspector{padding:15px 13px 0}.inspector h2{font-size:20px}}@media (width<=850px){.site-header{height:65px;margin:0 18px}.brand{gap:9px;font-size:13px}.site-header nav{gap:4px}.site-header nav button{padding:8px;font-size:11px}.site-header nav .nav-active{padding:9px 12px}.site-header nav button svg{display:none}main{padding:0 18px}.intro{padding:24px 0;display:block}.intro h1{max-width:650px;font-size:37px}.intro>div{max-width:none;margin-top:14px}.intro-lead{font-size:14px}.scenario-bar{flex-wrap:wrap;gap:5px;padding:8px 10px}.scenario-bar p{border:0;flex-basis:100%;order:5;padding:5px 0 2px}.scenario-bar button{min-height:36px;margin-left:auto;font-size:11px}.scenario-bar select{font-size:12px}.runtime-grid{grid-template-columns:1fr}.scene{flex:auto;height:350px}.inspector{height:auto;max-height:440px;padding:15px 17px 0}.inspector-content{max-height:295px}.inspector h2{margin:9px 0 12px;font-size:22px}.metric-grid{grid-template-columns:repeat(4,1fr)}.world-message{min-height:70px}.world-legend{font-size:9px}.transport{flex-wrap:wrap;padding:12px}.transport .button-row{flex:1}.timeline-slider{flex-basis:100%;order:5;margin-top:4px}.lens-bar button{gap:7px;padding:13px}.lens-bar button span{font-size:11px}.event-caption{flex-wrap:wrap;gap:5px 10px}.event-caption p{flex:1}.lesson-strip{flex-wrap:wrap}.lesson-strip p{font-size:11px}.lesson-strip button{margin-left:26px}footer{flex-direction:column;align-items:flex-start;gap:10px}.trace-layout{grid-template-columns:1fr}.trace-list{max-height:250px}.event-detail{max-height:240px}.event-detail pre{max-height:150px}}@media (width<=500px){.site-header{gap:8px;margin:0 14px}.brand>span:last-child{max-width:94px;font-size:11px;line-height:1.3}.brand-mark{padding:9px 7px;font-size:17px}.site-header nav .nav-active{display:none}.site-header nav button{min-height:44px}.site-header nav .language{border:0}.site-header nav .language span{display:none}main{padding:0 12px}.intro{padding:22px 2px}.intro h1{max-width:400px;font-size:32px;line-height:1.15}.intro-lead{font-size:12px}.intro-note{font-size:10px;line-height:1.6}.scenario-number{font-size:10px}.scenario-bar select{max-width:210px;padding:10px 18px 10px 4px}.scenario-bar>button{min-height:44px;padding:8px}.scenario-bar>button svg{width:15px}.scenario-bar>p{font-size:10px}.lens-bar button{flex-wrap:wrap;justify-content:center;gap:4px;min-height:56px;padding:9px 4px;font-size:11px}.lens-bar button svg{width:14px;height:14px}.lens-bar button span{text-align:center;flex-basis:100%;font-size:9px}.scene{height:300px;min-height:250px}.world-tools{padding:0 10px;font-size:8px}.world-tools button{min-height:44px;font-size:9px}.run-heading{gap:7px;padding:13px 12px 4px}.run-heading strong{font-size:12px}.run-heading div>span{font-size:8px}.speed-select{gap:0;font-size:0}.speed-select select{min-height:44px;padding:8px;font-size:10px}.world-legend{flex-wrap:wrap;gap:10px;padding:7px;font-size:8px}.world-message{gap:8px;margin:8px;padding:10px}.world-message strong{font-size:11px}.world-message p{font-size:10px}.inspector{max-height:425px}.inspector-content{max-height:285px}.inspector h2{font-size:21px}.metric-grid{grid-template-columns:1fr 1fr}.transport{gap:5px;padding:9px}.transport .button-row{gap:4px}.transport button{min-width:44px;min-height:44px;padding:8px}.transport .button-row button span{display:none}.icon-button{width:44px}.timeline-slider{margin:4px 3px 0}.timeline-slider input{height:30px}.event-caption{padding:10px}.event-caption p{flex-basis:100%;font-size:10px}.event-caption>strong{margin:0}.trace-panel{padding:12px}.trace-heading{align-items:flex-start}.trace-heading h3{font-size:13px}.trace-heading label{font-size:0}.trace-heading select{min-height:44px;font-size:10px}.trace-list button{grid-template-columns:60px 1fr}.text-topology{grid-template-columns:repeat(2,1fr);gap:5px;margin:12px}.text-topology li{min-height:36px;padding:8px;font-size:9px}dialog{width:calc(100% - 20px);max-height:93dvh;padding:20px 16px}.dialog-heading h2{font-size:21px}.dialog-heading button{min-width:44px;min-height:44px}.chapter-nav{grid-template-columns:repeat(6,1fr)}.chapter-nav button{min-height:44px}.learn h3{font-size:31px}.learn .chapter-body{font-size:14px}.review dl{grid-template-columns:70px 1fr;font-size:11px}.review .button-row button{flex:1;min-height:44px}.check summary{min-height:44px}.check summary b{white-space:normal;text-align:right;max-width:70px}.field-label{font-size:9px}.context-item summary{min-height:44px}.resource-store summary{min-height:44px;font-size:12px}.lesson-strip>button,footer a,.theory-link{min-height:44px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}@media (width>=851px){.site-header{height:64px}.intro{padding-top:25px;padding-bottom:24px}.intro h1{max-width:650px;font-size:clamp(32px,2.9vw,46px)}.inspector{height:510px}.scene{height:310px;min-height:220px}.world-message{min-height:73px}.run-heading{padding-top:14px}.scenario-bar{padding-top:6px;padding-bottom:6px}.lens-bar button{min-height:50px;padding-top:13px;padding-bottom:13px}}@media (width>=1550px){.inspector{height:510px}.scene{height:310px}}.inspect-mobile{display:none}.inspector-sheet .inspector{border:0;height:auto;max-height:none;padding:0}.inspector-sheet .inspector-content{max-height:55dvh}.inspector-sheet .dialog-heading{margin-bottom:12px}.inspector-sheet .dialog-heading h2{letter-spacing:0;color:var(--muted);font-size:14px}@media (width<=850px){.desktop-inspector{display:none}.inspect-mobile{background:#fff;border:1px solid #b8cbd9;justify-content:flex-start;width:100%;min-height:52px;padding:14px 17px;display:flex}.inspect-mobile strong{color:var(--teal);margin-left:auto;font:11px IBM Plex Mono,monospace}.inspector-sheet{width:100%;max-width:none;max-height:83dvh;padding:18px 20px calc(18px + env(safe-area-inset-bottom));border-radius:15px 15px 0 0;margin:0 auto;position:fixed;top:auto;bottom:0}.inspector-sheet .inspector h2{font-size:24px}.inspector-sheet .inspector-content{max-height:57dvh}.inspector-sheet .inspector-content p,.inspector-sheet summary{font-size:12px}.inspector-sheet .field>div{font-size:13px}.inspector-sheet .check summary{font-size:11px}.inspector-sheet .theory-link{min-height:44px}}.inspector>.approval-inline{flex-shrink:0;padding:12px 0}.inspector>.approval-inline p{color:var(--muted);margin:7px 0 10px;font-size:10px;line-height:1.5}.inspector-sheet .inspector-content{flex:1}@media (width<=850px){.inspector-sheet .inspector{max-height:68dvh}.inspector-sheet .inspector-content{min-height:100px}.inspector-sheet .approval-inline button{min-height:44px}}.export-preview p{font-size:13px}.export-preview textarea{resize:vertical;border:1px solid var(--line);width:100%;height:330px;color:var(--navy);background:var(--surface);border-radius:7px;margin-bottom:15px;padding:14px;font:11px/1.6 IBM Plex Mono,monospace}.export-preview textarea:focus-visible{outline-offset:2px;outline:3px solid #178fbd}
