.wrap.wide { max-width: 1160px; padding-block: 32px 64px; }
.link { background: none; border: 0; font: inherit; cursor: pointer; }
.lede { color: var(--muted); }
.gsi { margin-top: 24px; min-height: 44px; }
.note { color: var(--muted); font-size: .9rem; }
.head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.head .btn { cursor: pointer; }
.bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.filters .n { font-family: var(--font-data); font-weight: 400; margin-left: 6px; opacity: .8; }
#q { font: inherit; font-size: .95rem; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; min-width: 0; width: 260px; max-width: 100%; }
.table-wrap { position: relative; overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
th { font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-alt); }
th[data-sort] { cursor: pointer; user-select: none; }
th[aria-sort="ascending"]::after { content: " ↑"; }
th[aria-sort="descending"]::after { content: " ↓"; }
td.mono { font-family: var(--font-data); font-size: .82rem; }
td .copy { margin-left: 6px; font-size: .78rem; color: var(--brand); padding: 2px 6px; border-radius: 6px; }
td .copy:hover { background: var(--brand-soft); }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); }
.pill.Approved { background: var(--brand-soft); color: var(--brand); }
.pill.Added { background: var(--brand); color: var(--on-brand); }
.pill.Rejected { color: var(--danger); }
.acts { display: flex; gap: 6px; justify-content: flex-end; }
.acts button {
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--fg);
}
.acts button.yes { border-color: var(--brand); color: var(--brand); }
.acts button.no { color: var(--danger); }
.acts button[disabled] { opacity: .5; cursor: default; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0;
  background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: .9rem;
}
[hidden] { display: none !important; }
