/* Three-page reading pilot. Keep the site's 6px panels and 5px controls. */
.guide.article-reading{max-width:1060px;--article-panel-radius:6px;--article-control-radius:5px}
.article-reading article>section{padding:40px 0}
.article-reading article>.answer{padding:12px 0 32px}
.article-reading h1{max-width:24ch}
.article-reading h2{margin:0 0 16px;text-wrap:balance}
.article-reading h3{margin:28px 0 12px;line-height:1.4}
.article-reading p{overflow-wrap:anywhere;max-width:72ch;margin:12px 0 20px}
.article-reading .lead{max-width:66ch}
.article-reading .article-meta{font-size:13px;color:var(--muted);margin:12px 0 24px}
.article-reading .source-note{font-size:14px;line-height:1.7;color:var(--muted)}
.article-reading .article-jumps{display:flex;flex-wrap:wrap;gap:8px 20px;margin:24px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.article-reading .article-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;background:none;border:0;border-radius:var(--article-control-radius);font-size:14px;font-weight:600;color:var(--green)}
.article-reading .article-jumps a:hover{text-decoration-thickness:2px}
.article-reading details{padding:16px 0;border-bottom:1px solid var(--line)}
.article-reading summary{min-height:44px;align-content:center;cursor:pointer;font-weight:600;line-height:1.6}
.article-reading details[open]>summary{margin-bottom:16px}
.article-reading figure img,.article-reading canvas{border-radius:0}
.article-reading figcaption{font-size:14px;line-height:1.6;margin:12px 0;color:var(--muted)}
.article-reading .math-grid{gap:24px 32px}
.article-reading .math-grid>section{padding:20px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
.article-reading .math-grid h3{margin-top:0}
.article-reading .editor{border-radius:var(--article-panel-radius);align-self:start}
.article-reading table{table-layout:auto}
.article-reading pre{max-width:100%;overflow-x:auto;padding:16px;background:#edf3ef;border-radius:6px;font-size:13px;line-height:1.6}
.article-reading pre code{overflow-wrap:normal}
.article-reading thead th{width:auto}
.article-reading .source-details{margin-top:20px}
.article-reading th a{font-size:13px;font-weight:400;color:var(--green)}
.article-font .banner-workspace{grid-template-columns:280px minmax(0,1fr);align-items:start;margin-top:24px}
.article-font .banner-previews #small{width:320px;max-width:100%;height:auto}
.article-font .banner-previews figure{margin:0 0 28px}
.article-font .editor label{display:block;margin-bottom:8px}
.article-font .editor input{margin-bottom:20px}
.article-font .editor p{margin-bottom:0}
.article-font .font-comparison th:first-child{width:20%}
.article-font .font-comparison th:nth-child(2){width:18%}
.article-resolution .detail-comparison,.article-resolution .small-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.article-resolution .detail-comparison figure,.article-resolution .small-comparison figure{margin:0;min-width:0}
.article-resolution .small-comparison img{width:320px;max-width:100%}
.article-resolution #ppi-study figure{max-width:640px}
@media(max-width:760px){
 .article-reading article>section{padding:28px 0}
 .article-reading h1{font-size:30px}
 .article-reading .article-jumps{gap:4px 18px}
 .article-font .banner-workspace{grid-template-columns:1fr}
 .article-resolution .detail-comparison,.article-resolution .small-comparison{grid-template-columns:1fr;max-width:400px;gap:24px}
 .article-reading tbody tr{border-radius:var(--article-panel-radius)}
}
@media(max-width:700px){
 .article-font .font-comparison,.article-resolution table{display:table;table-layout:fixed;width:100%;font-size:13px;line-height:1.6}
 .article-font .font-comparison caption,.article-resolution caption{display:table-caption}
 .article-font .font-comparison thead{display:table-header-group;position:static;width:auto;height:auto;clip-path:none;overflow:visible}
 .article-font .font-comparison tbody{display:table-row-group}
 .article-font .font-comparison tr{display:table-row;border:0;border-radius:0}
 .article-font .font-comparison th,.article-font .font-comparison td{display:table-cell;width:auto;padding:10px 8px;font-size:13px;border:1px solid var(--line)}
 .article-font .font-comparison td:before{display:none}
 .article-font .font-comparison th:first-child{width:25%}
 .article-font .font-comparison th:nth-child(2){width:23%}
 .article-resolution th,.article-resolution td{font-size:13px;line-height:1.6}
}

/* Tool guides and experiments share the reading system, with task-specific evidence sizing. */
.article-reading .banner-workspace{align-items:start}
.article-profile .banner-previews{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}
.article-profile .banner-previews figure{max-width:100%;margin:0}
.article-profile .banner-previews canvas{width:auto;max-width:100%;height:auto}
.article-profile .banner-previews figcaption{max-width:30ch}
.article-dimensions .dimension-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:520px;margin:24px 0 16px}
.article-dimensions .dimension-inputs label{display:block;font-size:14px;margin-bottom:8px}
.article-dimensions .dimension-inputs input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd5d9;border-radius:var(--article-control-radius);background:var(--surface);color:var(--ink);font:inherit;font-variant-numeric:tabular-nums}
.article-dimensions #verdict{max-width:72ch;padding:16px 20px;background:#edf3ef;border-radius:var(--article-panel-radius)}
.article-dimensions #verdict p{margin:0 0 12px}
.article-dimensions #verdict p:last-child{margin-bottom:0}
.article-aspect .ratio-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.article-aspect .ratio-comparison figure{margin:0;min-width:0}
.article-reading video{border-radius:0}
@media(max-width:760px){
 .article-profile .banner-previews{flex-direction:column}
 .article-aspect .ratio-comparison{grid-template-columns:1fr}
}
