/* LD2 Test Runs (Story 5692). Fixed head zone over one scroll area; the band and header never scroll off. */

.ltr-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.ltr-headzone { flex: 0 0 auto; }
.ltr-scroll { flex: 1 1 auto; overflow: auto; padding: 10px 14px 40px; background: #f6f6f4; }

.ct-header { display: flex; align-items: center; gap: 8px; background: #2a2a2a; color: #fff; padding: 8px 12px; }
.ct-header button {
    font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
    background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 5px 12px;
}
.ct-header button:disabled { opacity: .55; cursor: default; }
.ltr-titles { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ltr-titles h1 { margin: 0; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ltr-pane { background: #fff; border-bottom: 1px solid #e3e3e3; padding: 0 14px; }
.ltr-rollbar { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 0; background: none; border: 0;
               text-align: left; font: inherit; cursor: pointer; color: #333; }
.ltr-summary .ok  { color: #2f8a4c; font-weight: 600; }
.ltr-summary .bad { color: #c43d3d; font-weight: 600; }
.ltr-summary .run { color: #2a6fb0; font-weight: 600; }
.ltr-tools { padding-bottom: 10px; }
.ltr-about { margin: 0 0 8px; color: #555; font-size: 13px; line-height: 1.45; }
.ltr-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ltr-sp { flex: 1; }
.ltr-chip { border: 1px solid #ccc; background: #fff; border-radius: 14px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.ltr-chip.on { background: #2a2a2a; color: #fff; border-color: #2a2a2a; }
.ltr-chip.ghost { border-style: dashed; }

.ltr-band { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; margin-bottom: 12px; }
.ltr-band-head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; background: none; border: 0;
                 font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.ltr-band-body { padding: 0 12px 12px; }
.ltr-none { color: #777; padding: 6px 0; }

.ltr-chart { width: 100%; max-width: 760px; height: auto; display: block; }
.ltr-line { fill: none; stroke: #2a6fb0; stroke-width: 2; }
.ltr-gate { stroke: #888; stroke-dasharray: 4 3; }
.ltr-axis { font-size: 10px; fill: #888; }
.ltr-dot-ok  { fill: #2f8a4c; }
.ltr-dot-bad { fill: #c43d3d; }
.ltr-legend { color: #777; font-size: 12px; margin-top: 4px; }

.ltr-card { border: 1px solid #e6e6e6; border-left: 4px solid #2f8a4c; border-radius: 6px; margin-top: 8px; }
.ltr-card.bad { border-left-color: #c43d3d; }
.ltr-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; background: none;
                 border: 0; font: inherit; text-align: left; cursor: pointer; }
.ltr-mark.ok  { color: #2f8a4c; }
.ltr-mark.bad { color: #c43d3d; }
.ltr-when { font-weight: 600; }
.ltr-brief { color: #555; font-size: 13px; }
.ltr-card-body { padding: 0 10px 10px 34px; }
.ltr-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #444; font-size: 13px; }
.ltr-failed { margin: 8px 0 0; padding-left: 18px; color: #a12f2f; font-size: 13px; word-break: break-word; }
.ltr-note { white-space: pre-wrap; background: #f4f4f4; padding: 8px; font-size: 12px; max-height: 200px; overflow: auto; }
.ltr-links { margin-top: 8px; }
.ltr-link { background: none; border: 0; padding: 0; color: #2a6fb0; font: inherit; font-weight: 600; cursor: pointer; }
.ltr-more { display: block; margin: 12px auto 0; padding: 8px 18px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font: inherit; cursor: pointer; }

.ltr-fail { margin-bottom: 10px; word-break: break-word; }
.ltr-fail pre { white-space: pre-wrap; margin: 4px 0 0; font-size: 12px; }
.ltr-stack { color: #666; }
.ltr-cov { border-collapse: collapse; width: 100%; font-size: 12px; }
.ltr-cov th, .ltr-cov td { border: 1px solid #ddd; padding: 3px 6px; text-align: left; }

@media print {
    .ltr-scroll { overflow: visible; }
}
