snowchive-server/static/style.css
2026-11-19 04:40:59 +02:00

2353 lines
65 KiB
CSS

:root {
--bg: #ffffff;
--text: #222;
--text-strong: #000;
--muted: #666;
--faint: #6e6e6e;
--link: #2a2aff;
--link-hover: #0000b3;
--accent: #0066cc;
--border: #ddd;
--border-soft: #eee;
--border-strong: #333;
--surface: #fff;
--surface-alt: #f7f7f7;
--surface-hover: #f4f4f4;
--surface-inset: #fafafa;
--control-bg: #eee;
--control-border: #ccc;
--row-hover: #fffbcc;
--mark-bg: #fde68a; --mark-text: #451a03;
--badge-foia-bg: #dbeafe; --badge-foia-text: #1d4ed8; --badge-foia-border: #bfdbfe;
--badge-sid-bg: #fef9c3; --badge-sid-text: #854d0e; --badge-sid-border: #fde68a;
--reported-bg: #e8f5e9; --reported-text: #1b5e20; --reported-border: #c8e6c9;
--banner-bg: #f4f6ff; --banner-border: #d6defc;
--saved-text: #1b5e20;
--classified: #b3453c;
--redaction: #000;
--pane-bg: #2f2f2f;
--btn-text: #fff;
--shadow: rgba(0, 0, 0, 0.05);
color-scheme: light;
}
@media screen {
[data-theme="dark"] {
--bg: #16181d;
--text: #d4d7dc;
--text-strong: #fff;
--muted: #9aa0a8;
--faint: #8d939b;
--link: #8aa4ff;
--link-hover: #fff;
--accent: #5b8def;
--border: #353a43;
--border-soft: #272b32;
--border-strong: #5a606b;
--surface: #1d2026;
--surface-alt: #1a1d23;
--surface-hover: #242830;
--surface-inset: #191c21;
--control-bg: #23262d;
--control-border: #3a3f49;
--row-hover: #2e3038;
--mark-bg: #6b5410; --mark-text: #ffe9a8;
--badge-foia-bg: #1e3a5f; --badge-foia-text: #9cc3ff; --badge-foia-border: #2b4d7a;
--badge-sid-bg: #4a3f12; --badge-sid-text: #ffd97a; --badge-sid-border: #6b5a1d;
--reported-bg: #173a1f; --reported-text: #8fd99e; --reported-border: #26562f;
--banner-bg: #1c2435; --banner-border: #2c3a57;
--saved-text: #8fd99e;
--classified: #f28b82;
--redaction: #d4d7dc;
--pane-bg: #111;
--btn-text: #10141c;
--shadow: rgba(0, 0, 0, 0.4);
color-scheme: dark;
}
}
@media screen and (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #16181d;
--text: #d4d7dc;
--text-strong: #fff;
--muted: #9aa0a8;
--faint: #8d939b;
--link: #8aa4ff;
--link-hover: #fff;
--accent: #5b8def;
--border: #353a43;
--border-soft: #272b32;
--border-strong: #5a606b;
--surface: #1d2026;
--surface-alt: #1a1d23;
--surface-hover: #242830;
--surface-inset: #191c21;
--control-bg: #23262d;
--control-border: #3a3f49;
--row-hover: #2e3038;
--mark-bg: #6b5410; --mark-text: #ffe9a8;
--badge-foia-bg: #1e3a5f; --badge-foia-text: #9cc3ff; --badge-foia-border: #2b4d7a;
--badge-sid-bg: #4a3f12; --badge-sid-text: #ffd97a; --badge-sid-border: #6b5a1d;
--reported-bg: #173a1f; --reported-text: #8fd99e; --reported-border: #26562f;
--banner-bg: #1c2435; --banner-border: #2c3a57;
--saved-text: #8fd99e;
--classified: #f28b82;
--redaction: #d4d7dc;
--pane-bg: #111;
--btn-text: #10141c;
--shadow: rgba(0, 0, 0, 0.4);
color-scheme: dark;
}
}
body {
font-family: sans-serif;
max-width: 1920px;
margin: 0 auto;
padding: 20px;
background: var(--bg);
color: var(--text);
}
a { color: var(--link); }
:where(a):hover,
:where(a):focus-visible { color: var(--link-hover); text-decoration: underline; }
h1, h2, h3, .doc-title { overflow-wrap: break-word; }
h1, h2, h3, h4 { color: var(--text-strong); }
.site-nav {
max-width: 1200px;
border-bottom: 2px solid var(--border-soft);
padding-bottom: 10px;
margin: 0 auto 20px;
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.site-nav a { text-decoration: none; color: var(--link); }
.site-nav .nav-right { margin-left: auto; }
.site-nav a.active { font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
.site-nav a:hover,
.site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.skip-link {
position: absolute;
left: -9999px;
top: 8px;
z-index: 100;
background: var(--surface);
color: var(--link);
padding: 10px 16px;
border: 1px solid var(--border);
border-radius: 4px;
}
.skip-link:focus { left: 8px; }
main:focus { outline: none; }
footer {
max-width: 1200px;
margin: 40px auto 0;
padding-top: 15px;
border-top: 2px solid var(--border-soft);
color: var(--faint);
font-size: 0.85rem;
}
.active { font-weight: bold; text-decoration: underline; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.count-note { color: var(--muted); font-size: 0.6em; font-weight: normal; }
.hr-soft { border: 0; border-top: 1px solid var(--border-soft); margin: 20px 0; }
.section-rule { border: 0; border-top: 1px solid var(--border-soft); margin: 40px 0; }
.rule-top { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 15px; }
.pub-sep { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border-soft); }
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
span.redacted {
background: var(--redaction);
color: var(--redaction);
}
.pub-block .pub-title { line-height: 1.45; }
.pub-block .pub-people, .pub-block .pub-date { font-size: 0.92em; margin-top: 2px; }
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
table-layout: auto;
}
th, td {
padding: 8px 12px;
text-align: left;
vertical-align: top;
min-width: 80px;
white-space: normal;
word-break: normal;
overflow-wrap: break-word;
}
th { font-weight: 600; white-space: nowrap; }
tr:nth-child(even) { background: var(--surface-alt); }
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 0.88em;
}
.data-table thead tr { text-align: left; }
.num, .num-col { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table thead th { padding: 8px 10px; border-bottom: 2px solid var(--border); }
.data-table thead th a { text-decoration: none; color: var(--text-strong); }
.data-table thead th a:hover { text-decoration: underline; }
.sort-hint { color: var(--faint); }
.type-badge {
display: inline-block;
font-size: 0.65rem;
font-weight: bold;
padding: 1px 6px;
border-radius: 10px;
vertical-align: middle;
letter-spacing: 0.03em;
}
.type-badge--foia {
background: var(--badge-foia-bg);
color: var(--badge-foia-text);
border: 1px solid var(--badge-foia-border);
}
.type-badge--sidtoday {
background: var(--badge-sid-bg);
color: var(--badge-sid-text);
border: 1px solid var(--badge-sid-border);
}
.type-filter-leak { font-size: 0.8em; color: var(--faint); }
.type-filter-count { font-size: 0.8em; }
.issue-reported {
display: inline-block;
background: var(--reported-bg);
color: var(--reported-text);
border: 1px solid var(--reported-border);
border-radius: 10px;
font-size: 0.65rem;
font-weight: bold;
padding: 1px 6px;
margin-left: 6px;
vertical-align: middle;
letter-spacing: 0.03em;
}
#cat-boxes {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, max-content));
gap: 15px;
margin-bottom: 40px;
}
#cat-boxes .cat-box {
padding: 10px 15px;
border: 1px solid var(--border);
border-radius: 10px;
text-decoration: none;
color: var(--text);
text-align: center;
background: var(--surface);
}
#cat-boxes .cat-box:hover {
border-color: var(--link);
box-shadow: 0 4px 12px var(--shadow);
}
#cat-boxes .cat-box strong {
font-size: 16px;
color: var(--link);
display: block;
margin-bottom: 5px;
}
#cat-boxes .cat-box .count { color: var(--muted); font-size: 0.9rem; }
.cat-table {
width: 100%;
max-width: 800px;
margin: 20px auto 0;
border-collapse: collapse;
}
.cat-table thead tr {
text-align: left;
border-bottom: 2px solid var(--border-strong);
}
.cat-table th { padding: 12px; }
.cat-table th a { text-decoration: none; color: var(--text-strong); }
.cat-table th a:hover { text-decoration: underline; }
.cat-table td { padding: 10px; color: var(--text); }
.cat-table td a { text-decoration: none; font-weight: bold; }
.cat-table td a:hover,
.cat-table td a:focus-visible { text-decoration: underline; }
.cat-table tbody tr { border-bottom: 1px solid var(--border); }
.cat-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.cat-table tbody tr:hover,
.codeword-table td:first-child { white-space: nowrap; }
.codeword-table tbody tr:hover,
.data-table tbody tr:hover { background: var(--row-hover); }
.doc-grid { list-style: none; padding: 0; }
.doc-card {
display: flex;
gap: 20px;
border: 1px solid var(--border);
border-radius: 8px;
margin-bottom: 20px;
padding: 20px;
background: var(--surface);
box-shadow: 0 2px 4px var(--shadow);
}
.doc-grid .thumb-container { flex: 0 0 160px; }
.doc-grid .thumb-container .doc-img {
width: 160px;
height: 120px;
object-fit: cover;
border: 1px solid var(--border);
display: block;
}
.doc-grid .doc-body { flex: 1; min-width: 0; }
.doc-grid .doc-body h3 {
margin: 0 0 6px 0;
font-size: 1.05rem;
line-height: 1.3;
}
.doc-pdf {
font-size: 0.72rem;
font-weight: normal;
color: var(--faint);
padding: 7px 3px;
margin: 0 -3px 0 1px;
}
.doc-grid .doc-body h3 .doc-title { text-decoration: none; }
.doc-grid .doc-body h3 .doc-title:hover,
.doc-grid .doc-body h3 .doc-title:focus-visible { text-decoration: underline; }
.doc-grid .doc-body .doc-content a:hover,
.doc-grid .doc-body .doc-content a:focus-visible { color: var(--link-hover); text-decoration: underline; }
.doc-grid .doc-body .card-summary {
margin: 4px 0 0;
color: var(--muted);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.doc-grid .doc-body .doc-content {
font-size: 0.82rem;
color: var(--muted);
line-height: 1.7;
}
.doc-grid .doc-body .doc-content .doc-creator.active { font-weight: bold; }
.doc-grid .doc-body .doc-content .doc-created.active,
.doc-grid .doc-body .doc-content .doc-programs.active,
.doc-grid .doc-body .doc-content .doc-people.active,
.doc-grid .doc-body .doc-content .pub-source.active,
.doc-grid .doc-body .doc-content .pub-link.active {
color: var(--muted);
font-weight: bold;
}
.doc-grid .doc-body .doc-content .doc-published { color: var(--muted); font-size: 0.9em; }
.doc-grid .doc-body .doc-content .doc-programs,
.doc-grid .doc-body .doc-content .doc-people,
.doc-grid .doc-body .doc-content .doc-classification { color: var(--faint); }
.doc-grid .doc-body .doc-content .doc-publication {
margin-top: 6px;
padding-top: 6px;
border-top: 1px solid var(--border-soft);
color: var(--muted);
}
.doc-dot { color: var(--faint); margin: 0 4px; }
details.sort-dropdown {
display: inline-block;
margin-bottom: 15px;
font-size: 0.9em;
position: relative;
}
details.sort-dropdown summary {
cursor: pointer;
list-style: none;
padding: 4px 10px;
border: 1px solid var(--control-border);
border-radius: 4px;
background: var(--control-bg);
user-select: none;
}
details.sort-dropdown .sort-options {
position: absolute;
top: 100%;
left: 0;
background: var(--surface);
border: 1px solid var(--control-border);
border-radius: 4px;
box-shadow: 0 4px 12px var(--shadow);
z-index: 100;
min-width: 160px;
padding: 4px 0;
}
details.sort-dropdown a {
display: block;
padding: 6px 14px;
text-decoration: none;
color: var(--text);
}
details.sort-dropdown a:hover { background: var(--surface-hover); }
details.sort-dropdown a.active { font-weight: bold; background: var(--surface-hover); }
.pagination {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
justify-content: center;
margin: 30px 0;
}
.pag-btn {
padding: 8px 14px;
border: 1px solid var(--control-border);
text-decoration: none;
border-radius: 6px;
color: var(--text);
background: var(--surface);
}
a.pag-btn:hover { background: var(--surface-hover); border-color: var(--faint); }
.pag-current {
background: var(--border-strong);
border-color: var(--border-strong);
color: #fff;
font-weight: bold;
}
.pag-ellipsis { padding: 0 4px; color: var(--faint); }
.collection-tabs {
display: flex;
gap: 4px;
border-bottom: 2px solid var(--border);
margin-bottom: 25px;
flex-wrap: wrap;
}
.collection-tab {
padding: 10px 18px;
text-decoration: none;
color: var(--muted);
border: 1px solid transparent;
border-bottom: none;
border-radius: 6px 6px 0 0;
position: relative;
top: 2px;
}
.collection-tab:hover { background: var(--surface-hover); }
.collection-tab.active-tab {
background: var(--bg);
border-color: var(--border);
border-bottom: 2px solid var(--bg);
font-weight: bold;
color: var(--text-strong);
}
.tab-count { color: var(--faint); font-size: 0.8em; margin-left: 4px; font-weight: normal; }
.tab-title { font-size: 1.5em; margin: 0.83em 0; }
.tab-title small { color: var(--muted); font-size: 0.6em; font-weight: normal; }
.tab-desc { color: var(--muted); max-width: 700px; }
.year-nav {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin: 15px 0 25px;
}
.year-nav .year-nav-label { color: var(--muted); font-size: 0.9em; margin-right: 2px; }
.search-facets {
border: 1px solid var(--border);
border-radius: 8px;
margin-bottom: 20px;
background: var(--surface);
}
.search-facets > summary {
cursor: pointer;
font-weight: bold;
font-size: 0.85em;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.03em;
user-select: none;
padding: 12px 14px;
}
.facets-body { padding: 3px 14px 12px; }
.facet-group {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 8px;
margin-bottom: 8px;
}
.facet-group:last-child { margin-bottom: 0; }
.facet-label {
font-size: 0.85em;
color: var(--muted);
font-weight: 600;
flex: 0 0 90px;
}
.facet-values { display: flex; flex-wrap: wrap; gap: 6px; }
.facet-link {
font-size: 0.85em;
padding: 1px 8px;
border: 1px solid var(--control-border);
border-radius: 11px;
background: var(--control-bg);
text-decoration: none;
color: var(--text);
white-space: nowrap;
}
.facet-link:hover { background: var(--surface-hover); }
.facet-count { color: var(--muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
@media (max-width: 768px) {
.facet-label { flex-basis: 100%; }
}
.az-nav {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin: 0 0 20px;
}
.az-nav .az-label { color: var(--muted); font-size: 0.9em; margin-right: 2px; }
.az-nav a {
padding: 2px 8px;
background: var(--control-bg);
border: 1px solid var(--control-border);
border-radius: 4px;
text-decoration: none;
color: var(--text);
font-size: 0.85em;
min-width: 1.2em;
text-align: center;
}
.az-nav a:hover { background: var(--surface-hover); }
.cat-table .az-row th {
background: var(--surface);
color: var(--muted);
font-size: 0.9em;
padding: 6px 10px;
scroll-margin-top: 10px;
}
.year-nav a {
padding: 4px 10px;
background: var(--control-bg);
border: 1px solid var(--control-border);
border-radius: 4px;
text-decoration: none;
color: var(--text);
font-size: 0.9em;
}
.year-nav a:hover { background: var(--surface-hover); }
.archive-year { margin-bottom: 30px; }
.archive-year h2 {
font-size: 1.17em;
margin: 1em 0;
border-bottom: 2px solid var(--border-soft);
padding-bottom: 6px;
}
.archive-year h2 small { color: var(--faint); font-weight: normal; }
.archive-month h3 { font-size: 1em; color: var(--muted); margin: 18px 0 6px; }
.archive-issues { list-style: none; padding: 0; margin: 0; }
.archive-issues li {
padding: 5px 8px;
border-bottom: 1px solid var(--border-soft);
font-size: 0.92rem;
}
.archive-issues li:nth-child(even) { background: var(--surface-inset); }
.issue-date {
display: inline-block;
width: 100px;
color: var(--faint);
font-family: monospace;
font-size: 0.85em;
}
.series-index { margin: 28px 0 50px; }
.series-index > summary { cursor: pointer; font-weight: bold; }
.series-index > summary .count { font-weight: normal; color: var(--muted); }
.series-index-list {
list-style: none;
padding: 10px 0 4px;
margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2px 18px;
}
.series-index-list li { font-size: 0.9rem; padding: 2px 0; }
.series-index-list .count { color: var(--faint); font-size: 0.85em; margin-left: 4px; }
.search-results { list-style: none; padding: 0; }
.search-result { display: block; padding: 14px 18px; }
.results-bar { display: flex; align-items: baseline; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.results-heading { font-size: 1.17em; margin: 0; }
.results-bar details.sort-dropdown { margin-bottom: 0; }
.result-title { margin: 0 0 4px 0; font-size: 1.05rem; }
.result-title-link { text-decoration: none; }
.result-meta { font-size: 0.82rem; color: var(--muted); line-height: 24px; margin-bottom: 4px; }
.result-desc { font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
.meta-link-soft { color: var(--muted); }
.meta-link-softer { color: var(--faint); }
.search-result-snippet {
font-size: 0.85rem;
color: var(--muted);
font-style: italic;
margin-top: 6px;
padding: 4px 10px;
border-left: 2px solid var(--border);
background: var(--surface-inset);
}
mark {
background: var(--mark-bg);
color: var(--mark-text);
border-radius: 2px;
padding: 0 1px;
}
.search-form input,
.search-form select {
background: var(--control-bg);
border: 1px solid var(--control-border);
color: var(--text);
font-family: monospace;
}
.search-form input:focus,
.search-form select:focus {
outline: 2px solid var(--accent);
background: var(--surface);
}
:where(.search-form button) { color: var(--text); }
.remove-row-btn {
background: none;
border: none;
color: var(--faint);
cursor: pointer;
font-size: 1.1em;
padding: 0;
line-height: 1;
}
.reset-link { font-size: 0.9em; margin-left: 4px; }
.date-hist {
display: flex;
gap: 4px;
align-items: flex-end;
margin: 10px 0 25px;
overflow-x: auto;
padding-bottom: 4px;
}
.entity-timeline { margin: 0 0 18px; }
.entity-timeline > summary {
cursor: pointer;
color: var(--muted);
font-size: 0.9em;
user-select: none;
}
.entity-timeline-hist { margin: 12px 0 4px; }
.timeline-block { margin: 4px 0 14px; }
.timeline-label { margin: 8px 0 2px; font-size: 0.78em; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.hist-col {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
min-width: 30px;
}
.hist-track {
height: 60px;
width: 26px;
display: flex;
align-items: flex-end;
}
.hist-bar {
width: 100%;
background: var(--accent);
border-radius: 2px 2px 0 0;
display: block;
}
.hist-col:hover .hist-bar { background: var(--link); }
.hist-col-undated { cursor: default; }
.hist-col-undated .hist-bar { background: var(--muted); opacity: 0.5; }
.hist-col-undated:hover .hist-bar { background: var(--muted); }
.hist-year { font-size: 0.7rem; color: var(--muted); margin-top: 3px; }
.hist-count { font-size: 0.65rem; color: var(--faint); margin-bottom: 2px; }
.home-intro { font-size: 1.05rem; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 120px; }
.home-stats-note { margin: 0; }
.home-stats-note + .home-section { margin-top: 8px; }
.home-action {
padding: 10px 16px;
border: 1px solid var(--border);
border-radius: 8px;
text-decoration: none;
background: var(--surface);
color: var(--text);
}
.home-action:hover { border-color: var(--accent); box-shadow: 0 4px 12px var(--shadow); }
.home-section { margin: 45px 0; }
.home-section h2 { font-size: 1.15rem; border-bottom: 2px solid var(--border-soft); padding-bottom: 6px; }
.see-all { font-size: 0.75em; font-weight: normal; text-decoration: none; margin-left: 8px; }
.home-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 0 30px;
}
.stat-list { list-style: none; padding: 0; margin: 10px 0; }
.stat-list li {
display: flex;
justify-content: space-between;
gap: 10px;
padding: 4px 6px;
border-bottom: 1px solid var(--border-soft);
}
.stat-list a { text-decoration: none; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.pill {
display: inline-flex;
align-items: center;
gap: 5px;
background: var(--control-bg);
border: 1px solid var(--control-border);
border-radius: 20px;
padding: 4px 10px;
text-decoration: none;
color: var(--text);
}
.pill:hover { border-color: var(--accent); }
.pill-count {
font-size: 0.75em;
color: var(--muted);
background: var(--surface-hover);
border-radius: 10px;
padding: 1px 6px;
}
.letter-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 25px; }
.letter-nav a {
padding: 3px 9px;
background: var(--control-bg);
border-radius: 4px;
text-decoration: none;
color: var(--text);
font-size: 0.9em;
}
.letter-nav a:hover { background: var(--surface-hover); }
.glossary-group h2 { border-bottom: 2px solid var(--border-soft); padding-bottom: 4px; }
.glossary-list dt {
font-weight: bold;
margin-top: 14px;
color: var(--text-strong);
}
.glossary-aka { font-weight: normal; font-size: 0.9em; }
.glossary-search { font-size: 0.8em; font-weight: normal; margin-left: 8px; text-decoration: none; }
.glossary-list dd { margin: 4px 0 0 0; color: var(--text); max-width: 800px; }
.glossary-see { font-size: 0.85em; margin-top: 3px; }
.pref-form { max-width: 560px; }
.pref-form fieldset {
border: 1px solid var(--border);
border-radius: 8px;
margin-bottom: 18px;
padding: 12px 16px;
}
.pref-form legend { font-weight: bold; padding: 0 6px; }
.pref-form label { display: block; padding: 4px 0; cursor: pointer; }
.pref-form input[type="checkbox"] { vertical-align: middle; }
.pref-form select {
background: var(--control-bg);
border: 1px solid var(--control-border);
color: var(--text);
padding: 4px 8px;
}
.pref-saved { color: var(--saved-text); font-weight: bold; }
.pref-actions { display: flex; gap: 14px; align-items: center; }
.pref-save { padding: 8px 18px; cursor: pointer; font-weight: bold; }
.doc-container {
max-width: 1920px;
margin: 0 auto;
padding: 20px;
font-family: sans-serif;
display: grid;
}
.doc-header {
max-width: 1200px;
margin: 0 auto;
width: 100%;
}
.header-main { margin-bottom: 20px; }
.content-wrapper {
display: flex;
gap: 20px;
align-items: flex-start;
max-width: 100%;
overflow: hidden;
}
.pane {
height: 70vh;
overflow-y: auto;
position: sticky;
top: 10px;
}
.pane.images-pane { background: var(--pane-bg); color: #c7cedb; }
.images-pane a { color: #c7cedb; }
.images-pane a:visited { color: #c7cedb; }
.images-pane a:hover { color: #fff; }
.images-pane .muted,
.images-pane .faint { color: #9aa3b2; }
.long-description-text {
white-space: pre-line;
padding-bottom: 20px;
line-height: 1.6;
}
.doc-container input[type="radio"],
.meta-checkbox {
position: absolute;
opacity: 0;
width: 0;
height: 0;
margin: 0;
pointer-events: none;
}
.view-picker {
background: var(--control-bg);
padding: 5px;
border-radius: 8px;
display: flex;
gap: 5px;
justify-self: flex-start;
}
.view-picker label {
padding: 8px 16px;
cursor: pointer;
background: var(--control-bg);
color: var(--muted);
border-radius: 4px;
transition: all 0.1s ease;
display: inline-block;
font-size: 0.9rem;
border: 2px solid transparent;
}
.view-picker label:hover { background: var(--surface-hover); }
#view-images:focus-visible ~ .view-picker .btn-img,
#view-split:focus-visible ~ .view-picker .btn-split,
#view-text:focus-visible ~ .view-picker .btn-txt,
.meta-checkbox:focus-visible ~ .meta-label {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 4px;
}
#view-images:checked ~ .view-picker .btn-img,
#view-split:checked ~ .view-picker .btn-split,
#view-text:checked ~ .view-picker .btn-txt {
background: var(--surface-hover);
color: var(--text-strong);
font-weight: bold;
}
#view-images:checked ~ .content-wrapper .text-pane { display: none; }
#view-images:checked ~ .content-wrapper .images-pane {
flex: 1;
max-width: min(1200px, 100%);
margin: 0 auto;
position: relative;
height: auto;
}
#view-text:checked ~ .content-wrapper .images-pane { display: none; }
#view-text:checked ~ .content-wrapper .text-pane {
flex: 1;
max-width: min(1000px, 100%);
margin: 0 auto;
position: relative;
height: auto;
}
#view-split:checked ~ .content-wrapper .images-pane { flex: 1; background: var(--pane-bg); }
#view-split:checked ~ .content-wrapper .text-pane { flex: 1; }
.meta-label {
color: var(--link);
cursor: pointer;
font-weight: bold;
display: inline-block;
padding: 4px 8px 4px 0;
}
.meta-label:hover { background: var(--surface-hover); }
.meta-content { display: none; margin-top: 15px; }
.meta-checkbox:checked ~ .meta-content { display: block; }
.expanded-text { display: none; }
.meta-checkbox:checked ~ .meta-label .collapsed-text { display: none; }
.meta-checkbox:checked ~ .meta-label .expanded-text { display: inline; }
.related-section { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.doc-extra { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.collapse-section > summary {
cursor: pointer;
list-style: none;
display: flex;
align-items: baseline;
gap: 8px;
border-bottom: 2px solid var(--border-soft);
padding-bottom: 8px;
user-select: none;
}
.collapse-section > summary::-webkit-details-marker { display: none; }
.collapse-section > summary h2 { font-size: 1.17em; margin: 0; border: 0; padding: 0; }
.collapse-section > summary small { font-weight: normal; color: var(--faint); }
.collapse-section > summary .collapse-ind { color: var(--link); font-weight: bold; }
.collapse-section > summary .collapse-ind::before { content: "[+]"; }
.collapse-section[open] > summary .collapse-ind::before { content: "[\2212]"; }
.collapse-section > summary:hover .collapse-ind { background: var(--surface-hover); }
.collapse-section { margin-bottom: 30px; }
.image-list {
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
padding: 30px;
}
.image-list img { display: block; max-width: 100%; height: auto; }
.prose {
line-height: 1.8;
font-size: 1.15rem;
color: var(--text);
font-family: Georgia, serif;
padding: 0 20px;
overflow-wrap: anywhere;
}
.prose code { white-space: pre-wrap; }
.prose .md-h1 { font-size: 2em; margin: 0.67em 0; color: var(--text-strong); }
.prose .md-h2 { font-size: 1.5em; margin: 0.83em 0; color: var(--text-strong); }
.prose .md-h3 { font-size: 1.17em; margin: 1em 0; color: var(--text-strong); }
.prose .md-h4 { font-size: 1em; margin: 1.33em 0; color: var(--text-strong); }
.prose .md-h5 { font-size: 0.83em; margin: 1.67em 0; color: var(--text); }
.prose .md-h6 { font-size: 0.67em; margin: 2.33em 0; color: var(--text); }
.prose .table-scroll { max-width: 100%; }
.prose pre { max-width: 100%; overflow-x: auto; }
.tag {
display: inline-flex;
align-items: center;
box-sizing: border-box;
min-height: 24px;
background: var(--control-bg);
padding: 2px 8px;
border-radius: 12px;
margin: 2px;
font-size: 0.85rem;
}
.doc-top-btn {
display: inline-block;
margin: 0 10px 0 0;
padding: 3px 10px;
font-size: 0.85rem;
text-decoration: none;
border: 1px solid var(--control-border);
border-radius: 5px;
background: var(--control-bg);
color: var(--text);
vertical-align: middle;
line-height: 1.5;
}
.doc-top-btn:hover { background: var(--surface-hover); border-color: var(--faint); }
.search-link { display: inline-block; font-size: 0.85em; margin-top: 2px; }
.header-main .doc-top-btn { margin-bottom: 0; }
.header-main .doc-info { margin-top: 18px; }
.header-main h1 { margin-bottom: 14px; }
.doc-pdf-link {
background: var(--accent);
border-color: var(--accent);
color: var(--btn-text);
font-weight: 600;
}
.doc-pdf-link:hover { opacity: .9; background: var(--accent); border-color: var(--accent); }
.doc-info { line-height: 1.25; }
.doc-info strong {
display: inline-block;
min-width: 10.5em;
font-weight: 500;
font-size: 0.82em;
letter-spacing: .04em;
text-transform: uppercase;
color: var(--muted);
}
.doc-banner-link {
font-size: 0.82em;
font-weight: 500;
letter-spacing: .03em;
background: var(--banner-bg);
border: 1px solid var(--banner-border);
border-radius: 4px;
padding: 1px 8px;
text-decoration: none;
}
.doc-info a.tag.classification {
background: transparent;
border: 1px solid var(--classified);
color: var(--classified);
font-weight: 600;
letter-spacing: .02em;
}
.doc-layout.info-sidebar {
display: flex;
align-items: flex-start;
max-width: 1920px;
margin: 0 auto;
}
.info-sidebar > .doc-header {
flex: 0 0 auto;
width: 330px;
min-width: 240px;
max-width: 46vw;
margin: 0;
padding: 0 16px 12px 0;
position: sticky;
top: 10px;
max-height: calc(100vh - 20px);
overflow: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
resize: horizontal;
border-right: 1px solid var(--border-soft);
}
.info-sidebar > .doc-container {
flex: 1 1 auto;
min-width: 0;
max-width: none;
margin: 0;
padding: 0 0 20px 20px;
}
.info-sidebar .header-main { margin-bottom: 0; padding-bottom: 72px; }
.info-collapse-checkbox {
position: absolute;
opacity: 0;
width: 0;
height: 0;
margin: 0;
pointer-events: none;
}
.info-toggle-label {
flex: 0 0 auto;
position: sticky;
top: 10px;
z-index: 3;
margin: 0 3px;
padding: 10px 4px;
cursor: pointer;
user-select: none;
font-size: 0.8rem;
line-height: 1;
color: var(--muted);
background: var(--control-bg);
border: 1px solid var(--control-border);
border-radius: 5px;
}
.info-toggle-label:hover { color: var(--text); border-color: var(--faint); }
.info-toggle-label::before { content: "\00AB"; }
.info-collapse-checkbox:checked ~ .info-toggle-label::before { content: "\00BB"; }
.info-collapse-checkbox:focus-visible ~ .info-toggle-label {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.info-collapse-checkbox:checked ~ .doc-header { display: none; }
.info-sidebar .doc-header h1 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 10px; }
.info-sidebar .doc-info,
.info-sidebar .series-box,
.info-sidebar .pub-block { font-size: 0.88rem; }
.info-sidebar .header-main .doc-pdf-link,
.info-sidebar .header-main .doc-top-btn { margin: 0 6px 8px 0; }
.info-sidebar .checksum { font-size: 0.68rem; }
.info-sidebar .long-description-text { font-size: 0.88rem; line-height: 1.55; }
.info-sidebar .serial-nav { flex-direction: column; gap: 4px; font-size: 0.82rem; }
.info-sidebar .serial-next { margin-left: 0; }
.info-sidebar .meta-grid { display: block; }
.info-sidebar .meta-wide { grid-column: auto; }
.info-sidebar #view-text:checked ~ .content-wrapper .text-pane,
.info-sidebar #view-images:checked ~ .content-wrapper .images-pane {
max-width: none;
}
.info-sidebar .prose { font-size: 1.05rem; }
.info-sidebar #view-split:checked ~ .content-wrapper .images-pane,
.info-sidebar #view-split:checked ~ .content-wrapper .text-pane {
flex: 1 1 50%;
min-width: 0;
}
.pref-form label:has(select) {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px;
}
.pref-form label:has(select) .pref-note { flex: 1 1 100%; }
@media (max-width: 900px) {
.doc-layout.info-sidebar { display: block; }
.info-sidebar > .doc-header {
width: auto;
max-width: 1200px;
position: static;
max-height: none;
overflow: visible;
resize: none;
border-right: 0;
padding-right: 0;
margin: 0 auto;
}
.info-sidebar > .doc-container { padding: 20px; }
.info-toggle-label { display: none; }
.info-sidebar .header-main { margin-bottom: 20px; }
}
@media print {
.doc-layout.info-sidebar { display: block; }
.info-sidebar > .doc-header {
position: static !important;
max-height: none !important;
overflow: visible !important;
width: auto !important;
border-right: 0;
}
.info-toggle-label { display: none !important; }
}
.header-main .rule-top > p {
line-height: 1.65;
}
.pub-block .pub-entry {
max-width: 70ch;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--surface);
}
.pub-block .pub-entry + .pub-entry { margin-top: 10px; }
.pub-block .pub-sep { padding-top: 10px; border-top: 1px solid var(--border); }
.pub-block .pub-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 2px 10px;
font-size: 0.85em;
}
.pub-block .pub-head .pub-original { margin-left: 0; font-weight: 600; }
.pub-block .pub-head .pub-date { margin-top: 0; font-size: 1em; }
.pub-block .pub-head + .pub-title { margin-top: 4px; }
.pub-block .pub-people { margin-top: 7px; }
.header-main .meta-label {
font-weight: normal;
font-size: 0.85rem;
}
@media (max-width: 900px) {
#cat-boxes {
grid-template-columns: repeat(auto-fill, minmax(120px, max-content));
gap: 5px;
}
#cat-boxes .cat-box { padding: 7px 10px; text-align: left; }
#cat-boxes .cat-box strong { font-size: 14px; }
}
@media (max-width: 768px) {
html { font-size: 14px; }
body { padding: 12px; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }
.browse-header .browse-title, .tab-title { font-size: 1.2rem; }
.prose .md-h1 { font-size: 1.5rem; }
.prose .md-h2 { font-size: 1.2rem; }
#cat-boxes {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 20px;
}
#cat-boxes .cat-box {
display: inline-flex;
align-items: baseline;
gap: 5px;
padding: 4px 10px;
border-radius: 14px;
text-align: left;
}
#cat-boxes .cat-box strong {
display: inline;
font-size: 0.82rem;
margin: 0;
}
#cat-boxes .cat-box .count { font-size: 0.72rem; }
.doc-card { flex-direction: column; gap: 8px; }
.doc-grid .thumb-container { flex: 0 0 auto; }
.content-wrapper { flex-direction: column; align-items: stretch; }
.content-wrapper > .pane { min-width: 0; max-width: 100%; }
.pane { position: static; height: auto; }
th, td { width: auto; }
}
.search-title { margin-bottom: 10px; }
.search-panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 10px;
padding: 16px 18px;
max-width: 860px;
box-shadow: 0 2px 4px var(--shadow);
}
.query-rows { display: flex; flex-direction: column; gap: 8px; }
.query-row { display: flex; align-items: center; gap: 8px; }
.qr-conj { width: 90px; flex: 0 0 90px; }
.qr-conj select { width: 100%; }
.qr-term {
flex: 1;
min-width: 0;
padding: 7px 10px;
border-radius: 6px;
font-size: 0.95rem;
}
.qr-field { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.qr-in { font-size: 0.85em; }
.search-panel select {
background: var(--control-bg);
border: 1px solid var(--control-border);
color: var(--text);
padding: 6px 6px;
border-radius: 6px;
}
.remove-row-spacer { width: 22px; flex: 0 0 22px; }
.remove-row-btn { width: 22px; flex: 0 0 22px; }
.add-row-btn {
background: none;
border: 1px dashed var(--control-border);
color: var(--muted);
border-radius: 6px;
padding: 5px 12px;
cursor: pointer;
}
.add-row-btn:hover { color: var(--text); border-color: var(--faint); }
.date-filters { margin-top: 17px; }
.date-filters summary {
cursor: pointer;
color: var(--muted);
font-size: 0.9em;
user-select: none;
}
.date-filter-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.date-filter-row { display: flex; align-items: center; gap: 8px; }
.df-label { width: 80px; flex: 0 0 80px; font-size: 0.9em; }
.date-filter-row input {
width: 120px;
padding: 5px 8px;
border-radius: 6px;
font-family: monospace;
font-size: 0.85rem;
}
.search-actions {
display: flex;
align-items: center;
gap: 14px;
margin-top: 16px;
flex-wrap: wrap;
}
.search-btn {
font-weight: bold;
padding: 8px 22px;
cursor: pointer;
border-radius: 6px;
border: 1px solid var(--accent);
background: var(--accent);
color: var(--btn-text);
}
.search-btn:hover { opacity: 0.9; }
.list-header h1 { margin-bottom: 6px; }
.list-controls {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px 16px;
margin-bottom: 18px;
}
.list-controls details.sort-dropdown,
.list-controls .type-filter {
margin-bottom: 0;
}
.pref-reset {
padding: 8px 14px;
cursor: pointer;
background: none;
border: 1px solid var(--control-border);
border-radius: 4px;
color: var(--muted);
}
.pref-reset:hover { color: var(--text); border-color: var(--faint); }
@media (max-width: 700px) {
.query-row { flex-wrap: wrap; }
.qr-conj { flex-basis: 100%; width: auto; }
.qr-term { flex-basis: 100%; }
}
.inline-form { display: inline; margin: 0; }
.link-btn {
background: none;
border: none;
padding: 0;
cursor: pointer;
font-size: 0.85em;
color: var(--link);
text-decoration: underline;
}
.link-btn.faint { color: var(--faint); }
.unpin-btn { font-size: 0.72rem; margin-left: 4px; }
.pin-btn { cursor: pointer; font-family: inherit; }
.export-link { margin-left: 12px; }
.recent-searches {
margin: 10px 0 14px;
font-size: 0.9rem;
}
.recent-searches > summary {
cursor: pointer;
color: var(--muted);
font-size: 0.9em;
user-select: none;
}
.recent-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-top: 10px;
}
.recent-searches .pill { font-size: 0.85em; }
.glossary-box {
background: var(--banner-bg);
border: 1px solid var(--banner-border);
border-radius: 6px;
padding: 10px 14px;
margin: 0 0 18px;
max-width: 800px;
font-size: 0.95rem;
}
.checksum {
font-size: 0.72rem;
word-break: break-all;
background: var(--surface-inset);
border: 1px solid var(--border-soft);
border-radius: 4px;
padding: 3px 6px;
display: inline-block;
}
.cat-blurb { max-width: 900px; font-size: 0.92rem; margin: 6px 0 14px; }
.coll-scope { margin-top: 6px; }
.pub-more { margin: 10px 0 2px; }
.id-table { font-size: 0.82em; table-layout: fixed; }
.id-table .c-id { width: 24%; }
.id-table .c-coll { width: 9%; }
.id-table .c-pages { width: 5%; }
.id-table .c-pdf { width: 25%; }
.id-table .c-size { width: 7%; }
.id-table .c-sha { width: 30%; }
.id-table td:first-child { overflow-wrap: anywhere; }
.id-table td { padding: 5px 10px; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.id-table code { font-size: 0.92em; word-break: break-all; }
.id-table .checksum { font-size: 0.68rem; padding: 1px 4px; }
.id-table .id-version td { background: var(--surface-alt); }
.id-table .id-version td:first-child { padding-left: 22px; }
.changelog-list { list-style: none; padding: 0; max-width: 900px; }
.changelog-entry {
padding: 7px 4px;
border-bottom: 1px solid var(--border-soft);
font-size: 0.95rem;
}
.changelog-date { font-family: monospace; font-size: 0.85em; margin-right: 8px; }
.changelog-type {
display: inline-block;
font-size: 0.65rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.04em;
border-radius: 10px;
padding: 1px 7px;
margin-right: 6px;
background: var(--control-bg);
border: 1px solid var(--control-border);
color: var(--muted);
}
.changelog-type-added { background: var(--reported-bg); color: var(--reported-text); border-color: var(--reported-border); }
.changelog-type-removed { background: var(--badge-sid-bg); color: var(--badge-sid-text); border-color: var(--badge-sid-border); }
.changelog-type-updated { background: var(--badge-foia-bg); color: var(--badge-foia-text); border-color: var(--badge-foia-border); }
.pref-note { font-weight: normal; font-size: 0.85em; }
.home-section h2 .link-btn { margin-left: 10px; }
@media print {
:root {
--bg: #fff;
--text: #000;
--text-strong: #000;
--muted: #444;
--faint: #666;
--link: #000;
--border: #999;
--border-soft: #ccc;
--surface: #fff;
--surface-alt: #fff;
--surface-inset: #fff;
--pane-bg: #fff;
--btn-text: #fff;
}
.site-nav,
footer,
.view-picker,
.doc-pdf-link,
.pin-btn,
.inline-form,
.export-link,
.related-section,
.thumb-container,
.sort-dropdown,
.view-toggle,
.pagination,
.recent-searches,
.search-panel,
#cat-boxes,
.doc-top-btn,
.pp-panel,
.search-facets,
.type-filter,
button {
display: none !important;
}
body { max-width: 100%; padding: 0; }
a { color: #000; }
.prose a, .doc-content a { text-decoration: underline; }
.pane {
position: static !important;
height: auto !important;
overflow: visible !important;
}
.content-wrapper { display: block !important; min-height: 0; }
#view-images:checked ~ .content-wrapper .text-pane,
#view-split:checked ~ .content-wrapper .text-pane,
#view-text:checked ~ .content-wrapper .text-pane {
display: block !important;
max-width: 100% !important;
}
#view-images:checked ~ .content-wrapper .images-pane,
#view-split:checked ~ .content-wrapper .images-pane,
#view-text:checked ~ .content-wrapper .images-pane {
display: none !important;
}
.meta-content { display: block !important; }
.meta-label { display: none !important; }
}
.article-year h2 { border-bottom: 2px solid var(--border-soft); padding-bottom: 4px; }
.article-list { list-style: none; padding: 0; margin: 6px 0 22px; max-width: 980px; }
.article-item {
display: flex;
gap: 14px;
padding: 7px 4px;
border-bottom: 1px solid var(--border-soft);
align-items: baseline;
}
.article-date {
flex: 0 0 92px;
font-family: monospace;
font-size: 0.82em;
}
.article-main { min-width: 0; }
.article-title { text-decoration: none; font-weight: 600; }
.article-title:hover { text-decoration: underline; }
.article-meta { font-size: 0.82em; display: block; margin-top: 1px; }
.article-kind { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9em; color: var(--muted); }
.article-header h1 { margin: 2px 0 6px; max-width: 900px; }
.article-kicker {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.75rem;
margin: 0;
}
.article-byline { margin: 0 0 10px; }
.pub-article-title { font-style: italic; }
.home-search-form {
display: flex;
gap: 10px;
margin: 25px 0 30px;
}
.home-search {
flex: 1;
padding: 13px 16px;
font-size: 1.05rem;
border: 1px solid var(--control-border);
border-radius: 8px;
background: var(--surface);
color: var(--text);
}
.home-search:focus { outline: 2px solid var(--accent); }
.cat-box-active {
border-color: var(--accent) !important;
box-shadow: 0 0 0 1px var(--accent);
}
.pub-original {
font-size: 0.85em;
margin-left: 6px;
white-space: nowrap;
}
.coll-filter-row {
display: flex;
flex-wrap: wrap;
gap: 14px;
align-items: center;
padding: 10px 0 4px;
}
.coll-check {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 0.9rem;
cursor: pointer;
white-space: nowrap;
}
.coll-check input { margin: 0; }
.pinned-searches-heading { margin-top: 35px; }
.pinned-searches { list-style: none; padding: 0; max-width: 800px; }
.pinned-search-item {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 2px;
border-bottom: 1px solid var(--border-soft);
}
.page-jump {
position: sticky;
top: 0;
z-index: 2;
background: var(--pane-bg);
max-height: 56px;
overflow-y: auto;
scrollbar-width: thin;
padding: 6px 8px;
border-bottom: 1px solid var(--border-soft);
font-size: 0.78rem;
display: flex;
flex-wrap: wrap;
gap: 0 2px;
align-items: center;
}
.page-jump a {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
min-height: 24px;
text-decoration: none;
}
.page-jump a:hover { text-decoration: underline; }
.notfound { max-width: 700px; margin: 40px auto; }
.notfound h1 { margin-bottom: 8px; }
@media print {
.page-jump { display: none !important; }
}
.about-page { max-width: 760px; }
.about-page p { line-height: 1.7; }
.about-page section { margin-bottom: 28px; }
.about-page h2 {
font-size: 1.25rem;
margin: 0 0 10px;
padding-bottom: 4px;
border-bottom: 1px solid var(--border-soft);
scroll-margin-top: 12px;
}
.about-page .toc {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px 16px;
margin: 0 0 28px;
}
.about-page .toc strong {
display: block;
font-size: 0.85em;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--muted);
margin-bottom: 6px;
}
.about-page .toc ul { margin: 0; padding-left: 18px; }
.about-page .toc li { margin: 2px 0; }
.about-page h3 { font-size: 1.1rem; margin: 26px 0 8px; scroll-margin-top: 12px; }
.about-page h4 { font-size: 1rem; margin: 20px 0 6px; }
.about-page ul ul { margin: 4px 0; }
.about-page li { margin: 3px 0; line-height: 1.6; }
.about-page pre {
background: var(--surface-inset);
border: 1px solid var(--border-soft);
border-radius: 6px;
padding: 10px 12px;
overflow-x: auto;
font-size: 0.85em;
}
.about-page details > summary { cursor: pointer; }
.about-collapse > summary > h2,
.about-collapse > summary > h3 { display: inline; }
.about-table td, .about-table th { padding: 8px 10px; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.about-table td:first-child { white-space: nowrap; }
.field-dict dt { margin-top: 14px; font-weight: 600; }
.field-dict dd { margin: 4px 0 0 20px; line-height: 1.6; }
@media (max-width: 768px) {
.collection-tabs { gap: 2px; flex-wrap: nowrap; }
.collection-tab {
padding: 7px 8px;
font-size: 0.82rem;
white-space: nowrap;
flex: 0 1 auto;
min-width: 0;
}
.collection-tab .tab-count { font-size: 0.7rem; }
.header-main .doc-top-btn {
margin-right: 8px;
margin-bottom: 12px;
}
#view-split:checked ~ .content-wrapper { flex-direction: row; }
#view-split:checked ~ .content-wrapper .images-pane,
#view-split:checked ~ .content-wrapper .text-pane {
flex: 0 0 50%;
max-width: 50%;
min-width: 0;
}
.text-pane { overflow-x: auto; max-width: 100%; }
.prose { padding: 0 10px; min-width: 0; }
.date-filter-row { flex-wrap: wrap; }
.date-filter-row input {
width: auto;
flex: 1 1 90px;
min-width: 0;
max-width: 140px;
box-sizing: border-box;
}
.df-label { flex: 0 0 70px; width: 70px; }
.coll-filter-row { gap: 8px 12px; }
}
.note-box {
max-width: 900px;
margin: 14px 0;
border: 1px solid var(--border-soft);
border-radius: 6px;
padding: 8px 12px;
background: var(--surface);
}
.note-box > summary {
cursor: pointer;
font-weight: 600;
user-select: none;
}
.note-box textarea {
width: 100%;
box-sizing: border-box;
margin-top: 8px;
padding: 8px 10px;
border: 1px solid var(--control-border);
border-radius: 4px;
background: var(--surface-inset);
color: var(--text);
font: inherit;
font-size: 0.9rem;
}
.note-status { font-size: 0.75em; font-weight: normal; }
.note-list-box { margin-top: 35px; }
.note-list { list-style: none; padding: 0; max-width: 900px; }
.note-item {
padding: 8px 4px;
border-bottom: 1px solid var(--border-soft);
}
.note-item > a { font-weight: 600; }
.note-date { font-size: 0.8em; margin: 0 8px; }
.note-text {
white-space: pre-wrap;
overflow-wrap: anywhere;
font-size: 0.9rem;
color: var(--muted);
margin-top: 3px;
}
.serial-nav {
display: flex;
justify-content: space-between;
gap: 12px;
max-width: 900px;
margin: 8px 0 4px;
font-size: 0.9rem;
}
.serial-nav a { text-decoration: none; }
.serial-nav a:hover { text-decoration: underline; }
.serial-next { margin-left: auto; }
.search-ops-hint { max-width: 800px; font-size: 0.85rem; margin: 0 0 14px; }
.search-ops-hint code {
background: var(--surface-inset);
border: 1px solid var(--border-soft);
border-radius: 3px;
padding: 0 4px;
}
@media print {
.note-box, .serial-nav { display: none !important; }
}
.archive-note {
max-width: 900px;
margin: 14px 0;
padding: 10px 14px;
border-left: 3px solid var(--accent);
background: var(--banner-bg);
border-radius: 0 6px 6px 0;
font-size: 0.95rem;
word-break: break-word;
}
.page-link-list { list-style: none; padding: 8px 12px; margin: 0; }
.page-link-list li { padding: 3px 0; border-bottom: 1px solid var(--border-soft); }
.textonly-note { padding: 8px 12px; margin: 0; font-size: 0.85rem; }
.build-info { font-size: 0.8em; }
.ctl,
.export-link,
.view-toggle a,
.pin-search-btn {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 0.78rem;
font-weight: normal;
font-family: inherit;
line-height: 1;
padding: 5px 10px;
border: 1px solid var(--control-border);
border-radius: 5px;
background: var(--control-bg);
color: var(--muted);
text-decoration: none;
cursor: pointer;
vertical-align: middle;
}
.ctl:hover,
.export-link:hover,
.view-toggle a:hover,
.pin-search-btn:hover {
color: var(--text);
border-color: var(--faint);
}
.view-toggle { display: inline-flex; gap: 4px; }
.view-toggle a.active-toggle {
background: var(--border-strong);
color: #fff;
border-color: var(--border-strong);
}
@media (max-width: 768px) {
.view-toggle a { padding: 5px 8px; white-space: nowrap; }
}
.type-filter {
display: inline-flex;
gap: 12px;
align-items: center;
margin-bottom: 15px;
font-size: 0.88em;
flex-wrap: wrap;
}
.type-filter-option {
display: inline-flex;
align-items: center;
gap: 4px;
cursor: pointer;
}
.note-subtle {
border: none;
background: none;
padding: 0;
margin: 6px 0 0;
max-width: 700px;
}
.note-subtle > summary {
display: inline-block;
font-weight: normal;
font-size: 0.85rem;
color: var(--link);
text-decoration: underline;
cursor: pointer;
}
.note-subtle textarea { font-size: 0.85rem; }
.search-ops-hint { margin: 0 0 14px; }
.search-ops-hint > summary {
cursor: pointer;
font-size: 0.85rem;
color: var(--muted);
}
.search-ops-hint p { max-width: 800px; font-size: 0.85rem; }
.search-results.has-thumbs .search-result {
display: flex;
gap: 14px;
align-items: flex-start;
}
.result-thumb {
flex: 0 0 auto;
display: block;
width: 120px;
}
.result-thumb .doc-img {
width: 120px;
height: auto;
border: 1px solid var(--border-soft);
border-radius: 3px;
display: block;
}
.result-body { flex: 1 1 auto; min-width: 0; }
@media (max-width: 768px) {
.result-thumb, .result-thumb .doc-img { width: 88px; }
}
@media (max-width: 768px) {
.browse-controls { width: 100%; }
}
.doc-untitled { color: var(--faint); font-style: italic; font-weight: normal; }
.browse-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 10px 16px;
flex-wrap: wrap;
margin-bottom: 25px;
}
.browse-title { font-size: 1.5em; margin: 0; }
.browse-controls-spaced { margin-bottom: 15px; }
.sort-bar-spaced details.sort-dropdown { margin-top: 15px; }
.browse-controls {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
#view-images:checked ~ .content-wrapper.scroll-panes .images-pane,
#view-text:checked ~ .content-wrapper.scroll-panes .text-pane {
height: 90vh;
overflow-y: auto;
}
@media (max-width: 768px) {
#view-images:checked ~ .content-wrapper.scroll-panes .images-pane,
#view-text:checked ~ .content-wrapper.scroll-panes .text-pane {
flex: 0 0 auto;
height: 85vh;
overflow-y: auto;
}
}
.meta-value-list {
list-style: none;
margin: 4px 0 0;
padding: 0;
}
.meta-value-list li { padding: 2px 0; }
.collection-desc {
max-width: 720px;
margin: -10px 0 22px;
color: var(--muted);
}
.custom-css-details { margin: 30px 0; border-top: 1px solid var(--border-soft); padding-top: 15px; }
.custom-css-details > summary { cursor: pointer; font-weight: bold; }
.custom-css-details > summary::marker { color: var(--muted); }
.custom-css-details > * { margin-top: 10px; }
#custom-css {
width: 100%;
box-sizing: border-box;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.85rem;
padding: 8px 10px;
border: 1px solid var(--control-border);
border-radius: 4px;
background: var(--surface-inset);
color: var(--text);
}
.custom-css-actions {
display: flex;
gap: 10px;
align-items: center;
margin-top: 8px;
flex-wrap: wrap;
}
.custom-css-status { font-size: 0.8rem; }
.pp-panel {
position: fixed;
z-index: 1000;
top: 0;
right: 0;
height: 100vh;
width: 460px;
display: flex;
flex-direction: column;
background: var(--bg);
border-left: 1px solid var(--border-strong);
box-shadow: -8px 0 28px var(--shadow);
padding: 8px;
overflow: hidden;
transform: translateX(100%);
opacity: 0;
pointer-events: none;
transition: transform 0.16s ease, opacity 0.16s ease;
}
.pp-panel.pp-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.pp-resizer {
position: absolute;
top: 0;
left: 0;
width: 7px;
height: 100%;
z-index: 2;
cursor: ew-resize;
}
.pp-resizer:hover, .pp-resizer.pp-dragging { background: var(--accent); opacity: 0.4; }
.pp-stage {
position: relative;
flex: 1 1 auto;
min-height: 0;
margin-left: 6px;
background: var(--pane-bg);
border: 1px solid var(--border-soft);
border-radius: 4px;
overflow: hidden;
}
.pp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pp-foot {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 6px 4px 2px;
margin-left: 6px;
margin-bottom: 10px;
font-size: 0.76em;
color: var(--muted);
}
.pp-counter { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-hint b { color: var(--text); font-weight: 600; }
.pp-hint-pinned { display: none; }
.pp-panel.pp-pinned .pp-hint-free { display: none; }
.pp-panel.pp-pinned .pp-hint-pinned { display: inline; }
.pp-panel.pp-pinned { border-left-color: var(--accent); }
.pp-panel.pp-pinned .pp-resizer { background: var(--accent); opacity: 0.25; }
.pp-strip {
flex: 0 0 auto;
display: flex;
gap: 4px;
overflow-x: auto;
padding: 2px;
margin-left: 6px;
scrollbar-width: thin;
}
.pp-th {
height: 54px;
width: 42px;
flex: 0 0 auto;
object-fit: contain;
border: 2px solid transparent;
border-radius: 2px;
cursor: pointer;
opacity: 0.6;
background: var(--pane-bg);
}
.pp-th:hover { opacity: 1; }
.pp-th.pp-cur { border-color: var(--accent); opacity: 1; }
.table-scroll { overflow-x: auto; }
.cat-table-colls .num-col { padding-left: 18px; }
.coll-cols-checkbox {
position: absolute;
opacity: 0;
width: 0;
height: 0;
margin: 0;
pointer-events: none;
}
.coll-cols-label {
color: var(--link);
cursor: pointer;
font-weight: bold;
display: inline-block;
padding: 4px 8px 4px 0;
margin-bottom: 6px;
}
.coll-cols-label:hover { background: var(--surface-hover); }
.coll-cols-checkbox:focus-visible ~ .coll-cols-label {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: 4px;
}
.coll-col { display: none; }
.coll-cols-checkbox:checked ~ .table-scroll .coll-col { display: table-cell; }
.coll-cols-checkbox:checked ~ .coll-cols-label .collapsed-text { display: none; }
.coll-cols-checkbox:checked ~ .coll-cols-label .expanded-text { display: inline; }
.explore-list { list-style: none; padding: 0; max-width: 800px; }
.explore-list li { margin: 12px 0; line-height: 1.5; }
.explore-table td { vertical-align: top; }
.explore-date { white-space: nowrap; color: var(--muted); }
.explore-link { margin: 30px 0 10px; font-size: 1.1em; }
.crumb { margin: 0 0 4px; font-size: 0.85em; }
.page-open { display: block; }
.lightbox { display: none; }
.lightbox:target {
display: flex;
position: fixed;
inset: 0;
z-index: 200;
background: rgba(0, 0, 0, 0.92);
align-items: center;
justify-content: center;
}
.lightbox img {
width: auto;
height: auto;
max-width: 96vw;
max-height: 94vh;
object-fit: contain;
position: relative;
z-index: 201;
}
.lightbox .lb-backdrop {
inset: 0;
z-index: 200;
padding: 0;
border-radius: 0;
}
.lightbox .lb-backdrop:hover, .lightbox .lb-backdrop:focus-visible { background: none; }
.lightbox a {
position: fixed;
color: #ddd;
text-decoration: none;
line-height: 1;
padding: 14px 18px;
z-index: 202;
}
.lightbox a:hover, .lightbox a:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.12); border-radius: 6px; }
.lb-close { top: 8px; right: 12px; font-size: 2.2rem; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lb-counter {
position: fixed;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
color: #aaa;
font-size: 0.85rem;
}
@media print {
.lightbox { display: none !important; }
}
.page-sheet {
list-style: none;
padding: 0;
margin: 20px 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
}
.page-sheet li { position: relative; }
.page-sheet a {
display: block;
border: 1px solid var(--border);
border-radius: 4px;
overflow: hidden;
background: var(--surface);
}
.page-sheet a:hover, .page-sheet a:focus-visible { border-color: var(--accent); }
.page-sheet img {
display: block;
width: 100%;
height: 210px;
object-fit: contain;
background: #fff;
}
.page-sheet .page-num {
position: absolute;
bottom: 4px;
right: 8px;
font-size: 0.8rem;
background: rgba(0, 0, 0, 0.45);
color: #eee;
padding: 1px 6px;
border-radius: 3px;
}
.assembly-note { margin: 8px 0 0; }
.assembly-list { list-style: none; padding: 0; margin: 20px 0; }
.assembly-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.assembly-thumb { flex: 0 0 180px; }
.assembly-thumb img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.page-sheet .assembly-cap { margin: 6px 0 0; font-size: 0.8rem; line-height: 24px; overflow-wrap: anywhere; }
.page-sheet .assembly-cap a { display: inline; border: none; border-radius: 0; background: none; overflow: visible; }
.lightbox .lb-caption { z-index: 202; max-width: 90vw; padding: 2px 8px; text-align: center; color: #ccc; background: rgba(0, 0, 0, 0.7); border-radius: 4px; }
.lightbox .lb-caption a { position: static; padding: 0; color: #fff; text-decoration: underline; }
@media (max-width: 600px) {
.assembly-list li { flex-direction: column; }
.assembly-thumb { flex-basis: auto; }
}
.month-nav {
display: flex;
flex-wrap: wrap;
gap: 9px 14px;
align-items: baseline;
margin: 0 0 18px;
font-size: 0.92rem;
}
.month-nav a { text-decoration: none; white-space: nowrap; }
.month-nav a:hover, .month-nav a:focus-visible { text-decoration: underline; }
.month-nav a.active { font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }
.month-nav .month-nav-note { font-size: 0.85em; }
.month-nav .facet-count {
font-size: 0.78em;
background: var(--control-bg);
border: 1px solid var(--border);
border-radius: 9px;
padding: 0 6px;
margin-left: 3px;
color: var(--muted);
}
.doc-pages { color: var(--muted); white-space: nowrap; }
.series-box { font-size: 0.95rem; }
.series-list { margin: 6px 0 0; padding-left: 2.2em; }
.series-list li { margin: 2px 0; }
.series-list strong[aria-current] { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
.data-table thead th,
.cat-table thead th {
position: sticky;
top: 0;
background: var(--surface-hover);
z-index: 2;
}
@media (min-width: 1024px) {
.table-scroll { overflow-x: visible; }
}
@media print {
main a[href^="http"]::after {
content: " (" attr(href) ")";
font-size: 0.85em;
color: #444;
word-break: break-all;
}
}
.meta-wide { grid-column: span 2; }
.hist-toggles a.active { font-weight: bold; }
.breakdown-bars {
display: grid;
gap: 4px;
margin: 6px 0 14px;
max-width: 500px;
}
.bd-row {
display: grid;
grid-template-columns: minmax(120px, 38%) 1fr auto;
gap: 8px;
align-items: center;
min-height: 20px;
text-decoration: none;
font-size: 0.9rem;
}
.bd-row:hover .bd-name, .bd-row:focus-visible .bd-name { text-decoration: underline; }
.bd-name { overflow-wrap: anywhere; }
.bd-track { background: var(--control-bg); border-radius: 3px; height: 10px; }
.bd-bar { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bd-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.cls-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; font-size: 0.85rem; }
.cls-key { display: inline-flex; align-items: center; gap: 5px; }
.cls-swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.cls-row { display: grid; grid-template-columns: 52px minmax(0, 640px) auto; gap: 10px; align-items: center; margin: 3px 0; }
.cls-year { text-decoration: none; font-variant-numeric: tabular-nums; }
.cls-strip { display: flex; height: 24px; border-radius: 3px; overflow: hidden; background: var(--control-bg); }
.cls-seg { display: block; height: 100%; }
.cls-seg:hover, .cls-seg:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.cls-total { font-variant-numeric: tabular-nums; }
.seg-0 { background: #b3453c; }
.seg-1 { background: #d98a3d; }
.seg-2 { background: #c9b458; }
.seg-3 { background: #5b84a8; }
.heat-table td { text-align: right; }
.heat-table tfoot th { text-align: right; font-weight: normal; }
.heat-table tfoot th:first-child { text-align: left; }
.outlet-table small { margin-left: 1px; }
.cat-note { font-size: 0.85em; }
.heat-table td:first-child { text-align: left; }
.heat-cell a { text-decoration: none; display: block; }
.result-pubs { font-size: 0.85rem; line-height: 24px; }
.pub-block .pub-note { font-size: 0.92em; margin-top: 4px; white-space: pre-line; }
.pub-block .pub-reporting-only { font-size: 0.92em; margin-top: 2px; font-style: italic; }
.pub-block .pub-copy {
display: flex;
flex-wrap: wrap;
gap: 2px 14px;
font-size: 0.92em;
margin-top: 9px;
}
.pub-block .pub-shown { font-style: italic; }
.version-actions { margin: 8px 0 4px; }
.version-snippet .snippet-source { font-weight: 600; margin-right: 0.4em; }
.result-matches-in { font-size: 0.9em; margin-top: 4px; }
.page-sheet li.page-changed a { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.page-sheet .page-changed-badge { position: absolute; top: 4px; left: 4px; background: var(--accent); color: var(--btn-text); font-size: 0.75em; padding: 1px 6px; border-radius: 3px; }
.changed-pages-note { margin: 6px 0; }
.image-list .page-open.page-changed { outline: 3px solid var(--accent); outline-offset: 2px; position: relative; }
.image-list .page-open .page-changed-badge { top: 6px; left: 6px; }
.page-jump a.page-changed-jump { font-weight: 700; color: #ffd479; }