/* Desktop front — light, clean, editable */

.front-shell.front-light {
    --fd-bg: #f1f5f9;
    --fd-surface: #ffffff;
    --fd-text: #0f172a;
    --fd-muted: #64748b;
    --fd-border: #e2e8f0;
    --fd-accent: #2563eb;
    --fd-green: #059669;
    --fd-orange: #ea580c;
    min-height: 100vh;
    background: var(--fd-bg);
    color: var(--fd-text);
}

.front-light .front-header {
    background: var(--fd-surface);
    border-bottom: 1px solid var(--fd-border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    padding: 1rem 1.25rem;
}

.front-light .front-header-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.front-light .front-brand h1 {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fd-text);
    margin: 0;
}

/* Brand segmented switch (Rebel / Briscoes) */
.front-light .front-brand-switch {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    padding: 0.25rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #e8edf3 0%, #f1f5f9 100%);
    border: 1px solid var(--fd-border);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
    gap: 0;
    flex-shrink: 0;
}

.front-light .front-brand-switch-thumb {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.25rem);
    height: calc(100% - 0.5rem);
    border-radius: 11px;
    background: var(--fd-surface);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 4px 14px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s cubic-bezier(0.34, 1.2, 0.64, 1);
    pointer-events: none;
    z-index: 0;
}

.front-light .front-brand-switch[data-active="briscoes"] .front-brand-switch-thumb {
    transform: translateX(100%);
}

.front-light .front-brand-opt {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 7.25rem;
    padding: 0.45rem 0.85rem 0.45rem 0.65rem;
    border: none;
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.front-light .front-brand-opt:focus-visible {
    outline: 2px solid var(--fd-accent);
    outline-offset: 2px;
}

.front-light .front-brand-opt-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.front-light .front-brand-opt--rebel .front-brand-opt-dot {
    background: linear-gradient(145deg, #fb7185 0%, #e11d48 100%);
}

.front-light .front-brand-opt--briscoes .front-brand-opt-dot {
    background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
}

.front-light .front-brand-opt-label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 0.05rem;
}

.front-light .front-brand-opt-name {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--fd-muted);
    transition: color 0.15s ease;
}

.front-light .front-brand-opt-sub {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.front-light .front-brand-opt--rebel.front-brand-opt--on .front-brand-opt-name {
    color: #be123c;
}

.front-light .front-brand-opt--rebel.front-brand-opt--on .front-brand-opt-sub {
    color: #f43f5e;
}

.front-light .front-brand-opt--briscoes.front-brand-opt--on .front-brand-opt-name {
    color: #1d4ed8;
}

.front-light .front-brand-opt--briscoes.front-brand-opt--on .front-brand-opt-sub {
    color: #3b82f6;
}

.front-light .front-brand-opt:not(.front-brand-opt--on):hover .front-brand-opt-name {
    color: var(--fd-text);
}

.front-light .front-date-input {
    width: auto;
}

.front-light .front-meta {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    color: var(--fd-muted);
}

.front-light .front-clock {
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--fd-accent);
    margin: 0.35rem 0 0;
}

.front-light .front-live-badge {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--fd-green);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.front-light .front-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
}

.front-light .front-main {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.85rem 1rem 1.5rem;
}

/* ── Compact header (desktop kiosk) ───────────────────── */
.front-header--compact {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.45rem 1rem;
}

.front-header--compact .front-header-inner {
    align-items: center;
    gap: 0.65rem 1rem;
}

.front-header-left {
    min-width: 0;
    flex: 1 1 12rem;
}

.front-brand-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
}

.front-header--compact .front-title {
    font-size: 1.0625rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 18rem;
}

.front-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-top: 0.15rem;
}

.front-header--compact .front-meta {
    margin: 0;
    font-size: 0.75rem;
    color: var(--fd-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 28rem;
}

.front-header--compact .front-clock {
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--fd-accent);
    margin: 0;
    white-space: nowrap;
}

.front-header--compact .front-status-badges {
    margin: 0;
    gap: 0.25rem;
}

.front-header--compact .front-status-badge {
    font-size: 0.625rem;
    padding: 0.12rem 0.45rem;
}

.front-header--compact .front-live-badge {
    margin: 0;
    padding: 0.1rem 0.4rem;
    font-size: 0.625rem;
}

.front-header--compact .front-toolbar {
    flex-wrap: nowrap;
    gap: 0.35rem;
    flex-shrink: 0;
}

.front-brand-switch--compact {
    padding: 0.15rem;
    border-radius: 10px;
}

