.live-detection-status { margin-top: 14px; padding: 17px; border: 1px solid #d5e3ef; border-radius: 12px; background: #fff; }
.live-detection-status > header p, .live-detection-note { margin: 7px 0 0; color: #8091a1; font-size: 11px; line-height: 1.6; }
.live-detection-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.live-detection-counts > div { padding: 10px 12px; border-radius: 8px; background: #f3f7fb; }
.live-detection-counts span { color: #75899b; font-size: 11px; }
.live-detection-counts strong { display: block; margin-top: 5px; color: #335c7b; font-size: 23px; font-variant-numeric: tabular-nums; }
.live-detection-accounts { max-height: 420px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e2eaf2; border-radius: 9px; }
.live-detection-accounts > article { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr 1fr; gap: 12px; padding: 14px; border-bottom: 1px solid #e7edf4; }
.live-detection-accounts > article:last-child { border-bottom: none; }
.live-detection-accounts > article.is-warning { background: #fffbf3; }
.live-detection-accounts > article > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 6px; color: #74889c; font-size: 10px; overflow-wrap: anywhere; }
.live-detection-accounts > article > div > * { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.live-detection-account > strong { color: #294d69; font-size: 12px; line-height: 1.6; }
.live-detection-accounts small { font-size: 10px; line-height: 1.6; }
.live-detection-accounts time { color: #405d75; font-size: 11px; font-variant-numeric: tabular-nums; }
.live-detection-accounts .system-status-badge { white-space: normal; line-height: 1.5; }
.live-detection-live { color: #526f86; }
.live-detection-accounts .live-detection-source { display: block; word-break: break-word; color: #47657d; font-weight: 550; font-size: 11px; line-height: 1.6; }
.live-detection-error, .live-detection-message { margin: 0; color: #a77a2f; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.live-detection-error { grid-column: 1 / -1; padding: 8px 10px; border-radius: 6px; background: #fff4df; }
.live-detection-message { margin-bottom: 10px; }
.live-detection-note { margin-top: 12px; }
.live-detection-accounts:focus-visible { outline: 2px solid #458bcc; outline-offset: 2px; }
.live-detection-history { margin-top: 12px; font-size: 11px; color: #526f86; }
.live-detection-history > header { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 10px; }
.live-detection-history > header strong { min-width: 0; margin-left: auto; color: #335570; overflow-wrap: anywhere; }
.live-detection-history > header > span { flex: none; color: #8b9baa; font-size: 10px; }
.live-detection-history p { margin: 8px 0; line-height: 1.7; overflow-wrap: anywhere; }
.live-detection-history-list { max-height: 320px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e1e8ef; border-radius: 7px; }
.live-detection-history-list:focus-visible { outline: 2px solid #458bcc; outline-offset: 2px; }
.live-detection-history table { width: 100%; table-layout: fixed; border-spacing: 0; font-size: 11px; text-align: left; }
.live-detection-history th { position: sticky; top: 0; z-index: 1; background: #f4f7fa; color: #8092a3; font-size: 10px; font-weight: 500; }
.live-detection-history th, .live-detection-history td { box-sizing: border-box; height: 27px; padding: 4px 10px; line-height: 18px; white-space: nowrap; border-bottom: 1px solid #edf1f5; }
.live-detection-history th:first-child { width: 43%; }
.live-detection-history th:nth-child(2) { width: 25%; }
.live-detection-history th:last-child { width: 32%; }
.live-detection-history tr:last-child td { border-bottom: 0; }
.live-detection-history tbody tr:hover { background: #f8fafc; }
.live-detection-history time { color: #657d90; font-variant-numeric: tabular-nums; }
.live-detection-result { font-size: 10px; font-weight: 500; }
.live-detection-result.is-success { color: #32937a; }
.live-detection-result.is-failed { color: #cf6670; }
.live-detection-result.is-pending { color: #a28b54; }
.live-detection-history .live-detection-history-empty { padding: 18px 8px; text-align: center; color: #8b9baa; }
.live-detection-history > footer { display: flex; min-height: 28px; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; color: #8b9baa; font-size: 10px; }
.live-detection-status button { cursor: pointer; border: 1px solid #d3dfeb; border-radius: 5px; background: #fff; color: #436b8c; padding: 5px 8px; font-size: 10px; }
.live-detection-status .live-detection-account-name { border: 0; padding: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; color: inherit; font: inherit; text-align: left; background: transparent; }
.live-detection-account-name:hover { text-decoration: underline; }
.live-detection-status .live-detection-back { flex: none; border: 0; padding: 3px 0; background: transparent; }
.live-detection-statistics-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 8px; }
.live-detection-statistics-toolbar strong { color: #335570; font-size: 11px; }
.live-detection-statistics-toolbar label { flex: none; color: #8091a1; font-size: 10px; }
.live-detection-statistics-toolbar select { padding: 3px 5px; border: 1px solid #d3dfeb; border-radius: 5px; background: #fff; color: #436b8c; font-size: 10px; }
.live-detection-source-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.live-detection-source-stats > div { padding: 10px 12px; min-width: 0; border: 1px solid #e1e8ef; border-radius: 7px; background: #f8fafc; }
.live-detection-source-stats > div.is-leading { border-color: #b8dacc; background: #f4faf7; }
.live-detection-source-stats > div > span { display: block; color: #436680; }
.live-detection-source-stats strong { display: inline-block; margin: 6px 6px 6px 0; color: #335c7b; font-size: 22px; font-variant-numeric: tabular-nums; }
.live-detection-source-stats small { display: inline-block; color: #8091a1; font-size: 10px; }
.live-detection-source-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; margin: 0; font-size: 10px; }
.live-detection-source-stats dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; min-width: 0; }
.live-detection-source-stats dt { color: #8091a1; }
.live-detection-source-stats dd { margin: 0 0 0 auto; color: #436680; font-variant-numeric: tabular-nums; }
.live-detection-comparison { margin: 7px 0 3px; color: #436680; font-size: 10px; }
.live-detection-statistics-note { margin: 3px 0 10px; color: #8091a1; font-size: 10px; }
@media (max-width: 767px) {
  .live-detection-status { padding: 12px; }
  .live-detection-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-detection-accounts > article { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 13px 10px; }
  .live-detection-status h3 { flex-wrap: wrap; }
  .live-detection-history table { font-size: 10px; }
  .live-detection-history th, .live-detection-history td { padding: 4px 5px; }
}
