/* features/simcs-pair-hist — 같은 유사호출부호 쌍의 최근 2주 이력 (2026-10-22) */

/* 반복 횟수 배지 — 1회는 흐리게, 2회 이상은 주황, 5회 이상은 빨강(자주 반복되는 쌍이 눈에 먼저 띄게) */
.sph-n{display:inline-block; font-size:var(--fs-xs,10px); font-weight:700; line-height:1.5; padding:0 6px;
  border-radius:999px; white-space:nowrap; border:1px solid var(--border-subtle,#d0d7e2);
  color:var(--text-tertiary,#8a94a6); background:transparent; font-variant-numeric:tabular-nums}
.sph-n.wait{opacity:.6}
.sph-n.rep{color:var(--status-warn,#b45309); border-color:var(--status-warn,#d97706); background:rgba(217,119,6,.10)}
.sph-n.hot{color:#fff; border-color:var(--status-danger,#dc2626); background:var(--status-danger,#dc2626)}
.sph-kc{padding:0 !important; border:0 !important; background:none !important}

/* 펼친 상자 — 줄(alert-history grid) 안에서는 한 줄을 다 쓴다 */
.sph{grid-column:1/-1; margin:6px 0 2px; padding:6px 8px; border-radius:var(--radius-sm,6px);
  background:var(--bg-surface-elevated,#f7f9fc); border:1px solid var(--border-subtle,#d0d7e2);
  color:var(--text-primary,#1f2937); font-size:var(--fs-sm,12px); cursor:default}
.alrow .sph{margin-top:8px}
.sph-hd{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:4px}
.sph-hd b{font-size:var(--fs-sm,12px)}
.sph-sub{color:var(--text-secondary,#4b5563); font-size:var(--fs-xs,10px)}
.sph-sub.err,.sph-msg.err{color:var(--status-danger,#c2261f)}
.sph-msg{color:var(--text-secondary,#4b5563); font-size:var(--fs-xs,10px); padding:2px 0}
.sph-list{max-height:220px; overflow-y:auto}
.sph-it{display:grid; grid-template-columns:3.4em 3.2em minmax(5.6em,auto) 1fr auto; gap:6px; align-items:center;
  padding:3px 4px; border-radius:4px; cursor:pointer; font-variant-numeric:tabular-nums}
.sph-it:hover,.sph-it:focus-visible{background:var(--bg-hover,#eef3fa); outline:none}
.sph-it.cur{background:rgba(2,132,199,.10)}
.sph-d{color:var(--text-tertiary,#8a94a6)}
.sph-t{font-family:var(--font-mono,monospace); font-weight:600}
.sph-dur{color:var(--text-secondary,#4b5563); white-space:nowrap}
.sph-z{color:var(--text-secondary,#4b5563); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.sph-cur{font-size:var(--fs-xs,10px); font-weight:700; color:var(--accent-cyan,#0284c7)}
.ah-ev.sph-open{background:var(--bg-hover,#f1f5f9)}
