/* 2.98.0: Support tiers (tiers.js): the case header's chip, the queue dots, the row tag, the settings table */
.tier-chip .tier-num, .tier-dot {
  display: inline-grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%;
  font-size: 10px; font-weight: 700; line-height: 1; background: var(--sunk); color: var(--ink); border: 1px solid var(--line);
}
.tier-2 .tier-num, .tier-dot.tier-2 { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.tier-3 .tier-num, .tier-dot.tier-3 { background: var(--accent); color: var(--panel); border-color: var(--accent); }
.tier-chip.tier-back { color: var(--accent); font-weight: 600; }
.tier-chip.late { color: var(--bad, #c62828); }
.tier-chip[data-tip] { white-space: pre-line; cursor: default; }
.tier-acts { display: contents; }
.tier-tag { font-size: 11px; padding: 0 5px; }
.tier-tag.tier-back { color: var(--accent); border-color: var(--accent); }
.tier-filter select { height: 30px; max-width: 120px; }
.tier-pick { flex-wrap: wrap; gap: 8px 12px; }
.tier-pick > * { flex: 1 1 140px; min-width: 0; }
.tier-settings { margin-top: 16px; }
.tier-targets { border-collapse: collapse; margin-top: 8px; max-width: 100%; }
.tier-targets th, .tier-targets td { padding: 4px 8px; text-align: start; }
.tier-num-in { width: 90px; }

/* 3.0.0: Escalate is a colourful pill (amber), Return a calm outlined one */
.htn.scx .scx-act.tier-esc { background: #F59E0B; border-color: #F59E0B; color: #3B2400; border-radius: 999px; padding: 0 12px; font-weight: 600; }
.htn.scx .scx-act.tier-esc svg { color: #3B2400; }
.htn.scx .scx-act.tier-esc:hover { background: #D97706; border-color: #D97706; color: #fff; }
.htn.scx .scx-act.tier-esc:hover svg { color: #fff; }
.htn.scx .scx-act.tier-ret { border-color: #F59E0B; color: #92400E; border-radius: 999px; }
