/* report.css — страница отчёта (стиль Автотеки) */
.page-report { background: #eef1f5; }
[data-theme="dark"].page-report,
[data-theme="dark"] .page-report { background: var(--bg-secondary); }

.report-hero {
    padding: 96px 0 24px;
    background: #eef1f5;
    border-bottom: none;
}
[data-theme="dark"] .report-hero { background: var(--bg-secondary); }

.report-top-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.report-top-card__vehicle {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
    min-width: 0;
}
.report-vehicle-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 114, 80, 0.14), rgba(80, 221, 255, 0.1));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.report-top-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.report-top-card h1 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    text-transform: none;
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.report-meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.report-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: none;
    font-size: 12px;
    color: var(--text-secondary);
    box-shadow: none;
}
.report-meta-chip strong { color: var(--text-primary); font-weight: 600; }
.report-meta-chip--full {
    background: rgba(255, 114, 80, 0.1);
    color: var(--accent);
}
.report-convert-note { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

.report-score-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--bg-secondary);
    border: none;
    box-shadow: none;
    min-width: 120px;
}
.report-score-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--score-color, var(--success)) 0deg, var(--score-color, var(--success)) calc(var(--score, 0) * 3.6deg), #e2e8ef calc(var(--score, 0) * 3.6deg));
}
.report-score-ring.score-excellent { --score-color: #22c55e; }
.report-score-ring.score-good { --score-color: #0ea5e9; }
.report-score-ring.score-warn { --score-color: #f59e0b; }
.report-score-ring.score-danger { --score-color: #ef4444; }
.report-score-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
}
.report-score-caption { text-align: center; }
.report-score-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }
.report-score-text { font-size: 14px; font-weight: 700; margin-top: 2px; color: var(--text-primary); }

.report-body {
    padding-bottom: 64px;
    padding-top: 20px;
    background: #eef1f5;
}
[data-theme="dark"] .report-body { background: var(--bg-secondary); }

.report-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 12px;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
}
.report-alert--warn { background: #fff8e6; border: 1px solid #fde68a; color: #92400e; }
.report-alert--muted { background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-secondary); }
.report-alert i { font-size: 20px; flex-shrink: 0; }

.report-vehicle-card {
    margin-bottom: 16px;
    border-left: none;
    border-radius: 14px;
    padding: 20px 24px;
    background: var(--bg-card);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}
.report-vehicle-card--id-only { background: var(--bg-card); }
.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px 24px;
}
.vehicle-specs-grid strong { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.detail-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 2px; font-weight: 600; }

.report-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}
.report-kpi-card {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.report-kpi-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.report-kpi-value { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.report-kpi-value--sm { font-size: 16px; }

/* Сводка проверок — горизонтальные плитки как в Автотеке */
.report-checks-grid--summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 20px;
}
.report-check-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    overflow: visible;
}
.report-check-card::before { display: none; }
.report-check-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.rc-icon-wrap i {
    display: inline-block;
    line-height: 1;
    font-size: inherit;
}
.rc-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: var(--bg-secondary);
}
.report-check-card.status-ok .rc-icon-wrap { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.report-check-card.status-warn .rc-icon-wrap { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.report-check-card.status-danger .rc-icon-wrap { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.report-check-card.status-neutral .rc-icon-wrap { background: var(--bg-secondary); color: var(--text-muted); }
.rc-body { min-width: 0; flex: 1; }
.rc-title { font-size: 11px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.04em; font-weight: 600; }
.rc-value { font-size: 14px; font-weight: 700; margin-top: 2px; line-height: 1.3; color: var(--text-primary); }
.rc-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Секции отчёта */
.report-section {
    margin-bottom: 12px;
    scroll-margin-top: 90px;
    border-left: none;
}
.report-section.card {
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    background: var(--bg-card);
    overflow: hidden;
}
.report-section.card:hover { border-left-color: transparent; }
.report-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-card);
}
.report-section-head + * { padding-left: 22px; padding-right: 22px; }
.report-section-head + .report-empty-text,
.report-section-head + .osago-list,
.report-section-head + .report-table-wrap,
.report-section-head + .mileage-chart-wrap,
.report-section-head + .owners-summary-row,
.report-section-head + .fines-summary,
.report-section-head + .fines-total-banner,
.report-section-head + .fines-cards,
.report-section-head + .fines-empty,
.report-section-head + .fines-sts-panel,
.report-section-head + .elpts-status,
.report-section-head + .report-sts-form-wrap,
.report-section-head + .accident-block { padding-top: 4px; padding-bottom: 18px; }
.report-section h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    letter-spacing: -0.01em;
}
.report-section h2 i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.report-section-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}
.report-section-badge.ok { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.report-section-badge.warn { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.report-section-badge.danger { background: rgba(239, 68, 68, 0.12); color: #dc2626; }

.report-empty-text {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px 20px;
    margin: 0;
}
.report-empty-text i { color: #22c55e; }
.report-hint-warn { color: var(--text-secondary); }
.report-hint-warn i { color: #d97706 !important; }
.report-hint-warn a { color: var(--accent); font-weight: 600; }

.owners-summary-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 4px 22px 20px; }
.owners-count-block {
    text-align: center;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: none;
    min-width: 110px;
}
.owners-count-value { font-size: 32px; font-weight: 800; line-height: 1; }
.owners-count-label { font-size: 10px; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

.accident-block { padding: 18px 22px; border-bottom: 1px solid var(--border-subtle); }
.accident-block:last-child { border-bottom: none; }
.accident-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.accident-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--bg-secondary);
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}
.accident-details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 10px; }
.detail-value { font-size: 14px; font-weight: 500; }
.damage-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.damage-tag {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
}
.damage-svg-wrap { margin-top: 12px; background: var(--bg-secondary); border-radius: 12px; padding: 14px; text-align: center; }
.damage-svg-img { max-width: 100%; height: auto; max-height: 380px; }

.restriction-item { padding: 14px 22px; border-bottom: 1px solid var(--border-subtle); }
.restriction-title { font-weight: 700; font-size: 15px; color: #dc2626; margin-bottom: 6px; }
.wanted-item { display: flex; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--border-subtle); }
.wanted-item i { color: #dc2626; font-size: 20px; }

.mileage-analysis {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.08);
    margin: 0 22px 14px;
}
.mileage-analysis--warn { background: rgba(239, 68, 68, 0.08); }
.mileage-chart-wrap { position: relative; height: 240px; margin: 0 22px 18px; padding: 8px 0; }

.report-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 4px 22px 20px;
}
.report-photo-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.report-photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.report-photo-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #111;
}
.report-photo-caption {
    display: block;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-muted);
}

