.emv-table td {
    vertical-align: middle;
}

.emv-table td.emv-label-cell {
    text-align: center;
}

.emv-table td.emv-label-cell .label {
    float: none;
    display: inline-block;
    margin: 0;
}

/* md-inline-form only fixes the datepickers: pull the select up to their baseline (values tuned in devtools) */
.emv-filters md-input-container {
    margin-top: 17px;
    margin-bottom: 0;
    margin-left: 2em;
    margin-right: 2em;
}

/* support page: the whole fare row opens its taps */
.emv-table tr.emv-fare-row {
    cursor: pointer;
}

/* taps of an open fare: indented under the fare row, like the old superseded children */
.emv-table td.emv-taps-cell {
    padding-left: 2em;
}

/* status legend as a flow diagram: main flow on the left, ERROR on the side; labels reset like in the table cells */
.emv-legend {
    margin-top: 1em;
    font-size: 11px;
}

.emv-legend strong {
    display: block;
    margin-bottom: 0.4em;
}

.emv-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em 5em;
}

.emv-flow-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emv-flow-node {
    text-align: center;
}

.emv-flow-arrow {
    text-align: center;
    font-size: 16px;
    line-height: 1.2;
}

/* PENDING forks in SETTLED / UNSETTLED */
.emv-flow-fork {
    display: flex;
    gap: 3em;
}

.emv-flow-side {
    text-align: center;
    padding-left: 2em;
    border-left: 1px dashed #bbb;
}

.emv-legend .label {
    float: none;
    display: inline-block;
    margin: 0 0.5em 0 0;
    font-size: 10px;
}
