/* ===== CREDIT REPORT COMPARISON - SHARED STYLES ===== */
/* Version: 1.0.0 */
/* Purpose: Unified styling for all comparison components */

/* ===== COLOR VARIABLES ===== */
:root {
    /* Status Colors */
    --status-new: #2196F3;
    --status-changed: #FF9800;
    --status-deleted: #4CAF50;
    --status-repaired: #00BCD4;
    --status-unchanged: #9E9E9E;

    /* Account Type Colors */
    --negative-account: #F44336;
    --positive-account: #4CAF50;

    /* Report Version Colors */
    --previous-report: #5E35B1;
    --current-report: #1976D2;

    /* Bureau Brand Colors */
    --bureau-transunion: #0066B2;
    --bureau-experian: #2196F3;
    --bureau-equifax: #ED1C24;

    /* Background Highlights */
    --bg-deleted: rgba(76, 175, 80, 0.08);
    --bg-changed: rgba(255, 152, 0, 0.08);
    --bg-negative: rgba(244, 67, 54, 0.04);
    --bg-disputed: rgba(255, 235, 59, 0.15);
}

/* ===== BUREAU BRANDING ===== */
.bureau-transunion {
    color: var(--bureau-transunion) !important;
}

.bureau-experian {
    color: var(--bureau-experian) !important;
}

.bureau-equifax {
    color: var(--bureau-equifax) !important;
}

.bureau-header {
    position: relative;
    padding-top: 12px !important;
}

.bureau-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: currentColor;
    border-radius: 2px 2px 0 0;
}

/* ===== STATUS INDICATORS ===== */
.status-indicator-new {
    background: var(--bg-changed);
    border-left: 3px solid var(--status-new);
    padding: 4px 8px;
    border-radius: 4px;
}

.status-indicator-changed {
    background: var(--bg-changed);
    border-left: 3px solid var(--status-changed);
    padding: 4px 8px;
    border-radius: 4px;
}

.status-indicator-deleted {
    background: var(--bg-deleted);
    border-left: 3px solid var(--status-deleted);
    padding: 4px 8px;
    border-radius: 4px;
}

.status-indicator-repaired {
    background: rgba(0, 188, 212, 0.08);
    border-left: 3px solid var(--status-repaired);
    padding: 4px 8px;
    border-radius: 4px;
}

/* ===== DISPUTED ITEMS ===== */
.disputed-item-highlight {
    background: var(--bg-disputed);
    border-left: 3px solid #FFC107;
    padding: 6px 10px;
    border-radius: 4px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.disputed-flag-icon {
    color: #FFC107;
    font-size: 14px;
}

/* ===== NEGATIVE ACCOUNTS (Enhanced) ===== */
.negative-account-row {
    background: var(--bg-negative);
    border-left: 4px solid var(--negative-account);
    position: relative;
}

.negative-account-row.field-column {
    border-left: none;
    background-color: transparent;
}

.negative-account-row.empty-data {
    border-left: none;
    background-color: transparent;
}

/* ===== REPORT VERSION HEADERS (GitHub-style) ===== */
.previous-report-header {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.12) 0%, rgba(94, 53, 177, 0.04) 100%);
    border: 2px solid rgba(94, 53, 177, 0.3);
    border-left: 4px solid var(--previous-report);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.current-report-header {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.12) 0%, rgba(25, 118, 210, 0.04) 100%);
    border: 2px solid rgba(25, 118, 210, 0.3);
    border-left: 4px solid var(--current-report);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== COMPARISON TABLES (GitHub-style) ===== */
.comparison-table-enhanced {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 6px;
    overflow: hidden;
}

.comparison-table-enhanced th {
    background: var(--mud-palette-background-grey);
    font-weight: 600;
    padding: 12px;
    border-bottom: 2px solid var(--mud-palette-divider);
    text-align: left;
}

.comparison-table-enhanced td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    vertical-align: middle;
}

.comparison-table-enhanced tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

/* GitHub-style table wrapper for side-by-side comparison */
.comparison-tables-wrapper {
    display: flex;
    gap: 16px;
    position: relative;
    align-items: flex-start;
}

.comparison-tables-wrapper > div {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink below content size */
}

.comparison-tables-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px; /* Dark mode support */
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 5%,
    rgba(0, 0, 0, 0.12) 95%,
    transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}

