/* Design tokens and component classes recreated from
   design/design_handoff_tcpa_call_log/README.md — colors, spacing, and
   type scale match that spec exactly. Classes, not the prototype's inline
   styles: this is hand-written vanilla CSS/JS, not a templating tool
   output, and repeating the same style string across five JS files would
   drift. --danger/--dangerbg are new this session (see CLAUDE_NOTES.md) --
   the prototype never had to represent a failed write. */

* {
  box-sizing: border-box;
}

/* [hidden] must always win over a component's own `display`, regardless of
   selector specificity or where that component's rule sits in the file --
   without `!important` this only holds by file-order accident (see
   CLAUDE_NOTES.md: .overview-main's own `display: grid` silently
   overrode the browser's default [hidden]{display:none} because author
   rules always beat the user-agent stylesheet, hidden attribute or not).
   Do not remove this to "simplify" -- it's what makes hiding correct by
   construction instead of by whichever component happened not to declare
   `display` yet. */
[hidden] {
  display: none !important;
}

:root,
[data-theme="light"] {
  --bg: oklch(0.965 0.003 255);
  --surface: oklch(1 0 0);
  --surface2: oklch(0.94 0.004 255);
  --line: oklch(0.87 0.006 255);
  --text: oklch(0.24 0.01 255);
  --muted: oklch(0.52 0.012 255);
  --signal: oklch(0.52 0.14 55);
  --signalbg: oklch(0.94 0.04 62);
  --action: oklch(0.50 0.14 250);
  --actionbg: oklch(0.94 0.035 250);
  --ok: oklch(0.48 0.09 155);
  --danger: oklch(0.55 0.19 25);
  --dangerbg: oklch(0.94 0.05 25);
}

[data-theme="dark"] {
  --bg: oklch(0.18 0.008 255);
  --surface: oklch(0.225 0.009 255);
  --surface2: oklch(0.26 0.01 255);
  --line: oklch(0.32 0.011 255);
  --text: oklch(0.95 0.004 255);
  --muted: oklch(0.68 0.012 255);
  --signal: oklch(0.74 0.13 62);
  --signalbg: oklch(0.28 0.045 62);
  --action: oklch(0.74 0.13 245);
  --actionbg: oklch(0.28 0.045 245);
  --ok: oklch(0.74 0.09 155);
  --danger: oklch(0.72 0.17 25);
  --dangerbg: oklch(0.28 0.06 25);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--action);
  text-decoration: none;
}
a:hover {
  color: var(--text);
}

input,
textarea,
button,
select {
  font-family: inherit;
  color: inherit;
}
textarea {
  resize: vertical;
}
::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}
.mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- app shell ---- */

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.app-header-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.app-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.app-subtitle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.icon-button {
  min-height: 34px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.icon-button:hover {
  color: var(--text);
  border-color: var(--muted);
}

.app-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  gap: 4px;
}
.app-tab {
  position: relative;
  padding: 14px 12px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.app-tab.active {
  color: var(--text);
}
.app-tab.active::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--text);
}
.app-tab:disabled {
  color: var(--line);
  cursor: default;
}

.app-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px 120px;
}

/* ---- Log a Call form ---- */

.sticky-actions {
  position: sticky;
  top: 96px;
  z-index: 15;
  background: var(--bg);
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  min-height: 52px;
  background: var(--text);
  color: var(--bg);
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}
.sticky-actions .btn-primary {
  flex: 1;
}
.btn-secondary {
  min-height: 52px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.field-group {
  display: grid;
  gap: 8px;
}
.field-group + .field-group {
  margin-top: 22px;
}
.form-grid {
  display: grid;
  gap: 22px;
  padding-top: 22px;
}

.text-input {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 17px;
  outline: none;
}
.text-input:focus {
  border-color: var(--action);
}
.text-input.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.textarea {
  width: 100%;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}
.textarea:focus {
  border-color: var(--action);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.chip.active {
  border-color: var(--action);
  background: var(--actionbg);
  color: var(--action);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.toggle-track {
  width: 52px;
  height: 30px;
  border-radius: 15px;
  flex: 0 0 auto;
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--line);
}
.toggle-track.on {
  background: var(--signalbg);
  border-color: var(--signal);
}
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--text);
  transition: left 0.12s ease;
}
.toggle-track.on .toggle-thumb {
  left: 25px;
}

