:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#242424;background:#f5f5f5;line-height:1.5;--surface:#fff;--surface-subtle:#fafafa;--surface-hover:#f0f0f0;--surface-selected:#ebf3fc;--border:#d1d1d1;--border-strong:#b3b3b3;--focus:#0f6cbd;--brand:#0f6cbd;--brand-hover:#115ea3;--text:#242424;--muted:#616161;--danger:#b10e1c;--sidebar:292px;--topbar:60px;--radius:8px;--shadow:0 8px 24px rgba(0,0,0,.08);--background:#f5f5f5}
@media(prefers-color-scheme:dark){:root{color:#fff;--background:#1f1f1f;--surface:#292929;--surface-subtle:#242424;--surface-hover:#333;--surface-selected:#0d3b66;--border:#484848;--border-strong:#666;--text:#fff;--muted:#c8c8c8;--focus:#479ef5;--brand:#479ef5;--brand-hover:#62abf5;--danger:#ff99a4}}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--text)}[hidden]{display:none!important}a{color:var(--brand)}
a:focus-visible,button:focus-visible,fluent-button:focus-visible,summary:focus-visible,input:focus-visible,.table-scroll:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.sr-only,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;width:auto;height:auto;clip:auto;white-space:normal;left:1rem;top:1rem;margin:0;background:var(--surface);padding:.75rem 1rem;z-index:1200;border-radius:6px}
.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--border);padding:12px;display:flex;flex-direction:column;z-index:600;overflow-y:auto}
.brand-panel{display:flex;align-items:center;gap:12px;padding:8px 8px 18px;text-decoration:none;color:var(--text)}.brand-panel strong,.brand-panel small{display:block}.brand-panel small{color:var(--muted);font-size:.8rem}
#nav-search-label{font-size:.8rem;color:var(--muted);font-weight:600;margin:2px 8px 6px}input{width:100%;min-width:0;font:inherit;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);border-bottom-color:var(--muted);border-radius:4px;padding:8px 12px;min-height:40px}#nav-search{margin-bottom:12px}
.primary-nav{display:grid;gap:2px}.nav-group{border:0;margin:0}.nav-group>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;font-weight:600;min-height:44px}.nav-group>summary::-webkit-details-marker{display:none}.nav-group>summary::after{content:"›";color:var(--muted);font-size:1.2rem}.nav-group[open]>summary::after{transform:rotate(90deg)}.nav-group>summary:hover,.nav-link:hover{background:var(--surface-hover)}
.nav-children{display:grid;gap:1px;margin:2px 0 4px 32px}.nav-link{min-height:44px;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:6px;text-decoration:none;color:var(--text);font-size:.92rem}.nav-link.active{background:var(--surface-selected);color:var(--brand);font-weight:600;box-shadow:inset 3px 0 0 var(--brand)}.nav-icon{width:24px;height:24px;display:inline-flex;color:var(--muted);flex-shrink:0}.nav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sidebar-footer{margin-top:auto;padding:14px 8px 4px;border-top:1px solid var(--border);color:var(--muted);font-size:.82rem}.app-frame{margin-left:var(--sidebar);min-height:100vh}.topbar{position:sticky;top:0;z-index:300;min-height:var(--topbar);display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 1.25rem;background:var(--surface);border-bottom:1px solid var(--border)}.language-picker{display:flex;gap:4px}.language-picker a{padding:8px;border-radius:4px;text-decoration:none;font-size:.9rem;min-height:40px}.language-picker a[aria-current]{background:var(--surface-selected);font-weight:600}.language-picker a:hover{background:var(--surface-hover)}
main{max-width:1500px;margin:0 auto;padding:1.5rem 2rem 3rem}.page-heading{margin-bottom:1.5rem}.eyebrow{font-size:.78rem;color:var(--muted);margin:0 0 .25rem}.page-heading h1{font-size:1.8rem;line-height:1.25;margin:.2rem 0 .5rem}.chapter-content{min-height:280px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}
.table-toolbar{display:flex;align-items:flex-end;gap:1rem;justify-content:space-between}.search-control{max-width:640px;flex:1}.search-control label{display:block;font-size:.9rem;margin-bottom:6px}fluent-button{flex-shrink:0}fluent-button:not(:defined){display:inline-block;cursor:pointer;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:4px;padding:8px 16px;min-height:40px}
.table-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin:1rem 0 .25rem;font-size:.9rem}.muted{color:var(--muted);font-size:.86rem}#live-info{margin:.25rem 0 1rem}.table-scroll{max-width:100%;overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}thead{background:var(--surface-subtle)}th,td{padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:top}th{font-weight:600;white-space:nowrap}td:nth-child(1){font-family:ui-monospace,Consolas,monospace;font-size:.84rem;min-width:240px;overflow-wrap:anywhere}td:nth-child(2){overflow-wrap:anywhere;min-width:150px}td:nth-child(3){min-width:210px;max-width:430px;overflow-wrap:anywhere}td:nth-child(n+4){white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-hover)}tbody tr.selected{background:var(--surface-selected)}.status-tag{font-size:.78rem;border:1px solid var(--border);border-radius:4px;padding:2px 6px;color:var(--muted);white-space:nowrap}
.message{padding:1rem;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--danger);border-radius:var(--radius);margin-bottom:1rem}.message strong{display:block}.message p{margin:.4rem 0}.message code{overflow-wrap:anywhere}.message .reference{color:var(--muted);font-size:.82rem}
.article-body{padding:clamp(16px,3vw,32px);max-width:100%;overflow-wrap:anywhere}.article-version{font-size:.8rem;color:var(--muted);margin:0 0 .5rem}.article-intro{font-size:1.05rem;max-width:80ch;margin:0 0 1.25rem}.article-contents{border-block:1px solid var(--border);padding:.75rem 0;margin:1rem 0 2rem}.article-contents ul{margin:0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;list-style:none;padding:0}.article-contents a{display:inline-block;padding:.25rem 0}.article-section{margin-block:2rem;scroll-margin-top:80px}.article-section:last-child{margin-bottom:0}.article-section h2{font-size:1.2rem;line-height:1.4;margin:0 0 .75rem}.article-section p{max-width:85ch}.article-section li{margin-block:.4rem;max-width:85ch}.article-table-scroll{max-width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:6px;margin-block:1rem}.article-table-scroll:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.article-table td{font:inherit;white-space:normal!important;min-width:0!important;max-width:none!important;overflow-wrap:anywhere}.article-table td:first-child{width:30%;min-width:145px!important;font-weight:600}.article-table th{white-space:normal}.article-figure{margin:1.5rem 0;max-width:100%}.article-figure img{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:6px;background:#f5f5f5}.article-figure figcaption{font-size:.85rem;color:var(--muted);margin-top:.5rem;max-width:90ch}.article-links{padding-left:1.25rem}
#nav-toggle{display:none;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:4px;padding:8px 12px;font:inherit;min-height:40px}#nav-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.25);z-index:500}
@media(max-width:1100px){main{padding:1.25rem}.app-sidebar{width:260px}.app-frame{margin-left:260px}}
@media(max-width:920px){.app-sidebar{transform:translateX(-100%);width:min(292px,calc(100vw - 40px));box-shadow:var(--shadow)}.app-sidebar.open{transform:translateX(0)}.app-frame{margin-left:0}#nav-toggle{display:block}.topbar{gap:.5rem;padding:.6rem .75rem}.topbar strong{font-size:.95rem}.language-picker a{padding:8px 6px;font-size:.85rem}main{padding:1.25rem .75rem}.table-toolbar{align-items:flex-end;gap:.75rem}.page-heading h1{font-size:1.5rem}.chapter-content{min-height:240px}}
