body{font:17px/1.65 system-ui,Arial,sans-serif;background:#101820;color:#e8eef3;margin:0}header,nav,main,footer{max-width:900px;margin:auto;padding:18px 25px}header{border-bottom:1px solid #42505d}a{color:#80c8ff}nav{display:flex;justify-content:space-between;gap:15px}main{background:#192530;border-radius:8px}h1{font-size:1.6em}h2{font-size:1.2em}p{margin:1em 0}.eq,.figure{display:block;max-width:100%;height:auto;margin:12px auto;background:white;padding:7px;border-radius:4px}.source{border-top:1px solid #53606b;padding-top:18px}.tag{color:#ffce7a}.small{font-size:.8em;color:#afc0cb}
/* Reconstructed reading layout: proof page 028 */
body{background:#eef2f5;color:#18232d;font-family:Georgia,serif}body>main{max-width:850px;margin:24px auto;padding:clamp(22px,5vw,58px);background:#fff;box-shadow:0 6px 30px #1b293215;border-radius:8px}main p{font-size:1.09rem;line-height:1.8;margin:0 0 1.2rem;text-align:left}main h2{font:600 1.35rem/1.35 system-ui;margin:2rem 0 1rem}.equation{margin:1.4rem auto 1.8rem;overflow-x:auto;text-align:center}.equation img{max-width:100%;height:auto;object-fit:contain}.footnote{font-size:.86rem;border-top:1px solid #d5dde4;padding-top:12px;color:#536270;margin-top:2rem}.small{font-size:.85rem!important}nav{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}a{color:#1265a4}
/* E-TWIN GEN2 COVER PROTOTYPE: scoped to the home page; reading pages remain unchanged. */
body.gen2-home{margin:0;background:#0a1522;color:#eaf4fa;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}body.gen2-home *{box-sizing:border-box}body.gen2-home a{color:inherit;text-decoration:none}body.gen2-home .gen2-top{max-width:none;padding:19px max(24px,calc((100vw - 1300px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #294056;background:#0a1522;gap:18px}body.gen2-home .gen2-logo{font-size:1.1rem;font-weight:800;letter-spacing:.08em;white-space:nowrap}body.gen2-home .gen2-logo span,body.gen2-home .gen2-accent{color:#5ed5e9}body.gen2-home .gen2-toplabel{font:11px/1.4 monospace;letter-spacing:.16em;color:#8aa2b6}body.gen2-home .gen2-toplabel i{font-style:normal;color:#57d1e4}body.gen2-home .gen2-textlink{font-size:.82rem;color:#9eddea;white-space:nowrap}body.gen2-home .gen2-wrap{max-width:1300px;margin:0 auto;padding:0 24px;background:transparent;border-radius:0;box-shadow:none}body.gen2-home .gen2-cover{min-height:610px;display:grid;grid-template-columns:1.07fr .93fr;align-items:center;gap:22px;border-bottom:1px solid #294056}body.gen2-home .gen2-covertext{padding:68px 0 64px 14px;position:relative;z-index:1}body.gen2-home .gen2-eyebrow{font:11px/1.4 monospace;letter-spacing:.16em;color:#78cbdc;text-transform:uppercase}body.gen2-home .gen2-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5bd3e7;margin-right:9px}body.gen2-home .gen2-sep{margin:0 8px;color:#597184}body.gen2-home h1{font-size:clamp(2.5rem,4.2vw,4.5rem);line-height:1.08;letter-spacing:-.045em;font-weight:650;margin:26px 0 20px;max-width:750px}body.gen2-home h1 em{font-style:normal;color:#67d8e9}body.gen2-home .gen2-subtitle{font-size:clamp(1.1rem,1.5vw,1.32rem);font-weight:350;line-height:1.6;color:#bfd1de;max-width:590px;margin:0}body.gen2-home .gen2-rule{height:1px;background:linear-gradient(90deg,#4cbed3,transparent);margin:30px 0;width:85%}body.gen2-home .gen2-system{font-size:.96rem;color:#92a9b9;line-height:1.7}body.gen2-home .gen2-system strong{color:#f0f8fc;font-weight:650;font-size:1.14rem}body.gen2-home .gen2-author{font:11px/1.8 monospace;letter-spacing:.09em;color:#91a8b8;margin:26px 0}body.gen2-home .gen2-author span{color:#62d1e3;margin:0 5px}body.gen2-home .gen2-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:34px}body.gen2-home .gen2-primary{display:inline-flex;align-items:center;gap:38px;background:#65d5e6;color:#071825!important;padding:15px 21px;border-radius:4px;font-size:.91rem;font-weight:700}body.gen2-home .gen2-primary:hover{background:#a1f0fa}body.gen2-home .gen2-secondary{font-size:.9rem;color:#b9d4df!important;padding:12px 4px}body.gen2-home .gen2-art{min-width:0;position:relative}body.gen2-home .gen2-art svg{width:100%;height:auto;max-height:630px}body.gen2-home .gen2-artnote{font:10px/1.5 monospace;color:#6d8799;text-align:center;letter-spacing:.02em;margin-top:-22px}body.gen2-home .gen2-contents{padding:76px 14px 45px}body.gen2-home .gen2-sectionheading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:32px}body.gen2-home .gen2-sectionheading h2{font-size:clamp(2.1rem,3.6vw,3.5rem);font-weight:600;letter-spacing:-.04em;margin:7px 0 0;color:#eef6fc}body.gen2-home .gen2-sectionheading p{font-size:.85rem;line-height:1.8;color:#8fa9ba;text-align:right;margin:0}body.gen2-home .gen2-chapters{display:grid;grid-template-columns:1fr 1fr;gap:11px}body.gen2-home .gen2-chapters .chapter{display:flex;align-items:center;gap:20px;min-height:100px;padding:20px;border:1px solid #294155;background:#101f2e;border-radius:5px;transition:border-color .2s,background .2s}body.gen2-home .gen2-chapters .chapter:hover{border-color:#65d5e6;background:#142c3d}body.gen2-home .chapter-number{font:1.4rem/1 monospace;color:#66cbdc;min-width:35px}body.gen2-home .chapter-text{display:flex;flex-direction:column;gap:4px;flex:1}body.gen2-home .chapter-text strong{font-size:1.01rem;font-weight:600}body.gen2-home .chapter-text small{font-size:.78rem;color:#91a7b7}body.gen2-home .chapter-arrow{color:#65d5e6}body.gen2-home .gen2-footer{border-top:1px solid #294155;margin-top:64px;padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;color:#8ba5b5;font-size:.8rem}body.gen2-home .gen2-footer a{color:#91dbea}@media(max-width:850px){body.gen2-home .gen2-cover{grid-template-columns:1fr}body.gen2-home .gen2-covertext{padding:52px 0 0}body.gen2-home .gen2-art{max-width:550px;margin:-20px auto 20px}body.gen2-home .gen2-chapters{grid-template-columns:1fr}body.gen2-home .gen2-toplabel{display:none}}@media(max-width:520px){body.gen2-home .gen2-top{padding:16px 20px}body.gen2-home .gen2-wrap{padding:0 16px}body.gen2-home .gen2-covertext{padding-left:0}body.gen2-home .gen2-contents{padding-left:0;padding-right:0}body.gen2-home .gen2-sectionheading{display:block}body.gen2-home .gen2-sectionheading p{text-align:left;margin-top:12px}body.gen2-home .gen2-artnote{font-size:9px}body.gen2-home .gen2-chapters .chapter{padding:15px;gap:12px}}

/* GEN2 reader/navigation refinement */
.gen2-quicknav{display:flex;gap:1.4rem;flex-wrap:wrap;justify-content:center;padding:13px 22px;background:#091725;border-bottom:1px solid #244054}
.gen2-quicknav a{color:#b8d8e9;text-decoration:none;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.gen2-quicknav a:hover{color:#69e3f0}
.gen2-reader-nav{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin:1.4rem auto;max-width:850px;padding:10px 16px;border:1px solid #c7d5df;border-radius:8px;background:#f2f6f8}
.gen2-reader-nav a{font:600 13px system-ui,sans-serif;color:#145978;text-decoration:none;padding:7px}
.gen2-reader-nav a:hover{text-decoration:underline}

/* GEN2 scientific cross-references */
a.crossref {color:#1c7ca5;text-decoration:underline;text-decoration-color:#8eb6c9;text-underline-offset:3px;font-weight:550}
a.crossref:hover {color:#095477;background:rgba(35,144,183,.08)}
:target {scroll-margin-top:5rem;outline:2px solid rgba(28,124,165,.45);outline-offset:7px;border-radius:3px}

/* GEN2 v4 editorial clean-up */
main p a[href^="page-"]{color:#167aab;text-decoration:underline;text-underline-offset:3px;}
main p a.ref-lookup{display:inline-block;margin-left:.5em;font-family:system-ui,sans-serif;font-size:.73em;color:#217d99;text-decoration:none;border-bottom:1px dotted #217d99;}
main p a.ref-lookup:hover{text-decoration:underline;}
:target{scroll-margin-top:5rem;}

/* GEN2 v5: Joomla embedded edition — no duplicate site breadcrumb/header */
.gen2-page-index{max-width:850px;margin:-7px auto 17px;padding:7px 12px;display:flex;flex-wrap:wrap;gap:4px 5px;justify-content:center;align-items:center;border-bottom:1px solid #c7d5df;background:transparent}
.gen2-page-index a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 5px;border-radius:5px;text-decoration:none;color:#145978;font:600 12px system-ui,sans-serif}
.gen2-page-index a:hover{background:#dcebf2}
.gen2-page-index a.current{background:#145978;color:white}
.gen2-page-index .gen2-ellipsis{font:14px system-ui,sans-serif;color:#738895;padding:0 4px}
body.gen2-home .gen2-quicknav{margin-top:18px}
