.an-filters { display: grid; gap: 8px; grid-template-columns: 2fr repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) { .an-filters { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .an-filters #fq { grid-column: 1 / -1; } }
.an-filters .input, .an-filters .select { min-height: 38px; font-size: .86rem; padding-left: 10px; }
.an-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.an-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.an-card h4 { margin: 0; font-size: 1rem; }
.an-card .an-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 750; }
.an-card .an-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.an-card .an-acts { display: flex; gap: 4px; margin-top: auto; padding-top: 6px; }
.an-card.dim { opacity: .55; }
.an-menu { position: relative; }
.an-menu summary { list-style: none; }
.an-menu summary::-webkit-details-marker { display: none; }
.an-menu-box { position: absolute; right: 0; top: 40px; z-index: 20; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 250px; display: grid; }
.an-menu-box button, .an-menu-box label { text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; font: inherit; font-size: .9rem; color: var(--text); }
.an-menu-box button:hover, .an-menu-box label:hover { background: var(--surface-3); }
.an-dlg { border: 1px solid var(--border); border-radius: 18px; padding: 0; width: min(760px, 94vw); max-height: 90vh; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg, 0 20px 60px rgba(0,0,0,.3)); }
.an-dlg::backdrop { background: rgba(0, 0, 0, .45); }
.an-dlg form { padding: 20px; display: grid; gap: 12px; }
.an-fg { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.an-fg .input, .an-fg .select { min-height: 40px; }
.an-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
.an-match { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--surface); margin-bottom: 8px; }
.an-score { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: #fff; }
.an-why { font-size: .82rem; color: var(--text-2); margin-top: 4px; }
.an-why .ok { color: var(--success); }
.an-why .no { color: var(--danger); }
.an-print { display: none; }
@media print {
  body * { visibility: hidden !important; }
  .an-print, .an-print * { visibility: visible !important; }
  .an-print { display: block !important; position: absolute; left: 0; top: 0; width: 100%; color: #111; font-size: 12px; }
  .an-print h2 { margin: 0 0 4px; }
  .an-print .pp { border: 1px solid #ccc; border-radius: 6px; padding: 10px; margin: 8px 0; break-inside: avoid; }
}
