.material-intro .intro-copy{max-width:800px;font-size:16px;line-height:1.9}
.material-tabs{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:#f5f6f8;margin-bottom:44px}
.material-tabs>a{padding:20px 24px;line-height:1.65;font-size:16px;border-bottom:3px solid transparent}
.material-tabs>a+a{border-left:1px solid var(--line)}.material-tabs>a[aria-current=page]{background:#fff;color:var(--red);border-bottom-color:var(--red);font-weight:600}.material-tabs a:hover{color:var(--red)}
.material-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:48px;padding-bottom:20px;align-items:start}
.material-toc{position:sticky;top:28px;border-top:2px solid #343b41;padding-top:18px}.material-toc>span{font-size:14px;color:var(--muted)}.material-toc nav{display:flex;flex-direction:column;margin:14px 0 24px}.material-toc nav>a{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.material-toc nav span{color:#8a939c}.material-toc .text-link{font-size:14px}
.material-content{min-width:0;font-size:16px;line-height:1.9}.material-content p{margin-bottom:18px}.material-content h2{font-size:29px;letter-spacing:0;margin:0 0 24px}.material-content h3{font-size:20px;margin:0 0 14px}.material-content strong{color:var(--ink)}
.material-section{padding:34px 0 42px;border-top:1px solid var(--line);scroll-margin-top:24px}.material-section:first-child{border-top:2px solid #343b41}.material-section a:not(.button){color:var(--red);text-decoration:underline;text-underline-offset:4px}
.material-two.wp-block-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.material-two>.wp-block-column{min-width:0}.material-card{background:#f0f2f4;padding:26px;height:100%}.material-card p:last-child{margin-bottom:0}.material-card h3{margin-bottom:12px}.material-card ul{padding-left:20px;color:var(--muted);font-size:15px}
.material-figure{margin:20px 0;background:#eef1f4;border:1px solid #e2e6ea}.material-figure img{width:100%;height:auto;aspect-ratio:18/7;object-fit:contain}.material-figure-note{font-size:14px!important;color:#65707a;line-height:1.8}
.material-note{border-left:3px solid var(--red);background:#f1f3f5;padding:18px 22px;margin:24px 0}.material-note p:last-child{margin-bottom:0}
.material-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.material-terms .material-card{padding:22px}.material-terms h3{color:var(--red)}
.material-content .wp-block-table,.material-table-scroll{overflow-x:auto;margin:24px 0}.material-content table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.8;background:#fff}.material-content th,.material-content td{border-bottom:1px solid var(--line);padding:15px 18px;text-align:left;vertical-align:top}.material-content thead th{background:#edf0f3;font-weight:600}.material-content td:first-child{font-weight:500;color:var(--ink)}.material-content figcaption{font-size:14px;color:var(--muted);margin-top:12px}.material-table-scroll{border:1px solid var(--line)}
.grade-table{min-width:760px;font-variant-numeric:tabular-nums}.grade-table caption{text-align:left;padding:18px;font-size:15px;font-weight:500}.grade-table th small{display:block;font-size:12px!important;color:var(--muted);line-height:1.65;white-space:nowrap}.grade-table tbody tr[hidden]{display:none}.grade-table tbody th{color:var(--red);font-weight:600}.grade-table tbody tr:nth-child(even){background:#fafbfc}
.grade-filters{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}.grade-filters[hidden]{display:none}.grade-filters label{font-size:14px;flex:1;min-width:180px}.grade-filters input,.grade-filters select{display:block;width:100%;min-width:0;border:1px solid #ccd2d8;padding:10px;margin-top:7px;background:#fff;border-radius:0}.grade-filters p{font-size:14px;margin:0 0 10px;color:var(--muted)}.grade-empty{padding:20px;background:#edf0f3}
.material-sources{padding:18px 0;border-block:1px solid var(--line);font-size:14px}.material-sources summary{cursor:pointer;font-weight:500}.material-sources ul{columns:2;padding-left:20px;margin-top:16px}.material-sources li{break-inside:avoid;margin-bottom:8px}.material-sources a{margin-left:8px}
.direction-card .material-figure{margin:0 0 22px}.direction-card{border:1px solid var(--line);padding:0 22px 22px;background:white}.direction-card .material-figure{margin-inline:-22px;border:0;border-bottom:1px solid var(--line)}.direction-card h3{font-size:20px}.direction-card p{font-size:15px;margin-bottom:0}.material-directions .wp-block-columns{margin-bottom:24px}
.material-bottom{padding-bottom:70px}.material-back{margin-top:28px}
.material-related{display:flex;gap:24px;flex-wrap:wrap;padding:20px 0}.material-figure img{max-height:320px}
.material-figure>a{display:block}
.material-table-hint{display:none;font-size:13px;color:var(--muted);margin-top:18px}
@media(max-width:800px){.material-table-hint{display:block}}
@media(max-width:1100px){.material-layout{grid-template-columns:170px minmax(0,1fr);gap:28px}.material-tabs>a{padding:17px 14px;font-size:14px}.material-content h2{font-size:26px}.material-card{padding:20px}.material-content th,.material-content td{padding:13px 14px}}
@media(max-width:800px){.material-layout{grid-template-columns:1fr;gap:28px}.material-toc{position:static}.material-toc nav{flex-direction:row;flex-wrap:wrap;gap:8px 20px;margin:10px 0}.material-toc nav>a{gap:12px;font-size:14px}.material-toc>.text-link{display:none}.material-intro .intro-copy{font-size:15px}.material-tabs{grid-template-columns:1fr 1fr;margin-bottom:30px}.material-tabs>a:nth-child(3){border-left:0;border-top:1px solid var(--line)}.material-tabs>a:nth-child(4){border-top:1px solid var(--line)}.material-two.wp-block-columns,.material-terms{grid-template-columns:1fr;gap:18px}.material-content{font-size:15px}.material-section{padding:28px 0 32px}.material-content h2{font-size:24px}.material-content h3,.direction-card h3{font-size:19px}.material-content table{font-size:14px;min-width:580px}.material-content .grade-table{min-width:760px}.material-content .material-figure-note{font-size:13px!important}.material-sources ul{columns:1}.material-bottom{padding-bottom:50px}.grade-filters{gap:12px}.grade-filters label{min-width:120px}.grade-filters p{width:100%;margin:0}.material-content .material-figure{margin-top:16px}.direction-card .material-figure{margin-top:0}.material-note{padding:16px 18px}}

/* v0.28: source ranges and injection properties, with contained scrolling. */
.grade-reference-v28 .grade-scroll-v28{max-height:650px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.material-content .grade-table-v28{min-width:1160px;font-size:14px;line-height:1.65}
.material-content .grade-injection{min-width:1620px}
.material-content .grade-table-v28 th,.material-content .grade-table-v28 td{padding:12px 14px;white-space:nowrap;text-align:center;vertical-align:middle}
.grade-table-v28 thead th{position:sticky;top:0;z-index:2;background:#eceeed;box-shadow:0 1px 0 var(--line)}
.grade-table-v28 th:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:95px;box-shadow:1px 0 0 var(--line)}
.grade-table-v28 tbody tr:nth-child(even) th:first-child{background:#f7f8f7}
.grade-table-v28 thead th:first-child{z-index:3;background:#eceeed}
.grade-reference-v28 .material-table-hint{display:block;margin:15px 0 0;font-size:13px;color:var(--muted)}
.grade-reference-v28 .grade-filters label{min-width:155px}
@media(max-width:700px){.grade-reference-v28 .grade-scroll-v28{max-height:560px}.material-content .grade-table-v28 th,.material-content .grade-table-v28 td{padding:11px 12px}.grade-reference-v28 .grade-filters label{min-width:120px}}
