.source-return{display:block;grid-column:1/-1;margin:18px 0 4px;padding:10px 14px;border:1px solid var(--edge);background:var(--surface);color:var(--accent);font:600 .85rem/1.5 var(--sans);cursor:pointer;text-align:left}
.source-return:hover,.source-return:focus-visible{background:var(--surface-2);outline:2px solid var(--accent);outline-offset:3px}
.source-citation,.article-sources li{scroll-margin-block:160px}
.reading-return-target{outline:2px solid var(--accent);outline-offset:4px}
.measurement-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start}
.measurement-layout>.measurement-prose{min-width:0}
.reference-steps{padding-left:1.6em;margin:0 0 2em}.reference-steps>li{padding-left:.35em;margin-bottom:1.4em}.reference-steps>li::marker{color:var(--accent);font-weight:600}
.measurement-panel{border-left:1px solid var(--edge);padding-left:24px;font:.85rem/1.6 var(--sans);color:var(--ink);min-width:0}
.measurement-panel h2,.collection-article .measurement-panel h2{font:600 1.55rem/1.2 var(--serif);margin:0 0 18px}
.measurement-panel h3{font:600 1.15rem/1.3 var(--serif);margin:22px 0 12px}
.measurement-panel p{margin:8px 0 16px}
.measurement-panel details{border-top:1px solid var(--edge);padding:12px 0}
.measurement-panel summary{cursor:pointer;color:var(--accent);padding:5px 0}
.measurement-panel .measurement-list{list-style:none;padding:0;margin:0}
.measurement-list>li{padding:9px 0;border-bottom:1px solid var(--edge)}
.measurement-value{font-weight:600;color:var(--accent)}
.measurement-panel .tool-product{padding:15px 0;border-bottom:1px solid var(--edge)}
.tool-product img{width:100%;height:170px;object-fit:contain;background:white;border:1px solid var(--edge);display:block;margin-bottom:12px}
.tool-product a{color:var(--accent)}
.tool-product .tool-price{font-weight:600;color:var(--ink);margin-bottom:6px}
.tool-product .tool-date,.measurement-panel .price-note{font-size:.75rem;color:var(--soft)}
.measurement-panel input{display:block;width:100%;min-width:0;box-sizing:border-box;padding:9px;border:1px solid var(--edge);background:var(--surface);color:var(--ink);font:inherit}
.measurement-panel label{display:block;margin:12px 0}
.measurement-panel output{display:block;padding:14px;background:var(--surface);color:var(--ink)}
.complete-book-reading:has(.measurement-layout){max-width:1200px}
.collection-article:not(:has(.measurement-layout)){max-width:900px;margin-inline:auto}
.web-article .article-layout.has-reference-panel{grid-template-columns:150px minmax(0,1fr) 290px;gap:35px}
.measurement-panel .native-figure{margin:0 0 20px}
.measurement-panel figure img{width:100%;height:auto}
.motion-preview .motion-source-note{font:.82rem/1.65 var(--sans);color:var(--soft);margin:14px 0 20px}
.reader-page .motion-preview .motion-preview-toggle,.complete-book .motion-preview .motion-preview-toggle{background:var(--surface);color:var(--ink);border-color:var(--edge)}
.reader-page .motion-preview .motion-preview-toggle span,.complete-book .motion-preview .motion-preview-toggle span{color:inherit}
.reader-page .motion-preview .motion-preview-toggle:hover,.complete-book .motion-preview .motion-preview-toggle:hover{background:var(--surface-2)}
.reader-page .motion-preview .motion-preview-toggle[aria-pressed=true],.complete-book .motion-preview .motion-preview-toggle[aria-pressed=true]{background:var(--accent);color:var(--page)}
@media(min-width:1101px){.measurement-layout>.measurement-panel{position:sticky;top:115px;max-height:calc(100vh - 140px);overflow:auto;scrollbar-width:thin;padding-right:10px}}
@media(max-width:1100px){.measurement-layout{grid-template-columns:1fr;gap:24px}.measurement-panel{border-left:0;border-top:1px solid var(--edge);padding:24px 0 0}.web-article .article-layout.has-reference-panel{grid-template-columns:150px minmax(0,1fr)}.has-reference-panel>.measurement-panel{grid-column:2}.measurement-panel .tool-product img{max-width:300px}.measurement-panel .reference-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:700px){.web-article .article-layout.has-reference-panel{display:block}.measurement-panel .reference-products{display:block}.measurement-panel .tool-product img{max-width:100%}.source-return{min-height:44px}.measurement-panel{font-size:.95rem}}