.picker-button {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.picker-button.placeholder {
  color: var(--muted);
}
.picker-button-hint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

.prefill-block {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.prefill-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.prefill-row-key {
  flex: 0 0 92px;
  color: var(--muted);
}

.warning-box {
  border: 1px solid var(--signal);
  background: var(--signalbg);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

/* ---- Call record ---- */

.back-link {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 0 0 14px;
}

.status-banner {
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  line-height: 1.45;
}
.status-banner.ok {
  border: 1px solid var(--ok);
}
.status-banner.pending {
  border: 1px solid var(--action);
}
.status-banner.failed {
  border: 1px solid var(--danger);
  color: var(--danger);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  flex: 0 0 auto;
}
.status-banner.ok .status-dot {
  background: var(--ok);
}
.status-banner.pending .status-dot {
  background: var(--action);
}
.status-banner.failed .status-dot {
  background: var(--danger);
}

.call-header {
  padding-left: 16px;
  margin-bottom: 8px;
  border-left: 3px solid var(--line);
}
.call-header.after {
  border-left-color: var(--signal);
}
.call-ref {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.call-datetime {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 6px;
}
.call-callerid {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 17px;
  margin-top: 6px;
}
.after-tag {
  display: inline-block;
  margin-top: 12px;
  background: var(--signalbg);
  border: 1px solid var(--signal);
  color: var(--signal);
  border-radius: 4px;
  padding: 6px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-table {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 22px;
}
.field-row {
  background: var(--surface);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.field-row-key {
  flex: 0 0 132px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-row-val {
  font-size: 15px;
  line-height: 1.5;
}
.field-row-val.pending {
  color: var(--action);
}
.field-row-val.danger {
  color: var(--danger);
}

.evidence-section {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.evidence-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.evidence-row.pending {
  border-color: var(--action);
}
.evidence-row.failed {
  border-color: var(--danger);
  background: var(--dangerbg);
}
/* Already-attached evidence (public/js/evidence-upload.js's "Attached"
   section) stacks instead of the default side-by-side layout above --
   an <audio controls> element wants its own full-width line, not squeezed
   next to a filename in a flex row sized for two short text spans. */
.evidence-row.existing {
  flex-direction: column;
  align-items: stretch;
}
.evidence-row-name {
  font-size: 14px;
}
.evidence-row-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.evidence-progress {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.evidence-progress-bar {
  height: 100%;
  background: var(--action);
}
.evidence-error {
  color: var(--danger);
  font-size: 13px;
}
.evidence-add-button {
  border: 1px dashed var(--line);
  background: transparent;
  border-radius: 6px;
  padding: 20px;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}
.evidence-add-button:hover {
  color: var(--text);
  border-color: var(--muted);
}

/* ---- badges / rails (list rows, shared by this and next session) ---- */

.rail-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.rail {
  width: 3px;
  flex: 0 0 auto;
  background: transparent;
}
.rail.after {
  background: var(--signal);
}
.rail.pending {
  background: var(--action);
}
.rail.failed {
  background: var(--danger);
}

.badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 6px;
  color: var(--muted);
}
.badge.signal {
  border-color: var(--signal);
  background: var(--signalbg);
  color: var(--signal);
}
.badge.pending {
  border-color: var(--action);
  background: var(--actionbg);
  color: var(--action);
}
.badge.failed {
  border-color: var(--danger);
  background: var(--dangerbg);
  color: var(--danger);
}

/* ---- company picker sheet ---- */

.sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.sheet-panel {
  background: var(--bg);
  width: 100%;
  max-width: 640px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.sheet-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
}
.sheet-title {
  flex: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet-body {
  flex: 1;
  overflow: auto;
  padding: 16px 18px 40px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.picker-result {
  width: 100%;
  text-align: left;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  gap: 6px;
}
.picker-result:hover {
  border-color: var(--muted);
}
.picker-result-name {
  font-size: 16px;
}
.picker-result-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.create-new-button {
  width: 100%;
  text-align: left;
  padding: 16px 14px;
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--action);
  font-size: 15px;
  cursor: pointer;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.address-grid .text-input {
  min-height: 52px;
}
.span-1 {
  grid-column: span 1;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-6 {
  grid-column: span 6;
}

.dashed-button {
  justify-self: start;
  min-height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--action);
  font-size: 15px;
  cursor: pointer;
}
.dashed-button:hover {
  border-color: var(--action);
}

.hint-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---- settings panel ---- */

.settings-panel {
  padding: 16px 18px 40px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.panel {
  margin-block: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.error {
  color: var(--danger);
}

#codes-list {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
}

/* ---- shared list header / row content (Calls, Companies, Call History) ---- */

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-toggle {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.filter-toggle.active {
  border-color: var(--signal);
  background: var(--signalbg);
  color: var(--signal);
}

.add-company-button {
  min-height: 44px;
  padding: 0 14px;
  background: var(--text);
  color: var(--bg);
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.list-row-content {
  flex: 1;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 14px 16px 0;
  display: grid;
  gap: 6px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
}
.rail-row.selected {
  background: var(--surface);
}

.row-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.row-title {
  font-size: 16px;
  font-weight: 500;
}
.row-meta-mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.row-meta-plain {
  font-size: 13px;
  color: var(--muted);
}
.row-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.after-request-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}
.damages-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.retry-button {
  align-self: center;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--danger);
  border-color: var(--danger);
  white-space: nowrap;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}
.text-input:disabled,
.textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- Calls ---- */

.calls-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 18px 100px;
}
.month-group {
  margin-bottom: 26px;
}
.month-group-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* ---- Companies ---- */

.companies-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 100px;
}
.companies-grid {
  display: grid;
  gap: 24px;
}
.company-list-pane {
  display: grid;
  gap: 0;
  align-content: start;
}
.company-detail-pane {
  display: grid;
  gap: 22px;
  align-content: start;
}

.company-title-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  padding: 0 0 6px;
  outline: none;
}
.company-title-input:focus {
  border-bottom-color: var(--action);
}

.section-block {
  display: grid;
  gap: 10px;
}
.section-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.verify-state {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.address-block {
  display: grid;
  gap: 4px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.address-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  padding-bottom: 4px;
}

.service-card {
  border: 1px solid var(--signal);
  border-radius: 6px;
  padding: 14px;
  display: grid;
  gap: 12px;
  background: var(--surface);
}
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.service-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.text-input.dense {
  min-height: 42px;
  font-size: 14px;
}
.mono-narrow-input {
  max-width: 220px;
}

.exposure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.exposure-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  display: grid;
  gap: 6px;
}
.exposure-tile-value {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

/* ---- Overview ---- */

.overview-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 22px 18px 100px;
  display: grid;
  gap: 28px;
}

.queue-health-line {
  margin-top: -18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.stat-tile {
  background: var(--surface);
  padding: 18px 16px;
  display: grid;
  gap: 8px;
}
.stat-value {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
}
.bar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.bar-stack {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}
.bar-segment-after {
  background: var(--signal);
  border-radius: 2px 2px 0 0;
}
.bar-segment-before {
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 0 0 2px 2px;
}
.bar-label {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.legend-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.offender-row {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  cursor: pointer;
  display: grid;
  gap: 8px;
  color: var(--text);
  font: inherit;
}
.offender-bar-track {
  display: block;
  height: 6px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
}
.offender-bar-fill {
  display: block;
  height: 100%;
}

@media (min-width: 900px) {
  .app-main {
    max-width: 820px;
  }
}
