/* Preview B: forks-inspired repository interface. Content and data bindings are untouched. */
*{scrollbar-color:#3d444d #0d1117}
html,body{background:#0d1117;color:#e6edf3}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:13px;line-height:1.55}
html.front,html.front body{height:auto;min-height:100%;overflow:auto}
a,a:visited{color:#4493f8;text-decoration:none}a:hover{color:#79b8ff;text-decoration:underline}
.t-title,.t-page{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#f0f6fc;letter-spacing:-.025em}
.t-title{font-size:25px;line-height:1.22}.t-page{font-size:21px;line-height:1.25}
.t-body,.para{font-size:13px;line-height:1.65}.t-small,.caption{font-size:11px;line-height:1.45}
.t-head{font-size:12px;line-height:1.45;color:#f0f6fc}.t-nav,.t-crumb{font-size:12px}
.t-mono,.t-read,.mono,table.tb,.code{font-family:"JetBrains Mono",Consolas,monospace}
.t-read{color:#f0f6fc}.t-read.up{color:#3fb950}.t-read.down{color:#f85149}
.ink2{color:#9198a1}.ink3{color:#656c76}
.hdr{height:61px;background:#010409;border-bottom:1px solid #3d444d;padding:0 max(22px,calc((100vw - 1440px)/2));gap:20px}
.hdr-left>a.t-crumb{color:#f0f6fc;font-size:17px;font-weight:700}.hdr-left>a.t-crumb:hover{color:#4493f8}
.hdr-nav{height:100%;gap:7px}.hdr-nav>span{height:100%;align-items:center}.hdr-nav a{height:100%;display:flex;align-items:center;padding:0 8px;border-bottom:2px solid transparent;color:#c9d1d9}
.hdr-nav a.active{border-color:#f78166;color:#f0f6fc;text-decoration:none}.hdr-nav a:hover{background:#151b23;text-decoration:none}
.hdr-nav .sep{display:none}.hdr-nav svg{height:15px}
.body,html.front .body{height:auto;min-height:calc(100vh - 61px);overflow:visible;max-width:1440px;margin:0 auto}
.front-main,.main{width:calc(100% - 340px);max-width:1080px;margin:0;padding:28px 32px 72px 24px}
.side{top:85px;right:max(20px,calc((100vw - 1440px)/2 + 24px));width:294px;height:calc(100vh - 110px);overflow-y:auto;background:#0d1117;border:1px solid #3d444d;border-radius:7px}
.side-sec{padding:12px 16px;border-bottom:1px solid #3d444d}.side-sec:last-child{border-bottom:0}
.side-sec a{line-height:1.7}.kv{padding:3px 0}.kv .v{color:#f0f6fc}
.submitted{height:auto;margin:0 0 16px;color:#9198a1}
.titleblock{height:auto;min-height:112px;padding:18px;background:#151b23;border:1px solid #3d444d;border-radius:7px;gap:16px;margin-bottom:22px;align-items:center}
.square{width:76px;height:76px;background:#010409;border:1px solid #3d444d;border-radius:7px;overflow:hidden}
.front-main>p{font-size:13px;line-height:1.7}.fields{padding:11px 14px;background:#0d1117;border:1px solid #3d444d;border-radius:6px}
.fields .r{height:auto;min-height:20px;overflow:visible;white-space:normal}
.band{height:auto;min-height:400px;gap:14px;margin-top:20px;align-items:stretch}
.band-note,.band-chart,.band-q{width:auto;flex:1;min-width:0;padding:14px;background:#0d1117;border:1px solid #3d444d;border-radius:6px;overflow:visible}
.band-chart{flex:1.45;min-height:350px}.band-chart .chartwrap{min-height:280px}.band-q{flex:1.1}
.band{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.band-note{grid-column:1/-1}.band-note .justify{text-align:left}
table.tb th{background:#151b23;color:#9198a1;border-bottom:1px solid #3d444d;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
table.tb td{border-bottom:1px solid #30363d}table.tb tbody tr:nth-child(2n) td{background:#151b23}
.caption{margin:20px 0 7px;padding:8px 12px;background:#151b23;border:1px solid #3d444d;border-radius:6px;color:#c9d1d9;font-weight:600}
.code{background:#010409;border:1px solid #3d444d;border-radius:6px;padding:14px;color:#c9d1d9}
.sec-head{margin:22px 0 8px;padding-bottom:7px;border-bottom:1px solid #3d444d;font-size:14px;color:#f0f6fc}
.devbtn,.devov button{background:#212830;border:1px solid #3d444d;border-radius:6px;color:#f0f6fc}.devbtn:hover,.devov button:hover{background:#30363d}
.devov{background:#151b23;border:1px solid #3d444d;border-radius:8px;box-shadow:0 8px 24px #0009}.devov input{background:#010409;border:1px solid #3d444d;color:#f0f6fc}
svg text{fill:#c9d1d9}
@media(max-width:1100px){.hdr{height:auto;min-height:61px;flex-wrap:wrap;padding:10px 16px}.hdr-nav{flex-wrap:wrap}.hdr-nav a{height:34px}.front-main,.main{width:100%;max-width:none;padding:20px}.side{position:static;width:auto;height:auto;margin:0 20px 25px;border-radius:6px}}
@media(max-width:640px){.band{grid-template-columns:1fr}.band-note{grid-column:auto}.t-title{font-size:20px}.titleblock{align-items:flex-start}}

/* Repository layout: two-row header, framed file content and review-style panels. */
body{font-size:14px;line-height:1.55}
.hdr{height:116px;display:grid;grid-template-columns:1fr;grid-template-rows:58px 58px;align-items:stretch;justify-content:initial;gap:0;padding:0 max(24px,calc((100vw - 1440px)/2 + 24px));background:#010409}
.hdr-left{align-items:center;gap:10px;min-width:0}
.hdr-left>a.t-crumb{font-size:20px;font-weight:600;letter-spacing:-.03em}
.hdr-left>a.t-crumb:first-child{color:#4493f8}
.hdr-left .ink3{font-size:17px;color:#656c76}
.hdr-nav{justify-content:flex-start;align-items:stretch;height:58px;gap:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.hdr-nav::-webkit-scrollbar{display:none}
.hdr-nav>span{height:58px;flex:none}
.hdr-nav a{height:58px;padding:0 11px;border-bottom:2px solid transparent;font-size:13px;font-weight:500;color:#c9d1d9;white-space:nowrap}
.hdr-nav a:hover{background:#151b23;color:#f0f6fc}
.hdr-nav a.active{color:#f0f6fc;border-bottom-color:#f78166;background:transparent}
.hdr-nav>span:last-child{margin-left:4px}
.body,html.front .body{min-height:calc(100vh - 116px);max-width:1440px;padding:24px 24px 60px}
.front-main,.main{width:calc(100% - 332px);max-width:none;margin:0;padding:0 24px 30px;border:1px solid #3d444d;border-radius:6px;background:#0d1117;box-shadow:0 1px 0 #010409}
.front-main>.submitted{height:auto;min-height:44px;margin:0 -24px 24px;padding:12px 24px;background:#151b23;border-bottom:1px solid #3d444d;color:#9198a1;font-style:normal;font-size:11px}
.main>h1.t-page{margin:0 -24px 24px;padding:18px 24px;background:#151b23;border-bottom:1px solid #3d444d;font-size:20px;font-weight:600;line-height:1.35}
.front-main .titleblock{border:0;border-radius:0;background:transparent;margin:0 0 20px;padding:0 0 22px;border-bottom:1px solid #3d444d;min-height:100px}
.front-main .titleblock .t-title{font-size:27px;line-height:1.22;font-weight:600}
.front-main .square{width:62px;height:62px}
.front-main>p.t-body{font-size:14px;line-height:1.7;margin-bottom:15px;text-align:left}
.front-main>.t-body.mb8{font-size:13px;line-height:1.6;margin-bottom:18px}
.front-main>.fields{border:1px solid #3d444d;border-radius:6px;padding:14px 17px;background:#010409;margin-bottom:20px}
.front-main>.fields .r{min-height:22px}
.front-main>.t-body.mb8:has(.slot){height:auto!important;min-height:0;margin-bottom:20px;padding:12px 16px;border:1px solid #3d444d;border-radius:6px;background:#151b23}
.front-main>.t-body.mb8:has(.slot) .t-head{margin-bottom:5px;font-size:13px}
.front-main>.fields.mb12{border-color:#3d444d;background:#151b23}
.main>.para{font-size:14px;line-height:1.7;margin:0 0 18px;text-align:left}
.main .sec-head{font-size:14px;margin:28px 0 0;padding:10px 14px;background:#151b23;border:1px solid #3d444d;border-bottom:0;border-radius:6px 6px 0 0}
.main .sec-head+.code{border-radius:0 0 6px 6px;border-top:0}
.main .caption{font-size:13px;margin:25px 0 0;padding:10px 14px;border-radius:6px 6px 0 0;border-bottom:0}
.main .caption+table.tb{border-radius:0 0 6px 6px}
.main>div:not([class]){line-height:1.7}
.main>div:not([class]):has(>.sec-head){margin:16px 0;border:1px solid #3d444d;border-radius:6px;overflow:hidden}
.main>div:not([class])>.sec-head{margin:0;padding:10px 14px;border:0;border-bottom:1px solid #3d444d;border-radius:0}
.main>div:not([class])>.para{margin:0;padding:14px}
.main .code{font-size:12px;line-height:1.55;overflow-x:auto;white-space:pre-wrap;word-break:break-word}
table.tb{border:1px solid #3d444d;border-collapse:separate;border-spacing:0;border-radius:6px;font-size:12px;line-height:1.5;overflow:hidden}
table.tb th{padding:9px 12px;background:#151b23;font-size:11px;font-weight:600}
table.tb td{height:auto;padding:8px 12px;border-bottom:1px solid #30363d}
table.tb tr:last-child td{border-bottom:0}
table.tb.compact td{height:auto;padding:5px 10px}
.band{margin:26px 0 0;gap:16px}
.band-note,.band-chart,.band-q{padding:16px;border-color:#3d444d;background:#0d1117}
.band-note .justify{text-align:left;font-size:13px;line-height:1.7}
.band-chart .chartwrap{min-height:300px}
.band-q table.tb{border:0;border-radius:0;font-size:11px}
.band-q{display:block!important}
.band-q table.tb th,.band-q table.tb td{padding:5px 6px}
.side{position:fixed;top:140px;right:max(24px,calc((100vw - 1440px)/2 + 24px));height:calc(100vh - 164px);width:300px;border-color:#3d444d;background:#0d1117;box-shadow:0 1px 0 #010409}
.side-sec{padding:16px;border-color:#3d444d}
.side-sec .t-head{font-size:13px;line-height:1.4;margin-bottom:7px}
.side-sec a{line-height:1.8}
.side-sec:has(.t-read){background:#151b23}
.side-sec .kv{padding:4px 0;border-bottom:1px solid #21262d}
.side-sec .kv:last-child{border-bottom:0}
.t-mono,.t-read,.slot{font-size:11px;line-height:1.5}
.t-head{font-size:12px;line-height:1.5}
.fields .t-mono,.side .t-mono{overflow-wrap:anywhere;word-break:break-word}
a:focus-visible,button:focus-visible{outline:2px solid #4493f8;outline-offset:2px}
@media(max-width:1100px){.hdr{height:auto;min-height:116px;padding:0 20px}.hdr-left{min-height:58px}.hdr-nav{height:58px;flex-wrap:nowrap}.body,html.front .body{padding:20px}.front-main,.main{width:100%;padding:0 20px 25px}.side{position:static;width:auto;height:auto;margin:20px 0 0}.main>h1.t-page,.front-main>.submitted{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}}
@media(max-width:640px){.hdr{padding:0 12px}.hdr-left>a.t-crumb{font-size:15px}.hdr-left>a.t-crumb:nth-of-type(2){font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hdr-nav{gap:2px}.hdr-nav a{font-size:12px;padding:0 8px}.body,html.front .body{padding:12px}.front-main,.main{padding:0 14px 20px}.main>h1.t-page,.front-main>.submitted{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.front-main .titleblock .t-title{font-size:20px}.front-main .square{width:50px;height:50px}.side{margin-top:12px}.band{grid-template-columns:1fr}.band-note{grid-column:auto}}
