.score-meter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 154px;
  font-size: 10px;
  line-height: 1;
  color: #64748b;
}

.score-meter strong { font-size: 17px; line-height: 1; color: var(--ink); }
.score-caption { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .02em; }
.score-label { font-weight: 800; }
.score-track { display: block; overflow: hidden; width: 48px; height: 6px; border-radius: 999px; background: #e4eaf1; }
.score-track i { display: block; height: 100%; border-radius: inherit; background: #94a3b8; transition: width .25s ease; }
.score-meter.high { color: #08764a; }
.score-meter.high .score-track i { background: #1f9d70; }
.score-meter.medium { color: #1765b5; }
.score-meter.medium .score-track i { background: #277bd4; }
.score-meter.low { color: #9a6700; }
.score-meter.low .score-track i { background: #d99825; }

.candidate { position: relative; }
.candidate-summary { overflow: hidden; margin: 5px 0; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.candidate footer { margin-top: 4px; min-height: 23px; }
.candidate-reasons { overflow: hidden; flex: 1; white-space: nowrap; text-overflow: ellipsis; }
.candidate-confirm-wrap { position: relative; display: inline-flex; justify-content: flex-end; }
.candidate-hover-detail { position: absolute; z-index: 20; right: auto; bottom: -4px; left: calc(100% + 14px); display: none; width: min(560px, calc(100vw - 48px)); max-height: 430px; overflow: auto; padding: 14px; border: 1px solid #9cb9d8; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px #1722343d; color: var(--ink); text-align: left; }
.candidate-confirm-wrap:hover .candidate-hover-detail, .candidate-confirm-wrap:focus-within .candidate-hover-detail { display: block; }
.hover-title { margin: 0 0 10px; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.candidate-hover-detail dl { margin: 0; }
.candidate-hover-detail dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid #e7edf4; font-size: 12px; }
.candidate-hover-detail dt { color: var(--muted); font-weight: 700; }
.candidate-hover-detail dd { margin: 0; line-height: 1.55; word-break: break-word; }
.candidate-hover-detail .memo { white-space: pre-wrap; }
.match-highlight { padding: 0 2px; border-radius: 3px; background: #fff0f1; color: #c2293a; font-weight: 800; }
.hover-title span { margin-left: 6px; color: #bd3c4e; font-size: 10px; font-weight: 700; letter-spacing: 0; }

@media (max-width: 720px) {
  .candidate header { flex-wrap: wrap; }
  .score-meter { margin-left: auto; }
  .candidate-hover-detail { position: fixed; top: auto; right: 12px; bottom: 12px; left: 12px; width: auto; max-height: 65vh; }
}
