:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --text: #1c2230;
  --muted: #667085;
  --line: #e3e6eb;
  --accent: #2f5bd3;
  --accent-text: #ffffff;
  --hover: #f0f3fa;
  --danger: #c4372f;
  --ok: #1f8a4c;
  --warn: #b7791f;
  --shadow: 0 10px 30px rgba(20, 30, 50, 0.12);
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b;
    --panel: #1b1f27;
    --text: #e6e8ec;
    --muted: #98a2b3;
    --line: #2c323d;
    --accent: #5b82f0;
    --hover: #232937;
    --danger: #ef6b62;
    --ok: #4cc283;
    --warn: #e3a948;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: 18px; }
h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 22px 0 8px; }
.boot { padding: 40px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

/* ------------------------------------------------ forms */
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; min-width: 0;
}
textarea { width: 100%; min-height: 60px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
label > input, label > select, label > textarea { color: var(--text); font-size: 14px; }
button {
  border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: 7px 12px; cursor: pointer;
}
button:hover:not(:disabled) { background: var(--hover); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
button.primary:hover:not(:disabled) { filter: brightness(1.08); background: var(--accent); }
button.danger { color: var(--danger); }
button.big { padding: 10px 18px; font-weight: 600; }
button.case { background: var(--ok); border-color: var(--ok); color: #fff; }
button.nocase { background: var(--danger); border-color: var(--danger); color: #fff; }
/* keep their colour on hover (the general hover would turn the background light behind the white text) */
button.case:hover:not(:disabled) { background: var(--ok); filter: brightness(1.08); }
button.nocase:hover:not(:disabled) { background: var(--danger); filter: brightness(1.08); }
button.link { border: none; background: none; color: var(--accent); padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.form-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-top: 10px; background: var(--bg); }

/* ------------------------------------------------ layout */
.topbar {
  display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: var(--panel);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.logo { display: block; flex: none; }
.tabs { display: flex; gap: 4px; }
.tabs button { border: none; background: none; padding: 8px 12px; border-radius: 7px; color: var(--muted); font-weight: 600; }
.tabs button.active { background: var(--hover); color: var(--text); }
.user { margin-left: auto; display: flex; gap: 10px; align-items: center; }
main { padding: 18px 20px 40px; max-width: 1500px; margin: 0 auto; }
.filters { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ------------------------------------------------ tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; position: sticky; top: 0; background: var(--panel); }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--text); }
tbody tr.click { cursor: pointer; }
tbody tr.click:hover { background: var(--hover); }
tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.empty { padding: 30px; text-align: center; color: var(--muted); }

/* ------------------------------------------------ badges */
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--hover); color: var(--muted); border: 1px solid transparent; }
.b-new { background: var(--hover); color: var(--muted); }
.b-proposed, .b-to_lawyer, .b-negotiating { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.b-case, .b-paid, .b-settled { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.b-no_case, .b-court, .b-rejected { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.b-confirmed, .b-letter_sent { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.b-closed, .b-withdrawn { background: var(--hover); color: var(--muted); }
.b-role { background: var(--hover); color: var(--muted); font-weight: 500; }
.b-unsure { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); border: 1px dashed var(--accent); }
.b-label_check { background: color-mix(in srgb, var(--warn) 10%, transparent); color: var(--warn); border: 1px dashed var(--warn); }
/* ⭐ starred leads and cases (a big brand, big money) */
.star { font-size: 13px; line-height: 1; cursor: help; }
.star-count { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 700;
  white-space: nowrap; color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); cursor: help; }
.star-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap;
  color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); }
.star-box { margin-top: 10px; font-weight: 600; }
.todo { color: var(--warn); }
.evidence-run { margin-top: 8px; }
.evidence-video { display: block; width: 100%; max-height: 70vh; margin-top: 10px; border-radius: 8px; background: #000; }
.evidence-steps { margin: 6px 0 0; padding-left: 18px; }
.recorder-hint { flex-basis: 100%; }   /* its own line under "Record now" */
.recorder-ready { margin: 14px 0 4px; }
.setup-steps { padding-left: 20px; }
.setup-steps > li { margin: 14px 0; }
.setup-steps ul { margin: 4px 0; padding-left: 18px; }
.cmd-long code { max-height: 7.5em; overflow: auto; }   /* the install line: long links */
.cmd { display: flex; gap: 10px; align-items: center; margin: 6px 0; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 7px; background: var(--hover); }
.cmd code { flex: 1; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap;
  word-break: break-all; user-select: all; }
.vote-bar, .notice-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px;
  margin-bottom: 12px; border: 1px dashed var(--accent); border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.vote-box { border-style: dashed; border-color: var(--accent); }
.votes { margin: 8px 0; padding-left: 18px; }
.votes li { margin: 3px 0; }

/* ------------------------------------------------ drawer */
.overlay { position: fixed; inset: 0; background: rgba(10, 15, 25, .35); z-index: 20; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(820px, 100vw); background: var(--panel); z-index: 21;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.drawer-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.drawer-body { padding: 4px 20px 30px; overflow-y: auto; flex: 1; }
.close { margin-left: auto; font-size: 20px; line-height: 1; padding: 4px 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin-top: 14px; }
.fact .k { font-size: 12px; color: var(--muted); }
.more { position: relative; display: inline-block; vertical-align: middle; }
.more-button { border: none; background: none; padding: 0 5px; margin-left: 3px; font-size: 15px; line-height: 1.2;
  color: var(--muted); border-radius: 5px; }
.more-button:hover:not(:disabled), .more-button[aria-expanded="true"] { background: var(--hover); color: var(--text); }
.more-menu { position: absolute; left: 0; top: calc(100% + 4px); z-index: 20; min-width: 170px; padding: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.more-menu.to-left { left: auto; right: 0; }
.more-menu button { display: block; width: 100%; text-align: left; border: none; background: none; padding: 7px 10px;
  border-radius: 6px; font-size: 14px; color: var(--text); white-space: nowrap; }
.form-box.caution { border-color: var(--warn); }
.info { position: relative; display: inline-block; vertical-align: 1px; }
.info-button { width: 16px; height: 16px; padding: 0; margin-left: 3px; border-radius: 50%; border: 1px solid var(--muted);
  background: none; color: var(--muted); font: italic 600 11px/14px Georgia, "Times New Roman", serif; text-align: center; }
.info-button:hover:not(:disabled), .info-button[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); background: none; }
.info-box { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; width: min(320px, calc(100vw - 40px));
  padding: 10px 12px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.45; font-weight: 400; white-space: normal; text-transform: none; }
.info-box.to-left { left: auto; right: 0; }
.fact .v { font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.tile { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.tile .k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tile .v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile.hl { border-color: var(--accent); }
.bio { white-space: pre-wrap; color: var(--muted); margin-top: 10px; }
.decision-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.notes { white-space: pre-wrap; background: var(--bg); border-radius: 8px; padding: 10px; font-size: 13px; }

/* ------------------------------------------------ log */
.log { list-style: none; padding: 0; margin: 0; }
.log li { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.log li:last-child { border-bottom: none; }
.log .when { color: var(--muted); font-size: 12px; }
.log .who { color: var(--muted); font-size: 12px; }

/* ------------------------------------------------ login, toasts */
.center { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: min(380px, 100%); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.login h1 { font-size: 20px; }
.toast-area { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); max-width: 90vw; }
.toast.error { background: var(--danger); color: #fff; }

@media (max-width: 700px) {
  main { padding: 12px; }
  .topbar { padding: 10px 12px; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
}

/* ------------------------------------------------ lawyers page */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.section-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: 16px; }
.hint { font-size: 12px; color: var(--muted); padding: 10px 14px; }
.hint ol.steps { margin: 0 0 6px; padding-left: 18px; }
.hint ol.steps li { margin: 2px 0; }
.inline-select { padding: 4px 6px; font-size: 13px; max-width: 220px; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------------------------ tracks page */
.summary { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: baseline; margin-bottom: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.picker { position: relative; width: 280px; max-width: 100%; font-size: 14px; color: var(--text); }
.picker input { width: 100%; }
.picked { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 9px;
  border: 1px solid var(--accent); border-radius: 7px; background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.picked > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picked .link { font-size: 18px; line-height: 1; }
.picker-list { position: absolute; z-index: 10; top: calc(100% + 4px); left: 0; width: max(100%, 400px); max-width: 92vw;
  max-height: 380px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.picker-list li { padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.picker-list li.hi { background: var(--hover); }
.right-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-top: 8px; }
.right-block .people { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.b-ours { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.b-notours { background: var(--hover); color: var(--muted); }

/* ------------------------------------------------ documents */
.b-doc-missing, .b-doc-rejected { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.b-doc-gap { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); border: 1px dashed var(--warn); }
.b-doc-open { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.b-doc-verified { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.b-doc-withdrawn { background: var(--hover); color: var(--muted); }
h3 .badge { text-transform: none; letter-spacing: 0; margin-left: 6px; }
.upload .step { display: flex; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); }
.upload .step:last-child { border-bottom: none; }
.step-n { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--hover); color: var(--muted); }
.step-n:empty { visibility: hidden; }
.step-t { font-weight: 600; margin-bottom: 8px; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 5px 10px; border-radius: 999px; font-weight: 600;
  border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.chip .link { font-size: 16px; line-height: 1; }
label.check { flex-direction: row; align-items: center; gap: 6px; color: var(--text); font-size: 13px; }
.checklist { border: 1px solid var(--line); border-radius: var(--radius); max-height: 380px; overflow-y: auto; }
.check-row { flex-direction: row; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line);
  color: var(--text); font-size: 14px; cursor: pointer; }
.check-row:last-child { border-bottom: none; }
.check-row:hover { background: var(--hover); }
.slot { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; }
.slot-kind { min-width: 250px; }
.right-line { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.doc-line { margin: 6px 0 0 14px; }
.results { margin: 12px 0 0; padding: 0; list-style: none; }
.results li { padding: 3px 0; }

a.button { display: inline-block; border: 1px solid var(--line); border-radius: 7px; padding: 7px 12px; background: var(--panel); color: var(--text); }
a.button:hover { background: var(--hover); text-decoration: none; }

/* Shown on test versions (any address except the real panel): read only. */
.test-banner {
  background: var(--warn); color: #1a1400; font-weight: 600; text-align: center; padding: 6px 16px; font-size: 13px;
}
.test-banner a { color: inherit; text-decoration: underline; }
.update-notice {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 12px; align-items: center;
  background: var(--accent); color: var(--accent-text); font-weight: 600; padding: 10px 12px 10px 16px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.update-notice button { background: var(--panel); color: var(--text); border-color: transparent; font-weight: 600; }

/* ------------------------------------------------ track lists */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 12px; background: var(--panel); }
.seg button { border: none; border-radius: 0; padding: 7px 14px; color: var(--muted); font-weight: 600; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.active { background: var(--hover); color: var(--text); }
table.compact th, table.compact td { padding: 5px 8px; }
table.outcomes { width: auto; min-width: 420px; }
details summary { cursor: pointer; color: var(--accent); margin-top: 8px; }
.form-box.todo { border-color: var(--warn); }
.upload .step > .grow { min-width: 0; } /* wide tables scroll inside the step instead of widening the page */
.archive-note { margin: 12px 2px 0; line-height: 1.5; }   /* under the lead list: archived leads, lead countries */
.archive-note details div { margin: 4px 0; }
table.opponent th { width: 170px; text-align: left; vertical-align: top; color: var(--muted); font-weight: 600; }
.opp-value { white-space: pre-line; }
.opp-source { font-size: 12px; color: var(--muted); margin-top: 2px; }
.opp-source q { font-style: italic; }
.opp-head { margin-top: 4px; }
.form-box.opp-step { border-color: var(--accent); border-left-width: 4px; margin-top: 4px; }
.opp-step .small { margin-top: 4px; }
.opp-form label.wide { grid-column: 1 / -1; }   /* address, people in charge: the full width */
.opp-form .wide { grid-column: 1 / -1; }
.opp-de-group { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 7px; }
.opp-de-title { font-size: 12px; color: var(--muted); font-weight: 600; }
.opp-person { gap: 8px; flex-wrap: nowrap; }
.opp-person input { min-width: 0; }
.opp-contacts-title { margin: 14px 0 6px; font-size: 13px; }
table.contacts td { font-size: 13px; }
.opp-reg-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.opp-actions { display: inline-flex; gap: 10px; }
.opp-form .opp-legal-form { grid-column: span 2; }
.opp-error { color: var(--danger); }
/* co-authors of collab reels: a second opponent */
table.collab td { vertical-align: top; }
.coauthor { margin-top: 18px; padding-top: 2px; border-top: 1px dashed var(--line); }
.coauthor h3 .badge { vertical-align: 2px; }
.coauthor h3 a.handle { text-transform: none; letter-spacing: 0; }   /* Instagram handles keep their case */
.collab-line { margin-top: 2px; color: var(--muted); }
.check-inline { display: flex; align-items: center; gap: 6px; color: var(--text); margin-top: 4px; }
.b-primary { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

/* Rights per track: the heading with its button, the change form, and what a change would do */
.rights-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 22px 0 8px; }
.rights-head h3 { margin: 0; }
.rights-form label.check { font-size: 14px; }
.rights-preview { margin-top: 10px; font-size: 13px; }
.rights-preview ul, .rights-stop ul, .rights-warn ul { margin: 4px 0 0; padding-left: 18px; }
.rights-stop, .rights-warn { margin-top: 10px; padding: 8px 10px; border-radius: var(--radius); font-size: 13px; }
.rights-stop { border: 1px solid var(--danger); background: color-mix(in srgb, var(--danger) 7%, transparent); }
.rights-stop > b { color: var(--danger); }
.rights-warn { border: 1px solid var(--warn); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.rights-history .log { margin-top: 6px; }

/* The law firm's check of the opponent details: confirm, report what is wrong, our team's answer */
.opp-confirm { border-left: 4px solid var(--warn); margin: 8px 0; }
.opp-confirm.done { border-left-color: var(--ok); }
.opp-firm { margin: 6px 0; }
.opp-ok { color: var(--ok); font-weight: 600; }
.opp-report { margin-top: 8px; padding: 8px 10px; border: 1px solid var(--danger); border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 6%, transparent); }
.opp-report.answered { border-color: var(--line); background: var(--bg); }
.notice-bar.warn { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, var(--panel)); }

/* Case panel: what comes next, and the law firm's request for evidence */
.next-action { font-size: 14px; }
.ev-request { border-left: 4px solid var(--warn); margin: 10px 0; }

/* Spotify / Apple Music / Deezer next to a track */
.listen { font-weight: 400; }
.listen a { white-space: nowrap; }
.fact .v .listen { font-weight: 600; }
.track-line { margin-top: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 4px; }
.track-line .k { font-size: 12px; color: var(--muted); }
input.invalid { border-color: var(--danger); outline-color: var(--danger); }
.codes-box { margin-top: 12px; }
.codes-box summary { cursor: pointer; }
.codes-box input { width: 100%; min-width: 150px; }

/* 🚩 Red flag of a lead or a case: potential licensing (a reel on a track licensed before; Tracks tab → Licensing) */
.red-flag { font-size: 13px; line-height: 1; cursor: help; }
.red-flag-box { margin: 0 0 12px; padding: 8px 10px; border: 1px solid var(--danger); border-radius: var(--radius); font-size: 13px;
  background: color-mix(in srgb, var(--danger) 7%, transparent); }
.red-flag-box > div:first-child b { color: var(--danger); }
.red-flag-box ul { margin: 4px 0; padding-left: 18px; }
.b-licensed { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.b-cml { background: var(--hover); color: var(--muted); }
.lic-list { margin-top: 10px; }
.lic-row { gap: 8px; align-items: center; margin-top: 4px; }