.mud-theme-dark .comparison-tables-wrapper::before {
    background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 5%,
    rgba(255, 255, 255, 0.12) 95%,
    transparent 100%);
}

/* Add subtle shadow to separator for depth */
.comparison-tables-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(1px);
    z-index: 2;
}

@media (max-width: 960px) {
    .comparison-tables-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .comparison-tables-wrapper::before,
    .comparison-tables-wrapper::after {
        display: none;
    }
}

/* ===== CHANGE INDICATORS ===== */
.field-changed-indicator {
    background: var(--bg-changed);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.change-icon {
    color: var(--status-changed);
    font-size: 16px;
}

/* ===== EXPANSION PANELS ===== */
.comparison-panel {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.comparison-panel .mud-expand-panel-header {
    padding: 16px 20px;
    background: var(--mud-palette-background);
}

.comparison-panel.has-changes .mud-expand-panel-header {
    border-left: 4px solid var(--status-changed);
}

.comparison-panel.has-deletions .mud-expand-panel-header {
    border-left: 4px solid var(--status-deleted);
}

/* ===== SUMMARY CARDS ===== */
.summary-card {
    padding: 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.summary-card.has-changes::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--status-changed);
}

.summary-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.summary-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-primary-lighten);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 600px) {
    .bureau-header::before {
        height: 2px;
    }

    .comparison-table-enhanced th,
    .comparison-table-enhanced td {
        padding: 8px;
        font-size: 0.875rem;
    }

    .comparison-panel .mud-expand-panel-header {
        padding: 12px 16px;
    }

    .negative-account-row::before {
        position: static;
        display: inline-flex;
        margin-right: 6px;
        transform: none;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .summary-card {
        padding: 12px;
    }
}

/* ===== DARK MODE ===== */
.mud-theme-dark .previous-report-header {
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.15) 0%, rgba(94, 53, 177, 0.05) 100%);
}

.mud-theme-dark .current-report-header {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.15) 0%, rgba(25, 118, 210, 0.05) 100%);
}

.mud-theme-dark .comparison-table-enhanced tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.mud-theme-dark .disputed-item-highlight {
    background: rgba(255, 235, 59, 0.25);
}

.mud-theme-dark .negative-account-row {
    background: rgba(244, 67, 54, 0.08);
}

.mud-theme-dark .negative-account-row::before {
    background: #ff6b6b;
}

/* ===== BUREAU DELETION BADGES (Enhanced Visual Design) ===== */
.deletion-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 16px;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.deletion-highlight-badge:hover {
    background: rgba(76, 175, 80, 0.15);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.deletion-highlight-badge .mud-icon-root {
    font-size: 16px;
    color: #4CAF50;
}

.deletion-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2E7D32;
    margin-right: 2px;
}

/* Bureau Pills with Brand Colors */
.bureau-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
    min-width: 28px;
    text-align: center;
    margin: 0 2px;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.bureau-pill:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bureau-pill.transunion {
    background: #0066B2;
}

.bureau-pill.experian {
    background: #2196F3;
}

.bureau-pill.equifax {
    background: #ED1C24;
}

/* Dark mode adjustments for bureau pills */
.mud-theme-dark .bureau-pill.transunion {
    background: #0077CC;
}

.mud-theme-dark .bureau-pill.experian {
    background: #42A5F5;
}

.mud-theme-dark .bureau-pill.equifax {
    background: #F44336;
}

.mud-theme-dark .deletion-highlight-badge {
    background: rgba(76, 175, 80, 0.2);
    border-color: #66BB6A;
}

/* ===== BUREAU LEGEND TOOLTIP ===== */
.bureau-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px;
}

.bureau-legend > div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

/* ===== ENHANCED PANEL HEADERS ===== */
.enhanced-comparison-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.header-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-identity .mud-typography-h6 {
    line-height: 1.3;
    margin: 0;
}

.header-identity .mud-typography-caption {
    line-height: 1.2;
    opacity: 0.7;
}

.header-status-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== COMPACT MODE SUPPORT ===== */
.compact-expansion-panel .mud-expand-panel-header {
    min-height: 56px !important;
    padding: 8px 16px !important;
}

.compact-expansion-panel .mud-typography-h6 {
    font-size: 0.95rem !important;
}