.report-table-wrap { margin: 0 22px 18px; overflow-x: auto; border-radius: 10px; border: 1px solid var(--border-subtle); }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.report-table th, .report-table td { padding: 10px 14px; border-bottom: 1px solid var(--border-subtle); text-align: left; }
.report-table th { font-size: 10px; text-transform: uppercase; color: var(--text-muted); background: var(--bg-secondary); font-weight: 700; }
.report-table td.mono { font-family: ui-monospace, monospace; font-size: 12px; }

.osago-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 22px 20px; }
.osago-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}
.osago-item--active { border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.05); }
.osago-badge { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; }
.osago-badge.ok { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.osago-badge.warn { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.osago-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.osago-dates { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }

.fines-summary { padding: 0 22px 10px; font-size: 14px; color: var(--text-secondary); }

/* —— Штрафы ГИБДД —— */
.report-section--fines .report-section-head h2 i { background: rgba(245, 158, 11, 0.12); color: #d97706; }

.fines-total-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 22px 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(239, 68, 68, 0.06) 100%);
    border: 1px solid rgba(245, 158, 11, 0.22);
}
.fines-total-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.fines-total-banner__body { flex: 1; min-width: 0; }
.fines-total-banner__label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.fines-total-banner__sum { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #b45309; }
.fines-total-banner__count {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-secondary);
    white-space: nowrap;
}

.fines-cards {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 0 22px 18px;
}
.fine-card {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}
.fine-card--paid { opacity: 0.75; }
.fine-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.fine-card__num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--bg-card);
}
.fine-card__sum { font-size: 18px; font-weight: 800; color: #dc2626; margin-right: auto; }
.fine-card--paid .fine-card__sum { color: var(--text-secondary); text-decoration: line-through; }
.fine-card__discount,
.fine-card__paid {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.fine-card__discount { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.fine-card__paid { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); }
.fine-card__meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin: 0;
}
.fine-card__meta div { min-width: 0; }
.fine-card__meta-wide { grid-column: 1 / -1; }
.fine-card__meta dt {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.fine-card__meta dd { margin: 0; font-size: 13px; font-weight: 500; word-break: break-word; }
.fine-card__meta dd.mono { font-family: ui-monospace, monospace; font-size: 12px; }

.fines-table-desktop { padding: 0 22px 20px; }

.fines-empty {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 4px 22px 20px;
    padding: 18px 20px;
    border-radius: 12px;
}
.fines-empty__icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.fines-empty strong { display: block; font-size: 15px; margin-bottom: 4px; }
.fines-empty p { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.fines-empty--ok {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.fines-empty--ok .fines-empty__icon { color: #16a34a; }
.fines-empty--error {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.18);
}
.fines-empty--error .fines-empty__icon { color: #dc2626; }

.fines-sts-panel {
    margin: 4px 22px 22px;
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 114, 80, 0.07) 0%, var(--bg-secondary) 45%);
    border: 1px solid rgba(255, 114, 80, 0.18);
    box-shadow: 0 4px 20px rgba(255, 114, 80, 0.06);
}
.fines-sts-panel__hero {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.fines-sts-panel__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a7a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(255, 114, 80, 0.28);
}
.fines-sts-panel__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.fines-sts-panel__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}
.fines-sts-panel__hints {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fines-sts-panel__hints li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-subtle);
}
[data-theme="dark"] .fines-sts-panel__hints li { background: rgba(0, 0, 0, 0.15); }
.fines-sts-panel__hints i { color: var(--accent); font-size: 16px; flex-shrink: 0; }
.fines-sts-panel__hints .mono {
    font-family: ui-monospace, monospace;
    font-weight: 600;
    color: var(--text-primary);
}
.fines-sts-panel__form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.fines-sts-panel__field { flex: 1; min-width: 200px; }
.fines-sts-panel__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.fines-sts-panel__input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fines-sts-panel__input-wrap:focus-within {
    border-color: rgba(255, 114, 80, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 114, 80, 0.12);
}
.fines-sts-panel__input-wrap i { color: var(--accent); font-size: 18px; }
.fines-sts-panel__input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    outline: none;
    min-width: 0;
}
.fines-sts-panel__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.report-section--debug { padding: 0; overflow: hidden; }
.report-debug-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    list-style: none;
    user-select: none;
}
.report-debug-summary::-webkit-details-marker { display: none; }
.report-debug-summary i { color: #94a3b8; }
.report-debug-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--bg-secondary);
}
.report-section--debug[open] .report-debug-summary { border-bottom: 1px solid var(--border-subtle); }
.report-section--debug .report-errors-list { margin: 0; padding: 12px 22px 16px 36px; font-size: 13px; color: var(--text-secondary); }
.report-section--debug .report-errors-list li { margin-bottom: 6px; }

