:root{--blue:#2765e9;--soft:#edf3ff;--text:#1e293b;--muted:#243247;--line:#e5eaf2;--bg:#f3f5f9;--sidebar:300px;--rail:216px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--text);background:var(--bg);font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}a{color:var(--blue);text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}a,button,input{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--blue)}.icon{width:19px;height:19px;vertical-align:middle;flex:none}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.skip-link{position:fixed;left:320px;top:-60px;z-index:100;background:white;padding:12px}.skip-link:focus{top:0}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:40}.sidebar-fixed{padding:27px 20px 18px}.brand{display:block;color:var(--text)}.brand-heading{display:flex;align-items:flex-start;gap:10px;font-size:17px;font-weight:650;line-height:1.55}.brand-heading .icon{width:24px;height:24px;margin-top:2px}.brand-code{font-size:13px;color:#1e293b;margin:10px 0 0 34px;white-space:nowrap}.brand-code span{font-size:10px;color:var(--blue);background:var(--soft);padding:3px 5px;margin-left:4px;border-radius:4px}.sidebar-actions{display:grid;gap:9px;margin:23px 0 20px}.button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #dbe3ef;border-radius:6px;background:white;color:#1e293b;font-size:13px}.button .icon:last-child:not(:first-child){width:14px;height:14px;margin-left:auto}.button:not(button){padding:0 13px}.button:hover{border-color:#aac2f4;background:#f8faff}.download-pending{background:#f5f7fb;color:#243247;border-color:var(--line);font-size:12px}.download-pending span{font-size:10px;background:#e9edf4;border-radius:3px;padding:2px 4px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #dbe3ef;background:#f8fafc;padding:9px 10px;border-radius:6px}.search-box .icon{width:16px;height:16px;opacity:.55}.search-box input{width:0;flex:1;border:0;background:transparent;outline:none;font-size:12px;min-width:0;color:var(--text)}input::placeholder{color:#334155}.search-box kbd{font:10px/1.5 inherit;color:#334155;border:1px solid #dfe5ed;border-radius:3px;padding:0 4px;white-space:nowrap}.directory-heading{display:flex;justify-content:space-between;padding:12px 22px 9px;border-top:1px solid var(--line);color:#334155;font-size:11px;letter-spacing:1px}.collapse-nav{border:0;background:none;color:#334155;font-size:11px;letter-spacing:0}.chapter-nav{overflow:auto;flex:1;padding:0 12px 18px;scrollbar-width:thin;scrollbar-color:#d0d9e5 transparent}.chapter-link,.nav-home{display:flex;align-items:center;gap:9px;padding:9px 10px;color:#1e293b;font-size:12px;line-height:1.6;border-radius:5px;flex:1;min-width:0}.nav-home{margin-bottom:4px;font-size:13px}.chapter-link:hover,.nav-home:hover,.subnav a:hover{background:#f4f7fc;color:var(--blue)}.chapter-link.active,.nav-home.active{background:var(--soft);color:var(--blue);font-weight:600}.nav-chapter summary{list-style:none;display:flex;align-items:center;cursor:pointer}.nav-chapter summary::-webkit-details-marker{display:none}.nav-chapter summary>.icon{width:13px;height:13px;opacity:.45;margin:0 8px}.nav-chapter[open] summary>.icon{transform:rotate(180deg)}.subnav{border-left:1px solid #e4eaf4;margin:4px 14px 8px;padding-left:10px}.subnav a{display:block;color:#243247;padding:6px 5px;font-size:11px;line-height:1.6}.sidebar-foot{padding:15px 22px;border-top:1px solid var(--line);font-size:10px;color:#334155;display:flex;justify-content:space-between}.main-shell{margin-left:var(--sidebar);min-width:0}.topbar{height:66px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:15px;position:sticky;top:0;z-index:20}.breadcrumb{display:flex;gap:12px;align-items:center;color:#243247;font-size:12px;min-width:0}.breadcrumb>a{display:flex;gap:8px;align-items:center;color:#334155;white-space:nowrap}.breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crumb-divider{color:#475569}.top-pdf{display:flex;gap:7px;align-items:center;font-size:11px;white-space:nowrap;color:#243247}.top-pdf .icon{width:15px;height:15px}.icon-button{border:0;border-radius:5px;background:transparent;display:inline-flex;justify-content:center;align-items:center;padding:7px;color:#243247}.menu-toggle{display:none}.home-page{max-width:1280px;margin:auto;padding:39px 42px 35px}.welcome{padding:4px 0 31px}.eyebrow{display:flex;align-items:center;gap:12px;color:#243247;font-size:12px;margin-bottom:14px}.badge{font-size:11px;color:var(--blue);background:var(--soft);border:1px solid #dce7fd;padding:3px 9px;border-radius:4px}.welcome h1{font-size:38px;line-height:1.35;letter-spacing:.6px;font-weight:650;margin:0 0 11px;color:#20314c}.desktop-break{display:none}.standard-code{font-size:17px;letter-spacing:.5px;color:#243247;margin:0 0 12px}.welcome-description{font-size:14px;color:#243247;margin:0 0 20px}.standard-dates{display:flex;gap:26px;font-size:11px;color:#334155}.standard-dates strong{font-weight:450;color:#243247;margin-left:7px}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.entry-card{display:flex;flex-direction:column;align-items:flex-start;padding:23px 22px 20px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s}.entry-card:not(.pending-card):hover{border-color:#bad0fc;box-shadow:0 5px 20px #2765e90a;transform:translateY(-2px)}.reading-card{border-color:#d4e1fc;background:#f8faff}.entry-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:var(--soft);margin-bottom:17px}.entry-icon .icon{width:22px;height:22px}.entry-card h2{font-size:16px;font-weight:600;margin:0 0 8px}.entry-card p{font-size:12px;line-height:1.8;margin:0 0 20px;color:#243247;flex:1}.entry-action{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--blue)}.entry-action .icon{width:16px;height:16px}.pending{color:#334155}.continue-card{display:flex;align-items:center;gap:15px;padding:15px 20px;border:1px solid var(--line);border-radius:6px;background:white;margin-top:16px;font-size:12px}.continue-card span{color:#334155;display:flex;align-items:center;gap:8px}.continue-card strong{font-weight:500;flex:1}.quick-section{margin-top:32px}.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.section-title h2{font-size:16px;font-weight:600;margin:0}.section-title>span{font-size:11px;color:#334155}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-card{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);padding:17px 16px;border-radius:6px;min-width:0;color:var(--text)}.quick-card:hover{border-color:#bdd0f1;background:#fbfdff}.quick-card>.icon{opacity:.65;width:19px;height:19px}.quick-card>.icon:last-child{margin-left:auto;width:14px;height:14px;opacity:.4}.quick-card h3{font-size:13px;font-weight:550;margin:0 0 4px}.quick-card p{font-size:10px;color:#334155;margin:0}.tool-section{display:flex;align-items:center;gap:19px;padding:22px 24px;margin-top:28px;border:1px dashed #cfd9e8;border-radius:7px;background:#f7f9fc}.tool-icon{display:grid;place-items:center;border-radius:7px;width:42px;height:42px;background:#e9eef6}.tool-icon .icon{width:23px;height:23px;opacity:.65}.tool-title{display:flex;align-items:center;gap:12px}.tool-title h2{font-size:15px;margin:0;font-weight:600}.soon-tag{font-size:10px;padding:2px 7px;color:#334155;background:#e9eef6;border:1px solid #dfe6f0;border-radius:4px}.tool-section p{font-size:12px;color:#334155;margin:5px 0 0}.tool-status{margin-left:auto;color:#334155;font-size:11px;white-space:nowrap}.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:38px;margin-top:32px;padding:24px 0 0;border-top:1px solid var(--line)}.home-bottom h2{font-size:13px;font-weight:550;margin:0 0 8px}.home-bottom p{font-size:11px;color:#334155;line-height:1.9;margin:0 0 10px}.home-bottom a,.pending-note{font-size:11px}.home-bottom .icon{width:13px;height:13px;margin-left:4px}.pending-note{color:#334155}.site-footer{display:flex;justify-content:space-between;gap:12px;padding:19px 35px;border-top:1px solid var(--line);color:#334155;font-size:10px}.site-footer span:last-child{text-align:right}
.reader-page{max-width:1100px;margin:auto;padding:36px 40px 40px}.article-header{padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:27px}.article-header h1{font-size:27px;font-weight:600;line-height:1.6;margin:0 0 16px}.article-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.article-actions a{display:flex;align-items:center;gap:7px}.article-actions .icon{width:15px;height:15px}.article-body{background:white;border:1px solid var(--line);border-radius:7px;padding:32px 34px;font-size:16px;line-height:1.9;overflow-wrap:anywhere}.source-block{scroll-margin-top:88px}.clause{margin:0 0 17px;position:relative}.clause p{margin:0}.clause-number{display:flex;gap:5px;align-items:center;margin-bottom:5px;font-size:14px;font-weight:600}.clause-number>a{color:#1e293b}.copy-link{background:none;border:0;opacity:0;padding:3px;display:flex;align-items:center}.copy-link .icon{width:14px;height:14px}.clause:hover .copy-link,.copy-link:focus-visible{opacity:.6}.section-heading{font-size:19px;line-height:1.7;margin:31px 0 20px;padding-top:9px;border-top:1px solid #edf1f7;color:#2b405e;font-weight:600}.section-heading:first-child{margin-top:0;border:0;padding:0}.commentary{background:#f7f9fc;border-left:3px solid #dce5f3;margin:0 0 19px;padding:13px 17px;color:#243247;font-size:14px;line-height:1.9}.commentary-label{font-size:11px;color:#334155;margin-bottom:6px;font-weight:500}.commentary p{margin:0}.source-table{margin:27px 0}.table-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:11px}.table-title h3{font-size:14px;font-weight:600;margin:0;line-height:1.8}.source-link{font-size:10px;color:#334155;white-space:nowrap}.table-scroll{overflow:auto;border:1px solid #dee5ef;border-radius:5px;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.7;min-width:450px}td,th{padding:10px 12px;border:1px solid #e0e6ef;text-align:left;vertical-align:middle;min-width:60px}tr:first-child th{background:#f0f4fa}th{background:#f7f9fc;color:#1e293b;font-weight:550}table tr:first-child>:first-child{border-top:0;border-left:0}table tr>:last-child{border-right:0}table tr:last-child>*{border-bottom:0}td:empty::after{content:""}.table-note{font-size:12px;line-height:1.8;color:#243247;margin:10px 0 0}.formula{overflow:auto;padding:15px 10px 8px;margin:22px 0;background:#fafbfd;border:1px solid var(--line);border-radius:5px;text-align:center}.display-math{min-width:max-content}.katex{font-size:1.08em!important}.formula>.source-link{display:block;text-align:right}.source-figure{width:100%;max-width:700px;height:auto;display:block;margin:auto}.article-body figure{margin:25px 0}.article-body figcaption{text-align:center;font-size:13px;color:#243247;margin-top:9px}.chapter-pager{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:23px}.chapter-pager a{border:1px solid var(--line);border-radius:6px;padding:16px 21px;background:white;position:relative;display:flex;flex-direction:column;gap:6px}.chapter-pager a:hover{border-color:#b7cdf5}.chapter-pager span{font-size:11px;color:#334155}.chapter-pager strong{font-size:12px;font-weight:500;padding-right:17px}.chapter-pager .icon{position:absolute;right:15px;top:31px;width:16px}.chapter-pager .previous{padding-left:39px}.chapter-pager .previous .icon{left:14px}.page-toc{display:none}.page-toc-toggle{display:none;border:0;background:none;color:var(--blue);padding:4px}.page-toc a{display:block;font-size:11px;color:#334155;padding:6px 14px;border-left:1px solid var(--line);line-height:1.6}.page-toc a:hover,.page-toc a.active{color:var(--blue);border-left-color:var(--blue);background:#eff4fc}.page-toc .toc-level-2{padding-left:22px;font-size:10px}.toc-title{font-size:12px;color:#1e293b;padding:0 14px 14px}.toc-empty{font-size:11px;color:#334155;padding:14px}.page-toc .back-top{margin-top:18px;border:0;font-size:10px}.back-top .icon{width:13px;height:13px;margin-right:6px}.search-dialog{border:1px solid var(--line);padding:0;border-radius:10px;width:min(720px,calc(100vw - 32px));max-height:80vh;box-shadow:0 18px 80px #0c274333;color:var(--text)}.search-dialog::backdrop{background:#13274166;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:16px;margin:0}.dialog-search{margin:18px 23px 12px;display:flex;align-items:center;gap:10px;border:1px solid #bcd0f5;border-radius:6px;padding:12px}.dialog-search input{width:100%;border:0;outline:none;font-size:15px;background:none;color:var(--text)}.search-summary{color:#334155;font-size:11px;padding:0 24px 12px}.search-results{max-height:48vh;overflow:auto;padding:0 13px 12px}.search-result{display:block;border-top:1px solid #edf1f7;padding:14px 12px;color:var(--text)}.search-result:hover{background:#f5f8fe;border-radius:5px}.result-meta{display:flex;gap:9px;align-items:center;color:#334155;font-size:10px;line-height:1.7}.result-meta strong{font-weight:500;color:var(--blue);font-size:12px}.result-snippet{font-size:12px;line-height:1.9;color:#243247;margin:6px 0 0}.search-help{padding:11px 24px;border-top:1px solid var(--line);font-size:10px;color:#334155;background:#f8fafc}.empty-search{padding:28px 14px;color:#334155;text-align:center;font-size:13px}mark{background:#fff0b4;color:inherit;border-radius:2px;padding:0 2px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#253d59;color:white;padding:10px 19px;border-radius:6px;z-index:100;font-size:12px}.drawer-overlay{position:fixed;inset:0;background:#122c4e55;z-index:30}[hidden]{display:none!important}
@media(min-width:1360px){body:not([data-chapter="home"]) .main-shell{margin-right:var(--rail)}.page-toc{display:block;position:fixed;right:0;top:100px;bottom:20px;width:var(--rail);padding:0 23px 25px 0;overflow:auto;scrollbar-width:thin}.reader-page{padding:35px 35px 40px}}
@media(max-width:1200px){:root{--sidebar:278px}.sidebar-fixed{padding:23px 17px 16px}.brand-heading{font-size:16px}.brand-code{margin-left:0}.home-page{padding:29px 28px}.welcome h1{font-size:31px}.entry-grid{gap:12px}.entry-card{padding:20px 17px}.entry-card h2{font-size:14px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title>span{display:none}.reader-page{padding:27px}.article-body{padding:26px}.topbar{padding:0 27px}.site-footer{flex-direction:column;padding:19px 28px;gap:4px}.site-footer span:last-child{text-align:left}}
@media(max-width:1359px){.page-toc-toggle{display:flex;align-items:center;gap:6px}.page-toc.mobile-toc-open{display:block;position:fixed;right:20px;top:120px;bottom:35px;max-height:65vh;width:250px;overflow:auto;padding:20px;background:white;border:1px solid var(--line);box-shadow:0 8px 35px #223b5a20;border-radius:8px;z-index:25}}
@media(max-width:800px){:root{--sidebar:290px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.drawer-open{transform:translateX(0)}.main-shell,body:not([data-chapter="home"]) .main-shell{margin:0}.menu-toggle{display:inline-flex}.topbar{height:59px;padding:0 16px}.breadcrumb{gap:8px}.top-pdf{font-size:0;gap:3px}.top-pdf .icon{width:19px;height:19px}.top-pdf .icon:last-child{display:none}.breadcrumb>span:last-child{max-width:45vw}.home-page{padding:26px 22px}.welcome{padding-bottom:23px}.welcome h1{font-size:29px;line-height:1.45}.standard-code{font-size:15px}.welcome-description{font-size:12px}.standard-dates{font-size:10px;gap:17px;flex-wrap:wrap}.entry-card{padding:19px 16px}.entry-grid{gap:10px}.entry-icon{width:34px;height:34px}.entry-card h2{font-size:13px}.entry-card p{font-size:11px}.tool-section{padding:19px 17px;gap:13px}.tool-title h2{font-size:14px}.tool-status{display:none}.reader-page{padding:22px 17px}.article-header h1{font-size:24px}.article-body{padding:23px 20px;font-size:16px}.article-header{padding-bottom:21px;margin-bottom:20px}.table-title{flex-direction:column;gap:3px}.commentary{padding:11px 14px;font-size:13px}.continue-card{flex-wrap:wrap}.continue-card strong{font-size:11px}.chapter-pager{gap:10px}.chapter-pager a{padding:14px}.chapter-pager strong{font-size:11px}.chapter-pager .previous{padding-left:32px}.chapter-pager .icon{width:13px;height:13px}.site-footer{padding:18px 22px}.home-bottom{gap:22px}.search-dialog{max-height:86vh}.search-results{max-height:52vh}.search-box kbd{display:none}.toast{max-width:85vw;white-space:nowrap}}
@media(max-width:520px){.entry-grid{grid-template-columns:1fr}.entry-card{padding:20px;display:grid;grid-template-columns:40px 1fr;column-gap:15px}.entry-icon{grid-row:1/4;margin:0;width:40px;height:40px}.entry-card h2{font-size:15px;margin-bottom:5px}.entry-card p{margin:0 0 10px;font-size:12px}.entry-action{font-size:11px}.quick-grid{grid-template-columns:1fr}.quick-card{padding:15px 18px}.quick-card p{font-size:11px}.tool-section{align-items:flex-start}.tool-title{gap:9px}.tool-section p{font-size:11px}.tool-icon{width:34px;height:34px}.home-bottom{grid-template-columns:1fr;gap:22px}.home-bottom p{font-size:12px}.article-body{padding:20px 16px}.article-actions{font-size:10px}.chapter-pager strong{overflow-wrap:anywhere}.standard-dates{gap:15px}.page-toc.mobile-toc-open{right:14px;top:95px}.section-heading{font-size:18px}.source-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@media print{.sidebar,.topbar,.page-toc,.chapter-pager,.site-footer,.copy-link,.search-dialog{display:none!important}.main-shell,body:not([data-chapter="home"]) .main-shell{margin:0}.reader-page{padding:0;max-width:none}.article-body{border:0;padding:0;font-size:12pt}.source-table{break-inside:avoid}.table-scroll{overflow:visible}table{min-width:0}.formula{overflow:visible}.article-actions{display:none}}
.skip-link{left:16px;top:0;transform:translateY(-200%);white-space:nowrap}.skip-link:focus{top:0;transform:none}
@media(max-width:800px){.desktop-break{display:block}}
/* Source-style clauses and clearer navigation. */
.clause{margin-bottom:19px}.clause-number{display:inline;margin:0 12px 0 0;font-size:inherit;font-weight:700}.clause-number a{color:var(--text);font-weight:700}.clause:has(.clause-number)>p{text-indent:.75em}.copy-link{position:absolute;right:-24px;top:7px}.article-body{font-size:17px;line-height:1.95}.section-heading{font-size:20px}.chapter-link,.nav-home{font-size:14px}.subnav a{font-size:12px}.button{font-size:13px}.sidebar-actions{grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 16px}.sidebar-actions .button{padding:0 8px;white-space:nowrap;min-height:36px;gap:6px}.sidebar-actions .icon{width:16px;height:16px}.sidebar-actions .button .icon:last-child{margin-left:0}.brand-code{font-size:14px}.search-box input{font-size:13px}.breadcrumb{font-size:13px}.top-pdf{font-size:12px}
/* The home page fits the viewport; chapter content remains scrollable. */
body[data-chapter="home"] .topbar{height:60px}body[data-chapter="home"] .home-page{height:calc(100dvh - 60px);max-width:1350px;padding:19px 34px;display:flex;flex-direction:column;gap:14px;min-height:0}body[data-chapter="home"] .welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0;flex-shrink:0;min-height:110px}.welcome-copy{min-width:0}.welcome-photo{width:240px;height:110px;flex:none;border-radius:8px;overflow:hidden}.welcome-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.7);opacity:.82}body[data-chapter="home"] .eyebrow{margin-bottom:8px;font-size:12px}body[data-chapter="home"] .welcome h1{font-size:30px;margin-bottom:6px;line-height:1.4;letter-spacing:0}body[data-chapter="home"] .standard-code{font-size:16px;margin-bottom:8px}body[data-chapter="home"] .standard-dates{font-size:12px;gap:20px}body[data-chapter="home"] .entry-grid{flex-shrink:0}body[data-chapter="home"] .entry-card{padding:15px 18px;display:grid;grid-template-columns:36px 1fr;column-gap:13px;min-height:125px}body[data-chapter="home"] .entry-icon{grid-row:1/4;width:36px;height:36px;margin:0}body[data-chapter="home"] .entry-card h2{font-size:16px;margin-bottom:5px}body[data-chapter="home"] .entry-card p{font-size:13px;margin:0 0 10px;line-height:1.7}body[data-chapter="home"] .entry-action{font-size:13px}body[data-chapter="home"] .continue-card{flex-shrink:0;margin:0;padding:7px 15px;min-height:34px;font-size:12px}body[data-chapter="home"] .quick-section{margin:0;flex:1;min-height:162px;display:flex;flex-direction:column;justify-content:center}body[data-chapter="home"] .section-title{margin-bottom:10px}body[data-chapter="home"] .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body[data-chapter="home"] .quick-card{padding:12px 16px;min-height:61px}body[data-chapter="home"] .quick-card h3{font-size:14px;margin-bottom:3px}body[data-chapter="home"] .quick-card p{font-size:12px}body[data-chapter="home"] .section-title>span{font-size:12px}body[data-chapter="home"] .tool-section{flex-shrink:0;margin:0;padding:12px 18px;min-height:60px}body[data-chapter="home"] .tool-section p{font-size:12px;margin-top:3px}body[data-chapter="home"] .home-bottom{flex-shrink:0;margin:0;padding:12px 0 0;gap:28px}body[data-chapter="home"] .home-bottom h2{font-size:13px;margin-bottom:5px}body[data-chapter="home"] .home-bottom p{font-size:12px;margin-bottom:4px;line-height:1.65}body[data-chapter="home"] .home-bottom a{font-size:12px}body[data-chapter="home"] .chapter-link{padding-top:4px;padding-bottom:4px}
/* Current approved layout: wider directory, compact one-screen home. */
:root{--sidebar:400px}.chapter-link{white-space:nowrap}.nav-chapter summary>.icon{margin-right:4px}.chapter-nav{padding-left:12px;padding-right:12px}.sidebar-fixed{padding:22px 20px 16px}.brand-heading{font-size:18px}.brand-code{margin-top:8px}.standard-meta{display:flex;align-items:center;gap:24px;white-space:nowrap}body[data-chapter="home"] .standard-code{margin:0;font-size:16px}body[data-chapter="home"] .standard-dates{font-size:13px;gap:22px}body[data-chapter="home"] .welcome{min-height:90px}body[data-chapter="home"] .welcome h1{font-size:32px;margin:0 0 12px}body[data-chapter="home"] .quick-section{justify-content:center}body[data-chapter="home"] .quick-card{min-height:66px}body[data-chapter="home"] .home-page{gap:15px}
@media(max-width:1359px) and (min-width:801px){:root{--sidebar:370px}.home-page{padding-left:26px!important;padding-right:26px!important}.standard-meta{gap:18px}body[data-chapter="home"] .standard-dates{font-size:12px;gap:15px}body[data-chapter="home"] .entry-card{grid-template-columns:28px 1fr;padding:14px;gap:8px}body[data-chapter="home"] .entry-icon{width:28px;height:28px}body[data-chapter="home"] .entry-card h2{font-size:14px}body[data-chapter="home"] .quick-card{padding:11px 13px}body[data-chapter="home"] .quick-card p{font-size:11px}}
@media(max-width:800px){:root{--sidebar:350px}.sidebar{width:min(350px,94vw)}.chapter-link{font-size:13px}.topbar{height:56px}body[data-chapter="home"] .topbar{height:56px}body[data-chapter="home"] .home-page{height:calc(100dvh - 56px);padding:16px 18px;gap:11px}body[data-chapter="home"] .welcome{min-height:100px}body[data-chapter="home"] .welcome h1{font-size:26px;margin-bottom:9px;line-height:1.4}.standard-meta{gap:7px;flex-wrap:wrap}body[data-chapter="home"] .standard-code{font-size:13px}body[data-chapter="home"] .standard-dates{font-size:10px;gap:12px}body[data-chapter="home"] .standard-dates strong{margin-left:4px}body[data-chapter="home"] .entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body[data-chapter="home"] .entry-card{display:flex;align-items:flex-start;padding:12px 10px;min-height:114px;gap:0}body[data-chapter="home"] .entry-icon{width:26px;height:26px;margin-bottom:8px}body[data-chapter="home"] .entry-icon .icon{width:18px;height:18px}body[data-chapter="home"] .entry-card h2{font-size:12px;line-height:1.5;margin:0 0 8px;flex:1}body[data-chapter="home"] .entry-card p{display:none}body[data-chapter="home"] .entry-action{font-size:10px;gap:3px}body[data-chapter="home"] .entry-action .icon{width:12px;height:12px}body[data-chapter="home"] .quick-section{min-height:220px;justify-content:center}body[data-chapter="home"] .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body[data-chapter="home"] .quick-card{min-height:58px;gap:8px;padding:10px 9px}body[data-chapter="home"] .quick-card>.icon:last-child{display:none}body[data-chapter="home"] .quick-card>.icon{width:16px;height:16px}body[data-chapter="home"] .quick-card h3{font-size:12px}body[data-chapter="home"] .quick-card p{font-size:10px;line-height:1.5}body[data-chapter="home"] .tool-section{padding:12px;min-height:58px;gap:10px}body[data-chapter="home"] .tool-title h2{font-size:13px}body[data-chapter="home"] .tool-section p{font-size:10px}body[data-chapter="home"] .continue-card{padding:6px 10px;min-height:32px;gap:8px;flex-wrap:nowrap}body[data-chapter="home"] .continue-card span{font-size:10px;white-space:nowrap}body[data-chapter="home"] .continue-card strong{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body[data-chapter="home"] .continue-card>.icon{width:14px}.copy-link{right:-14px}.article-body{font-size:16px}.clause-number{margin-right:9px}.top-pdf{font-size:0}}
@media(max-height:720px) and (max-width:800px){body[data-chapter="home"] .home-page{gap:8px;padding:12px 16px}body[data-chapter="home"] .welcome{min-height:95px}body[data-chapter="home"] .welcome h1{font-size:23px}body[data-chapter="home"] .entry-card{min-height:100px;padding:9px}body[data-chapter="home"] .quick-section{min-height:190px}body[data-chapter="home"] .quick-card{min-height:50px;padding:7px 8px}body[data-chapter="home"] .section-title{margin-bottom:7px}body[data-chapter="home"] .tool-section{min-height:52px;padding:9px}body[data-chapter="home"] .tool-icon{width:28px;height:28px}}
.article-header{padding:0;border-bottom:0;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.article-header h1{margin:0;line-height:1.6}.article-header>.page-toc-toggle{white-space:nowrap}
@media(min-width:1360px){body:not([data-chapter="home"]) .topbar{position:fixed;left:var(--sidebar);right:0;width:auto}body:not([data-chapter="home"]) .main-shell{padding-top:66px}}
@media(max-height:720px) and (max-width:800px){body[data-chapter="home"] .quick-section{min-height:178px}body[data-chapter="home"] .quick-card{min-height:48px;padding:6px 7px}body[data-chapter="home"] .quick-card p{font-size:9px;line-height:1.4}body[data-chapter="home"] .entry-card{min-height:93px}body[data-chapter="home"] .tool-section{min-height:48px}.tool-section .tool-icon{height:26px;width:26px}}
body[data-chapter="home"] .chapter-nav{padding-bottom:6px}
@media(max-height:850px) and (min-width:801px){body[data-chapter="home"] .sidebar-fixed{padding:16px 20px 12px}body[data-chapter="home"] .sidebar-actions{margin:12px 0;gap:8px}body[data-chapter="home"] .search-box{padding:7px 10px}body[data-chapter="home"] .directory-heading{padding-top:8px;padding-bottom:6px}body[data-chapter="home"] .chapter-link{line-height:1.4;padding-top:2px;padding-bottom:2px}body[data-chapter="home"] .nav-home{padding-top:5px;padding-bottom:5px;margin-bottom:2px}}
.topbar{background:white}.clause{margin-bottom:14px}.clause:not(:has(.clause-number)){margin-bottom:11px}.article-body{line-height:1.85}.article-body .section-heading{margin-top:25px;margin-bottom:16px}
/* Standard reading typography and alignment. */
:root{--sidebar:370px}.brand{text-align:center}.brand-heading{justify-content:center;align-items:center;font-size:17px;gap:9px}.brand-heading .icon{margin-top:0;width:22px;height:22px}.brand-code{margin-left:0;margin-top:9px;text-align:center;font-size:13px}.sidebar-fixed{padding-top:22px}.article-header h1{font-size:25px}.article-body{font-size:16px;line-height:1.8}.section-heading{font-size:19px}.clause-number{font-size:16px}.clause{margin-bottom:13px}.table-title{position:relative;display:block;text-align:center;margin-bottom:10px;min-height:24px}.table-title h3{font-size:15px;font-weight:600;line-height:1.65;text-align:center;padding:0 85px}.table-title>.source-link{position:absolute;right:0;top:4px;font-size:10px}.source-table table{font-size:14px;line-height:1.6;color:#243247}.source-table th,.source-table td{text-align:center;vertical-align:middle;padding:8px 11px}.source-table th{font-weight:550;background:#f1f5fa;color:#1e293b}.source-table .rating-grid{table-layout:fixed;min-width:620px}.source-table .katex{font-size:1em!important}.table-note{font-size:13px;line-height:1.75;color:#243247}.article-body figcaption{font-size:15px;line-height:1.65;text-align:center;font-weight:550}.commentary{font-size:14px;line-height:1.75;padding:12px 16px;margin-bottom:15px;color:#1e293b}.commentary-label{font-size:12px;line-height:1.6;font-weight:500;margin-bottom:6px;color:#243247}
@media(max-width:1359px) and (min-width:801px){:root{--sidebar:360px}}
@media(max-width:800px){:root{--sidebar:350px}.brand-heading{font-size:16px}.article-header h1{font-size:23px}.article-body{font-size:16px;line-height:1.8}.table-title h3{padding:0;font-size:14px}.table-title>.source-link{position:static;display:block;text-align:right;margin-top:3px}.source-table th,.source-table td{padding:8px 10px}.commentary{font-size:14px;padding:11px 13px}}
.source-table table,.source-table th,.source-table td,.source-table tr:first-child th,.source-table tbody tr:hover{background:transparent}.source-table th,.source-table td{text-align:center;vertical-align:middle}
.clause.subclause{padding-left:1.5em}.clause.subclause>p{text-indent:0}
.chapter-nav{border-top:1px solid var(--line);padding-top:9px}
/* Stronger brand header and blue resource controls. */
.brand-heading{font-size:18.5px;font-weight:650;line-height:1.5;gap:11px;letter-spacing:.15px}.brand-symbol{width:34px;height:34px;flex:none;display:grid;place-items:center;background:var(--blue);border:1px solid #1d5bd9;border-radius:8px;box-shadow:0 3px 9px #2765e914}.brand-heading .brand-symbol .icon{width:23px;height:23px;margin:0;filter:brightness(0) invert(1)}.brand-code{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:11px;letter-spacing:.15px}.brand-code span{margin-left:0;padding:2px 7px;font-size:10px;line-height:1.6;border:1px solid #d8e5fc;border-radius:4px;background:#eef4ff;color:var(--blue)}.sidebar-actions .button{background:var(--blue);border-color:var(--blue);color:white;border-radius:5px;min-height:37px;font-weight:500}.sidebar-actions .button .icon{filter:brightness(0) invert(1)}.sidebar-actions .button:not(:disabled):hover{background:#1b56d2;border-color:#1b56d2;color:white}.sidebar-actions .button:disabled{background:var(--blue);color:white;opacity:.68;cursor:not-allowed}.table-title h3{padding:0}
@media(max-width:800px){.brand-heading{font-size:18px}.brand-symbol{width:32px;height:32px}.brand-heading .brand-symbol .icon{width:21px;height:21px}}
/* Directory rhythm is identical on the portal and every reading page. */
body .sidebar .chapter-nav .chapter-link{height:32px;min-height:32px;line-height:20px;padding:6px 10px;font-size:14px;margin:0;white-space:nowrap}body .sidebar .chapter-nav .nav-chapter>summary{height:32px;min-height:32px;margin:0;padding:0;align-items:center}body .sidebar .chapter-nav .nav-home{height:36px;min-height:36px;line-height:20px;padding:8px 10px;font-size:14px;margin:0}body .sidebar .chapter-nav .site-home-section{padding-bottom:9px;margin-bottom:7px;border-bottom:1px solid var(--line)}body .sidebar .chapter-nav .subnav{margin:4px 13px 6px;padding-left:10px}body .sidebar .chapter-nav .subnav a{display:flex;align-items:center;min-height:28px;height:28px;line-height:18px;font-size:12px;padding:5px 5px;margin:0}body .sidebar .chapter-nav .chapter-link.active{font-weight:600}body .sidebar .chapter-nav .nav-chapter summary>.icon{flex:none;margin:0 6px;width:12px;height:12px}body .sidebar .chapter-nav{scrollbar-gutter:stable}
@media(max-width:800px){body .sidebar .chapter-nav .chapter-link{font-size:13px}}
body .sidebar .sidebar-fixed{padding:22px 20px 16px}body .sidebar .sidebar-actions{margin:17px 0 16px}body .sidebar .search-box{padding:9px 10px}
.header-actions{display:flex;align-items:center;gap:8px;flex:none}.header-actions .header-action{height:36px;min-height:36px;padding:0 12px;gap:7px;background:var(--blue);border:1px solid var(--blue);border-radius:5px;color:white;font-size:12px;font-weight:500;white-space:nowrap;opacity:1}.header-actions .header-action:hover{background:#1b56d2;border-color:#1b56d2;color:white}.header-actions .icon{width:16px;height:16px;filter:brightness(0) invert(1)}.header-actions .compact-label{display:none}.breadcrumb{flex:1;overflow:hidden}.breadcrumb>span:last-child{min-width:0}.sidebar-fixed .search-box{margin-top:21px}
@media(max-width:1100px) and (min-width:801px){.header-actions{gap:6px}.header-actions .header-action{padding:0 8px;font-size:11px;gap:5px}.header-actions .icon{width:14px;height:14px}}
@media(max-width:800px){body .main-shell .topbar{height:82px;padding:9px 16px;flex-direction:column;justify-content:center;align-items:stretch;gap:8px}.breadcrumb{flex:none;min-height:20px;font-size:12px}.header-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.header-actions .header-action{height:31px;min-height:31px;padding:0 6px;font-size:11px;gap:5px}.header-actions .icon{width:14px;height:14px}.header-actions .full-label{display:none}.header-actions .compact-label{display:inline}.sidebar-fixed .search-box{margin-top:18px}}
.header-actions .header-action{background:transparent;border-color:#c8d4e5;color:var(--text);font-weight:500;box-shadow:none}.header-actions .header-action:hover{background:#f7faff;border-color:#91afe0;color:var(--blue)}.header-actions .icon{filter:none;opacity:.7}.header-actions .header-action:hover .icon{opacity:1}
.clause.subclause-nested{padding-left:3em}.article-header{position:sticky;top:66px;z-index:10;background:var(--bg);padding:8px 0;margin-bottom:16px;gap:12px}.article-header h1{flex:1;min-width:0}.chapter-pager-top{display:flex;align-items:center;gap:7px;margin:0;flex:none}.chapter-pager-top a,.chapter-pager-top a.previous{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:6px;position:static;min-height:34px;height:34px;padding:0 10px;background:white;border:1px solid #ccd8e9;border-radius:5px;white-space:nowrap}.chapter-pager-top a .icon{position:static;width:14px;height:14px}.chapter-pager-top a span{font-size:12px;color:var(--text);line-height:18px}.chapter-pager-top a:hover{background:#f7faff;border-color:#9cb9e8}.reader-page .source-block{scroll-margin-top:126px}
@media(max-width:1359px) and (min-width:801px){.article-header{top:66px}}
@media(max-width:800px){.article-header{top:82px;display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 0}.article-header h1{grid-column:1/-1}.chapter-pager-top{justify-self:start}.article-header>.page-toc-toggle{justify-self:end}.chapter-pager-top a{height:32px;min-height:32px}.reader-page .source-block{scroll-margin-top:185px}}
.reader-page .source-block{scroll-margin-top:var(--reader-scroll-offset,126px)}
.brand-code{font-size:14px}.brand-code span{font-size:11px}
body .sidebar .chapter-nav .nav-chapter>summary{border-radius:5px;cursor:pointer}
body .sidebar .chapter-nav .nav-chapter>summary:hover{background:#f4f7fc}
body .sidebar .chapter-nav .nav-chapter>summary:has(.chapter-link.active){background:var(--soft);box-shadow:none}
body .sidebar .chapter-nav .nav-chapter>summary .chapter-link,body .sidebar .chapter-nav .nav-chapter>summary .chapter-link:hover,body .sidebar .chapter-nav .nav-chapter>summary .chapter-link.active{background:transparent}
body .sidebar .chapter-nav .nav-chapter>summary:has(.chapter-link.active)>.icon{opacity:1;filter:invert(35%) sepia(93%) saturate(2500%) hue-rotate(214deg) brightness(94%) contrast(92%)}
