.vehicle-send-form {
    display: grid;
    gap: 1rem;
}

.vehicle-send-shell {
    display: grid;
    gap: 0.75rem;
}

.vehicle-send-context {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 0.9rem;
    background: rgba(37, 99, 235, 0.06);
}

.vehicle-send-eyebrow,
.vehicle-send-section-title {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.vehicle-send-context strong {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
}

.vehicle-send-context p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.4;
}

.vehicle-send-channel-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.vehicle-send-channel-tab {
    display: grid;
    min-height: 62px;
    gap: 0.1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.vehicle-send-channel-tab:hover,
.vehicle-send-channel-tab:focus-visible {
    border-color: var(--primary);
    outline: none;
}

.vehicle-send-channel-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.vehicle-send-channel-tab.is-active {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: inset 0 0 0 1px var(--primary);
}

.vehicle-send-channel-tab:disabled {
    cursor: wait;
    opacity: 0.65;
}

.vehicle-send-channel-tab span {
    font-size: 0.94rem;
    font-weight: 750;
}

.vehicle-send-channel-tab small {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.vehicle-send-channel-status {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.vehicle-send-channel-status:empty {
    display: none;
}

.vehicle-send-section,
.vehicle-send-options {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: var(--surface);
}

.vehicle-send-section-title {
    display: block;
    margin-bottom: 0.8rem;
}

.vehicle-send-section .form-group:last-child,
.vehicle-send-options-body .form-group:last-child {
    margin-bottom: 0;
}

.vehicle-send-form label.form-label > span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 400;
}

.vehicle-send-spaced-label {
    margin-top: 0.75rem;
}

.vehicle-send-options {
    padding: 0;
    overflow: clip;
}

.vehicle-send-options summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.vehicle-send-options summary::-webkit-details-marker {
    display: none;
}

.vehicle-send-options summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1;
}

.vehicle-send-options[open] summary::after {
    content: '−';
}

.vehicle-send-options summary > span {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 400;
    text-align: right;
}

.vehicle-send-options-body {
    padding: 1rem;
    border-top: 1px solid var(--border);
    background: var(--background);
}

.vehicle-send-checkbox-spaced {
    margin-top: 0.55rem;
}

.vehicle-send-message textarea {
    min-height: 220px;
    resize: vertical;
}

.vehicle-send-form > .form-actions {
    margin-top: 0;
}

.vehicle-send-helper {
    display: block;
    margin-top: 0.55rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.4;
}

.vehicle-send-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.vehicle-send-section-heading .vehicle-send-section-title {
    margin-bottom: 0;
}

.vehicle-send-section-heading strong {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 0.82rem;
}

.vehicle-send-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.15rem 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.7rem;
    background: var(--background);
}

.vehicle-send-note span,
.vehicle-send-note small {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.vehicle-send-note strong {
    color: var(--text);
    font-size: 0.86rem;
    text-align: right;
}

.vehicle-send-note small {
    grid-column: 1 / -1;
}

.vehicle-send-summary-list {
    display: grid;
    gap: 0.4rem;
    max-height: 180px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.vehicle-send-summary-list li {
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    background: var(--background);
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.35;
}

.vehicle-send-price-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.vehicle-send-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 160px);
    align-items: center;
    gap: 0.65rem;
}

.vehicle-send-price-row label {
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.3;
}

body.theme-test .vehicle-send-form .vehicle-send-search {
    position: static;
    z-index: auto;
    width: 100%;
    margin: 0 0 0.65rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.vehicle-send-recipient-list {
    display: grid;
    gap: 0.4rem;
    max-height: 240px;
    overflow-y: auto;
}

.vehicle-send-recipient-row {
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    background: var(--background);
}

.vehicle-send-recipient-row.is-included {
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.06);
}

.vehicle-send-recipient-row .form-checkbox {
    width: 100%;
    align-items: flex-start;
    margin: 0;
}

.vehicle-send-recipient-row .form-checkbox span {
    overflow-wrap: anywhere;
    font-size: 0.86rem;
    line-height: 1.35;
}

.vehicle-send-empty {
    padding: 0.8rem;
    border-radius: 0.6rem;
    background: var(--background);
    color: var(--text-secondary);
    text-align: center;
}

.vehicle-send-form .multi-send-item {
    padding: 0;
    overflow: hidden;
}

.vehicle-send-form .multi-send-item summary {
    min-height: 46px;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
}

.vehicle-send-form .multi-send-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.1rem;
}

.vehicle-send-form .multi-send-item[open] summary::after {
    content: '−';
}

.vehicle-send-form .multi-send-item > .form-group {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
}

.vehicle-send-form .multi-send-item > .vehicle-send-item-first-field {
    margin-top: 0.8rem;
}

.vehicle-send-form .multi-send-item > .form-group:last-child {
    padding-bottom: 0.85rem;
}

@media (max-width: 520px) {
    .vehicle-send-form {
        gap: 0.8rem;
    }

    .vehicle-send-context,
    .vehicle-send-section {
        padding: 0.85rem;
    }

    .vehicle-send-channel-tab {
        min-height: 58px;
        padding: 0.6rem 0.65rem;
    }

    .vehicle-send-channel-tab small {
        font-size: 0.71rem;
    }

    .vehicle-send-options summary {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .vehicle-send-options summary > span {
        display: none;
    }

    .vehicle-send-price-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .vehicle-send-price-row .form-input {
        min-height: 44px;
    }

    .vehicle-send-message textarea {
        min-height: 180px;
    }
}
