/* ---------- Detail pane ---------- */
.detail { padding: 18px 20px 28px; }
.detail .top { display: flex; align-items: center; gap: 8px; }
.detail h2 { font-size: 16.5px; margin: 10px 0 4px; line-height: 1.35; letter-spacing: -0.005em; }
.detail .sub { color: var(--muted); font-size: 12.5px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.detail h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 22px 0 10px; }
.callout { background: var(--accent-soft); border-radius: 9px; padding: 11px 13px; font-size: 13px; margin: 16px 0 12px; line-height: 1.45; }
.callout.warn { background: var(--warn-soft); }
.callout b { display: block; margin-bottom: 2px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 13px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.runs { display: grid; gap: 7px; }
.run { border: 1px solid var(--rule); border-radius: 9px; padding: 0; font-size: 12.5px; overflow: hidden; }
.run-summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; padding: 9px 11px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.run-summary:hover { background: var(--surface-2); }
.run-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.run-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.run-title b { font-weight: 600; text-transform: capitalize; }
.run-meta { grid-column: 1 / -1; }
.run-chevron { color: var(--muted); font-size: 11px; align-self: start; padding-top: 2px; }
.run-session { display: inline-flex; align-items: center; gap: 6px; margin: 0 11px 9px; font-size: 12px; font-weight: 500; }
.run-details { margin: 0 11px 11px; padding-top: 4px; border-top: 1px solid var(--rule); font-size: 12px; }
.run-live { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); flex-shrink: 0; }
.run-live.pulsing { animation: run-pulse 1.4s ease-in-out infinite; }
@keyframes run-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.85); } }
@media (prefers-reduced-motion: reduce) { .run-live.pulsing { animation: none; opacity: 0.85; } }
.idchip { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 999px; padding: 1px 8px; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.idchip:hover { color: var(--ink); border-color: var(--accent); }
.timeline .t a { color: var(--accent); font-weight: 500; text-decoration: none; }
.timeline .t a:hover { text-decoration: underline; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 13px 22px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -6px; width: 2px; background: var(--rule); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 1px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--rule-strong); }
.timeline li.ok::after { border-color: var(--ok); background: var(--ok); }
.timeline li.warn::after { border-color: var(--warn); background: var(--warn); }
.timeline li.bad::after { border-color: var(--bad); background: var(--bad); }
.timeline li.accent::after { border-color: var(--accent); background: var(--accent); }
.timeline .t { font-weight: 500; font-size: 13px; }
.timeline .m { color: var(--muted); font-size: 12px; }
.timeline-more { font-size: 12.5px; }
.pane-close { display: none; }
.desc { font-size: 13px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
