/* The Classes index (templates/pages/classes.html). Only what site.css doesn't have. */
.hero .wrap { padding-top: 40px; padding-bottom: 32px; }
.examples { margin: 0; font-size: 15px; font-weight: 800; color: var(--muted-ink); }
.totals { display: flex; flex-wrap: wrap; gap: 24px; }
.totals > div { display: flex; flex-direction: column; }
.totals .n { font-size: 36px; font-weight: 900; line-height: 1.05; }
.totals .what { font-size: 14px; font-weight: 800; color: var(--muted-ink); }

/* The filter strip on navy. Candidate for site.css: the Locos page has the same strip. */
.filters { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; background: var(--navy-2); border: 2px solid var(--rim); border-radius: 18px; box-shadow: 0 5px 0 #050A12; }
.filters .field label { font-size: 13px; color: var(--muted-ink); }
.filters .input { border-color: var(--ink-deep); }
.filters .btn--primary { height: 48px; padding: 0 24px; border-radius: 12px; box-shadow: 0 4px 0 var(--orange-lip); }

/* Chips on navy: the current one is paper, pressed down; the rest navy with a lip. */
.kinds { flex: 1 1 100%; }
.hero .chip { background: var(--navy-3); color: var(--paper); border-color: var(--rim); box-shadow: 0 3px 0 #050A12; }
.hero .chip[aria-current="true"] { background: var(--paper); color: var(--ink); border-color: var(--ink-deep); box-shadow: none; transform: translateY(3px); }
.chip .n { opacity: 0.75; }

.groups { padding-top: 32px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 36px; }
.group-head { border-bottom: 2px solid var(--ink); padding-bottom: 8px; gap: 4px 16px; }
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.class-card { display: flex; flex-direction: column; gap: 8px; padding: 10px; box-shadow: 0 5px 0 var(--ink); color: var(--ink); }
a.class-card { display: flex; }
.class-card .card-art { height: 64px; border-radius: 10px; background: #1C2A40; display: flex; align-items: center; justify-content: center; padding: 0 10px; }
.class-card .card-art .art { width: auto; max-width: 100%; max-height: 54px; }
.class-card .card-art svg.art { width: 170px; }
.class-card .names { display: flex; flex-direction: column; }
.class-name { font-family: var(--display); font-size: 24px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.class-card .sub { font-size: 14px; font-weight: 800; color: var(--muted); min-height: 19px; }
.class-card .count { font-size: 16px; font-weight: 900; }
.class-card .ops { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--body-2); }
/* "23 stored": a plate in the BEING CHECKED colours, not an evidence tag. */
.stored { height: 22px; padding: 0 7px; border-radius: 7px; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; display: inline-flex; align-items: center; white-space: nowrap; background: var(--rim); color: var(--paper); }

.how { padding-top: 28px; padding-bottom: 28px; }
.how p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }

@media (max-width: 520px) {
  .class-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .group-head .sh { font-size: 32px; }
}
