/* ============================================================
   ADS styles - Expenses/Travel: Local Conveyance + Travel Management (shared block, kept in original position)
   Split out of the former monolithic style.css WITHOUT code changes.
   Files are linked in numeric order (see Core/templates/_styles.html) so
   the cascade is identical to the old single file.
   ============================================================ */

/* ==============================================================
   Local Conveyance (distance-basis expense entries) + Travel
   Management module — additive, reuses existing .exp-* / .ts-*
   classes wherever the existing Expense screens already define
   the right look (badges, tables, cards, buttons, empty-states).
   ============================================================== */

.exp-dist-rate-preview {
    font-size: 13px;
    color: var(--green-dark, #065f46);
    margin: 4px 0 10px;
}

.exp-leg-row {
    display: grid;
    grid-template-columns: 1fr 1fr 90px 1fr 36px;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.exp-dist-total {
    font-weight: 600;
    margin: 8px 0;
    color: var(--gray-900);
}

.exp-distance-builder {
    border-top: 1px solid var(--gray-200, #e5e7eb);
    padding-top: 12px;
    margin-top: 8px;
}

.exp-dist-item-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.4fr 100px 36px;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.exp-dist-item-amount { font-weight: 600; text-align: right; }

.exp-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 6px;
}

@media (max-width: 720px) {
    .exp-leg-row,
    .exp-dist-item-row {
        grid-template-columns: 1fr;
    }
}

