.transcript-panel {
    min-height: 400px;
}

.transcript-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transcript-line {
    border: 1px solid #d5dbe4;
    border-left: 7px solid #4b5563;
    border-radius: 9px;
    padding: 16px;
    background: #fafbfc;
}

.transcript-line.uncertain {
    border-left-color: #d97706;
    background: #fffbeb;
}

.line-meta {
    display: grid;
    grid-template-columns: 60px 70px minmax(160px, 320px);
    gap: 10px;
    align-items: center;
    color: #667085;
    font-size: 14px;
}

.line-meta audio {
    width: 100%;
    height: 34px;
}

.line-text {
    padding-top: 11px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.uncertainty-note {
    margin-top: 9px;
    color: #92400e;
    font-size: 14px;
    font-weight: 700;
}

.legend {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.confidence-ok,
.confidence-low {
    padding: 5px 8px;
    border-radius: 5px;
}

.confidence-ok {
    background: #e5e7eb;
}

.confidence-low {
    background: #fef3c7;
    color: #92400e;
}

.session-list {
    display: flex;
    flex-direction: column;
}

.session-row {
    display: grid;
    grid-template-columns: 1.3fr 1.4fr 1fr 0.6fr;
    gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comparison-box {
    padding: 18px;
    border: 1px solid #d7dde5;
    border-radius: 9px;
    background: #fafbfc;
}

.comparison-box p {
    margin: 10px 0 0;
    font-size: 21px;
    line-height: 1.5;
}

.score-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
}

.verification-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.muted {
    color: #667085;
}

.error-box {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #ef4444;
    border-radius: 7px;
    background: #fee2e2;
    color: #991b1b;
}

.error-text {
    color: #991b1b;
    font-weight: 700;
}

details {
    margin-top: 12px;
}

summary {
    cursor: pointer;
    font-weight: 700;
}

