:root{color-scheme:light;--ink:#171c22;--muted:#171c22;--paper:#fff;--surface:#f7f8fa;--nav:#263642;--link:#164b80;--line:#c8cdd3;--soft-line:#e1e4e8;--focus:#a34c0f;--note:#fff8e8;font-family:"Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;font-size:16px;line-height:1.8}
*{box-sizing:border-box}html{scroll-padding-top:1.25rem}body{margin:0;color:var(--ink);background:#f2f3f5}::selection{background:#cbdff3;color:#102a43}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.16em}a:hover{color:#123d6a;text-decoration-thickness:2px}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input{caret-color:var(--link)}input::placeholder{color:var(--ink);opacity:1}[hidden]{display:none!important}svg{vertical-align:middle}p{margin:0 0 1rem}h1,h2,h3{color:var(--ink);line-height:1.5;overflow-wrap:anywhere}h1{margin:0 0 1rem;font-size:1.875rem;font-weight:700}h2{margin:2.25rem 0 1rem;padding-bottom:.45rem;border-bottom:1px solid var(--line);font-size:1.25rem;font-weight:700}h3{margin:0 0 .35rem;font-size:1rem;font-weight:600}small{font-size:.875rem}time,.table-meta,.result-count{font-variant-numeric:tabular-nums}
.skip-link{position:fixed;top:-100px;left:1rem;z-index:10;padding:.6rem 1rem;background:#fff}.skip-link:focus{top:.5rem}.site-header{display:flex;align-items:center;gap:1rem;min-height:62px;padding:.5rem max(1.25rem,calc((100vw - 1280px)/2));background:var(--nav)}.brand{color:#fff;font-size:1.25rem;font-weight:700;text-decoration:none}.brand:hover{color:#fff}.header-search{display:flex;align-items:stretch;width:min(16rem,36vw);min-width:0;margin:0 0 0 auto}.header-search input{width:100%;min-width:0;min-height:44px;padding:.5rem;border:1px solid #8e99a5;border-right:0;border-radius:2px 0 0 2px;background:#fff;color:var(--ink);font-size:1rem}.header-search button{flex:0 0 44px;min-height:44px;padding:.5rem;border:1px solid #8e99a5;border-radius:0 2px 2px 0;background:#315d88;color:#fff}.header-search button:hover{background:#21496f}.header-search input:focus-visible{position:relative;z-index:1;outline-color:var(--focus)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.site-header :focus-visible{outline-color:#ffd18f}
.layout{display:grid;grid-template-columns:192px minmax(0,1fr);max-width:1320px;min-height:calc(100vh - 62px);margin-inline:auto;background:var(--paper)}.sidebar{background:#f5f6f8;border-right:1px solid var(--soft-line)}.sidebar details{position:sticky;top:0}.sidebar summary{display:none}.menu-inner{padding:1.25rem .85rem 2rem}.sidebar a{display:block;padding:.55rem .6rem;color:#284e77;font-size:.8125rem;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}.sidebar a:hover{background:#e7ecf2;text-decoration:underline}.sidebar a[aria-current=page]{color:#162d44;background:#dfe7f0;font-weight:700}.nav-heading{margin:1.5rem .6rem .35rem;padding-bottom:.35rem;border-bottom:1px solid #d6dbe1;font-size:.875rem}.main-content{min-width:0;padding:1.75rem 2.25rem 0}
.page-lead{max-width:47rem;color:var(--ink);font-size:.9375rem}.page-index{display:flex;gap:.75rem 1.5rem;flex-wrap:wrap;font-size:.8125rem;margin:1.25rem 0;padding:.75rem 1rem;background:#f6f7f9;border:1px solid var(--soft-line)}.search-form{max-width:44rem}.home-search{margin:1.5rem 0 2rem}.search-form label,.filter-search label{display:block;margin-bottom:.35rem;font-size:.8125rem;font-weight:600}.search-box{display:flex;gap:.5rem}.search-box input,.filter-search input{min-width:0;width:100%;min-height:44px;padding:.55rem .75rem;border:1px solid #8e99a5;border-radius:2px;background:#fff;color:var(--ink);font-size:1rem}.search-box button{flex:0 0 auto;min-height:44px;padding:.5rem 1.2rem;background:#315d88;border:1px solid #315d88;border-radius:2px;color:#fff;font-size:.875rem}.search-box button:hover{background:#21496f}
.guide-list{list-style:none;margin:0;padding:0}.guide-list li{padding:.8rem 0 .9rem;border-bottom:1px solid var(--soft-line)}.guide-list h3 a{text-decoration:underline}.guide-list p{margin:0;font-size:.875rem;color:var(--muted);line-height:1.9}.content-section{margin-top:2.5rem}.content-section p{max-width:47rem;font-size:.9375rem}.more-link{margin-top:.8rem;font-size:.875rem}.home-items{table-layout:fixed}.home-items th:first-child{width:38%}.home-items a{overflow-wrap:anywhere;font-weight:500}.site-footer{margin-top:3.5rem;padding:1.5rem 0 2rem;border-top:1px solid var(--line)}.site-footer nav{display:flex;flex-wrap:wrap;gap:.65rem 1.5rem;margin-bottom:.75rem}.site-footer a{font-size:.875rem}.site-footer small{display:block;color:var(--muted);font-size:.875rem}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:.65rem;font-size:.875rem;color:var(--muted);margin-bottom:1rem}.article{max-width:52rem}.article h1{margin-bottom:.75rem}.article-description{max-width:46rem;font-size:.875rem;color:var(--muted)}.verification{display:flex;flex-direction:column;margin:1rem 0 .35rem;gap:.15rem;color:var(--muted);font-size:.875rem}.version-note{max-width:46rem;color:var(--muted);font-size:.875rem;margin-bottom:1.5rem}.answer{margin:1.5rem 0;padding:1rem 1.15rem;background:#f5f7fa;border-block:1px solid #dce2e9}.answer p{margin:0;font-size:1rem;line-height:1.95;font-weight:600}.article-toc{padding:1rem 1.25rem;background:#fafbfc;border:1px solid var(--soft-line);max-width:46rem;margin:1.5rem 0 2rem}.article-toc h2{margin:0 0 .5rem;border:0;padding:0;font-size:.875rem}.article-toc ol{margin:0;padding-left:1.4rem;font-size:.875rem}.article-toc li{padding:.25rem 0}.prose{max-width:46rem;overflow-wrap:anywhere}.prose p{line-height:2}.prose li{padding-block:.3rem}.source-line{color:var(--muted);font-size:.875rem}
.article-sources{margin-top:2.75rem}.article-sources>p{font-size:.875rem;color:var(--muted)}.source-list{list-style:none;margin:0;padding:0}.source-list>li{display:flex;gap:.8rem;padding:1.1rem 0;border-bottom:1px solid var(--soft-line)}.source-list>li>div{min-width:0;overflow-wrap:anywhere}.source-id{color:var(--muted);min-width:1.6rem;padding-top:.15rem;font-size:.875rem}.source-list a{font-size:.875rem}.source-type{color:var(--muted);font-size:.875rem;margin:.3rem 0}.source-meta{display:grid;grid-template-columns:6.5rem minmax(0,1fr);gap:.5rem .85rem;margin:.75rem 0 0;font-size:.8125rem;line-height:1.9}.source-meta dt{color:var(--muted)}.source-meta dd{margin:0}.source-details summary{cursor:pointer;min-height:40px;padding:.5rem 0;font-size:.875rem;color:var(--link);text-decoration:underline;text-underline-offset:.2em}.related li{padding:.3rem 0}.related a{font-size:.875rem}.correction-link{font-size:.8125rem;margin-top:1.5rem}
.notice{max-width:52rem;background:var(--note);border:1px solid #d6c49a;padding:.9rem 1.1rem;margin:1.5rem 0}.notice h2{margin:0 0 .5rem;border:0;padding:0;font-size:.875rem;color:var(--ink)}.notice p{color:var(--ink);font-size:.8125rem;line-height:1.9;margin:0}.db-controls{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem 1rem;margin:1.5rem 0 1rem}.filter-search{flex:1 1 240px}.category-filters{border:0;padding:0;margin:0;display:flex;gap:.35rem}.category-filters legend{margin-bottom:.35rem;font-size:.8125rem;font-weight:600}.category-filters button,.reset-button,#clear-search{min-height:44px;padding:.55rem .8rem;color:#284e77;background:#f7f8fa;border:1px solid #9da9b6;border-radius:2px;font-size:.8125rem}.category-filters button[aria-pressed=true]{color:#fff;background:#315d88;border-color:#315d88}.category-filters button:hover,.reset-button:hover,#clear-search:hover{background:#e2eaf3;color:#153a5c}.result-count,.table-hint{color:var(--muted);font-size:.875rem;margin:.75rem 0}
.table-scroll{max-width:100%;overflow-x:auto;scrollbar-color:#8b99a7 #eef1f4}table{width:100%;border-collapse:collapse;background:#fff;font-size:.875rem;line-height:1.85}caption{padding:0 0 .5rem;font-size:.875rem;text-align:left;color:var(--muted)}th,td{border:1px solid var(--line);padding:.75rem .85rem;vertical-align:top;text-align:left}thead th{background:#edf0f4;font-size:.8125rem;font-weight:600}tbody th{font-weight:500}tbody th[lang="en"]{white-space:nowrap;overflow-wrap:normal}table p{margin:.4rem 0 0}table a{font-size:.8125rem}.item-table{min-width:800px}.item-table th:first-child{width:24%}.item-table th:nth-child(2){width:24%}.item-table th:nth-child(3){width:40%}.item-table th:nth-child(4){width:12%}.item-table tbody tr:target{background:#fff4d5}.item-en{display:block;font-size:.875rem;font-weight:600;overflow-wrap:anywhere}.item-ja{display:block;color:var(--muted);font-size:.875rem;margin-top:.35rem;font-weight:400}.category-tag{color:var(--ink);font-size:.875rem;font-weight:600}.table-meta{display:block;color:var(--muted);font-size:.875rem;margin-top:.4rem}
.empty-state{border:1px solid var(--line);background:#f8f9fb;padding:1.25rem}.empty-state h2{margin:0 0 .6rem;border:0;font-size:1.0625rem}.empty-state p{font-size:.875rem}.search-results{list-style:none;margin:0;padding:0;max-width:48rem}.search-results li{padding:1rem 0;border-bottom:1px solid var(--soft-line)}.search-results h2{margin:.2rem 0 .4rem;border:0;padding:0;font-size:1.0625rem}.search-results p{margin:0;font-size:.875rem;color:var(--muted)}.search-kind{color:var(--muted);font-size:.875rem}.timing-figure{margin:1.5rem 0;padding:1rem;border:1px solid var(--line)}.timing-figure ol{display:flex;gap:.35rem;flex-wrap:wrap;list-style:none;margin:0;padding:0}.timing-figure li{flex:1;min-width:80px;padding:.45rem;background:#edf0f4;text-align:center;font-size:.875rem}figcaption{font-size:.875rem;color:var(--muted);line-height:1.8;margin-top:.85rem}.button-link{display:inline-block;min-height:44px;padding:.55rem 1rem;color:#fff;background:#315d88}
@media(max-width:1000px){.layout{grid-template-columns:172px minmax(0,1fr)}.main-content{padding:1.5rem 1.5rem 0}.brand{font-size:1.125rem}}
@media(max-width:800px){body{background:#fff}.layout{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.sidebar details{position:static}.sidebar summary{display:list-item;min-height:48px;cursor:pointer;padding:.75rem 1.25rem;font-size:.8125rem}.menu-inner{padding:0 1rem 1rem}.primary-nav,.guide-nav{display:flex;flex-wrap:wrap}.guide-nav a{flex:1 1 45%}.nav-heading{margin-top:1rem}.main-content{padding:1.5rem 1.25rem 0}h1{font-size:1.5rem}h2{font-size:1.125rem}.site-header{min-height:60px;padding-inline:1.25rem;gap:.5rem}.brand{font-size:1.0625rem}.page-lead{font-size:.875rem}.guide-list h3{font-size:1rem}.source-meta{grid-template-columns:1fr;gap:.15rem}.source-meta dd{margin-bottom:.5rem}.article h1{font-size:1.5rem}.answer{padding:.85rem 1rem}.table-scroll table:not(.item-table){min-width:540px}.home-items{font-size:.8125rem}.home-items th:first-child{width:45%}.home-items th,.home-items td{padding:.6rem}.article-toc{padding:.85rem 1rem}.site-footer{margin-top:2.75rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{body{background:#fff}.site-header,.sidebar,.search-form,.db-controls,.site-footer,.skip-link{display:none!important}.layout{display:block}.main-content{padding:0}.table-scroll{overflow:visible}.item-table{min-width:0;font-size:.65rem}a{color:inherit}}

/* Keep both charge values visible together, including on narrow screens. */
.table-scroll table.power-table{min-width:0;table-layout:fixed}.power-table th:first-child{width:50%}.power-table th:nth-child(2){width:22%}.power-table th:nth-child(3){width:28%}.power-table th,.power-table td{padding:.6rem .5rem;font-size:.8125rem}.power-table td{text-align:right;font-variant-numeric:tabular-nums}.power-table tbody th{overflow-wrap:normal}

/* Reading metadata uses the same dark ink as the article. */
.version-note{font-size:.875rem;margin:.5rem 0 1rem}.article-sources{border-block:1px solid var(--line);padding:.5rem 0}.article-sources>summary{font-size:.9375rem;font-weight:600}.article-sources>p{color:var(--ink);font-size:.875rem}.article-sources .source-list{margin-top:1rem}.table-hint{font-size:.875rem}

@media(max-width:800px){.header-search{width:clamp(96px,32vw,160px);flex-shrink:1}.brand{flex-shrink:0}}
.source-upstream{margin:.5rem 0;font-size:.875rem;color:var(--ink);overflow-wrap:anywhere}.source-upstream code{font-size:inherit}

/* Expanded indexes reuse the existing table and form vocabulary. */
.category-filters{flex-wrap:wrap}.reference-table th:first-child{width:23%}.reference-table th:nth-child(2){width:25%}.reference-table th:nth-child(3){width:34%}.reference-table th:nth-child(4){width:18%}.reference-table .table-meta{margin:0 0 .4rem}kbd{font:inherit;font-weight:600}

#recoiler-form select{font:inherit;min-height:44px;max-width:100%;color:var(--ink);background:#fff;border:1px solid #8e99a5;padding:.35rem}.quest-checklist{padding-left:0;list-style:none}.quest-checklist label{display:flex;align-items:baseline;gap:.5rem}.quest-checklist input{flex:none}
