.tle-comparison-page {
    min-height: calc(100vh - 5.5rem);
}

.tle-input-card,
.tle-result-card {
    border: 0;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.08);
}

.tle-input-widget {
    display: flex;
    flex-direction: column;
}

.tle-textarea {
    min-height: 11rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
    resize: vertical;
    white-space: pre;
}

.tle-reference {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.82);
    overflow: hidden;
}

.tle-reference-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    font-size: 0.92rem;
}

.tle-reference-row:last-child {
    border-bottom: 0;
}

.tle-reference-row span {
    color: #64748b;
}

.tle-reference-row strong {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.tle-parse-status {
    font-size: 0.82rem;
}

.tle-parse-status.tle-parse-ok {
    color: #198754 !important;
}

.tle-parse-status.tle-parse-error {
    color: #dc3545 !important;
}

.tle-result-table-wrap {
    max-height: calc(100vh - 30rem);
    min-height: 18rem;
    overflow: auto;
}

.tle-result-table-wrap thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.tle-delta-positive {
    color: #0d6efd;
    font-weight: 600;
}

.tle-delta-negative {
    color: #dc3545;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .tle-result-table-wrap {
        max-height: none;
    }
}
