/* The operators page (templates/pages/operators.html). Only what site.css doesn't have. */

/* Hero: the search box and the group filters, on navy */
.op-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
.op-search .input { flex: 1 1 260px; height: 52px; border-radius: 14px; border-color: var(--ink-deep); padding: 0 16px; font-size: 17px; box-shadow: inset 0 3px 0 var(--line); }
.hero .wrap.op-filters { padding-top: 0; padding-bottom: 28px; }
.hero .chip { border-color: var(--rim-2); background: var(--navy-3); color: var(--paper); box-shadow: 0 3px 0 #050A12; }
.hero .chip[aria-current="true"] { border-color: var(--paper); background: var(--paper); color: var(--ink); box-shadow: none; transform: translateY(3px); }

/* Brand colours: the hard-stop split is set inline from the data; stripes when none are recorded */
.brand-none { background: repeating-linear-gradient(45deg, var(--paper) 0 4px, var(--line) 4px 8px); }
.op-band.brand-none { background: repeating-linear-gradient(45deg, var(--paper) 0 6px, var(--line) 6px 12px); }
.swatch--wide { width: 28px; }
.op-name { display: inline-flex; align-items: center; gap: 10px; }
.op-code { font-size: 14px; color: var(--muted); }

/* Freight operator cards */
.freight-ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card.freight-op { padding: 0 0 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: var(--ink); }
.op-band { height: 22px; display: block; border-bottom: 2px solid var(--ink); }
.op-head { padding: 0 14px; display: flex; align-items: baseline; gap: 8px; }
.op-title { flex: 1; font-size: 17px; font-weight: 900; line-height: 1.2; }
.op-counts { padding: 0 14px; display: flex; gap: 16px; font-size: 14px; font-weight: 800; color: var(--body-2); }
.op-counts strong { font-size: 18px; color: var(--ink); }

/* Side panels */
.note { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.other-ops { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 800; }
.other-ops li { display: flex; gap: 10px; align-items: baseline; }
.other-ops .op-code { width: 28px; color: var(--muted-ink); }
