.vf-available-heading { align-items: end; }
.vf-available-heading .vf-filter-row { margin: 0 0 0 auto; }
.vf-available-heading-copy .vf-available-total { margin: 6px 0 0; color: var(--vf-muted); font-size: 14px; }
.vf-shift-list { display: grid; gap: 12px; }
.vf-shift-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px 12px;
    border: 1px solid var(--vf-border);
    border-inline-start: 2px solid var(--vf-open-edge);
    border-radius: var(--vf-panel-radius);
    background: var(--vf-surface);
}
.vf-shift-card-header { display: grid; gap: 2px; }
.vf-station { margin: 0; font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }
.vf-shift-competency, .vf-shift-hint, .vf-shift-state { margin: 0; color: var(--vf-muted); font-size: 13px; }
.vf-shift-period { display: grid; gap: 2px; }
.vf-shift-day, .vf-shift-duration, .vf-shift-range time { color: var(--vf-muted); font-size: 13px; }
.vf-shift-hours, .vf-shift-range strong { color: var(--vf-ink); font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.vf-shift-range { display: grid; grid-template-columns: auto 14px minmax(0, 1fr); align-items: end; gap: 8px; }
.vf-shift-range time { display: grid; }
.vf-shift-period-arrow { color: var(--vf-muted); font-size: 16px; }
.vf-shift-card-footer { display: grid; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--vf-border); }
.vf-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.vf-shift-state { font-weight: 650; }
.vf-shift-state.is-pending { color: var(--vf-interest-ink); }
.vf-shift-state.is-awarded { color: var(--vf-filled-ink); }
.vf-shift-hint a { color: var(--vf-interest-ink); text-decoration: underline; text-underline-offset: 2px; }
.vf-decline-button { min-height: 44px; border: 0; color: var(--vf-muted); background: transparent; font-size: 13px; font-weight: 700; }
.vf-decline-button:hover { color: var(--vf-error-ink); text-decoration: underline; }
.vf-available-empty, .vf-my-shifts-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; border-block: 1px solid var(--vf-border); }
.vf-available-empty h2, .vf-my-shifts-empty h2 { margin-bottom: 6px; font-size: 20px; }
.vf-available-empty p { max-width: 43ch; margin: 0; color: var(--vf-muted); }
.vf-available-empty .vf-button { margin-top: 20px; }
.vf-available-board, .vf-my-shifts-board { align-self: center; width: 64px; }
.vf-available-board div, .vf-my-shifts-board div { display: grid; grid-template-columns: 6px 1fr; gap: 6px; align-items: center; min-height: 12px; }
.vf-available-board b, .vf-my-shifts-board b { width: 6px; height: 2px; background: var(--vf-open-edge); }
.vf-available-board i, .vf-my-shifts-board i { height: 2px; background: var(--vf-border); }
.vf-my-shifts-main { width: min(100%, 1160px); max-width: none; padding: 44px 32px 64px; }
.vf-my-shifts-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.vf-my-shifts-summary { margin: 0; color: var(--vf-muted); font-size: 14px; }
.vf-my-shift-group { margin-top: 28px; }
.vf-my-shift-group:first-of-type { margin-top: 0; }
.vf-my-shift-group h2 { margin-bottom: 10px; font-size: 22px; }
.vf-my-shift-list { overflow: hidden; border-block: 1px solid var(--vf-border); }
.vf-my-shift-row { display: grid; grid-template-columns: 1.13fr 1.2fr 1fr 1fr; gap: 12px; align-items: center; min-height: 56px; padding: 10px 12px; }
.vf-my-shift-row + .vf-my-shift-row { border-top: 1px solid var(--vf-border); }
.vf-my-shift-row p { margin: 0; font-size: 14px; }
.vf-my-shift-column-head { min-height: 0; padding-block: 10px; color: var(--vf-muted); background: color-mix(in srgb, var(--vf-canvas) 66%, var(--vf-surface)); font-size: 13px; font-weight: 700; }
.vf-my-shift-schedule { font-variant-numeric: tabular-nums; }
.vf-my-shift-schedule time { display: block; font-weight: 750; }
.vf-my-shift-schedule span { display: block; margin-top: 3px; color: var(--vf-muted); }
.vf-my-shift-station { font-weight: 750; }
.vf-my-shift-role { color: var(--vf-muted); }
.vf-my-shift-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; }
.vf-my-shift-status::before { width: 6px; height: 6px; background: currentColor; content: ""; }
.vf-my-shift-status.is-awarded { color: var(--vf-filled-ink); }
.vf-my-shift-status.is-pending { color: var(--vf-open-ink); }
.vf-my-shift-status.is-not-awarded { color: var(--vf-muted); }
.vf-withdraw-button { display: block; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--vf-ink); font-size: 13px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.vf-withdraw-button:hover { color: var(--vf-error-ink); }
.vf-shift-card .vf-withdraw-button { padding-inline: 0; }
.vf-my-shifts-empty p { max-width: 43ch; margin: 0; color: var(--vf-muted); }
.vf-my-shifts-empty .vf-button { display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-top: 20px; }
.vf-my-shifts-board b { background: var(--vf-interest-ink); }

@media (max-width: 767px) {
    .vf-available-empty, .vf-my-shifts-empty { gap: 12px; padding: 16px 0; }
    .vf-my-shifts-main { width: min(100%, 440px); padding: 24px 16px 40px; }
    .vf-my-shifts-head { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 16px; }
    .vf-my-shift-group { margin-top: 22px; }
    .vf-my-shift-group h2 { margin-bottom: 8px; }
    .vf-my-shift-column-head { display: none; }
    .vf-my-shift-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; min-height: 0; padding: 12px 14px; }
    .vf-my-shift-station { grid-column: 1; grid-row: 1; }
    .vf-my-shift-role { grid-column: 1; }
    .vf-my-shift-status-cell { grid-column: 2; grid-row: 1; }
    .vf-withdraw-button { min-height: 48px; }
    .vf-my-shift-schedule { grid-column: 1 / -1; margin-top: 4px !important; }
}

@media (min-width: 768px) {
    .firefighter-page .vf-shift-list { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
}
