.order-form,
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 16px;
}
.delivery-accounting-panel {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
    border-right: 5px solid #2563eb;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(239, 246, 255, .96), rgba(255, 255, 255, .98));
    box-shadow: 0 10px 25px rgba(37, 99, 235, .08);
}

.delivery-accounting-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.delivery-accounting-panel__header h4 {
    margin: 0 0 .35rem;
    color: #1e3a8a;
    font-size: 1.05rem;
}

.delivery-accounting-panel__header p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.delivery-accounting-panel__badge {
    flex: 0 0 auto;
    padding: .4rem .65rem;
    border-radius: 999px;
    color: #1d4ed8;
    background: #dbeafe;
    font-size: .75rem;
    font-weight: 800;
}

.delivery-accounting-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.delivery-accounting-grid label > span {
    display: block;
    margin-bottom: .35rem;
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

.delivery-accounting-summary {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border-radius: 10px;
    color: #0f172a;
    background: #fff;
    border: 1px dashed #93c5fd;
    line-height: 1.8;
    font-weight: 700;
}

.delivery-accounting-summary.is-warning {
    border-color: #f59e0b;
    background: #fffbeb;
}

.delivery-accounting-summary.is-danger,
.delivery-accounting-alert.is-danger {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.delivery-accounting-alert {
    margin-bottom: .8rem;
    padding: .7rem .85rem;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
}

.replacement-accounting-banner {
    margin: 0 0 1rem;
    padding: .85rem 1rem;
    border: 1px solid #86efac;
    border-radius: 11px;
    color: #166534;
    background: #f0fdf4;
    font-weight: 800;
}

.return-trip-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #bfdbfe;
}

.return-trip-panel[hidden] { display: none !important; }

@media (max-width: 900px) {
    .delivery-accounting-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .delivery-accounting-panel__header { display: block; }
    .delivery-accounting-panel__badge { display: inline-block; margin-top: .65rem; }
    .delivery-accounting-grid { grid-template-columns: 1fr; }
}
