@import url('./catalog-original-comparison.css');

/* Compact catalog with the source database's search/table structure. */
.catalog-shell{padding-top:20px;padding-bottom:32px;color:#202623;font-size:16px;line-height:1.6}
.catalog-shell *{box-sizing:border-box}
.catalog-shell a{color:#174ea6;text-decoration:underline;text-underline-offset:3px}
.catalog-intro{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px}
.catalog-shell h1{margin:0;font-size:24px;line-height:1.5;letter-spacing:0}
.catalog-intro p{margin:0;font-size:14px;color:#4c5650}
.catalog-coverage{margin:8px 0 14px;font-size:14px;color:#3e4a43}
.catalog-coverage strong{font-size:18px;color:#202623}
.catalog-search{border:1px solid #b8c7be;background:#fff}
.catalog-section-title{margin:0;padding:8px 14px;background:#eaf1ed;border-bottom:1px solid #c4d0c9;color:#263f31;font-size:17px;font-weight:700;line-height:1.5}
.catalog-basic-fields{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) minmax(140px,1fr) minmax(140px,1fr);gap:10px 16px;padding:14px 14px 6px}
.catalog-basic-fields label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px}
.catalog-shell input,.catalog-shell select{width:100%;min-width:0;min-height:40px;border:1px solid #aab8af;border-radius:2px;background:#fff;color:#202623;font:inherit;font-size:15px;padding:6px 9px}
.catalog-shell input[type=checkbox]{width:17px;height:17px;min-height:17px;flex:none;margin:0;accent-color:#356a4e}
.catalog-search-help{margin:0;padding:0 14px 12px;font-size:13px;color:#525d56;line-height:1.65}
.catalog-issues-title{display:flex;align-items:center;flex-wrap:wrap;background:#eaf1ed;border-top:1px solid #c4d0c9;border-bottom:1px solid #c4d0c9}
.catalog-issues-title .catalog-section-title{border:0}
.catalog-issues-title>span{font-size:12px;color:#526257;padding:3px 14px;margin-left:auto}
.catalog-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:0;padding:0;margin:0;min-width:0}
.catalog-categories label{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 12px;border-bottom:1px solid #e0e6e2;font-size:14px;line-height:1.45;cursor:pointer}
.catalog-categories label:hover{background:#f4f7f5}
.catalog-search-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#fafbf9}
.catalog-text-button{border:0;padding:5px 0;background:transparent;color:#174ea6;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:14px;cursor:pointer;min-height:36px}
.catalog-text-button:disabled{color:#65736b;cursor:wait}
.catalog-search-button{border:1px solid #315c45;border-radius:2px;background:#356a4e;color:#fff;padding:8px 24px;min-height:40px;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.catalog-search-button:hover{background:#29563e}
.catalog-errors{margin:0;padding:10px 14px;border-top:1px solid #d8b4ad;background:#fff5f2;color:#8a2f22;font-size:14px}
.catalog-results{margin-top:22px}
.catalog-results-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.catalog-results-top h2{margin:0;font-size:20px;line-height:1.5}
.catalog-results-top h2>span{font-size:15px;margin-left:10px;font-weight:400}
.catalog-results-top h2 small{font-size:13px;color:#535f57;white-space:nowrap}
.catalog-view-options{display:flex;flex-wrap:wrap;gap:10px 15px}
.catalog-view-options label{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap}
.catalog-view-options select{width:auto;min-height:34px;font-size:13px;padding:3px 6px}
.catalog-applied{font-size:13px;margin:5px 0 10px;color:#46564b;overflow-wrap:anywhere}
.catalog-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;margin:9px 0;font-size:14px}
.catalog-pagination>span:first-child{margin-right:5px;color:#46564b;font-size:13px}
.catalog-pagination a,.catalog-pagination strong,.catalog-pagination .catalog-disabled{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:34px;padding:3px 6px}
.catalog-pagination strong{background:#e8efea;color:#213f2c;border:1px solid #b8c7be}
.catalog-disabled{color:#88928d}
.catalog-mobile-hint{display:none;margin:4px 0;font-size:12px;color:#535f57}
.catalog-table-scroll{overflow-x:auto;border:1px solid #b8c7be;background:#fff}
.catalog-table{border-collapse:collapse;width:100%;min-width:730px;table-layout:fixed;font-size:14px;line-height:1.55}
.catalog-table thead th{background:#eaf1ed;color:#263f31;font-weight:700;font-size:14px}
.catalog-table th,.catalog-table td{border-bottom:1px solid #ccd5cf;border-right:1px solid #dde4df;padding:10px 12px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.catalog-table tr>*:last-child{border-right:0}
.catalog-table tbody tr:last-child>*{border-bottom:0}
.catalog-table tbody tr:nth-child(even){background:#fafcfb}
.catalog-table tbody tr:hover{background:#f2f7f3}
.catalog-table th:first-child{width:76px}
.catalog-table th:nth-child(2){width:138px}
.catalog-table th:nth-child(3){width:130px}
.catalog-table th:nth-child(5){width:170px}
.catalog-table tbody th{font-weight:400;font-variant-numeric:tabular-nums}
.catalog-authority{display:block;font-size:13px;line-height:1.5;font-weight:400;white-space:normal}
.catalog-date{font-variant-numeric:tabular-nums;white-space:nowrap}
.catalog-date small{display:block;font-size:11px;line-height:1.5;color:#68542c;margin-top:3px;white-space:normal}
.catalog-category-cell{font-size:13px}
.catalog-reviewed{display:block;width:max-content;max-width:100%;margin-top:4px;font-size:12px}
.catalog-pdf-links{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:13px}
.catalog-pdf-links a{white-space:nowrap;min-height:24px;display:inline-flex;align-items:center}
.catalog-passage-pages{display:flex;align-items:center;flex-wrap:wrap;gap:0 12px;flex-basis:100%;font-size:14px}
.catalog-passage-pages a{display:inline-flex;align-items:center;min-height:32px;white-space:nowrap;text-decoration:underline}
@media(max-width:700px){.catalog-passage-pages a{min-height:44px}}
.catalog-download{font-weight:700}
.catalog-file-status{display:block;font-size:11px;color:#6b756f;margin-top:4px}
.catalog-muted{color:#758078}
.catalog-empty{padding:25px 18px;border:1px solid #ccd5cf;background:#fafcfb;font-size:16px}
.catalog-empty p{margin:0 0 4px}
.catalog-source-note{font-size:12px;color:#536158;line-height:1.8;margin:10px 0 0}
.catalog-shell :focus-visible{outline:2px solid #174ea6;outline-offset:3px}
@media(max-width:900px){.catalog-basic-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.catalog-shell{padding-top:16px}.catalog-shell h1{font-size:23px}.catalog-intro{gap:4px}.catalog-intro p{width:100%;font-size:13px}.catalog-coverage{font-size:13px}.catalog-basic-fields{padding:12px 12px 7px;gap:10px}.catalog-basic-fields label{font-size:13px}.catalog-basic-fields input,.catalog-basic-fields select{font-size:14px;padding:6px}.catalog-section-title{font-size:16px;padding:7px 12px}.catalog-issues-title>span{margin-left:0;padding:0 12px 7px;width:100%;font-size:12px}.catalog-categories label{font-size:13px;padding:7px 9px;gap:6px}.catalog-search-help{font-size:12px;padding:0 12px 10px}.catalog-search-bottom{padding:9px 12px}.catalog-search-button{padding:7px 16px}.catalog-results-top{gap:8px}.catalog-results-top h2{font-size:18px}.catalog-results-top h2>span{font-size:14px}.catalog-view-options{width:100%;justify-content:flex-end;gap:10px}.catalog-mobile-hint{display:block}.catalog-pagination{gap:2px;font-size:13px}.catalog-pagination a,.catalog-pagination strong,.catalog-pagination .catalog-disabled{min-width:28px;min-height:34px;padding:3px 4px}.catalog-pagination>span:first-child{width:100%}.catalog-table{font-size:13px;min-width:730px}.catalog-table th,.catalog-table td{padding:9px 10px}.catalog-source-note{font-size:12px}}
@media(max-width:370px){.catalog-categories{grid-template-columns:1fr}.catalog-basic-fields{grid-template-columns:1fr}.catalog-view-options{justify-content:flex-start}.catalog-results-top h2>span{display:block;margin-left:0}}
@media print{.catalog-search,.catalog-pagination,.catalog-view-options,.catalog-mobile-hint,.catalog-coverage button{display:none!important}.catalog-shell{max-width:none;padding:0}.catalog-table-scroll{overflow:visible}.catalog-table{min-width:0;font-size:9pt}.catalog-table th,.catalog-table td{padding:5px}.catalog-table th:first-child{width:10%}.catalog-table th:nth-child(2){width:12%}.catalog-table th:nth-child(3){width:16%}.catalog-table th:nth-child(5){width:20%}.catalog-table tr{break-inside:avoid}.catalog-pdf-links{font-size:9pt}}

/* Keep PDF actions visible on narrow phones while retaining the desktop table. */
@media(max-width:620px){
.catalog-mobile-hint{display:none}.catalog-table-scroll{overflow:visible}.catalog-table{display:block;min-width:0;width:100%}.catalog-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.catalog-table tbody{display:block}.catalog-table tbody tr{display:grid;grid-template-columns:58px minmax(70px,1fr) minmax(110px,auto);gap:5px 8px;padding:11px 12px;border-bottom:1px solid #c7d1ca}.catalog-table tbody tr:last-child{border-bottom:0}.catalog-table tbody tr>*{width:auto!important;border:0;padding:0;min-width:0}.catalog-table tbody th::before{content:'ID ';color:#65736b;font-size:11px}.catalog-table tbody td:nth-child(3){text-align:right;font-size:13px}.catalog-table tbody td:nth-child(4),.catalog-table tbody td:nth-child(5){grid-column:1/-1}.catalog-category-cell{line-height:1.6}.catalog-pdf-links{gap:10px 24px;font-size:14px;padding-top:1px}.catalog-pdf-links a{min-height:36px}.catalog-reviewed{font-size:13px}.catalog-date small{font-size:11px}.catalog-category-cell:empty{display:none}
}