.front-brand-switch--compact .front-brand-switch-thumb {
    top: 0.15rem;
    left: 0.15rem;
    width: calc(50% - 0.15rem);
    height: calc(100% - 0.3rem);
    border-radius: 8px;
}

.front-brand-switch--compact .front-brand-opt {
    min-width: 0;
    padding: 0.3rem 0.55rem;
    gap: 0.35rem;
}

.front-brand-switch--compact .front-brand-opt-name {
    font-size: 0.75rem;
}

.front-header--compact .front-date-input {
    width: 8.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    min-height: 2rem;
}

.front-light .front-toolbar .btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    min-height: 2rem;
}

.front-light .front-toolbar .btn-icon {
    min-width: 2rem;
    padding: 0.35rem;
}

.front-light .btn-ghost {
    background: rgba(255, 255, 255, 0.65);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.front-light .btn-ghost:hover:not(:disabled) {
    background: #fff;
    color: var(--fd-text);
}

.front-light .intel-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.65rem;
    margin-bottom: 0;
}

.front-intel-slot {
    margin-bottom: 0.75rem;
    min-height: 0;
}

.front-intel-slot:empty {
    display: none;
}

.front-main {
    max-width: min(1440px, 100%);
    margin-inline: auto;
    padding-inline: clamp(0.65rem, 2vw, 1.25rem);
    padding-bottom: 2rem;
}

.front-board-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.front-board-toolbar-label {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fd-muted);
    flex-shrink: 0;
}

#roster-board {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 900px) {
    #roster-board {
        grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
        align-items: start;
    }
}

.front-light .intel-card {
    background: var(--fd-surface);
    border: 1px solid var(--fd-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.front-light .intel-card .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fd-text);
    line-height: 1.1;
}

.front-light .intel-card .label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fd-muted);
    margin-top: 0.15rem;
}

.front-light .intel-card.risk .value {
    color: var(--fd-orange);
}

.front-light .intel-card.accent .value {
    color: var(--fd-accent);
}

.front-light .kanban-board {
    gap: 1rem;
}

