.car-compact-report {
    display: grid;
    gap: 12px;
    color: var(--ink, #082f24);
}

.car-report-overview,
.car-report-visual,
.car-report-final,
.car-report-notes,
.car-compact-report .report-section-card {
    border: 1px solid rgba(8, 47, 36, .1);
    border-radius: 12px;
    background: rgba(251, 250, 246, .9);
}

.car-report-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #fff, #f0f8f3);
}

.car-report-overview h3 {
    margin: 5px 0 4px;
    color: var(--green-950, #012619);
    font-size: 20px;
}

.car-report-overview p,
.car-report-final p,
.car-report-notes p {
    margin: 0;
    color: var(--muted, #66736d);
    line-height: 1.6;
}

.car-report-score {
    display: grid;
    place-items: center;
    min-width: 78px;
    min-height: 68px;
    padding: 8px;
    border-radius: 10px;
    color: var(--green-950, #012619);
    background: rgba(120, 191, 158, .24);
}

.car-report-score strong { font-size: 22px; line-height: 1; }
.car-report-score span { margin-top: 4px; font-size: 11px; font-weight: 800; }

.car-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.car-report-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 9px 10px;
    border: 1px solid rgba(8, 47, 36, .08);
    border-radius: 10px;
    background: #fff;
}

.car-report-summary-item > span {
    color: #61736b;
    font-size: 12px;
    font-weight: 800;
}

.car-report-accordion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.compact-report-section,
.car-report-visual {
    overflow: hidden;
}

.compact-report-section {
    border: 1px solid rgba(8, 47, 36, .1);
    border-radius: 10px;
    background: #fff;
}

.compact-report-section summary,
.car-report-visual summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}

.compact-report-section summary::-webkit-details-marker,
.car-report-visual summary::-webkit-details-marker { display: none; }

.compact-report-section-mark {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--mint, #78BF9E);
    box-shadow: 0 0 0 4px rgba(120, 191, 158, .14);
}

.compact-report-section-title {
    min-width: 0;
    color: var(--green-950, #012619);
    font-size: 13px;
    font-weight: 850;
}

.compact-report-section-count {
    margin-left: auto;
    color: #73847c;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.compact-report-section-chevron {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-right: 1.5px solid #5e7068;
    border-bottom: 1.5px solid #5e7068;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

details[open] > summary .compact-report-section-chevron { transform: rotate(225deg); }

.compact-report-section-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(8, 47, 36, .08);
}

.compact-report-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(8, 47, 36, .07);
}

.compact-report-item:nth-last-child(-n + 2) { border-bottom: 0; }
.compact-report-item > span { color: #556860; font-size: 12px; font-weight: 700; }

.car-compact-report .report-status {
    min-height: 24px;
    padding: 3px 7px;
    border: 1px solid rgba(8, 47, 36, .08);
    font-size: 10px;
    white-space: nowrap;
}

.car-compact-report .report-status span {
    width: 12px;
    height: 12px;
    font-size: 9px;
}

.car-report-visual summary { background: #fff; }
.car-report-visual-content { padding: 10px; border-top: 1px solid rgba(8, 47, 36, .08); }
.car-report-visual-content .vehicle-damage-map { gap: 10px; }

.car-report-visual-content .vehicle-damage-main {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
    gap: 12px;
    padding: 10px;
}

.car-report-visual-content .vehicle-damage-svg {
    width: 50%;
    margin: 0 auto;
}

.car-report-visual-content .vehicle-damage-svg,
.car-report-visual-content .vehicle-part {
    pointer-events: none;
}

.car-report-visual-content .vehicle-part {
    cursor: default;
}

.car-report-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}

.car-report-notes article,
.car-report-final {
    border-left: 3px solid var(--mint, #78BF9E);
}

.car-report-notes article { padding: 8px 10px; background: #fff; }
.car-report-notes strong,
.car-report-final > span { display: block; margin-bottom: 4px; color: var(--green-950, #012619); font-size: 12px; font-weight: 850; }
.car-report-final { padding: 14px 16px; background: #eff8f2; }

.car-compact-report .report-section-card { padding: 14px; box-shadow: none; }
.car-compact-report .report-section-heading { margin-bottom: 10px; padding-bottom: 10px; }
.car-compact-report .report-photo-grid { gap: 8px; }
.car-compact-report .report-photo {
    display: grid;
    grid-template-rows: 154px 38px;
    border-radius: 10px;
}

.car-compact-report .report-photo img {
    width: 100%;
    height: 154px;
    aspect-ratio: auto;
    object-fit: cover;
}

.car-compact-report .report-photo figcaption {
    display: -webkit-box;
    overflow: hidden;
    padding: 8px 9px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.js [data-car-report] [data-animate] {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 520ms cubic-bezier(.22, 1, .36, 1), transform 520ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--car-report-delay, 0ms);
}

.js [data-car-detail-animate] {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity 560ms cubic-bezier(.22, 1, .36, 1), transform 560ms cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--car-report-delay, 0ms);
}

.js [data-car-detail-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.js [data-car-report] [data-animate="scale-in"] { transform: scale(.98); }
.js [data-car-report] [data-animate].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

@media (max-width: 980px) {
    .car-report-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .car-report-accordion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .car-report-overview { align-items: flex-start; flex-direction: column; }
    .car-report-summary-grid,
    .car-report-accordion-grid,
    .compact-report-section-content,
    .car-report-notes { grid-template-columns: 1fr; }
    .compact-report-item:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(8, 47, 36, .07); }
    .compact-report-item:last-child { border-bottom: 0; }
    .compact-report-section-count { font-size: 10px; }
    .car-compact-report .report-photo { grid-template-rows: 190px 38px; }
    .car-compact-report .report-photo img { height: 190px; }
    .car-report-visual-content .vehicle-damage-main { grid-template-columns: 1fr; }
    .car-report-visual-content .vehicle-damage-svg { width: 70%; }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-car-report] [data-animate],
    .js [data-car-detail-animate] { opacity: 1; transform: none; transition: none; }
}
