*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f7fafc;color:#172b3a;font:17px/1.65 system-ui,sans-serif}a{color:#14547d;text-underline-offset:3px}a:hover{color:#0e3450}a:focus-visible{outline:3px solid #14547d;outline-offset:4px}header,main,footer{max-width:1080px;margin:auto;padding:24px}header{border-bottom:1px solid #c6d3dd}.brand{display:flex;align-items:center;gap:16px;font-weight:700;font-size:1.4rem;text-decoration:none}.brand img{width:56px;height:56px}nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:20px}main{min-height:60vh}h1,h2{line-height:1.25;color:#153e63}h1{font-size:clamp(2rem,5vw,3.2rem)}p,li{max-width:78ch}.lead{font-size:1.2rem}.boundary{border-left:5px solid #153e63;padding:12px 20px;background:#e9f1f7}pre{overflow-x:auto;padding:18px;background:#e6edf3;border-radius:8px}code{font-size:.9em}table{border-collapse:collapse;width:100%;font-size:.92rem}td,th{padding:10px;text-align:left;border-bottom:1px solid #c6d3dd;overflow-wrap:anywhere}.table-scroll{overflow:auto}footer{border-top:1px solid #c6d3dd;font-size:.9rem}.skip{position:absolute;top:-100px;left:12px;padding:8px;background:white}.skip:focus{top:8px}nav a[aria-current=page]{font-weight:700} @media(max-width:600px){header,main,footer{padding:18px}td,th{padding:8px}}
/* Typeset TeX statements (see math.js) */
.tex-statement { margin: 0.6em 0 0.2em; padding: 0.6em 0.9em; border-left: 3px solid #153e63; overflow-x: auto; line-height: 1.6; }
details.tex-source { margin: 0 0 1em; font-size: 0.85em; }
details.tex-source > summary { cursor: pointer; opacity: 0.75; }
mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; max-width: 100%; }
/* Narrow screens: long Lean names and file-path links in prose wrap; inside tables they stay whole and the table scrolls. */
:not(pre)>code,p a,li a{overflow-wrap:anywhere}td,th,td code,th code{overflow-wrap:normal}:not(.table-scroll)>table{display:block;overflow-x:auto}
