/* Operator Call-Ops Portal — dedicated styling (separate from the test portal). */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #eceef1;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --border: #e2e6ec;
  --border-strong: #d3d9e1;
  --ink: #14181f;
  --muted: #6a7480;
  --faint: #9aa3ae;
  --accent: #ff5722;
  --accent-hover: #e64a19;
  --accent-soft: #ffe5d6;
  --manual-bg: #fff3e2;
  --manual-fg: #9a4a06;
  --manual-dot: #f59e0b;
  --transcript-bg: #e6effd;
  --transcript-fg: #1b4fb8;
  --transcript-dot: #3b82f6;
  --danger: #dc2626;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,24,31,.04), 0 6px 20px -10px rgba(20,24,31,.18);
  --font-body: 'Hanken Grotesk', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', var(--font-body);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ── top bar ───────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 26px;
  background: #11151b;
  color: #e9ecf1;
  border-bottom: 1px solid #1e242d;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: -.02em;
  color: #fff; margin-right: 4px;
}
.brand .dot { color: var(--accent); }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a {
  color: #aeb6c2; padding: 6px 12px; border-radius: 8px; font-weight: 500; font-size: 14px;
}
.topbar nav a:hover { background: #1b212a; color: #fff; }
.topbar nav a.active { background: #1b212a; color: #fff; }
.topbar .spacer { flex: 1; }
.live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #9fb0bd; font-weight: 500;
}
.live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.who { font-size: 13.5px; color: #c7cfda; }
.who b { color: #fff; font-weight: 600; }
.langsel { display: inline-flex; border: 1px solid #2a313b; border-radius: 8px; overflow: hidden; }
.langsel a {
  font-size: 12.5px; font-weight: 600; color: #9aa3b0; padding: 5px 11px;
}
.langsel a + a { border-left: 1px solid #2a313b; }
.langsel a:hover { background: #1b212a; color: #fff; }
.langsel a.active { background: var(--accent); color: #fff; }

/* ── layout ────────────────────────────────────────────────── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 30px 26px 60px; }
.section-head {
  display: flex; align-items: center; gap: 12px; margin: 26px 2px 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0;
}
.count {
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 9px;
}
.section-head .spacer { flex: 1; }

/* ── activity tracker ──────────────────────────────────────── */
.act-group { margin: 0 2px 16px; }
.act-h {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); margin: 0 0 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}
.chip b { font-weight: 700; margin-right: 5px; color: var(--accent); }
.chip.total { background: var(--accent-soft); border-color: var(--accent-soft); }
.chip.total b { color: var(--accent-hover); }
.chip.muted { color: var(--muted); }

/* ── performance (period-over-period) ──────────────────────── */
.period-sel { display: inline-flex; gap: 4px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.period-sel button {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; border-radius: 7px; padding: 5px 12px; cursor: pointer;
}
.period-sel button.active { background: var(--accent); color: #fff; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 2px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.metric .m-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.metric .m-figs { display: flex; align-items: baseline; gap: 8px; }
.metric .m-count { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
/* The rate is neutral information — a high or low % is not inherently good or bad, so it
   stays black. Only the movement beside it carries up/down colour. */
.metric .m-rate { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }
.metric .m-figrow { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.metric .m-figrow .d { font-size: 12px; }
/* what the movement is compared against (WoW / MoM) — quiet, it labels the delta */
.d-basis { font-size: 9px; font-weight: 600; letter-spacing: .04em; color: var(--faint);
           margin-left: 3px; vertical-align: 1px; }
.metric .m-split { font-size: 11px; color: var(--muted); margin-top: 6px; }
.d { font-size: 12px; font-weight: 700; }
.d.up { color: #16a34a; } .d.down { color: var(--danger); } .d.flat { color: var(--muted); }
/* small gray caption under every figure */
.cap { font-size: 11px; line-height: 1.35; color: var(--muted); margin-top: 5px; }
.metric .cap { margin-top: 8px; }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; border-radius: 10px; padding: 9px 16px;
  cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--danger); border-color: #f0cdcd; }
.btn-danger:hover { background: #fdf0f0; }

/* ── case cards (queue) ────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.case {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  transition: transform .1s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative; overflow: hidden;
}
.case::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--faint);
}
.case.t-manual_call::before { background: var(--manual-dot); }
.case.t-check_transcript::before { background: var(--transcript-dot); }
.case:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(20,24,31,.06), 0 16px 30px -16px rgba(20,24,31,.28);
  border-color: var(--border-strong);
}
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-name {
  font-weight: 600; font-size: 16px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.case-meta { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.case-meta .sep { color: var(--faint); margin: 0 6px; }
.case-status {
  margin-top: 10px; display: inline-block; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
}

/* ── badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.badge-manual_call { background: var(--manual-bg); color: var(--manual-fg); }
.badge-manual_call::before { background: var(--manual-dot); }
.badge-check_transcript { background: var(--transcript-bg); color: var(--transcript-fg); }
.badge-check_transcript::before { background: var(--transcript-dot); }

/* ── panels (case detail, login, coverage) ────────────────── */
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.panel h2 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  margin: 0 0 14px; letter-spacing: -.01em;
}
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title h2 { margin: 0; font-size: 22px; }

.empty { color: var(--muted); font-size: 14px; padding: 18px 2px; }

/* ── definition rows ───────────────────────────────────────── */
.kv { display: grid; grid-template-columns: 132px 1fr; gap: 4px 16px; }
.kv dt { color: var(--muted); font-size: 13.5px; padding: 7px 0; border-top: 1px solid var(--surface-2); }
.kv dd { margin: 0; padding: 7px 0; font-weight: 500; border-top: 1px solid var(--surface-2); }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: none; }

.note {
  margin-top: 16px; background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--manual-dot); border-radius: 8px; padding: 12px 14px;
  white-space: pre-wrap; font-size: 13.5px; color: #4a525d;
}
.note b { color: var(--ink); }

/* ── transcript ────────────────────────────────────────────── */
.transcript {
  background: #0f1318; color: #d7dde6; border-radius: 10px; padding: 16px 18px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 1.65;
  white-space: pre-wrap; max-height: 460px; overflow-y: auto;
}

/* ── forms ─────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input[type=text], .field input[type=password], .field input:not([type]),
.field select, .field textarea {
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 10px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.check {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; cursor: pointer; margin-bottom: 14px;
}
.check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--accent); }
.actions { display: flex; gap: 10px; align-items: center; }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.msg { font-size: 14px; font-weight: 500; margin-top: 12px; }
.msg.error { color: var(--danger); }
.msg.ok { color: var(--ok); }
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--ink); }

/* phone number callout on manual-call cases */
.phone-callout {
  display: flex; align-items: center; gap: 10px; margin: 4px 0 18px;
  background: var(--manual-bg); border: 1px solid #f3d9ad; border-radius: 10px;
  padding: 12px 16px;
}
.phone-callout .label { font-size: 12px; font-weight: 600; color: var(--manual-fg); text-transform: uppercase; letter-spacing: .04em; }
.phone-callout .num { font-size: 19px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.hidden { display: none !important; }

/* ── operator home ─────────────────────────────────────────── */
.home { min-height: calc(100vh - 120px); display: grid; place-items: center; text-align: center; }
.home-inner { max-width: 460px; }
.home .tagline { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.btn-hero {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  padding: 22px 40px; border-radius: 16px; border: none; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(255,87,34,.6);
  transition: transform .08s ease, box-shadow .15s ease;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255,87,34,.7); }
.btn-hero:active { transform: translateY(0); }
.btn-hero:disabled { background: var(--faint); box-shadow: none; cursor: default; transform: none; }
.home .waiting { margin-top: 20px; font-size: 15px; color: var(--muted); }
.home .waiting b { color: var(--ink); font-size: 28px; font-family: var(--font-display); }

/* ── case page type banners ────────────────────────────────── */
.type-banner { border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.type-banner .icon { font-size: 26px; }
.type-banner .label { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.type-banner.manual { background: var(--manual-bg); border: 1px solid #f3d9ad; color: var(--manual-fg); }
.type-banner.transcript { background: var(--transcript-bg); border: 1px solid #c7ddfb; color: var(--transcript-fg); }
.relay { list-style: none; margin: 0; padding: 0; }
.relay li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--surface-2); font-size: 15px; }
.relay li:first-child { border-top: none; }
.relay .k { color: var(--muted); }
.relay .v { font-weight: 600; text-align: right; }
.bigphone { font-size: 30px; font-weight: 800; }
.verdict-desc { margin-top: 8px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--faint); border-radius: 8px; padding: 12px 14px; color: #4a525d; font-size: 13.5px; }

/* AI self-assessment callout */
.ai-claim { border-radius: 10px; padding: 12px 16px; border: 1px solid var(--border); display: inline-block; max-width: 100%; }
.ai-claim .lbl { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.ai-claim .sub { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.ai-claim.confirmed { background: #e7f6ec; border-color: #c5e8d1; } .ai-claim.confirmed .lbl { color: #16713a; }
.ai-claim.not_confirmed { background: var(--manual-bg); border-color: #f3d9ad; } .ai-claim.not_confirmed .lbl { color: var(--manual-fg); }
.ai-claim.unclear { background: var(--surface-2); } .ai-claim.unclear .lbl { color: var(--muted); }

/* ── admin AI-accuracy panel ───────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.ai-cell { border-radius: 12px; padding: 14px 16px; border: 1px solid var(--border); background: var(--surface); }
.ai-cell .n { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.ai-cell .l { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ai-cell.fp { background: #fdeaea; border-color: #f3cccc; } .ai-cell.fp .n { color: #b42318; }
.ai-cell.fn { background: #fff3e2; border-color: #f3d9ad; } .ai-cell.fn .n { color: var(--manual-fg); }
.ai-cell.tp, .ai-cell.tn { background: #e7f6ec; border-color: #c5e8d1; } .ai-cell.tp .n, .ai-cell.tn .n { color: #16713a; }

/* ── login ─────────────────────────────────────────────────── */
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 360px; }
.login-card .brand { font-size: 26px; display: block; margin-bottom: 4px; color: var(--ink); }
.login-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

/* coverage rows */
.cov-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 2px; border-top: 1px solid var(--surface-2); font-size: 14px;
}
.cov-row:first-child { border-top: none; }
.cov-row .rid { color: var(--faint); font-size: 12px; }
.pill {
  font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
}
.pill.done { background: #e7f6ec; color: #16713a; border-color: #c5e8d1; }
.pill.could_not_book { background: #fdeaea; color: #b42318; border-color: #f3cccc; }

/* ── tester page (web-call test) ───────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.party-row { display: flex; gap: 12px; }
.party-row .sub { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.party-row input { width: 90px; }
select#agent-select { font-family: var(--font-body); font-size: 14.5px; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); width: 100%; }
.call-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.indicator { width: 11px; height: 11px; border-radius: 50%; background: var(--faint); }
.indicator.connecting { background: var(--manual-dot); animation: pulse 1.2s infinite; }
.indicator.live { background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
.timer { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.status { font-size: 13.5px; color: var(--muted); }
.status.success { color: var(--ok); }
.status.error { color: var(--danger); }
.meta-row { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.meta-row code { font-family: ui-monospace, Menlo, monospace; color: var(--ink); }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 440px; overflow-y: auto; }
.bubble { padding: 10px 14px; border-radius: 12px; max-width: 80%; }
.bubble.agent { background: var(--transcript-bg); align-self: flex-start; }
.bubble.staff { background: var(--surface-2); border: 1px solid var(--border); align-self: flex-end; }
.bubble .role { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.bubble .content { font-size: 14px; }
.debug-pre { background: #0f1318; color: #d7dde6; border-radius: 8px; padding: 12px; font-size: 12px;
  font-family: ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-x: auto; }
details.advanced summary { cursor: pointer; color: var(--muted); font-size: 13px; }

/* ── admin dashboard ───────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow);
}
.stat .n { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.stat.warn .n { color: var(--manual-dot); }

.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
table.adm { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.adm th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--border);
  white-space: nowrap; background: var(--surface-2); position: sticky; top: 0;
}
table.adm td { padding: 11px 14px; border-bottom: 1px solid var(--surface-2); vertical-align: middle; }
table.adm tr:last-child td { border-bottom: none; }
table.adm tr.open-row { background: #fffaf2; }
table.adm .rest { font-weight: 600; }
table.adm .fb { font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 320px; }
table.adm .bk { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); }
table.adm .wait { font-variant-numeric: tabular-nums; font-weight: 600; }
table.adm .wait.long { color: var(--manual-fg); }
table.adm .wait.closed { color: var(--muted); font-weight: 500; }
.tbadge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.tbadge.manual_call { background: var(--manual-bg); color: var(--manual-fg); }
.tbadge.check_transcript { background: var(--transcript-bg); color: var(--transcript-fg); }
.created { color: var(--muted); font-size: 12.5px; white-space: nowrap; }

/* Raw-data rows open the read-only case view */
table.adm tbody tr[data-id] { cursor: pointer; }
table.adm tbody tr[data-id]:hover { background: #f4f7ff; }

/* ── Trends charts (admin Performance page) ─────────────────────────────── */
.charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; margin: 0 2px 6px; }
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px 10px; box-shadow: var(--shadow); }
.chart-card h3 { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.chart-card .legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; font-size: 11.5px; color: var(--muted); }
.ch-sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.ch-lk { width: 14px; height: 2.5px; border-radius: 1px; display: inline-block; margin-right: 5px; vertical-align: 3px; }
.chart-tip { position: fixed; z-index: 60; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 11px; font-size: 12px; line-height: 1.55; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.chart-tip .tt { font-weight: 700; margin-bottom: 3px; }
.chart-tip .v { font-weight: 700; }
.chart-tip .l { color: #c8cdd4; }
.chart-table { margin: 6px 2px 16px; }
.chart-table summary { cursor: pointer; color: var(--muted); font-size: 12.5px; padding: 4px 0; }

/* cancel-task styling (customer requested cancellation) */
.badge-cancel { background: #fdeaea; color: #9f1d1d; }
.badge-cancel::before { background: #dc2626; }
.tbadge.cancel { background: #fdeaea; color: #9f1d1d; }
.type-banner.cancel { background: #fdeaea; border: 1px solid #f3c1c1; color: #9f1d1d; }
