.documental-reader .cnh-filters{grid-template-columns:2fr 1fr 1fr}.documental-unit{overflow-wrap:anywhere}.documental-prose{font-family:var(--reading-font,Georgia,serif);font-size:var(--reading-size,18px);white-space:pre-wrap;line-height:1.8;margin:22px 0;tab-size:4}.documental-unit details{margin:16px 0}.documental-unit summary{cursor:pointer;font-weight:600}.documental-reference{padding:16px 0;border-top:1px solid var(--line)}.documental-unit small{display:block;overflow-wrap:anywhere}.documental-reference .secondary{margin:6px 8px 6px 0}.documental-reader .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.documental-reader select,.documental-reader input{min-width:0;max-width:100%}.documental-reader .cnh-filters label{min-width:0}.documental-mode #stats,.documental-mode .filters .check{display:none}@media(max-width:1050px){.documental-reader .cnh-filters{grid-template-columns:1fr}}@media(max-width:600px){.documental-prose{font-size:var(--reading-size,17px)}.documental-reader .actions>*{flex:1 1 120px}}

.documental-reader .unit-jump{grid-column:1/-1}

/* Preserve the sidebar's own foreground when the shared seasonal theme changes its background. */
.sidebar .side-nav button,.sidebar .text-button{color:inherit}
.sidebar .side-nav button:not([aria-current=page]):hover{background:rgba(255,255,255,.08)}
@media(max-width:900px){body:not(.menu-open) .sidebar{visibility:hidden}.sidebar{overflow-x:hidden;overflow-y:auto}}

/* Shared reader classes keep the same layout as the normative reading pane. */
.instrument-reader .reader-toolbar select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;min-height:34px;padding:5px 8px;min-width:0;max-width:260px}
.instrument-reader .reader-date{min-width:0}.instrument-reader .consultation-tools{align-items:flex-end}.instrument-reader .reader-official{margin-left:auto}.instrument-reader .reader-official .correlation-source{margin:0}
.instrument-reader .reader-notice{margin:0 28px 16px}.instrument-reader .reader-filter-tools{background:var(--panel);border:1px solid var(--line);padding:10px 14px;border-radius:8px}
.instrument-reader .reader-filter-tools summary{cursor:pointer;font-size:12px;font-weight:600}.instrument-reader .reader-filter-tools .cnh-filters{margin-top:12px;grid-template-columns:2fr 1fr 1fr}
.instrument-reader .reader-load-status{font-size:12px;color:var(--muted);margin:8px 0}.instrument-reader .reader-load-status.error{color:var(--ink)}
.instrument-reader .unit-heading{font-size:16px;line-height:1.6;margin:0 0 12px;color:var(--moss)}.instrument-reader .documental-prose{font-size:var(--reading-size,18px);line-height:1.95;margin:0;max-width:72ch;white-space:pre-wrap;text-align:justify;hyphens:auto;overflow-wrap:break-word}
.instrument-reader .reader-article{scroll-margin-top:calc(var(--toolbar-height,110px) + 24px)}.instrument-reader .reader-pagination{margin-top:24px}.instrument-reader .reader-coverage{margin-top:24px;font-size:12px}
.instrument-reader .documental-evidence{margin:12px 0}.instrument-reader .documental-evidence summary{font-weight:600;cursor:pointer;font-size:12px}.instrument-reader small{display:block;overflow-wrap:anywhere}
.instrument-reader .panel-body .secondary{display:inline-block;max-width:100%;margin:6px 8px 6px 0;white-space:normal;overflow-wrap:break-word;font-size:12px}.instrument-reader .panel-body .sac-excerpt{font-size:14px;line-height:1.75;margin:12px 0;white-space:pre-wrap;overflow-wrap:break-word}
.instrument-reader .panel-body .correlation-explanation{font-size:13px;line-height:1.8}.instrument-reader .agreement-context-links{margin-top:18px}.instrument-reader .agreement-context-links summary{cursor:pointer;font-weight:600;font-size:13px}
.instrument-reader .panel-body .table-wrap{max-width:100%}.instrument-reader .index-entry{overflow-wrap:break-word}.instrument-reader .article-meta .tool{font-size:11px}
.instrument-reader .reader-version-selectors{display:grid;gap:14px;margin:16px 0 24px}.instrument-reader .reader-version-selectors .reader-date{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:7px;font-size:12px}.instrument-reader .reader-version-selectors select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:9px;min-width:0;width:100%;box-sizing:border-box}.instrument-reader .panel-meta .key-tag{color:var(--ink);background:var(--soft);border-color:var(--line)}
@media(min-width:901px) and (max-width:1400px){.reader .article-tabs{flex-wrap:nowrap;gap:3px;padding-left:10px;padding-right:10px}.reader .article-tabs button{min-width:0;font-size:10px;padding:8px 6px;white-space:normal}}
.cnh-library .table-wrap td>small{display:block;margin-top:7px;line-height:1.6;overflow-wrap:break-word}.cnh-library .table-wrap td .secondary{margin:7px 8px 7px 0;font-size:12px;max-width:100%;white-space:normal}.cnh-library .table-wrap .read-text{display:inline-block;white-space:normal}
.cnh-library .inventory-filters>label{min-width:0}.cnh-library .inventory-filters select{max-width:100%;min-width:0}.cnh-library .inventory-row td{overflow-wrap:break-word}
@media(max-width:900px){.instrument-reader .reader-notice{margin:0 12px 12px}.instrument-reader .reader-toolbar select{max-width:100%}.instrument-reader .reader-date{flex:1 1 180px;align-items:flex-start}.instrument-reader .reader-filter-tools .cnh-filters{grid-template-columns:1fr}.instrument-reader .reader-index{margin-bottom:16px}}
@media(max-width:600px){.instrument-reader .reader-date{flex:1 1 130px;flex-direction:column;gap:5px}.instrument-reader .reader-date select{width:100%}.instrument-reader .panel-body .secondary{width:100%;margin-right:0}.instrument-reader .reader-official{margin-left:auto}.instrument-reader .documental-prose{line-height:1.85}}

.cnh-library .inventory-row .inventory-scope{margin:10px 0 0;font-size:12px;line-height:1.7}.cnh-library .inventory-scope summary{cursor:pointer;font-weight:600}.cnh-library .inventory-scope p{margin:10px 0 0}
