.calls-entry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13px;
  white-space: nowrap;
}
.view-calls { max-width: 1120px; gap: 20px; }
.call-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--wave-shadow); }
.calls-heading { margin: 0; font-size: 18px; }
.calls-filters, .call-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.calls-filters { justify-content: flex-start; align-items: flex-end; }
.call-filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.call-filter .input { height: 48px; max-width: 230px; appearance: auto; }
.call-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.call-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.call-table :is(th, td) { padding: 10px; text-align: start; vertical-align: middle; }
.call-table th { background: var(--raised); color: var(--text-2); white-space: nowrap; }
.call-table tr + tr td { border-top: 1px solid var(--line); }
.call-table .text-action { white-space: nowrap; }
.call-flags { display: flex; flex-wrap: wrap; gap: 4px; }
.call-flags:empty { display: none; }
.call-flags:not(:empty) + .call-no-flags { display: none; }
.call-flag { border-radius: 14px; padding: 3px 8px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; }
.call-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; margin: 0; }
.call-facts dt { color: var(--muted); font-size: 13px; }
.call-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.call-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.call-lanes { display: grid; gap: 4px; }
.call-lane { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: center; gap: 8px; }
.call-lane-label, .call-axis { font-size: 12px; color: var(--muted); }
.call-lane-track { position: relative; min-height: 30px; border-radius: 6px; background: var(--raised); overflow: clip; }
.call-segment { position: absolute; top: 5px; height: 20px; padding: 0 2px; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); font-size: 11px; }
.call-segment:focus-visible { outline-offset: -2px; }
.call-segment[data-lane="model"] { background: var(--accent-soft); border-color: var(--accent); }
.call-segment[data-lane="agent"], .call-segment[data-lane="tool"] { background: #E3F3EA; border-color: var(--online); }
.call-axis > div { display: flex; justify-content: space-between; }
.call-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.call-step { border-left: 3px solid var(--line-strong); border-radius: 6px; background: var(--bg); padding: 10px 12px; }
.call-step[data-lane="model"] { border-left-color: var(--accent); }
.call-step[data-lane="agent"], .call-step[data-lane="tool"] { border-left-color: var(--online); }
.call-step:focus { outline: 2px solid var(--accent); }
.call-step p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); }
@media (max-width: 759px) {
  .call-card { padding: 12px; }
  .calls-entry { padding: 0 7px; }
  .calls-entry-label { display: none; }
  .call-table :is(th, td):nth-child(4),
  .call-table :is(th, td):nth-child(5),
  .call-table :is(th, td):nth-child(6) { display: none; }
  .call-table :is(th, td) { padding: 6px; font-size: 12px; }
  .call-table .text-action { min-height: 40px; padding: 4px; font-size: 12px; }
  .call-filter .input { max-width: 145px; font-size: 14px; }
}
