.tbfa {
    --tbfa-ink: #193b49;
    --tbfa-accent: #086c74;
    --tbfa-border: #d3e1e5;
    --tbfa-glass: #f2f8f9;
    color: var(--tbfa-ink);
    line-height: 1.55;
}
.tbfa [hidden] { display: none !important; }
.tbfa .tbfa-nav, .tbfa .tbfa-toolbar, .tbfa .tbfa-map-actions {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.tbfa .tbfa-nav {
    border-bottom: 1px solid var(--tbfa-border);
    margin: 0 0 1rem;
}
.tbfa .tbfa-nav a {
    display: inline-block;
    padding: 0.6rem 0.8rem;
    color: var(--tbfa-ink);
    text-decoration: none;
}
.tbfa .tbfa-nav a[aria-current] {
    border-bottom: 3px solid var(--tbfa-accent);
    font-weight: 650;
}
.tbfa .tbfa-button {
    border: 1px solid #aac2c9;
    border-radius: 5px;
    padding: 0.42rem 0.7rem;
    background: #fff;
    color: var(--tbfa-ink);
    font: inherit;
    font-size: 0.94em;
    line-height: 1.4;
    cursor: pointer;
    min-height: 2.35rem;
}
.tbfa .tbfa-button:hover, .tbfa .tbfa-button[aria-pressed="true"] {
    background: var(--tbfa-glass);
    border-color: var(--tbfa-accent);
}
.tbfa .tbfa-primary, .tbfa .tbfa-primary:hover {
    background: var(--tbfa-accent);
    border-color: var(--tbfa-accent);
    color: #fff;
}
.tbfa .tbfa-danger { color: #a22527; }
.tbfa .tbfa-button:disabled { opacity: 0.5; cursor: default; }
.tbfa :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--tbfa-accent);
    outline-offset: 2px;
}
.tbfa input, .tbfa select {
    width: 100%;
    box-sizing: border-box;
    color: var(--tbfa-ink);
    padding: 0.38rem 0.5rem;
    font: inherit;
    background: #fff;
    border: 1px solid #9fb9c0;
    border-radius: 4px;
    min-height: 2.35rem;
}
.tbfa .tbfa-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.22rem;
}
.tbfa .tbfa-field > span { font-size: 0.88em; font-weight: 600; }
.tbfa .tbfa-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.9rem;
}
.tbfa .tbfa-editor {
    border: 1px solid var(--tbfa-border);
    border-radius: 6px;
    padding: clamp(0.65rem, 2.5vw, 1.15rem);
    margin-bottom: 1rem;
    background: #fbfdfd;
}
.tbfa .tbfa-editor h2 {
    margin: 0 0 0.85rem;
    font-size: 1.24em;
}
.tbfa .tbfa-editor fieldset {
    min-width: 0;
    border: 1px solid var(--tbfa-border);
    margin: 0 0 0.85rem;
    padding: 0.65rem;
}
.tbfa .tbfa-editor > fieldset { margin-top: 0.85rem; }
.tbfa .tbfa-editor legend { padding: 0 0.35rem; font-weight: 600; }
.tbfa .tbfa-editor .tbfa-toolbar { margin-top: 0.8rem; }
.tbfa .tbfa-text-button {
    border: 0;
    padding: 0.4rem 0;
    color: #08616c;
    background: transparent;
    font: inherit;
    font-size: 0.85em;
    text-decoration: underline;
    cursor: pointer;
}
.tbfa .tbfa-note, .tbfa .tbfa-map-status {
    margin: 0.55rem 0;
    font-size: 0.9em;
}
.tbfa .tbfa-map-status:empty { display: none; }
.tbfa .tbfa-error { color: #9b2020; }
.tbfa .tbfa-airport { position: relative; min-width: 0; }
.tbfa ul.tbfa-airport-list {
    position: absolute;
    z-index: 30;
    top: 3.85rem;
    left: 0;
    right: 0;
    max-height: 15rem;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    border: 1px solid #9fb9c0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 14px #193b4924;
}
.tbfa .tbfa-airport-list li { margin: 0; }
.tbfa .tbfa-airport-list li:not(:has(button)) { padding: 0.55rem; }
.tbfa .tbfa-airport-option {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--tbfa-border);
    background: #fff;
    padding: 0.48rem 0.6rem;
    text-align: left;
    color: var(--tbfa-ink);
    font: inherit;
    cursor: pointer;
}
.tbfa .tbfa-airport-option:hover, .tbfa .tbfa-airport-option:focus-visible {
    background: var(--tbfa-glass);
    outline-offset: -2px;
}
.tbfa .tbfa-airport-option small, .tbfa .tbfa-subtext {
    display: block;
    font-size: 0.8em;
    color: #45646f;
}
.tbfa .tbfa-filters label { max-width: 8.8rem; flex: 1 1 6.8rem; }
.tbfa .tbfa-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin-top: 0.85rem;
}
.tbfa table {
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.94em;
    line-height: 1.45;
    text-align: left;
}
.tbfa table :is(th, td) {
    border: 1px solid var(--tbfa-border);
    padding: 0.48rem 0.52rem;
    vertical-align: top;
    text-align: left;
}
.tbfa table th { background: var(--tbfa-glass); color: var(--tbfa-ink); }
.tbfa .tbfa-ticket-table > tbody > tr > td:nth-child(3) {
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
.tbfa .tbfa-ticket-table > tbody > tr > td:last-child .tbfa-button { white-space: nowrap; }
.tbfa .tbfa-list > .tbfa-toolbar:last-child { margin-top: 0.7rem; }
.tbfa .tbfa-detail {
    padding: 0.2rem;
}
.tbfa .tbfa-detail .tbfa-map-actions { margin-bottom: 0.5rem; }
.tbfa .tbfa-detail table { min-width: 32rem; }
.tbfa .tbfa-detail .tbfa-toolbar { margin-top: 0.7rem; }
.tbfa canvas {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: clamp(11rem, 40vw, 22rem);
    border-radius: 4px;
    background: #edf5f9;
}
.tbfa .tbfa-mobile-facts { display: none; }
.tbfa .tbfa-mobile-date { display: none; }
@media (max-width: 640px) {
    .tbfa .tbfa-mobile-date { display: block; }
    .tbfa .tbfa-grid { grid-template-columns: minmax(0, 1fr); }
    .tbfa .tbfa-ticket-table { table-layout: fixed; }
    .tbfa .tbfa-ticket-table thead th:nth-child(1) { width: 25%; }
    .tbfa .tbfa-ticket-table thead th:nth-child(3) { width: 26%; }
    .tbfa .tbfa-ticket-table thead th:last-child { width: 23%; }
    .tbfa .tbfa-ticket-table > :is(thead, tbody) > tr > :is(th, td) {
        padding: 0.36rem 0.28rem;
        overflow-wrap: anywhere;
    }
    .tbfa .tbfa-ticket-table > :is(thead, tbody) > tr > :is(th, td).tbfa-desktop { display: none; }
    .tbfa .tbfa-ticket-table > tbody > tr > td:last-child .tbfa-button {
        white-space: normal;
        padding: 0.25rem 0.35rem;
    }
    .tbfa .tbfa-mobile-facts { display: block; margin: 0 0 0.55rem; font-size: 0.85em; }
}

.tbfa .tbfa-overview {
    margin: 0.9rem 0 1rem;
}
.tbfa .tbfa-overview canvas {
    height: clamp(13rem, 46vw, 28rem);
}
.tbfa .tbfa-member-picker .tbfa-field {
    flex: 1 1 14rem;
}

.tbfa .tbfa-cash-breakdown {
    margin-top: 0.75rem;
}
.tbfa .tbfa-cash-breakdown summary {
    cursor: pointer;
}
.tbfa .tbfa-cash-breakdown > .tbfa-grid {
    margin-top: 0.5rem;
}
