/* Shared page grammar for F: 1200px shell, 8px rhythm, 280px reading rail. */
.theme-balanced{--shell:1200px;--page-pad:24px;--surface:#f4f5f7;--line:#e0e3e8;--radius:12px;--ink:#272b32;--muted:#606873;--accent:#245ea8;background:var(--surface);color:var(--ink)}
.theme-balanced .header-inner,.theme-balanced .footer-inner,.theme-balanced .dl-container{max-width:var(--shell)}
.theme-balanced .header nav{gap:20px;font-size:14px}.theme-balanced .header nav a{padding:8px 0;position:relative}.theme-balanced .header nav a[aria-current]::after{content:'';height:2px;background:var(--action);position:absolute;bottom:0;left:0;right:0}
.theme-balanced.download-inner main{max-width:none;padding:0;background:var(--surface)}
.theme-balanced .b-wrap,.theme-balanced.download-inner .page-heading,.theme-balanced.download-inner .content-body{width:100%;max-width:var(--shell);padding-left:var(--page-pad);padding-right:var(--page-pad);margin:auto}
.theme-balanced .b-wrap{padding-bottom:64px}.theme-balanced .b-page-head{background:#fff;border-bottom:1px solid var(--line);padding:28px max(var(--page-pad),calc((100% - 1152px)/2)) 42px;margin-bottom:36px}
.theme-balanced .b-page-head h1{font-size:36px;letter-spacing:-.6px;margin:18px 0 14px;line-height:1.4}.theme-balanced .b-page-head>p{max-width:780px;font-size:16px;line-height:1.9;margin:0}
.theme-balanced .b-crumb{display:flex;gap:12px;font-size:12px;color:var(--muted);font-weight:400;align-items:center}.theme-balanced .b-crumb a:hover{color:var(--accent)}
.theme-balanced .b-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;min-width:0}.theme-balanced .b-panel h2{font-size:23px;margin:0 0 16px}.theme-balanced .b-panel p:last-child{margin-bottom:0}
.theme-balanced .b-section{padding:44px 0}.theme-balanced .b-section-title{margin-bottom:24px}.theme-balanced .b-section-title>span,.theme-balanced .b-kicker{font-size:12px;letter-spacing:.5px;font-weight:600;color:var(--muted);display:block;margin-bottom:10px}.theme-balanced .b-section-title h2{font-size:28px;margin:0}
.theme-balanced .b-link{font-size:14px;color:var(--accent);font-weight:600;display:inline-block;padding:6px 0}.theme-balanced .b-tag{background:#f4f5f7;padding:4px 10px;border-radius:4px;color:var(--muted);font-size:12px}
.theme-balanced .b-release-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px;font-size:14px}.theme-balanced .b-release-bar a{color:var(--accent)}
.theme-balanced .b-download-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.theme-balanced .b-download{padding:32px;display:flex;flex-direction:column;position:relative}.theme-balanced .b-recommended{border-top:3px solid var(--action)}.theme-balanced .b-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.theme-balanced .b-filetype{background:#eef1f5;color:#455064;padding:12px;border-radius:9px;font-size:15px;font-weight:700}.theme-balanced .b-download h2{font-size:27px}.theme-balanced .b-download>p{margin-top:0;min-height:56px;font-size:15px}.theme-balanced .b-specs{border-top:1px solid var(--line);padding-top:16px;margin:0 0 24px;font-size:14px}.theme-balanced .b-specs>div{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.theme-balanced .b-specs dt{color:var(--muted);flex-shrink:0}.theme-balanced .b-specs dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}.theme-balanced .b-specs code{font-family:Consolas,monospace;font-size:12px}.theme-balanced .b-download .button{display:flex;justify-content:space-between}.theme-balanced .b-sub-link{text-align:center;color:var(--muted);font-size:13px;margin-top:16px}
.theme-balanced .b-platform-note{padding:24px 28px;background:#e9edf2;border-radius:var(--radius);margin-top:28px}.theme-balanced .b-platform-note p{font-size:14px;margin:6px 0 12px}.theme-balanced .b-platform-note a{font-size:14px;color:var(--accent);display:inline-block;margin-right:24px}
.theme-balanced .b-steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none;gap:24px;margin:28px 0}.theme-balanced .b-steps li:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:34px;height:34px;border:1px solid #c9cfd8;border-radius:50%;margin-bottom:14px;font-weight:600}.theme-balanced .b-steps h3{font-size:17px;margin-bottom:8px}.theme-balanced .b-steps p{font-size:14px;margin:0}
.theme-balanced .b-table-wrap{overflow:auto}.theme-balanced table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.theme-balanced th,.theme-balanced td{padding:16px;border-bottom:1px solid var(--line);vertical-align:top}.theme-balanced thead{background:var(--surface)}.theme-balanced tbody th{width:150px;white-space:nowrap;font-weight:600}.theme-balanced .b-faq{max-width:900px}.theme-balanced .b-faq a{color:var(--accent)}
.theme-balanced .b-jump{display:flex;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line);padding-bottom:24px}.theme-balanced .b-jump a{padding:9px 18px;background:#fff;border:1px solid var(--line);border-radius:6px;font-size:14px}
.theme-balanced .b-feature-row{display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:48px;padding:48px 0;border-bottom:1px solid var(--line);scroll-margin-top:100px}.theme-balanced .b-feature-row h2{font-size:28px;line-height:1.5}.theme-balanced .b-feature-row p,.theme-balanced .b-feature-row li{font-size:15px;line-height:1.9}.theme-balanced .b-feature-row ul{padding-left:20px;color:var(--muted)}.theme-balanced .b-shot{margin:0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.theme-balanced .b-shot img{width:100%;height:auto;border-radius:6px}.theme-balanced .b-shot figcaption{font-size:12px;padding:4px 8px}.theme-balanced .b-reverse>div{order:2}.theme-balanced .b-reverse>figure{order:1}.theme-balanced .b-grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.theme-balanced .b-grid-three h2{font-size:20px}.theme-balanced .b-grid-three p{font-size:15px}
.theme-balanced .b-about-intro{display:flex;gap:32px;align-items:center;margin-bottom:28px;padding:40px}.theme-balanced .b-about-intro>img{flex-shrink:0}.theme-balanced .b-about-intro h2{font-size:28px}.theme-balanced .b-about-columns{display:grid;grid-template-columns:1fr 1fr;gap:48px}.theme-balanced .b-principles{list-style:none;padding:0;margin:0}.theme-balanced .b-principles li{padding:14px 0;border-bottom:1px solid var(--line)}.theme-balanced .b-principles li:last-child{border:0}.theme-balanced .b-principles strong{display:block;font-size:15px}.theme-balanced .b-principles span{color:var(--muted);font-size:14px}.theme-balanced .b-resource-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.theme-balanced .b-resource-links a{background:#fff;border:1px solid var(--line);padding:22px;border-radius:8px;font-weight:600}.theme-balanced .b-resource-links span{display:block;font-weight:400;font-size:13px;color:var(--muted);margin-top:8px}
.theme-balanced .b-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:start}.theme-balanced .b-sidebar{position:sticky;top:96px;display:grid;gap:20px}.theme-balanced .b-sidebar .b-panel{padding:22px}.theme-balanced .b-sidebar h2{font-size:17px}.theme-balanced .b-sidebar p,.theme-balanced .b-side-note{font-size:13px;color:var(--muted)}.theme-balanced .b-side-note{padding:0 10px}.theme-balanced .b-side-links a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.theme-balanced .b-side-links a:last-child{border:0}.theme-balanced .b-side-links span{color:var(--muted)}.theme-balanced .b-toc a{display:block;padding:8px 0;font-size:14px;color:var(--muted)}
.theme-balanced .b-search{padding:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.theme-balanced .b-search label{font-size:14px;font-weight:600;display:block;margin-bottom:10px}.theme-balanced .b-search>div{display:flex;gap:10px}.theme-balanced .b-search input{min-width:0;flex:1;width:100%;font:inherit;font-size:14px;padding:12px 14px;border:1px solid #b8c1cc;border-radius:6px;background:#fff;color:var(--ink)}.theme-balanced .b-search button,.theme-balanced [data-reset]{padding:10px 20px;min-height:44px;border:0;border-radius:6px;background:#303640;color:#fff}.theme-balanced .b-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.theme-balanced .b-filters button{font-size:13px;min-height:44px;padding:9px 16px;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:6px}.theme-balanced .b-filters button[aria-pressed=true]{color:#fff;background:#303640;border-color:#303640}.theme-balanced .b-result{font-size:13px;margin:0 0 18px}.theme-balanced .b-post-list{display:grid;gap:20px}.theme-balanced .b-post h2{font-size:23px;line-height:1.5;margin-bottom:12px}.theme-balanced .b-post p{font-size:15px}.theme-balanced .b-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted)}.theme-balanced .b-article{padding:36px}.theme-balanced .b-article-top{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:30px}.theme-balanced .b-article .prose h2{scroll-margin-top:110px;font-size:24px}.theme-balanced .b-article .prose section{margin-bottom:32px}.theme-balanced .b-article .prose p{line-height:2}.theme-balanced .b-source{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px;margin-top:24px;line-height:1.9}.theme-balanced .b-source a{color:var(--accent);margin-right:10px}.theme-balanced .b-article-end{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px;padding-top:22px;margin-top:22px;border-top:1px solid var(--line);color:var(--accent)}.theme-balanced [hidden]{display:none!important}
.theme-balanced .content-body .article-layout{gap:32px;grid-template-columns:minmax(0,1fr) 280px}.theme-balanced .content-body .prose{background:#fff;padding:32px;border:1px solid var(--line);border-radius:var(--radius)}.theme-balanced .content-body .side-note{background:#fff;border-radius:var(--radius)}.theme-balanced .footer-inner>div:last-child{flex-wrap:wrap}.theme-balanced input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.theme-balanced .button,.theme-balanced .b-post,.theme-balanced .b-resource-links a,.theme-balanced .b-jump a{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.theme-balanced .button:hover{transform:translateY(-2px)}.theme-balanced .b-post:hover,.theme-balanced .b-resource-links a:hover{box-shadow:0 6px 20px #26364a0c;border-color:#bbc5d2;transform:translateY(-2px)}.theme-balanced .b-page-head{animation:b-enter .35s ease both}@keyframes b-enter{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:1100px){.theme-balanced .header nav{gap:12px;font-size:13px}.theme-balanced .header-inner{gap:16px}.theme-balanced .b-feature-row{gap:28px}.theme-balanced .b-reading-layout{grid-template-columns:minmax(0,1fr) 250px;gap:24px}}
@media(max-width:900px){.theme-balanced .header-inner{flex-wrap:wrap}.theme-balanced .header nav{order:4;width:100%;justify-content:center;margin:0}.theme-balanced .nav-download{margin-left:auto}.theme-balanced .b-reading-layout{grid-template-columns:minmax(0,1fr)}.theme-balanced .b-sidebar{position:static;grid-template-columns:1fr 1fr}.theme-balanced .b-side-note{grid-column:1/-1}.theme-balanced .content-body .article-layout{grid-template-columns:1fr}.theme-balanced .b-feature-row h2{font-size:25px}}
@media(max-width:760px){.theme-balanced{--page-pad:20px}.theme-balanced .header nav{justify-content:flex-start}.theme-balanced .b-page-head{padding-top:22px;padding-bottom:28px;margin-bottom:24px}.theme-balanced .b-page-head h1{font-size:28px;margin-top:16px}.theme-balanced .b-page-head>p{font-size:14px}.theme-balanced .b-wrap{padding-bottom:40px}.theme-balanced .b-panel{padding:22px}.theme-balanced .b-download-grid,.theme-balanced .b-grid-three,.theme-balanced .b-feature-row,.theme-balanced .b-about-columns,.theme-balanced .b-resource-links{grid-template-columns:1fr}.theme-balanced .b-download-grid{gap:20px}.theme-balanced .b-release-bar{align-items:flex-start;flex-direction:column;gap:8px}.theme-balanced .b-download h2{font-size:24px}.theme-balanced .b-download>p{min-height:0}.theme-balanced .b-specs{font-size:12px}.theme-balanced .b-specs code{font-size:11px}.theme-balanced .b-steps{grid-template-columns:1fr 1fr;gap:24px}.theme-balanced .b-section{padding:32px 0}.theme-balanced .b-section-title h2{font-size:25px}.theme-balanced th,.theme-balanced td{padding:12px 8px;font-size:13px}.theme-balanced tbody th{width:80px}.theme-balanced .b-platform-note{padding:22px}.theme-balanced .b-feature-row{padding:32px 0;gap:22px}.theme-balanced .b-reverse>div,.theme-balanced .b-reverse>figure{order:initial}.theme-balanced .b-about-intro{display:block;padding:24px}.theme-balanced .b-about-intro>img{width:68px;height:68px;margin-bottom:20px}.theme-balanced .b-about-intro h2{font-size:24px}.theme-balanced .b-about-columns{gap:20px}.theme-balanced .b-post h2{font-size:21px}.theme-balanced .b-sidebar{grid-template-columns:1fr}.theme-balanced .b-search{padding:18px}.theme-balanced .b-search button{padding:10px 14px}.theme-balanced .b-meta{gap:6px 12px;font-size:11px}.theme-balanced .b-article{padding:22px}.theme-balanced .b-article .prose h2{font-size:22px}.theme-balanced .b-article .prose p{font-size:15px}.theme-balanced .content-body .prose{padding:22px}.theme-balanced .b-jump{gap:8px}.theme-balanced .b-jump a{font-size:13px;padding:9px 12px}}
