.sample-catalog { margin-top: 1.4rem; }
.sample-catalog [hidden] { display: none !important; }
.catalog-controls { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; padding: 1rem; border-radius: .7rem; background: #eff6ff; border: 1px solid #dbeafe; }
.catalog-controls label { display: flex; flex-direction: column; gap: .4rem; color: #1e3a8a; font-size: .9rem; font-weight: 700; }
.catalog-controls label:first-child { flex: 1 1 220px; }
.catalog-controls input, .catalog-controls select, .catalog-controls button { font: inherit; padding: .65rem .7rem; border: 1px solid #94a3b8; border-radius: .4rem; color: #0f172a; background: white; min-height: 44px; max-width: 100%; }
.catalog-controls button { cursor: pointer; font-weight: 700; }
.catalog-count { color: #475569; font-size: .9rem; margin: .8rem 0; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.sample-card { display: flex; flex-direction: column; gap: .5rem; min-width: 0; border: 1px solid #cbd5e1; border-radius: .7rem; padding: 1.1rem; background: white; color: #0f172a; text-decoration: none; }
.sample-card:hover { border-color: #1d4ed8; box-shadow: 0 4px 16px #1d4ed812; color: #0f172a; }
.sample-card:focus-visible, .catalog-controls :focus-visible { outline: 3px solid #ea580c; outline-offset: 3px; }
.sample-number { color: #1d4ed8; letter-spacing: .06em; font-weight: 700; font-size: .75rem; }
.sample-card .sign-thumbnail { width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:white; border-radius:.4rem; }
.sample-card h3 { margin: 0; color: #0f172a; font-size: 1.15rem; line-height: 1.5; }
.sample-card p { margin: 0 0 .4rem; color: #475569; font-size: .9rem; line-height: 1.75; }
.sample-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.sample-tags span { padding: .12rem .45rem; border-radius: .25rem; background: #eff6ff; color: #1e40af; font-size: .74rem; }
.catalog-empty { padding: 1rem; border: 1px dashed #94a3b8; border-radius: .5rem; }
@media (max-width: 480px) { .catalog-controls { flex-direction: column; align-items: stretch; } .catalog-controls label:first-child { flex-basis: auto; } }
