.reports-page,
.reports-landing {
    max-width: 960px;
    margin: 0 auto;
}

.reports-messages {
    margin-bottom: 20px;
}

.reports-lead-list {
    margin: 12px 0 0;
    padding-left: 20px;
}

.reports-hero {
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: var(--site-rule);
}

.service-lead--short {
    display: none;
}

.order-form-reassure {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #333333;
}

.order-form-legal {
    margin-top: 16px;
}

.reports-return-actions {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.reports-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tier-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.tier-fieldset legend {
    padding: 0;
}

.order-error-summary {
    border-left-color: #b10e1e;
    margin-top: 0;
}

.order-error-summary__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.order-error-summary__list {
    margin: 0 0 8px;
    padding-left: 20px;
}

.order-error-summary__list a {
    color: #b10e1e;
}

.reports-upsell {
    margin-top: 20px;
}

/* Tier selection — order form */
.tier-choices {
    margin-bottom: 20px;
}

.tier-choice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid #d9d9d9;
    padding: 16px 0;
    cursor: pointer;
}

.tier-choice:last-child {
    border-bottom: 1px solid #d9d9d9;
}

.tier-choice:has(input:checked) {
    border-left: 4px solid #111111;
    padding-left: 12px;
}

.tier-choice input[type="radio"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.tier-choice__content {
    flex: 1;
}

.tier-choice__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tier-choice__name {
    font-weight: 700;
    flex: 1;
}

.tier-choice__price {
    font-weight: 700;
    font-size: 1.1rem;
}

.tier-choice__per {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 1px;
}

.tier-choice__features {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #5c5c5c;
}

/* Collapsible discount code field */
.discount-disclosure {
    margin-top: 4px;
}

.discount-disclosure__summary {
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b63ce;
    text-decoration: underline;
    margin-bottom: 10px;
}

/* Search form spacing */
.reports-search-form {
    margin-bottom: 24px;
}

.reports-reference-input {
    text-transform: uppercase;
}

.reports-inline-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Status page */
.reports-status-meta {
    margin-top: 20px;
}

.reports-reference-block {
    border-left: var(--site-accent);
    background: #f7f7f7;
    padding: 18px;
    margin-bottom: 20px;
}

.reports-reference-label {
    margin: 0 0 8px;
    font-weight: 700;
    color: #5c5c5c;
}

.reports-reference-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.reports-reference-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reports-status-box .cm-table td,
.reports-status-box .cm-table th {
    overflow-wrap: anywhere;
}

.reports-error {
    color: var(--cm-error-text);
    font-weight: 700;
}

.reports-support-note {
    margin-top: 16px;
    color: var(--cm-text-secondary);
}

/* Featured map page */
.report-map-feature {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #d9d9d9;
    background: #fafafa;
}

.report-map-feature__media {
    flex: 0 0 250px;
    display: block;
}

.report-map-feature__media img {
    width: 100%;
    height: auto;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Cover page peeking out behind the map page so the map reads as part of a report */
.report-stack {
    position: relative;
    display: block;
    padding: 16px 16px 0 0;
}

.report-stack__back {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 16px);
}

.report-stack__front {
    position: relative;
    display: block;
    width: calc(100% - 16px);
}

.report-map-feature__body {
    flex: 1;
    min-width: 240px;
}

.report-map-feature__body h3 {
    margin: 0 0 10px;
}

.report-map-feature__body p {
    margin: 0 0 12px;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .report-map-feature {
        flex-direction: column;
    }

    .report-map-feature__media {
        flex-basis: auto;
        max-width: 220px;
    }

    .reports-landing__hero {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .reports-landing__teaser {
        margin-bottom: 16px;
        padding: 16px 16px;
    }

    .service-lead--long,
    .reports-actions--desktop {
        display: none;
    }

    .service-lead--short {
        display: block;
        margin: 0;
    }

    .reports-landing .service-title {
        font-size: 1.55rem;
        margin-bottom: 6px;
    }

    .price-card--pack {
        display: none;
    }

    .reports-page .cm-input {
        font-size: 16px;
        min-height: 44px;
        box-sizing: border-box;
    }

    .reports-page .cm-btn-block {
        min-height: 48px;
    }

    .reports-page .order-form-reassure {
        margin-top: 8px;
    }
}

/* Sample report thumbnails */
.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    gap: 24px;
    margin: 16px 0 8px;
}

.sample-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 200px));
    gap: 16px;
}

.sample-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sample-card__image {
    width: 100%;
    height: auto;
    border: 1px solid #d9d9d9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s ease;
}

.sample-card:hover .sample-card__image {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.sample-card__label {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: #0b63ce;
    text-decoration: underline;
}

.sample-card__note {
    display: block;
    margin-top: 2px;
    font-size: 0.92rem;
    color: #5c5c5c;
}

/* Pricing cards */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 16px 0 20px;
    align-items: stretch;
}

@media (min-width: 900px) {
    .price-grid--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.price-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d9d9d9;
    padding: 20px;
    background: #ffffff;
}

.price-card--featured {
    border: 2px solid #111111;
}

.price-card__badge {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: #111111;
    padding: 4px 8px;
    align-self: flex-start;
}

.price-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.price-card__price {
    margin: 4px 0 10px;
    font-size: 1.7rem;
    font-weight: 800;
}

.price-grid--plans .price-card__price {
    font-size: 1.35rem;
}

.price-card__copy {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #444444;
    flex-grow: 1;
}

@media (max-width: 860px) {
    .reports-reference-code {
        font-size: 1.05rem;
    }
}
