@font-face {
    font-family: "Manrope";
    src: url("/resources/apro/fonts/Manrope.woff2") format("woff2"),
        url("/resources/apro/fonts/Manrope.woff") format("woff");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --apro-mileage-line: #471aff;
    --apro-report-card-shadow: 0 2px 12px rgba(11, 16, 32, 0.04);
}

.card {
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--apro-report-card-shadow);
}

.apro-profile-form {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.apro-profile-form .invalid-feedback:empty {
    display: none;
    min-height: 0;
    margin: 0;
}

.apro-profile-form .input-field {
    margin-block-end: 0;
}

.apro-profile-grid {
    display: grid;
    grid-template-areas:
        "push"
        "password"
        "password-confirm"
        "subscription"
        "username"
        "phone"
        "email";
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.apro-profile-push-row {
    grid-area: push;
}

.apro-profile-password {
    grid-area: password;
}

.apro-profile-password-confirm {
    grid-area: password-confirm;
}

.apro-profile-subscription {
    grid-area: subscription;
}

.apro-profile-username {
    grid-area: username;
}

.apro-profile-phone {
    grid-area: phone;
}

.apro-profile-email {
    grid-area: email;
}

@media (min-width: 768px) {
    .apro-profile-grid {
        grid-template-areas:
            "push username"
            "password phone"
            "password-confirm email"
            "subscription .";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        row-gap: 20px;
    }

    .apro-profile-push-row {
        align-self: end;
    }
}

.apro-profile-current-password::placeholder {
    color: var(--ink);
    opacity: 1;
}

.apro-profile-push-control {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    cursor: pointer;
}

.apro-profile-push-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.apro-profile-push-mark {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.apro-profile-push-input:checked + .apro-profile-push-mark {
    border-color: #0f172a;
    background-color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m5 10 3 3 7-7'/%3E%3C/svg%3E");
}

.apro-profile-push-input:focus-visible + .apro-profile-push-mark {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.18);
}

.apro-profile-push-input:disabled + .apro-profile-push-mark {
    cursor: not-allowed;
    opacity: 0.55;
}

.text-ink {
    color: var(--ink);
}

body > .wrap,
body > .app-shell,
.min-h-screen {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body > .wrap > main,
.app-shell > main,
.min-h-screen > main {
    flex: 1 0 auto;
}

footer {
    margin-top: auto;
}

.apro-contact {
    width: 100%;
    max-width: 1152px;
}

.apro-contact .card {
    border-radius: 16px;
}

.apro-contact__logo-copy,
.apro-contact__logo-copy > span {
    display: block;
}

.apro-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.apro-contact__info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding: 32px;
}

.apro-contact__caption {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1rem;
    text-transform: uppercase;
}

.apro-contact__phone {
    margin-top: 2px;
    color: #0f172a;
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.apro-contact__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.apro-contact__email {
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
}

.apro-contact__email:hover {
    text-decoration: underline;
}

.apro-contact__form {
    min-width: 0;
    padding: 32px;
}

.apro-contact__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.apro-contact__form .form-group {
    margin-bottom: 16px;
}

.apro-contact__form .control-label {
    margin-bottom: 4px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.apro-contact__message {
    min-height: 120px;
    resize: vertical;
}

.apro-contact__agreement {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 10px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.apro-contact__agreement > input[type="hidden"] {
    display: none;
}

.apro-contact__agreement .apro-contact__checkbox {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #0f172a;
    cursor: pointer;
}

.apro-contact__agreement label {
    cursor: pointer;
}

.apro-contact__agreement a {
    color: #475569;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apro-contact__agreement .invalid-feedback {
    grid-column: 2;
}

.apro-contact__captcha {
    margin: 16px 0;
    overflow-x: auto;
}

.apro-contact__submit {
    width: 100%;
}

.apro-contact__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.apro-contact__location {
    display: flex;
    min-height: 288px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background:
        radial-gradient(circle at 20% 25%, rgba(0, 191, 255, 0.15), transparent 32%),
        radial-gradient(circle at 80% 75%, rgba(71, 26, 255, 0.13), transparent 34%),
        #e2e8f0;
    text-align: left;
}

.apro-contact__location-mark {
    display: flex;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(71, 26, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-2);
    box-shadow: 0 8px 24px rgba(11, 16, 32, 0.08);
}

.prose {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3 {
    margin: 1.5em 0 0.65em;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
}

.prose h1:first-child,
.prose h2:first-child {
    margin-top: 0;
}

.prose h1 { font-size: 28px; }
.prose h2 { font-size: 21px; }
.prose h3 { font-size: 17px; }
.prose p { margin: 0.8em 0; }
.prose ul,
.prose ol {
    margin: 0.8em 0;
    padding-left: 1.35em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a {
    color: var(--brand-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-group {
    margin-bottom: 16px;
}

.control-label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    border-color: var(--brand-1);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.18);
}

.has-error .form-control,
.form-control.is-invalid,
.has-error .input-field,
.input-field.is-invalid {
    border-color: var(--bad);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.help-block,
.invalid-feedback {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    color: var(--bad);
    font-size: 12px;
    line-height: 1.35;
}

.has-success .form-control,
.has-success .input-field {
    border-color: var(--good);
}

.apro-auto-form__query-row > .btn-primary {
    height: 50px;
    min-height: 50px;
}

.apro-auto-form__types {
    flex-wrap: nowrap;
}

.apro-feature-badge {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .apro-auto-form__query-row {
        align-items: flex-start;
    }
}

@media (max-width: 639px) {
    .apro-auto-form__types {
        gap: 6px;
    }

    .apro-auto-form__types [data-auto-type] {
        display: flex;
        min-width: 0;
        flex: 1 1 0;
        align-items: center;
        justify-content: center;
        padding: 10px 6px;
        font-size: clamp(10px, 3.2vw, 12px);
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }
}

.alert {
    position: relative;
    margin-bottom: 16px;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14px;
    transition: opacity 0.2s, transform 0.2s;
}

.alert-success { border-color: rgba(15, 166, 114, 0.25); background: var(--good-bg); color: var(--good); }
.alert-danger { border-color: rgba(220, 38, 38, 0.25); background: var(--bad-bg); color: var(--bad); }
.alert-warning { border-color: rgba(217, 119, 6, 0.25); background: var(--warn-bg); color: var(--warn); }
.alert.is-leaving { opacity: 0; transform: translateY(-8px); }

[data-flash-close] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: currentColor;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding-inline: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 700;
}

.pagination > .active > a,
.pagination > .active > span {
    border-color: transparent;
    background: var(--brand-grad);
    color: #fff;
}

.pagination > .disabled > span {
    opacity: 0.45;
}

.pagination-link {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding-inline: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.15s, color 0.15s;
}

.pagination-link:hover,
.pagination-link.is-active {
    border-color: var(--brand-2);
    color: var(--brand-2);
}

[data-menu-toggle] {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

[data-mobile-menu] {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
}

[data-mobile-menu] a {
    display: block;
    padding: 12px 16px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 700;
}

.modal,
[data-delete-modal] {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 16, 32, 0.52);
}

.apro-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(11, 16, 32, 0.52);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

[data-delete-modal] > .relative {
    z-index: 1;
}

.modal.is-open,
[data-delete-modal].is-open {
    display: flex;
}

.modal__content,
.modal-card {
    width: min(100%, 460px);
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 80px rgba(11, 16, 32, 0.25);
}

.modal__title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

body.modal-open,
body.menu-open {
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 90;
    display: flex;
    width: min(calc(100% - 36px), 900px);
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 60px rgba(11, 16, 32, 0.18);
    color: var(--ink-2);
    font-size: 13px;
    transition: opacity 0.2s, transform 0.2s;
}

.cookie-banner a {
    color: var(--brand-2);
    text-decoration: underline;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(12px);
}

.cookie-banner__button {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.apro-report {
    width: min(100% - 32px, 896px);
    margin-inline: auto;
    padding: 24px 0 64px;
}

.apro-report__hero,
.apro-report-card {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--apro-report-card-shadow);
}

.apro-report__heading {
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.apro-report__eyebrow {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
}

.apro-report__title {
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}

.apro-report__photo {
    position: relative;
    height: clamp(240px, 44vw, 420px);
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 22%, rgba(0, 191, 255, 0.2), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(71, 26, 255, 0.2), transparent 34%),
        var(--bg-tint);
}

.apro-report__photo > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apro-report__photo-placeholder {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.apro-number-plate {
    position: absolute;
    z-index: 2;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 16, 32, 0.18);
    color: var(--ink);
}

.apro-number-plate__code {
    padding: 7px 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.apro-number-plate__region {
    display: flex;
    min-width: 43px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--line-2);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.05;
}

.apro-number-plate__region small {
    margin-top: 2px;
    font-size: 7px;
    letter-spacing: 0.08em;
}

.apro-report__vehicle {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 12px;
}

.apro-report__brand {
    display: flex;
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand-2);
    font-size: 17px;
    font-weight: 800;
}

.apro-report__brand img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.apro-report__vehicle-name {
    color: var(--brand-2);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.apro-report__date {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.apro-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
}

.apro-report__facts {
    padding: 8px 24px 24px;
}

.apro-report-field {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.apro-report-field__name {
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.apro-report-field__value {
    overflow-wrap: anywhere;
    color: var(--ink-2);
    font-size: 13px;
}

.apro-report-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.apro-report-card__icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(11, 16, 32, 0.07);
    color: var(--brand-2);
}

.apro-report-card__icon svg {
    width: 18px;
    height: 18px;
}

.apro-report-card__title {
    color: var(--ink);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.apro-report-card__body {
    padding: 20px 24px;
}

.apro-report-card__records {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apro-report-record {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.apro-report-record + .apro-report-record {
    margin-top: 4px;
}

.apro-report-record__label {
    margin-bottom: 12px;
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 800;
}

.apro-report-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 28px;
}

.apro-report-summary__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
}

.apro-report-summary__mark {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 1px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--good);
}

.apro-report-summary__mark::after {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.apro-report-summary__item.is-orange .apro-report-summary__mark {
    color: var(--warn);
}

.apro-report-summary__item.is-orange .apro-report-summary__mark::after,
.apro-report-summary__item.is-red .apro-report-summary__mark::after {
    top: 4px;
    left: 8px;
    width: 2px;
    height: 7px;
    border: 0;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 9px 0 -0.2px currentColor;
    transform: none;
}

.apro-report-summary__item.is-red .apro-report-summary__mark {
    color: var(--bad);
}

.apro-report-summary__name {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.apro-report-summary__value {
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.apro-report-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-tint);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.apro-report-notice::before {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "i";
    font-size: 12px;
    font-weight: 800;
}

.apro-report-notice.is-good {
    background: var(--good-bg);
    color: var(--good);
}

.apro-report-notice.is-good::before {
    content: "✓";
}

.apro-report-notice.is-warn {
    background: var(--warn-bg);
    color: var(--warn);
}

.apro-report-notice.is-bad {
    background: var(--bad-bg);
    color: var(--bad);
}

.apro-mileage-graph {
    min-height: 230px;
    overflow-x: auto;
    padding: 8px 0 4px;
}

.apro-mileage-graph svg {
    width: 100%;
    min-width: 560px;
    height: auto;
}

.apro-mileage-graph__line {
    fill: none;
    stroke: var(--apro-mileage-line);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.apro-mileage-graph__point {
    fill: #fff;
    stroke: var(--apro-mileage-line);
    stroke-width: 4;
}

.apro-mileage-graph.is-empty {
    display: none;
}

.apro-mileage-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.apro-mileage-points__item {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-soft);
}

.apro-mileage-points__value {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.apro-mileage-points__date {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.apro-report-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.apro-report-gallery__item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.apro-report-gallery__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 22%, rgba(0, 191, 255, 0.16), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(71, 26, 255, 0.16), transparent 34%),
        var(--bg-tint);
}

.apro-report-gallery__item img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apro-report-gallery__placeholder,
.apro-report-image-frame__placeholder {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.apro-report-image-frame {
    position: relative;
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 24% 22%, rgba(0, 191, 255, 0.12), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(71, 26, 255, 0.12), transparent 34%),
        var(--bg-tint);
}

.apro-report-image-frame__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.apro-report-gallery__caption {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12px;
}

.apro-report-link {
    color: var(--brand-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apro-short {
    width: min(100% - 32px, 896px);
    margin-inline: auto;
    padding: 32px 0 64px;
}

.apro-short__card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--apro-report-card-shadow);
}

.apro-short__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 90% 0%, rgba(0, 191, 255, 0.18), transparent 35%),
        #fff;
}

.apro-short__name {
    color: var(--brand-2);
    font-size: 25px;
    font-weight: 800;
}

.apro-short__query {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

.apro-short__status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.apro-short__status::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-2);
    content: "";
    animation: apro-pulse 1.6s ease-in-out infinite;
}

.apro-short__status.is-error {
    background: var(--bad-bg);
    color: var(--bad);
}

.apro-short__status.is-error::before {
    background: var(--bad);
    animation: none;
}

.apro-short__facts {
    padding: 12px 24px;
}

.apro-short__action {
    padding: 20px 24px 24px;
}

.apro-short__action .is-disabled {
    cursor: wait;
    opacity: 0.7;
    pointer-events: none;
}

.apro-short__action .btn {
    width: 100%;
}

.apro-short__hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.apro-short__checks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.apro-short__check {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.apro-short__check::before {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--good-bg);
    color: var(--good);
    content: "✓";
    font-weight: 800;
}

.apro-short__check-title {
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.apro-short__check-text {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.apro-loader {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(71, 26, 255, 0.15);
    border-top-color: var(--brand-2);
    border-radius: 50%;
    animation: apro-spin 0.8s linear infinite;
}

.apro-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(71, 26, 255, 0.15);
    border-top-color: var(--brand-2);
    border-radius: 50%;
    animation: apro-spin 0.8s linear infinite;
}

@keyframes apro-spin {
    to { transform: rotate(360deg); }
}

.header-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.header-menu-toggle[aria-expanded="true"] {
    border-color: var(--brand-2);
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 6px 18px rgba(71, 26, 255, 0.25);
}

.header-mobile-menu {
    display: flex;
    gap: 6px;
    padding: 0 0 12px;
    border-top: 1px solid var(--line);
}

.header-mobile-menu[hidden] {
    display: none;
}

.header-mobile-menu a {
    flex: 1 1 0;
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.header-mobile-menu a:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.apro-tariff-offer,
.apro-tariff-offer__details,
.apro-tariff-offer__copy {
    min-width: 0;
}

.apro-tariff-offer__copy {
    overflow-wrap: anywhere;
}

.apro-reports-table-scroll:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: -2px;
}

.apro-report-status--unpaid {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.apro-report-status-dot--unpaid {
    background: #f97316;
}

.apro-report-secondary-action {
    display: inline-flex;
    width: 78px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    line-height: 1;
}

.apro-control {
    width: 100%;
}

.apro-control__heading {
    margin-bottom: 28px;
}

.apro-control__alert {
    padding-right: 16px;
    border-radius: 14px;
}

.apro-control__alert a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apro-control__card {
    overflow: visible;
    padding: 32px;
    border-radius: 18px;
}

.apro-control__intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.apro-control__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.13), rgba(71, 26, 255, 0.13));
    color: var(--brand-2);
}

.apro-control__title {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.apro-control__description {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.apro-control__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.apro-control__summary-item {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fafc;
}

.apro-control__summary-label,
.apro-control__summary-value {
    display: block;
}

.apro-control__summary-label {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.apro-control__summary-value {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.apro-control__form .form-group {
    margin-bottom: 18px;
}

.apro-control__form .invalid-feedback:empty {
    display: none;
    min-height: 0;
    margin: 0;
}

.apro-control__select {
    min-height: 48px;
    padding-right: 44px;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
}

.apro-control__guest-note {
    margin: -4px 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.apro-control__captcha {
    max-width: 100%;
    margin: 2px 0 20px;
    overflow-x: auto;
}

.apro-control__submit {
    width: 100%;
    min-height: 48px;
}

.apro-reports-table-hint {
    display: none;
    margin: 0;
    padding: 8px 16px 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    text-align: right;
}

@media (max-width: 900px) {
    .nav,
    .header-actions .btn-outline {
        display: none;
    }

    .header .logo > div {
        display: none;
    }

    [data-menu-toggle] {
        display: inline-flex;
    }

    body.menu-open .header {
        position: fixed;
        inset: 0;
        z-index: 200;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        border-bottom: 0;
        background: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    body.menu-open .header > div {
        display: flex;
        width: 100%;
        min-height: 100%;
        flex-direction: column;
    }

    body.menu-open .header-inner {
        flex: 0 0 auto;
        border-bottom: 1px solid var(--line);
    }

    body.menu-open .header-mobile-menu {
        display: flex;
        min-height: 0;
        flex: 1 0 auto;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        padding: clamp(48px, 12vh, 104px) 0 32px;
        border-top: 0;
        background: transparent;
    }

    body.menu-open .header-mobile-menu a {
        flex: 0 0 auto;
        padding: 18px 20px;
        border-radius: 14px;
        color: var(--ink);
        font-size: 22px;
        line-height: 1.25;
        text-align: left;
    }
}

@media (min-width: 901px) {
    .header-mobile-menu {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .card.md\:p-8 {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .apro-contact__grid,
    .apro-contact__details,
    .apro-contact__form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .apro-contact__grid {
        gap: 20px;
    }

    .apro-contact__info,
    .apro-contact__form {
        padding: 24px;
    }

    .apro-report-grid,
    .apro-report-summary,
    .apro-report-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .apro-report__vehicle-name {
        font-size: 20px;
    }

    .apro-report-card__body,
    .apro-report__facts {
        padding-inline: 18px;
    }

    .apro-short__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .apro-short__checks {
        grid-template-columns: minmax(0, 1fr);
    }

    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .apro-reports-table-hint {
        display: block;
    }
}

@media (max-width: 520px) {
    .container,
    .apro-report,
    .apro-short {
        width: min(100% - 24px, var(--container));
    }

    .header-inner {
        gap: 10px;
    }

    .apro-contact__info,
    .apro-contact__form {
        padding: 20px;
    }

    .apro-contact__phone {
        font-size: 23px;
    }

    .apro-contact__location {
        min-height: 220px;
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .apro-control__heading {
        margin-bottom: 22px;
    }

    .apro-control__card {
        padding: 20px;
        border-radius: 16px;
    }

    .apro-control__intro {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .apro-control__summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .apro-tariff-offer__details {
        align-items: flex-start;
        gap: 14px;
    }

    .apro-tariff-offer__copy {
        font-size: 14px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .logo-text-sub {
        display: none;
    }

    .apro-report__title {
        font-size: 19px;
    }

    .apro-report__vehicle {
        align-items: flex-start;
        padding-inline: 18px;
    }

    .apro-report__brand {
        width: 52px;
        height: 52px;
    }

    .modal__actions {
        flex-direction: column-reverse;
    }

    .modal__actions .btn {
        width: 100%;
    }
}

@media print {
    .header,
    footer,
    .cookie-banner {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .apro-report {
        width: 100%;
        padding: 0;
    }

    .apro-report__hero,
    .apro-report-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
