[hidden] {
    display: none !important;
}

.fc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

    .fc-toolbar h2,
    .fc-toolbar h3 {
        margin: 0;
    }

.fc-button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #c8d7f1;
    border-radius: 10px;
    background: #edf3ff;
    color: #214f99;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

    .fc-button:disabled {
        opacity: 0.6;
        cursor: wait;
    }

    .fc-button:focus-visible,
    .fc-fields input:focus,
    .fc-fields select:focus,
    .fc-fields textarea:focus {
        outline: 2px solid #3e75cd;
        outline-offset: 2px;
    }

.fc-message {
    color: #405e8a;
    font-size: 0.875rem;
}

.fc-fields {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

    .fc-fields label {
        display: grid;
        gap: 6px;
        min-width: 0;
        font-size: 0.9rem;
    }

    .fc-fields input,
    .fc-fields select,
    .fc-fields textarea {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px;
        border: 1px solid #c8d7f1;
        border-radius: 9px;
        background: white;
        color: #17315c;
        font: inherit;
        font-size: 16px;
    }

    .fc-fields textarea {
        resize: vertical;
    }

.fc-form {
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #c8d7f1;
    border-radius: 16px;
    background: #edf3ff;
    scroll-margin-top: 12px;
}

    .fc-form h3 {
        margin-top: 0;
    }

.fc-vehicle-list {
    display: grid;
    gap: 6px;
}

.fc-vehicle-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 8px;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid var(--vehicle-border);
    border-top: 3px solid var(--vehicle-accent);
    border-radius: 12px;
    background: white;
    overflow-wrap: anywhere;
}

.fc-vehicle-card--active {
    --vehicle-border: #9acbaa;
    --vehicle-accent: #267a43;
}

.fc-vehicle-card--inactive {
    --vehicle-border: #e4a4a8;
    --vehicle-accent: #b23640;
}

.fc-vehicle-card > .fc-toolbar {
    grid-column: 1 / -1;
    margin: 0;
    gap: 4px 8px;
}

.fc-vehicle-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    color: #173d78;
}

.fc-vehicle-card > p {
    margin: 0;
    min-width: 0;
    color: #526787;
    font-size: 0.8rem;
    line-height: 1.4;
}

.fc-vehicle-card > .fc-button {
    min-height: 44px;
    margin: 0;
    padding: 6px 10px;
    border-color: #d2dff4;
    border-radius: 8px;
    background: #eaf1ff;
    font-size: 0.8rem;
}

.fc-badge {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--vehicle-accent);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (min-width: 720px) {
    .fc-fields,
    .fc-vehicle-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
