.lafs-dz {font-family:var(--lafs-font,system-ui,sans-serif); color:#101214; line-height:1.6}
.lafs-dz .lr-detail-head {max-width:none}
.lafs-dz .intro {max-width:82ch; margin:1.4rem 0}
.lafs-dz .dz-jumps {display:flex; flex-wrap:wrap; gap:6px 22px; padding:12px 0}
.lafs-dz .dz-jumps a,.lafs-dz .enlarge,.lafs-dz section li a,.lafs-dz article p a {text-decoration:underline; text-underline-offset:.2em}
.lafs-dz .dz-jumps a {display:inline-flex; align-items:center; min-height:44px}
.lafs-dz > section,.lafs-dz > article {padding:clamp(28px,5vw,68px) 0; border-bottom:1px solid #10121438}
.lafs-dz h2 {font-size:clamp(30px,3.7vw,56px); line-height:1.08; font-weight:730; letter-spacing:-.045em; margin:12px 0 24px}
.lafs-dz h2 small {font-size:.58em; color:#48535b; white-space:nowrap}
.lafs-dz h3 {font-size:clamp(23px,2vw,33px); line-height:1.15; font-weight:700; letter-spacing:-.025em; margin:34px 0 14px}
.lafs-dz p,.lafs-dz li {font-size:clamp(16px,1.15vw,19px); max-width:90ch}
.lafs-dz article p,.lafs-dz section p {margin:12px 0}
.lafs-dz .deck {font-size:clamp(19px,1.8vw,27px); line-height:1.35}
.lafs-dz .eyebrow,.lafs-dz .stagehead span {font-size:12px; font-weight:700; letter-spacing:.1em; color:#48535b}
.lafs-dz .method,.lafs-dz .fact {background:#eee9df; border-left:3px solid #ae751e; padding:14px 20px}
.lafs-dz figure {margin:0; min-width:0}
.lafs-dz figure img,.lafs-dz video {width:100%; height:auto; display:block}
.lafs-dz .excerpt {max-width:960px; margin:22px 0}
.lafs-dz video {background:#101214}
.lafs-dz figcaption {font-size:14px; line-height:1.5; color:#48535b; padding:5px 0 10px}
.lafs-dz .stage {border-top:1px solid #10121438; margin:32px 0; padding-top:18px}
.lafs-dz .stagehead {display:flex; gap:18px; align-items:baseline; margin-bottom:14px}
.lafs-dz .stagehead span {white-space:nowrap}
.lafs-dz .pair,.lafs-dz .proof {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start}
.lafs-dz .proof {grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:16px}
.lafs-dz .deep {margin:26px 0; max-width:1200px}
.lafs-dz .diagram-link {display:block}
.lafs-dz .enlarge {display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:650}
.lafs-dz .tablewrap {overflow-x:auto; max-width:100%; margin:14px 0}
.lafs-dz table {border-collapse:collapse; width:100%; font-size:15px; font-variant-numeric:tabular-nums}
.lafs-dz th,.lafs-dz td {text-align:left; padding:10px; border-bottom:1px solid #10121438}
.lafs-dz th {background:#eee9df}
.lafs-dz details {margin:24px 0; border:1px solid #10121438; padding:12px 16px}
.lafs-dz summary {cursor:pointer; font-weight:650; padding:6px 0}
.lafs-dz .lr-footer {margin-top:20px}
.lafs-dz dialog {position:fixed; inset:0; margin:auto; padding:0; width:min(1240px,96vw); max-width:96vw; max-height:96dvh; overflow:hidden; border:1px solid #849bb0; background:#e6e0d5; color:#101214}
.lafs-dz dialog:not([open]) {display:none}
.lafs-dz dialog::backdrop {background:rgb(16 18 20 / .82)}
.lafs-dz .viewerbar {display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:10px 14px; border-bottom:1px solid #10121438}
.lafs-dz .viewerbar strong {margin-right:auto}
.lafs-dz .viewerbar button {min-height:44px; padding:6px 14px; background:transparent; color:#101214; border:1px solid #48535b; cursor:pointer}
.lafs-dz .diagram-scroll {overflow:auto; max-height:70dvh; overscroll-behavior:contain}
.lafs-dz .diagram-scroll img {display:block; width:1200px; max-width:none; height:auto}
.lafs-dz .diagram-scroll.fit img {width:100%}
html:has(.lafs-dz dialog[open]) {overflow:hidden}
@media(max-width:850px) {
 .lafs-dz .pair {grid-template-columns:1fr}
 .lafs-dz .proof {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px}
 .lafs-dz .stagehead {display:block}
 .lafs-dz .stagehead span {display:block; margin-bottom:4px}
 .lafs-dz .viewerbar strong {width:100%; line-height:1.2}
 .lafs-dz td,.lafs-dz th {padding:8px 6px}
}
@media print {.lafs-dz .dz-jumps,.lafs-dz .enlarge,.lafs-dz dialog {display:none!important}.lafs-dz .stage,.lafs-dz figure {break-inside:avoid}}