/* Editorial reading layer; scoped to audited articles, not service pages. */
.sx-editorial{--ed-ink:#222;--ed-muted:#555;--ed-line:#dedede;--ed-soft:#f6f7f7}
.sx-editorial main{overflow-wrap:break-word}
.sx-editorial :is(h2,h3,[id]){scroll-margin-top:112px}
.sx-editorial :is(.reading-prose,.check-chapter){line-height:1.85}
.sx-editorial .reading-prose p{max-width:72ch}
.sx-editorial :is(.reading-prose,.check-chapter) li{margin-block:10px;padding-left:3px}
.sx-editorial :is(.reading-prose,.check-chapter) ul,.sx-editorial :is(.reading-prose,.check-chapter) ol{padding-left:24px}
.sx-editorial :is(.reading-prose,.check-chapter) a{color:var(--ed-ink);text-decoration:underline;text-underline-offset:4px}
.sx-editorial :is(.reading-toc,.check-rail) a[aria-current="location"]{color:var(--ed-ink);font-weight:700;border-left:2px solid currentColor;padding-left:12px}
.sx-editorial .reading-prose :is(pre,code),.sx-editorial .check-chapter code{overflow-wrap:anywhere;white-space:pre-wrap}
.sx-editorial :is(.reading-prose,.check-chapter) img{max-width:100%;height:auto}
.sx-editorial :is(a,button,input,select,textarea):focus-visible{outline:3px solid #176c54;outline-offset:4px}
.ed-start{border-top:1px solid var(--ed-line);border-bottom:1px solid var(--ed-line);padding:36px 0;margin:0 auto 32px}
.ed-start-inner{max-width:1160px;margin:auto;padding-inline:32px}
.ed-start h2{font-size:clamp(25px,3vw,34px);line-height:1.3;margin:0 0 16px}
.ed-start p{max-width:76ch;color:var(--ed-muted);line-height:1.85}
.ed-meta{font-size:14px!important;color:var(--ed-muted)}
.ed-routes{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:20px}
.ed-routes a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px;font-weight:600}
.ed-table{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid var(--ed-line);border-radius:6px}
.ed-table table{width:100%;border-collapse:collapse;min-width:580px;font-size:15px;line-height:1.65}
.ed-table caption{text-align:left;padding:16px;font-weight:650;background:var(--ed-soft)}
.ed-table th,.ed-table td{padding:18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--ed-line)}
.ed-table th{font-weight:650;background:var(--ed-soft)}
.ed-table tr:last-child td{border-bottom:0}
.ed-note{border-left:3px solid var(--ed-ink);padding:16px 24px;background:var(--ed-soft);margin:24px 0}
.ed-workform{padding:24px;border:1px solid var(--ed-line);border-radius:8px;margin:24px 0}
.ed-workform label{display:block;font-size:15px;font-weight:600;margin-bottom:20px}
.ed-workform :is(input,select,textarea){display:block;width:100%;box-sizing:border-box;margin-top:8px;border:1px solid #888;border-radius:4px;padding:12px;font:inherit;background:white;color:var(--ed-ink);min-height:44px}
.ed-workform textarea{min-height:110px;resize:vertical}
.ed-actions{display:flex;flex-wrap:wrap;gap:12px}
.ed-actions button{font:inherit;font-weight:600;min-height:44px;padding:10px 18px;border:1px solid #222;border-radius:5px;background:#222;color:white;cursor:pointer}
.ed-actions button[data-action="clear"]{background:white;color:#222}
.ed-status{min-height:1.5em;font-size:14px;margin-top:16px}
.ed-tools{display:flex;gap:16px;align-items:center;margin-bottom:18px}
.ed-tools button{font:inherit;font-size:14px;min-height:44px;background:white;border:1px solid var(--ed-line);border-radius:4px;padding:8px 14px;cursor:pointer}
@media(max-width:760px){.ed-start-inner{padding-inline:20px}.ed-start{padding:28px 0}.sx-editorial .check-rail{gap:6px 14px}.sx-editorial :is(.reading-toc,.check-rail) a{min-height:44px;display:flex;align-items:center}.ed-workform{padding:18px}.ed-note{padding:16px}.ed-actions button{flex:1 1 auto}.ed-table th,.ed-table td{padding:14px}}
@media print{.xn-header,.sx-footer,.ed-tools,.ed-actions,.reading-toc,.check-rail,.layout-cta{display:none!important}.sx-editorial .check-layout,.sx-editorial .reading-layout{display:block}.ed-table{overflow:visible}.ed-table table{min-width:0}.sx-editorial main{font-size:11pt}.check-chapter{break-before:auto}.ed-workform{break-inside:avoid}}