.compact-expansion-panel .mud-chip {
    height: 22px !important;
    font-size: 0.7rem !important;
}

.compact-expansion-panel .mud-expand-panel {
    margin-bottom: 8px !important;
}

/* Standard mode (default) */
.standard-expansion-panel .mud-expand-panel-header {
    min-height: 68px !important;
    padding: 12px 16px !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 600px) {
    .deletion-highlight-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .deletion-label {
        font-size: 0.7rem;
    }

    .bureau-pill {
        padding: 2px 6px;
        font-size: 0.65rem;
        min-width: 24px;
    }

    .enhanced-comparison-header {
        gap: 8px;
    }
}

/* ===================================================================== */
/* SECTION SHELL — shared across all comparison section views            */
/* ===================================================================== */
.feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feed-head__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mud-palette-text-primary);
}

.feed-head__sub {
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

/* ===================================================================== */
/* GROUPED DIFF CARDS (2a) — outcome groups + aligned before/after rows   */
/* ===================================================================== */

/* Shared column track: bureau | previous | arrow | current | outcome.
   The group header and every card row use it so the whole page lines up. */
.cmp-group {
    --cmp-track: 104px minmax(0, 1fr) 20px minmax(0, 1fr) 128px;
}

.cmp-groups {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Accounts can run to dozens of cards, so the list scrolls inside its own region
   while the section header stays put and the sticky rail stays fully in view. */
.cmp-groups--scroll {
    max-height: calc(100vh - 232px);
    min-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    scrollbar-width: thin;
}

.cmp-groups--scroll::-webkit-scrollbar {
    width: 8px;
}

.cmp-groups--scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 4px;
}

.cmp-groups--scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.35);
}

@media (max-width: 959.98px) {
    .cmp-groups--scroll {
        max-height: none;
        min-height: 0;
        overflow-y: visible;
        padding-right: 0;
    }
}

/* The header and column labels pin to the top of the scrolling section list so
   you never lose track of which outcome bucket you're reading. */
.cmp-group__head {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    margin-bottom: 3px;
    background: var(--mud-palette-background);
}

.cmp-group__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.cmp-group__title {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.005em;
    color: var(--mud-palette-text-primary);
}

.cmp-group__title.muted {
    color: var(--mud-palette-text-secondary);
}

.cmp-group__count {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 999px;
    padding: 2px 8px;
}

.cmp-group__sub {
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

.cmp-group__rule {
    flex: 1;
    height: 1px;
    min-width: 12px;
    background: var(--mud-palette-lines-default);
}

.cmp-cols {
    position: sticky;
    top: 34px;
    z-index: 2;
    display: grid;
    grid-template-columns: var(--cmp-track);
    align-items: center;
    gap: 8px;
    padding: 4px 15px 6px 19px;
    background: var(--mud-palette-background);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
}

.cmp-cols__current {
    color: var(--mud-palette-text-secondary);
}

.cmp-cols__outcome {
    justify-self: end;
}

.cmp-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== Card ===== */
.diff-card {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--mud-palette-lines-default);
    border-radius: var(--dfm-radius-md);
    overflow: hidden;
    box-shadow: var(--dfm-elevation-sm);
}

.diff-card__head {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    padding: 11px 15px 9px;
}

.diff-card__title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    word-break: break-word;
}

.diff-card__type {
    border: 1px solid var(--mud-palette-lines-default);
    color: var(--mud-palette-text-secondary);
    border-radius: 11px;
    padding: 2px 9px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.diff-card__num {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary);
}

.diff-card__note {
    margin-left: auto;
    font-size: 0.76rem;
    color: var(--mud-palette-text-secondary);
}

.diff-card__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.diff-card__details {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mud-palette-primary);
}

.diff-card__details:hover {
    color: var(--mud-palette-secondary);
    text-decoration: underline;
}

/* ===== Rows ===== */
.diff-card__rows {
    border-top: 1px solid var(--mud-palette-divider);
}

.diff-row {
    display: grid;
    grid-template-columns: var(--cmp-track);
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-top: 1px solid var(--mud-palette-divider);
}

.diff-row:first-child {
    border-top: none;
}

.diff-row__bureau {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
}

.diff-row__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}

