/* The office's PAN register (pan-register.html): a sheet like the TDS return's rows (css/tds-return.css), with a search and counts by status. */
.pr { max-width: 1320px; }
.pr .rt-head p { max-width: 760px; }
.pr .toolbar input[type="search"] { width: 280px; }
.pr .counts { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 12.5px; }
.pr .counts .muted { margin-right: 4px; }
.pr .counts button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; height: 24px; padding: 0 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.pr .counts button:hover { border-color: var(--faint); }
.pr .counts button b { font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 3px; }
.pr .counts button.on { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.pr .counts button.bad { color: var(--crit); }
.pr #copyAll { margin-left: auto; }
.pr .badnote { color: var(--crit); font-size: 12.5px; }
table.rt-grid .w-pan { width: 100%; min-width: 108px; }
table.rt-grid .w-trade { min-width: 150px; }
table.rt-grid .w-st { width: 150px; }
table.rt-grid .w-note { min-width: 160px; }
table.rt-grid input.bad { background: var(--crit-bg); color: var(--crit); }
table.rt-grid select.st-ok { color: var(--ok); }
table.rt-grid select.st-inoperative { color: var(--warn); }
table.rt-grid select.st-invalid { color: var(--crit); }
table.rt-grid select option { color: var(--ink); }
/* a status or an operative-since date the PAN can't have (hover for why) */
table.rt-grid input.flag, table.rt-grid select.flag { outline: 2px solid var(--crit); outline-offset: -2px; background: var(--crit-bg); }
table.rt-grid tr.more td { padding: 7px 8px; background: var(--surface); }

/* on a phone the page's name hides (tools.css), and so does the slash before it, so the header fits */
@media (max-width: 640px) { .hd-sep.ctx { display: none; } .pr .toolbar input[type="search"] { width: 100%; } .pr #copyAll { margin-left: 0; } }
