/* The sheets catalogue follows the site's light/dark semantic palette. */
.sheet-heading .btn{margin-top:16px}.sheet-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:28px 0 20px}.sheet-stat{padding:20px;border:1px solid var(--edge);border-radius:12px;background:var(--surface);display:flex;flex-direction:column;gap:4px}.sheet-stat strong{font-size:28px;letter-spacing:-1px}.sheet-stat span,.sheet-hint{color:var(--muted);font-size:12px;line-height:1.7}.sheet-notice{padding:17px 20px;border-left:3px solid var(--accent);background:var(--surface2);border-radius:0 9px 9px 0;font-size:13px}.sheet-categories{display:flex;flex-wrap:wrap;gap:7px;margin:25px 0}.sheet-category,.sheet-tab{border:1px solid var(--edge);background:var(--surface);color:var(--text);border-radius:8px;padding:8px 12px;font-size:12px}.sheet-category:hover,.sheet-tab:hover{border-color:var(--accent)}.sheet-category.active,.sheet-tab.active{border-color:var(--accent);background:var(--raised);font-weight:700}.sheet-category:focus-visible,.sheet-tab:focus-visible,.sheet-filter select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sheet-tools{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--edge);padding-bottom:16px}.sheet-tabs{display:flex;gap:8px}.sheet-filter{font-size:12px;color:var(--muted)}.sheet-filter[hidden]{display:none}.sheet-filter select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--edge);border-radius:6px;padding:8px;margin-left:6px}.sheet-counter{font-size:12px;color:var(--muted);margin:18px 0}.sheet-empty{padding:55px 25px;text-align:center;border:1px dashed var(--edge);border-radius:14px;background:var(--surface)}.sheet-empty strong{display:block;font-size:20px}.sheet-empty p{max-width:530px;margin:12px auto 0;color:var(--muted);font-size:13px}.sheet-results>.sheet-tab{display:block;margin:18px auto}.sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sheet-card{border:1px solid var(--edge);border-radius:14px;overflow:hidden;background:var(--surface);min-width:0}.sheet-preview{aspect-ratio:4/3;display:grid;place-items:center;padding:16px;background:var(--surface2);border-bottom:1px solid var(--edge);color:var(--muted);font-size:12px;text-align:center}.sheet-preview img{width:100%;height:100%;min-height:0;max-height:300px;object-fit:contain}.sheet-card-body{padding:20px}.sheet-card h2{font-size:18px;margin:12px 0 8px;overflow-wrap:anywhere}.sheet-card p{font-size:13px;overflow-wrap:anywhere}.sheet-card .btn{margin-top:12px}.sheet-badge{display:inline-block;font-size:11px;border:1px solid var(--edge);padding:4px 8px;border-radius:20px;white-space:nowrap}.sheet-badge.covered{border-color:var(--accent);background:var(--raised)}.sheet-badge.missing{border-style:dashed}.sheet-badge.unreviewed{color:var(--muted)}.sheet-table-wrap{overflow:auto;border:1px solid var(--edge);border-radius:12px}.sheet-table{width:100%;border-collapse:collapse;font-size:13px;background:var(--surface);text-align:left}.sheet-table caption{padding:13px 16px;text-align:left;font-weight:700;background:var(--surface2)}.sheet-table th,.sheet-table td{padding:13px 16px;border-bottom:1px solid var(--edge);vertical-align:top}.sheet-table th{font-size:11px;color:var(--muted);white-space:nowrap}.sheet-table td:first-child{min-width:175px}.sheet-table a{text-decoration:underline;text-underline-offset:3px}.sheet-table tr:last-child td{border-bottom:0}.sheet-source-link{display:block;margin-bottom:5px}.sheet-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:12px}.sheet-tab:disabled{opacity:.4;cursor:default}.sheet-prompt{margin-top:16px;font-size:12px}.sheet-prompt summary{cursor:pointer;color:var(--accent)}.sheet-prompt pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface2);padding:12px;border-radius:6px}
@media(max-width:1180px){.sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sheet-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sheet-stat{padding:14px}.sheet-stat strong{font-size:24px}.sheet-grid{grid-template-columns:1fr}.sheet-tabs{width:100%}.sheet-tabs button{flex:1}.sheet-categories{max-height:180px;overflow:auto;padding:3px}.sheet-empty{padding:35px 18px}.sheet-pager{gap:6px}.sheet-pager .sheet-tab{padding:8px}.sheet-preview img{max-height:360px}}
.prop-actions,.prop-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.prop-tabs{margin-bottom:20px}.prop-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:18px 0;border-bottom:1px solid var(--edge)}.prop-filters label{display:flex;flex-direction:column;gap:5px;max-width:100%}.prop-filters select{margin:0;max-width:280px}.prop-name,.prop-meta{display:block;margin-top:5px}.prop-meta{color:var(--muted);font-size:11px}.prop-thumb{display:block;width:96px;height:96px;border:1px solid var(--edge);border-radius:6px;overflow:hidden}.prop-thumb img{width:100%;height:100%;object-fit:contain}.prop-specs{display:grid;grid-template-columns:minmax(130px,1fr) 3fr;gap:0;border:1px solid var(--edge);border-radius:12px;background:var(--surface);margin-top:24px;overflow:hidden}.prop-specs dt,.prop-specs dd{margin:0;padding:13px 16px;border-bottom:1px solid var(--edge);font-size:13px;overflow-wrap:anywhere}.prop-specs dt{color:var(--muted);background:var(--surface2)}.prop-specs dd:last-child,.prop-specs dt:nth-last-child(2){border-bottom:0}.sheet-badge.generated{background:var(--raised);border-color:var(--accent)}.sheet-badge.recorded{border-style:dashed}.props-page>.sheet-grid{margin-top:24px}.prop-filters select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sheet-card a.sheet-preview{display:grid}.props-page .sheet-preview{aspect-ratio:1;padding:0}.props-page .sheet-preview img{max-height:none;object-fit:contain}.props-page .sheet-table td:first-child{min-width:220px}
@media(max-width:640px){.prop-filters label{width:calc(50% - 6px)}.prop-filters select{width:100%;max-width:100%}.prop-specs{grid-template-columns:1fr}.prop-specs dt{padding-bottom:4px;border-bottom:0}.prop-specs dd{padding-top:4px}.prop-actions .btn{font-size:11px}.prop-tabs{gap:6px}.prop-tabs .sheet-tab{font-size:11px}}