.elpts-status { margin: 0 22px 14px; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.elpts-status.ok { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.elpts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.elpts-record { padding: 14px 22px; border-top: 1px solid var(--border-subtle); }

.report-paywall {
    text-align: center;
    padding: 36px 24px;
    margin-bottom: 16px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px dashed rgba(255, 114, 80, 0.3);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
.report-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}
.report-action-btn { border-radius: 10px; font-size: 14px; }
.report-disclaimer { margin-top: 24px; font-size: 11px; color: var(--text-muted); text-align: center; line-height: 1.6; }

.report-sts-form-wrap { padding: 0 22px 20px; }
.report-sts-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.report-sts-form .report-sts-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-secondary);
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}
.report-sts-form .report-sts-field input { flex: 1; border: none; background: transparent; padding: 11px 0; font: inherit; outline: none; }

.report-refresh-link { background: none; border: none; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; font: inherit; }
.report-note { margin-top: 10px; font-size: 13px; color: var(--text-muted); padding: 0 22px 16px; }
.owner-type-chip { padding: 6px 12px; border-radius: 8px; background: var(--bg-secondary); font-size: 12px; border: none; }
.report-locked-hint { margin: 0 22px 18px; padding: 12px 16px; background: var(--bg-secondary); border-radius: 10px; font-size: 13px; border: 1px dashed var(--border-subtle); }
.alert-danger-wrap { border: 1px solid rgba(239, 68, 68, 0.2); }

.report-section--highlight { animation: reportHighlight 1s ease; }
@keyframes reportHighlight { 50% { box-shadow: 0 0 0 3px rgba(255, 114, 80, 0.25); } }

@media (max-width: 992px) {
    .report-checks-grid--summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .report-hero { padding-top: 88px; }
    .report-top-card { flex-direction: column; padding: 20px; }
    .report-score-block { flex-direction: row; width: 100%; justify-content: center; }
    .report-checks-grid--summary { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .report-check-card { padding: 12px; }
    .rc-icon-wrap { width: 36px; height: 36px; font-size: 18px; }
    .report-actions { flex-direction: column; }
    .report-action-btn { width: 100%; justify-content: center; }
    .fines-table-desktop { display: none; }
    .fines-cards { display: flex; }
    .fines-sts-panel { margin-left: 16px; margin-right: 16px; padding: 18px; }
    .fines-sts-panel__hero { flex-direction: column; align-items: center; text-align: center; }
    .fines-sts-panel__form { flex-direction: column; align-items: stretch; }
    .fines-sts-panel__submit { width: 100%; }
    .fines-total-banner { flex-wrap: wrap; margin-left: 16px; margin-right: 16px; }
    .fines-total-banner__count { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .report-checks-grid--summary { grid-template-columns: 1fr 1fr; }
    .report-meta-chip { font-size: 11px; }
}

@media print {
    .report-hero, .report-body { background: #fff; }
    .report-actions, .report-paywall, .breadcrumbs, .check-loader { display: none !important; }
}