.front-light .roster-card.premium-card {
    background: var(--fd-surface);
    border: 1px solid var(--fd-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.15s, border-color 0.15s;
}

.front-light .roster-card.premium-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.front-light .roster-card.on-break-now {
    border-color: #fdba74;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%);
}

.front-light .roster-card.cover-risk {
    border-left: 4px solid var(--fd-orange);
}

.front-light .roster-card h3 {
    color: var(--fd-text);
}

.front-light .roster-card-status.breaking {
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.front-light .dept-badge {
    background: #eff6ff;
    color: var(--fd-accent);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.front-light .work-chip {
    background: #f8fafc;
    border: 1px solid var(--fd-border);
    color: var(--fd-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
}

.front-light .work-chip.risk {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.front-light .cover-note-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--fd-muted);
}

.front-light .fd-break-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--fd-border);
}

.front-light .fd-break-row:last-child {
    border-bottom: none;
}

.front-light .fd-break-live {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--fd-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.front-light .fd-adjust-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0.45rem 0.75rem;
    border: 1px dashed var(--fd-border);
    border-radius: 8px;
    background: transparent;
    color: var(--fd-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.front-light .fd-adjust-btn:hover {
    background: #f8fafc;
    color: var(--fd-text);
}

.front-light .loading-overlay {
    background: rgba(255, 255, 255, 0.75);
}

.front-light .loading-card {
    background: var(--fd-surface);
    color: var(--fd-text);
    border: 1px solid var(--fd-border);
}

.front-light #toast {
    background: var(--fd-text);
}

/* Edit sheet (shared with mobile) on desktop — centered modal style */
@media (min-width: 640px) {
    .front-light .mf-sheet {
        align-items: center;
    }

    .front-light .mf-sheet-panel {
        border-radius: 18px;
        max-height: 85vh;
        margin: 1rem;
    }
}

/* Sheet styles (shared) */
.mf-sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.mf-sheet.hidden { display: none; }
.mf-sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(2px); }
.mf-sheet-panel { position: relative; width: 100%; max-width: 26rem; max-height: min(88dvh, 640px); overflow-y: auto; padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12); }
.mf-sheet-handle { width: 2.5rem; height: 4px; margin: 0.25rem auto 0.75rem; border-radius: 999px; background: #e2e8f0; }
.mf-sheet-title { margin: 0 0 0.25rem; font-size: 1.125rem; font-weight: 800; }
.mf-sheet-sub { margin: 0 0 1rem; font-size: 0.875rem; color: #64748b; }
.mf-sheet-hint { margin: 0.75rem 0 0; font-size: 0.8125rem; color: #94a3b8; line-height: 1.4; }
.mf-edit-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.mf-edit-row { padding: 0.75rem; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; }
.mf-edit-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.mf-edit-label { font-size: 0.875rem; font-weight: 800; }
.mf-sheet-done-tag { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; color: #94a3b8; }
.mf-edit-times { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mf-edit-times--auto { align-items: end; }
.mf-edit-end-auto { padding: 0.5rem 0.65rem; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; }
.mf-edit-end-label { display: block; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; color: #94a3b8; }
.mf-edit-end-value { display: block; font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mf-edit-dur { font-size: 0.75rem; font-weight: 700; color: #2563eb; }
.mf-edit-field { display: flex; flex-direction: column; gap: 0.25rem; }
.mf-edit-field > span { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; color: #94a3b8; }
.mf-edit-time { width: 100%; padding: 0.65rem; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 1.0625rem; font-weight: 700; min-height: 3rem; }
.mf-edit-live-tag { margin: 0.4rem 0 0; font-size: 0.75rem; font-weight: 700; color: #2563eb; }
.mf-cascade-toggle { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 1rem; padding: 0.65rem 0.75rem; border-radius: 10px; background: #eff6ff; font-size: 0.8125rem; font-weight: 600; color: #64748b; cursor: pointer; }
.mf-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.25rem; }
.mf-sheet-actions--confirm { grid-template-columns: 1fr; }
.mf-sheet-actions--confirm .mf-btn-save { order: -1; }
.mf-btn { width: 100%; padding: 0.95rem; border: none; border-radius: 12px; font-size: 1rem; font-weight: 800; cursor: pointer; min-height: 3rem; }
.mf-btn-ghost { background: #fff; color: #64748b; border: 2px solid #e2e8f0; }
.mf-btn-save { background: #2563eb; color: #fff; }
.mf-btn-save:disabled { opacity: 0.4; cursor: not-allowed; }
.mf-sheet-changes { margin: 0 0 0.75rem; padding: 0; list-style: none; }
.mf-sheet-changes li { padding: 0.65rem 0.75rem; margin-bottom: 0.5rem; border-radius: 10px; background: #f8fafc; font-size: 0.9375rem; }
.mf-sheet-was { color: #94a3b8; text-decoration: line-through; }
.mf-sheet-will { color: #059669; font-weight: 800; }
.mf-sheet-note { margin: 0; font-size: 0.8125rem; color: #64748b; }
body.mf-sheet-open { overflow: hidden; }

@media (max-width: 900px) {
    .front-header--compact .front-header-inner {
        flex-wrap: wrap;
    }

    .front-header--compact .front-toolbar {
        flex-wrap: wrap;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .front-light .intel-strip {
        grid-template-columns: 1fr;
    }

    .front-light .front-header-inner {
        flex-direction: column;
    }

    .front-light .front-brand-switch {
        width: 100%;
    }

    .front-light .front-brand-opt {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding-inline: 0.5rem;
    }
}

.front-shell--readonly .fd-adjust-btn {
    display: none !important;
}

/* Break alert banner */
.break-alert--sticky {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(90deg, #fff7ed, #ffedd5);
    border-bottom: 1px solid #fdba74;
    color: #9a3412;
    font-size: 0.875rem;
    font-weight: 600;
}

.break-alert--sticky.break-alert-flash {
    animation: break-alert-pulse 2s ease-in-out infinite;
}

@keyframes break-alert-pulse {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(234, 88, 12, 0); }
    50% { box-shadow: inset 0 0 0 2px rgba(234, 88, 12, 0.25); }
}

.break-alert-clock { font-size: 0.75rem; font-weight: 800; font-variant-numeric: tabular-nums; opacity: 0.85; }
.break-alert-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.break-alert-chip {
    border: 1px solid #fdba74; background: #fff; border-radius: 999px;
    padding: 0.25rem 0.65rem; font-size: 0.8125rem; font-weight: 700; cursor: pointer; color: inherit;
}
.break-alert-chip--soon { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }

.theme-nova .break-alert--sticky {
    background: linear-gradient(90deg, rgba(67, 20, 7, 0.92), rgba(124, 45, 18, 0.88));
    border-bottom-color: rgba(251, 146, 60, 0.35);
    color: #fed7aa;
}

.theme-nova .break-alert-chip {
    border-color: rgba(251, 146, 60, 0.45);
    background: rgba(15, 23, 42, 0.65);
    color: #fde68a;
}

.theme-nova .break-alert-chip--soon {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(30, 58, 138, 0.55);
    color: #bae6fd;
}

.theme-nova .front-light .intel-strip {
    gap: 0.5rem;
}

.theme-nova.front-shell .intel-card.risk {
    border-color: rgba(251, 146, 60, 0.35);
}

.theme-nova.front-shell .intel-card.risk .value {
    background: linear-gradient(135deg, #fde68a, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.front-date-chips {
    display: inline-flex; gap: 0.25rem; padding: 0.15rem; border-radius: 10px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
}
.front-date-chip {
    border: none; background: transparent; padding: 0.3rem 0.65rem; border-radius: 8px;
    font-size: 0.75rem; font-weight: 700; color: #64748b; cursor: pointer;
}
.front-date-chip--on { background: #fff; color: #0f172a; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }

.front-recent-dates {
    display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center;
    max-width: 22rem;
}
.front-recent-label {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: #94a3b8; margin-right: 0.15rem;
}
.front-recent-chip {
    border: 1px solid #e2e8f0; background: #fff; padding: 0.2rem 0.5rem;
    border-radius: 999px; font-size: 0.68rem; font-weight: 600; color: #475569;
    cursor: pointer; white-space: nowrap;
}
.front-recent-chip:hover { background: #f8fafc; border-color: #cbd5e1; }
.front-recent-chip--on {
    background: #eff6ff; border-color: #93c5fd; color: #1d4ed8;
}

.front-fallback-banner {
    margin: 0 0 0.75rem; padding: 0.55rem 0.85rem; border-radius: 10px;
    background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
    font-size: 0.8125rem; font-weight: 600;
}
.front-fallback-banner.hidden { display: none; }

.front-more-wrap { position: relative; }
.front-more-menu {
    position: absolute; right: 0; top: calc(100% + 0.35rem); min-width: 9rem;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12); padding: 0.35rem; z-index: 50;
}
.front-more-menu.hidden { display: none; }
.front-more-item {
    display: block; width: 100%; text-align: left; padding: 0.5rem 0.75rem;
    border: none; background: transparent; border-radius: 8px; font-size: 0.875rem;
    font-weight: 600; color: #0f172a; text-decoration: none; cursor: pointer;
}
.front-more-item:hover { background: #f1f5f9; }

.front-print-chip {
    font-size: 0.6875rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px;
    background: #f1f5f9; border: 1px solid #e2e8f0; color: #64748b; white-space: nowrap;
}

.front-board-toolbar { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; }
.front-sort-switch {
    display: inline-flex; gap: 0.2rem; padding: 0.15rem; border-radius: 10px;
    background: #f8fafc; border: 1px solid #e2e8f0;
}
.front-sort-opt {
    border: none; background: transparent; padding: 0.35rem 0.7rem; border-radius: 8px;
    font-size: 0.75rem; font-weight: 700; color: #64748b; cursor: pointer;
}
.front-sort-opt--on { background: #fff; color: #2563eb; box-shadow: 0 1px 2px rgba(37, 99, 235, 0.12); }

.front-on-break-row { margin-bottom: 0.75rem; }
.front-on-break-scroll {
    display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.25rem; scroll-snap-type: x mandatory;
}
.front-on-break-scroll .roster-card { flex: 0 0 min(18rem, 85vw); scroll-snap-align: start; }
.roster-card--compact { padding: 0.75rem !important; }
.roster-card.break-soon { border-color: #93c5fd; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1); }
.roster-card--highlight { animation: roster-card-flash 1.2s ease 2; }
@keyframes roster-card-flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.35); }
}
.roster-card-status--soon {
    background: #eff6ff; color: #1d4ed8; font-size: 0.6875rem; font-weight: 800;
    padding: 0.2rem 0.5rem; border-radius: 999px;
}
.front-card-avatar {
    width: 2.5rem; height: 2.5rem; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-weight: 800; color: #fff; font-size: 1rem;
}
.work-chip-note { font-weight: 600; opacity: 0.9; }
body[data-front-brand="rebel"] .front-header { border-bottom-color: #bfdbfe; }
body[data-front-brand="briscoes"] .front-header { border-bottom-color: #c7d2fe; }
.front-text-large .front-title { font-size: 1.65rem; }
.front-text-large .roster-card h3 { font-size: 1.25rem; }
.front-text-large .front-clock { font-size: 1.125rem; }
