.side-rail{display:none}
.toc.side-toc{display:none}
@media (min-width:1200px){
  .reading-shell{margin-left:max(16px,calc((100% - 1250px)/2));margin-right:330px}
  .side-rail{display:flex;flex-direction:column;gap:12px;position:fixed;right:max(16px,calc((100% - 1250px)/2));top:128px;width:296px;max-height:calc(100vh - 144px);z-index:4}
  .side-profile{background:#fffdf9;border:1px solid var(--line,#e7dfcf);border-radius:14px;padding:16px;box-shadow:0 10px 28px rgba(23,53,91,.12);flex:none;font-family:inherit}
  .side-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
  .side-profile-icon{width:64px;height:64px;border-radius:14px;flex:none;background:var(--paper,#f8f4ea)}
  .side-profile-name{font-weight:700;font-size:16px;color:var(--navy,#17355b);line-height:1.35}
  .side-profile-role{font-size:12px;color:#5c6a7a;line-height:1.4}
  .side-profile-bio{font-size:13px;line-height:1.7;margin:0 0 10px}
  .side-profile-more{font-size:13px;color:var(--accent,#b96800);font-weight:700;text-decoration:none}
  .toc.side-toc{display:block;position:static;width:auto;margin:0;z-index:auto;font-size:13px;padding:14px 16px;box-shadow:0 10px 28px rgba(23,53,91,.12);flex:1 1 auto;min-height:0;overflow-y:auto}
  .toc.side-toc summary{pointer-events:none;list-style:none;font-size:14px}
  .toc.side-toc summary::-webkit-details-marker{display:none}
  .toc.side-toc ol{padding-left:18px}
  .toc.side-toc li{margin:2px 0}
  .toc.side-toc ol.toc-sub{margin-top:2px}
  .toc.side-toc ol.toc-sub li{margin:2px 0}
  .toc.side-toc a{display:block;padding:2px 6px;margin:-2px -6px;border-radius:6px;line-height:1.45}
  .toc.side-toc a.is-active{background:#fff;color:var(--accent,#b96800);box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
}
