/* Long context (prefix lc-) */
.lc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lc-card { padding: 0; overflow: hidden; }
.lc-empty { padding: 28px; }

/* ---------- head ---------- */
.lc-head { padding: 24px 28px 18px; }
.lc-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lc-title h3 { margin: 0; font-size: 22px; font-weight: 620; letter-spacing: -.02em; line-height: 1.25; }
.lc-intro { margin: 8px 0 0; max-width: 900px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- table ---------- */
.lc-frame { border-top: 1px solid var(--line); }
.lc-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.lc-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.lc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: var(--ink-2); }
.lc-table th, .lc-table td { text-align: left; white-space: nowrap; background: #fff; }
.lc-table thead th { padding: 14px 12px 11px; vertical-align: bottom; font-weight: 600; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.lc-table thead th:first-child { padding-left: 28px; position: sticky; left: 0; z-index: 2; }
.lc-table thead th:last-child, .lc-table tbody td:last-child { padding-right: 28px; }
.lc-th { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; white-space: pre; }
.lc-unit { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; line-height: 1.2; color: var(--faint); }
.lc-table tbody th, .lc-table tbody td { height: 58px; padding: 0 12px; border-bottom: 1px solid var(--line-2); font-weight: 400;
  font-variant-numeric: tabular-nums; }
.lc-table tbody tr:last-child > * { border-bottom: 0; }
.lc-table tbody th.lc-c-model { position: sticky; left: 0; z-index: 1; min-width: 236px; padding-left: 28px; }
.lc-vbar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.lc-row { cursor: pointer; }
.lc-row:hover > * { background: #f8f9fb; }
.lc-row.lc-on > * { background: #f9fee9; }
.lc-row.lc-on:hover > * { background: #f3fcd6; }

.lc-model { display: flex; align-items: center; gap: 10px; }
.lc-model-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lc-name { all: unset; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; line-height: 1.3; color: var(--ink);
  border-radius: 4px; cursor: pointer; }
.lc-name:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lc-row:hover .lc-name > span:first-child { text-decoration: underline; text-decoration-color: #c4cad3; text-underline-offset: 3px; }
.lc-star { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: var(--lime); color: var(--ink);
  font-size: 10.5px; line-height: 1; }
.lc-setup { max-width: 240px; font-size: 12px; line-height: 1.3; color: var(--muted); white-space: normal; }
.lc-live { color: var(--warn); font-weight: 550; }

.lc-acc { display: flex; align-items: baseline; gap: 5px; }
.lc-acc b { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.lc-acc small { font-size: 11px; color: var(--faint); }
.lc-muted b { color: var(--muted); font-weight: 550; }
.lc-lost { color: var(--warn) !important; font-weight: 600; }
.lc-mini { position: relative; display: block; width: 56px; height: 4px; margin-top: 5px; border-radius: 2px; background: var(--track); overflow: hidden; }
.lc-mini i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; }
.lc-na { color: #b4bbc6; }
.lc-c-num b { font-size: 14px; font-weight: 600; color: var(--ink); }
.lc-c-num small { font-size: 11.5px; color: var(--faint); }

/* ---------- selected run: accuracy by depth, speed by size ---------- */
.lc-detail { padding: 18px 28px 22px; border-top: 1px solid var(--line); background: #fbfcfd; }
.lc-dhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.lc-dhead span { font-size: 12.5px; color: var(--muted); }
.lc-dgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 14px; }
.lc-dbox { min-width: 0; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.lc-dbox h4 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-size: 13.5px; font-weight: 620; color: var(--ink); }
.lc-dbox h4 small { font-size: 11.5px; font-weight: 400; color: var(--faint); }
.lc-grid, .lc-speed { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.lc-grid th, .lc-speed th { font-weight: 550; font-size: 11.5px; color: var(--muted); text-align: left; padding: 2px 4px; white-space: nowrap; }
.lc-grid td { height: 30px; text-align: center; border-radius: 6px; background: var(--line-2); color: var(--ink); font-weight: 600; }
.lc-speed td { padding: 5px 6px; border-bottom: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.lc-speed tbody tr:last-child td { border-bottom: 0; }
.lc-speed td small { color: var(--faint); font-size: 11px; }
.lc-none { margin: 0; color: var(--faint); font-size: 13px; }

/* ---------- foot ---------- */
.lc-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 24px; flex-wrap: wrap; padding: 13px 28px 16px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.lc-def { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 520px; max-width: 900px; margin: 0; line-height: 1.5; }
.lc-def svg { flex: none; margin-top: 2px; color: var(--faint); }
.lc-count { white-space: nowrap; }

@media (max-width: 980px) {
  .lc-dgrid { grid-template-columns: 1fr; }
}

/* ---------- phones: every row becomes a card ---------- */
@media (max-width: 640px) {
  .lc-head { padding: 20px 18px 16px; }
  .lc-title h3 { font-size: 20px; }
  .lc-intro { font-size: 13.5px; }
  .lc-scroll { overflow: visible; }
  .lc-table, .lc-table tbody { display: block; width: auto; }
  .lc-table thead { display: none; }
  .lc-table tbody tr { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    padding: 15px 18px 16px; border-bottom: 1px solid var(--line-2); }
  .lc-table tbody tr:last-child { border-bottom: 0; }
  .lc-table tbody th, .lc-table tbody td { display: block; height: auto; min-width: 0; padding: 0; border: 0; background: transparent;
    white-space: normal; }
  .lc-table tbody th.lc-c-model { position: static; grid-column: 1 / -1; min-width: 0; padding: 0; }
  .lc-table tbody td:last-child { padding-right: 0; }
  .lc-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; line-height: 1.3; color: var(--faint); }
  .lc-row:hover > *, .lc-row.lc-on > *, .lc-row.lc-on:hover > * { background: transparent; }
  .lc-row.lc-on { background: #f9fee9; }
  .lc-setup { max-width: none; }
  .lc-detail { padding: 16px 18px 18px; }
  .lc-dbox { padding: 12px 10px 10px; }
  .lc-foot { padding: 12px 18px 14px; }
  .lc-def { flex-basis: 100%; }
}