.diff-row__bureau.tu { color: #0066b3; }
.diff-row__bureau.exp { color: #d32f2f; }
.diff-row__bureau.eqf { color: #b8860b; }

.diff-row__prev {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.diff-row__arrow {
    color: var(--mud-palette-text-disabled);
    font-size: 0.9rem;
}

.diff-row__curr {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.diff-row__badge {
    justify-self: end;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

/* Outcome tints — the row background carries the verdict, the badge names it. */
.diff-row.is-deleted,
.diff-row.is-repaired {
    background: rgba(21, 128, 61, 0.07);
}

.diff-row.is-deleted .diff-row__curr,
.diff-row.is-repaired .diff-row__curr {
    color: var(--mud-palette-success);
}

.diff-row.is-deleted .diff-row__prev {
    text-decoration: line-through;
}

.diff-row.is-deleted .diff-row__badge,
.diff-row.is-repaired .diff-row__badge {
    background: rgba(21, 128, 61, 0.14);
    color: var(--mud-palette-success);
}

.diff-row.is-added {
    background: rgba(37, 99, 235, 0.06);
}

.diff-row.is-added .diff-row__curr {
    color: var(--mud-palette-info);
}

.diff-row.is-added .diff-row__badge {
    background: rgba(37, 99, 235, 0.14);
    color: var(--mud-palette-info);
}

.diff-row.is-negative {
    background: rgba(180, 83, 9, 0.07);
}

.diff-row.is-negative .diff-row__curr {
    color: var(--mud-palette-warning);
}

.diff-row.is-negative .diff-row__badge {
    background: rgba(180, 83, 9, 0.14);
    color: var(--mud-palette-warning);
}

.diff-row.is-damage {
    background: rgba(192, 57, 43, 0.07);
}

.diff-row.is-damage .diff-row__curr {
    color: var(--mud-palette-error);
}

.diff-row.is-damage .diff-row__badge {
    background: rgba(192, 57, 43, 0.14);
    color: var(--mud-palette-error);
}

.diff-row.is-absent .diff-row__prev,
.diff-row.is-absent .diff-row__curr {
    color: var(--mud-palette-text-disabled);
    font-weight: 500;
    font-style: italic;
}

/* ===== "Already clean" strip ===== */
.cmp-clean {
    background: var(--mud-palette-surface);
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: var(--dfm-radius-md);
    padding: 12px 15px;
}

.cmp-clean__row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cmp-clean__name {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.cmp-clean__more {
    font-size: 0.78rem;
    color: var(--mud-palette-text-disabled);
}

.cmp-clean__toggle {
    appearance: none;
    cursor: pointer;
    margin-left: auto;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
    color: var(--mud-palette-primary);
    border-radius: var(--dfm-radius-sm);
    padding: 5px 11px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.76rem;
    transition: background 0.16s ease;
}

.cmp-clean__toggle:hover {
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, var(--mud-palette-surface));
}

.cmp-clean__list {
    display: flex;
    flex-direction: column;
    margin-top: 11px;
    padding-top: 8px;
    border-top: 1px solid var(--mud-palette-divider);
}

.cmp-clean__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    flex-wrap: wrap;
}

.cmp-clean__item-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.cmp-clean__item-num {
    font-size: 0.74rem;
    color: var(--mud-palette-text-secondary);
    letter-spacing: 0.02em;
}

.cmp-clean__item-bureaus {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}

.cmp-clean__bureau {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--mud-palette-background-gray);
}

.cmp-clean__bureau.tu { color: #0066b3; }
.cmp-clean__bureau.exp { color: #d32f2f; }
.cmp-clean__bureau.eqf { color: #b8860b; }

.cmp-clean__item-note {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

/* ===== Narrow screens: stack was/now, drop the column header ===== */
@media (max-width: 899.98px) {
    .cmp-cols {
        display: none;
    }

    .diff-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3px 10px;
    }

    .diff-row__bureau {
        grid-column: 1;
        grid-row: 1;
    }

    .diff-row__badge {
        grid-column: 2;
        grid-row: 1;
    }

    .diff-row__arrow {
        display: none;
    }

    .diff-row__prev,
    .diff-row__curr {
        grid-column: 1 / -1;
    }

    .diff-row__curr::before {
        content: "\2192\00a0";
        color: var(--mud-palette-text-disabled);
    }

    .diff-card__note {
        margin-left: 0;
        flex-basis: 100%;
    }
}

